ExchangeCreateContract class
Creates a trading pair.
- Inheritance
-
- Object
- TronProtocolBufferImpl
- TronBaseContract
- ExchangeCreateContract
Constructors
-
ExchangeCreateContract({required TronAddress ownerAddress, BigInt? firstTokenBalance, List<
int> ? firstTokenId, BigInt? secondTokenBalance, List<int> ? secondTokenId}) - Create a new ExchangeCreateContract instance with specified parameters.
-
ExchangeCreateContract.fromJson(Map<
String, dynamic> json) -
Create a new ExchangeCreateContract instance by parsing a JSON map.
factory
Properties
- contractType → TransactionContractType
-
no setteroverride
-
fieldIds
→ List<
int> -
List of field IDs corresponding to the values.
no setteroverride
- firstTokenBalance → BigInt?
-
First token balance
final
-
firstTokenId
→ List<
int> ? -
First token id
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ownerAddress → TronAddress
-
Account address
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondTokenBalance → BigInt?
-
Second token balance
final
-
secondTokenId
→ List<
int> ? -
Second token id
final
- toHex → String
-
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
- typeURL → String
-
no setterinherited
- 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
-
toBuffer(
) → List< int> -
Converts the protocol buffer data to a byte buffer.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert the ExchangeCreateContract object to a JSON representation.
override
-
toString(
) → String -
Convert the ExchangeCreateContract object to its string representation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited