deposits method

Future<Deposits> deposits(
  1. EthereumAddress $param6,
  2. {BlockNum? atBlock}
)

The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.

Implementation

Future<Deposits> deposits(
  _i1.EthereumAddress $param6, {
  _i1.BlockNum? atBlock,
}) async {
  final function = self.abi.functions[5];
  assert(checkSignature(function, 'fc7e286d'));
  final params = [$param6];
  final response = await read(
    function,
    params,
    atBlock,
  );
  return Deposits(response);
}