ERC20Contract class
Methods
-
allowance({required String owner, required String spender})
→ Future<BigInt>
-
-
approve({required String sender, required String spender, required BigInt value, required Uint8List seed, EvmFeeInformation<EvmGasPrice>? feeInfo})
→ Future<String>
-
-
approveTx({required String sender, required String spender, required BigInt value, EvmFeeInformation<EvmGasPrice>? feeInfo})
→ Future<RawEvmTransaction>
-
-
balanceOf({required String address})
→ Future<BigInt>
-
-
buildTransactionForFunction({required ContractFunctionWithValues function, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value})
→ Future<RawEvmTransaction>
-
inherited
-
getBalance(String address, {BlockNum? atBlock})
→ Future<BigInt>
-
-
getDecimals()
→ Future<int>
-
-
getName()
→ Future<String>
-
-
getSupply()
→ Future<BigInt>
-
-
getSymbol()
→ Future<String>
-
-
interact({required ContractFunctionWithValues function, required Uint8List seed, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value, List<AccessListItem>? accessList})
→ Future<String>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
read({required ExternalContractFunctionWithValues function, BlockNum? atBlock, required List<FunctionParam>? outputs, StateMutability? stateMutability})
→ Future<ExternalContractFunctionWithValuesAndOutputs>
-
inherited
-
readSafe({required LocalContractFunctionWithValues function, BlockNum? atBlock})
→ Future<LocalContractFunctionWithValuesAndOutputs>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
transfer({required String sender, required String to, required BigInt value, required Uint8List seed, EvmFeeInformation<EvmGasPrice>? feeInfo, List<AccessListItem>? accessList})
→ Future<String>
-