setApprovalForAll method
Future<String>
setApprovalForAll(
- EthereumAddress operator,
- bool approved, {
- required Credentials credentials,
- Transaction? transaction,
The optional transaction
parameter can be used to override parameters
like the gas price, nonce and max gas. The data
and to
fields will be
set by the contract.
Implementation
Future<String> setApprovalForAll(_i1.EthereumAddress operator, bool approved,
{required _i1.Credentials credentials,
_i1.Transaction? transaction}) async {
final function = self.abi.functions[4];
assert(checkSignature(function, 'a22cb465'));
final params = [operator, approved];
return write(credentials, transaction, function, params);
}