OsmosisProtorevTrade class

Trade is a single trade in a route

Inheritance

Constructors

OsmosisProtorevTrade({BigInt? pool, String? tokenIn, String? tokenOut})
const
OsmosisProtorevTrade.deserialize(List<int> bytes)
factory
OsmosisProtorevTrade.fromRpc(Map<String, dynamic> json)
factory

Properties

fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
pool BigInt?
The pool id of the pool that is traded on
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
tokenIn String?
The denom of the token that is traded
final
tokenOut String?
The denom of the token that is received
final
typeUrl String
no setteroverride
values List
List of dynamic values to be encoded.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAny() Any
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Converts the data to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited