getReserves method

Future<(BigInt, BigInt)> getReserves()

Implementation

Future<(BigInt, BigInt)> getReserves() async {
  final function = abi.getFunction('getReserves')!;

  final response = await readSafe(
    function: function.addValues(values: []),
  );

  return (
    response.outputs[0].value as BigInt,
    response.outputs[1].value as BigInt,
  );
}