TriggerSmartContract class
- Inheritance
-
- Object
- TronProtocolBufferImpl
- TronBaseContract
- TriggerSmartContract
Constructors
-
TriggerSmartContract({required TronAddress ownerAddress, required TronAddress contractAddress, BigInt? callValue, List<
int> ? data, BigInt? callTokenValue, BigInt? tokenId}) - Create a new TriggerSmartContract instance with specified parameters.
-
TriggerSmartContract.fromJson(Map<
String, dynamic> json) -
Create a new TriggerSmartContract instance by parsing a JSON map.
factory
Properties
- callTokenValue → BigInt?
-
The amount of TRC-10 transferred into the contract
final
- callValue → BigInt?
-
The amount of TRX passed into the contract
final
- contractAddress → TronAddress
-
Contract address
final
- contractType → TransactionContractType
-
no setteroverride
-
data
→ List<
int> ? -
Operating parameters
final
-
fieldIds
→ List<
int> -
List of field IDs corresponding to the values.
no setteroverride
- 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
- toHex → String
-
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
- tokenId → BigInt?
-
TRC-10 token id
final
- 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 TriggerSmartContract object to a JSON representation.
override
-
toString(
) → String -
Convert the TriggerSmartContract object to its string representation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited