Delegate Resource Contract
delegate resource
Content copied to clipboard
TW.Tron.Proto.DelegateResourceContract
Types
Functions
Link copied to clipboard
Amount of TRX staked for resource to be delegated, unit is sun, data type is uint256
Content copied to clipboard
int64 balance = 3;
Link copied to clipboard
Link copied to clipboard
Whether it is locked, if it is set to true, the delegated resources cannot be undelegated within 3 days.
When the lock time is not over, if the owner delegates the same resources using the lock to the same address,
the lock time will be reset to 3 days
Content copied to clipboard
bool lock = 5;
Link copied to clipboard
Address of transaction initiator, data type is string
Content copied to clipboard
string owner_address = 1;
Link copied to clipboard
Address of transaction initiator, data type is string
Content copied to clipboard
string owner_address = 1;
Link copied to clipboard
Receiver address of resource to be delegated to
Content copied to clipboard
string receiver_address = 4;
Link copied to clipboard
Receiver address of resource to be delegated to
Content copied to clipboard
string receiver_address = 4;
Link copied to clipboard
Resource type, "BANDWIDTH" or "ENERGY", data type is string
Content copied to clipboard
string resource = 2;
Link copied to clipboard
Resource type, "BANDWIDTH" or "ENERGY", data type is string
Content copied to clipboard
string resource = 2;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): DelegateResourceContract