approve method
Sets amount as the allowance of spender over the caller's tokens.
Implementation
Future<TransactionResponse> approve(String spender, BigInt amount) =>
contract.send('approve', [spender, amount.toString()]);
Sets amount as the allowance of spender over the caller's tokens.
Future<TransactionResponse> approve(String spender, BigInt amount) =>
contract.send('approve', [spender, amount.toString()]);