EthCallRequest.deserialize constructor

EthCallRequest.deserialize(
  1. List<int> bytes
)

Implementation

factory EthCallRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return EthCallRequest(
    args: decode.getBytes<List<int>?>(1),
    gasCap: decode.getBigInt<BigInt?>(2),
    proposerAddress: decode.getBytes<List<int>?>(3),
    chainId: decode.getBigInt<BigInt?>(4),
  );
}