TronRequestUpdateSetting class

Update the consume_user_resource_percent parameter of a smart contract developers.tron.network.

Inheritance

Constructors

TronRequestUpdateSetting({required TronAddress ownerAddress, required TronAddress contractAddress, required int consumeUserResourcePercent, int? permissionId, bool visible = true})

Properties

consumeUserResourcePercent int
Consume user's resource percentage. It should be an integer between 0, 100. if 0, means it does not consume user's resource until the developer's resource has been used up
final
contractAddress TronAddress
The address of the contract to be modified
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/updatesetting
no setteroverride
ownerAddress TronAddress
Transaction creator address
final
permissionId int?
for multi-signature use
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Indicates whether the address is visible.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
Converts the response result to the specified type RESULT.
inherited
toJson() Map<String, dynamic>
Converts the request parameters to a JSON format.
override
toRequest(int _) TronRequestDetails
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
toString() String
A string representation of this object.
override

Operators

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