getSupply method

Future<BigInt> getSupply()

Implementation

Future<BigInt> getSupply() async {
  final function = abi.functions[2];
  assert(function.functionSelectorHex == "18160ddd");
  final response = await readSafe(
    function: function.addValues(values: []),
  );
  return response.outputs.first.castValue<BigInt>();
}