@ecp.eth/sdk / defaultExports / ERC20ContractReadFunctions
Type Alias: ERC20ContractReadFunctions
type ERC20ContractReadFunctions = {
decimals: (args) => Promise<ReadContractReturnType<ERC20Type, "decimals">>;
name: (args) => Promise<ReadContractReturnType<ERC20Type, "name">>;
symbol: (args) => Promise<ReadContractReturnType<ERC20Type, "symbol">>;
totalSupply: (args) => Promise<ReadContractReturnType<ERC20Type, "totalSupply">>;
};Defined in: packages/sdk/src/types.ts:18
Properties
decimals()
decimals: (args) => Promise<ReadContractReturnType<ERC20Type, "decimals">>;Defined in: packages/sdk/src/types.ts:25
Parameters
args
ReadContractParameters<ERC20Type, "decimals">
Returns
Promise<ReadContractReturnType<ERC20Type, "decimals">>
name()
name: (args) => Promise<ReadContractReturnType<ERC20Type, "name">>;Defined in: packages/sdk/src/types.ts:19
Parameters
args
ReadContractParameters<ERC20Type, "name">
Returns
Promise<ReadContractReturnType<ERC20Type, "name">>
symbol()
symbol: (args) => Promise<ReadContractReturnType<ERC20Type, "symbol">>;Defined in: packages/sdk/src/types.ts:22
Parameters
args
ReadContractParameters<ERC20Type, "symbol">
Returns
Promise<ReadContractReturnType<ERC20Type, "symbol">>
totalSupply()
totalSupply: (args) => Promise<ReadContractReturnType<ERC20Type, "totalSupply">>;Defined in: packages/sdk/src/types.ts:28
Parameters
args
ReadContractParameters<ERC20Type, "totalSupply">
Returns
Promise<ReadContractReturnType<ERC20Type, "totalSupply">>