delegateBySig method
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> delegateBySig(_i1.EthereumAddress delegatee, BigInt nonce,
BigInt expiry, BigInt v, _i2.Uint8List r, _i2.Uint8List s,
{required _i1.Credentials credentials,
_i1.Transaction? transaction}) async {
final function = self.abi.functions[11];
assert(checkSignature(function, 'c3cda520'));
final params = [delegatee, nonce, expiry, v, r, s];
return write(credentials, transaction, function, params);
}