Skip to content

Commit

Permalink
Merge pull request #172 from tronprotocol/release_v4.3.0
Browse files Browse the repository at this point in the history
add AccountAsset protobuf
  • Loading branch information
forfreeday authored Aug 3, 2021
2 parents d38cc77 + c1a294e commit bf72b12
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,37 @@ message Account {
repeated Permission active_permission = 33;
}

/* AccountAsset */
message AccountAsset {

/* frozen balance */
message Frozen {
int64 frozen_balance = 1; // the frozen trx balance
int64 expire_time = 2; // the expire time
}

// the create address
bytes address = 1;

// the other asset owned by this account
map<string, int64> asset = 2;

// the other asset owned by this account,key is assetId
map<string, int64> assetV2 = 3;

bytes asset_issued_name = 4;
bytes asset_issued_ID = 5;

map<string, int64> latest_asset_operation_time = 6;
map<string, int64> latest_asset_operation_timeV2 = 7;

map<string, int64> free_asset_net_usage = 8;
map<string, int64> free_asset_net_usageV2 = 9;

// frozen asset(for asset issuer)
repeated Frozen frozen_supply = 10;
}


message Key {
bytes address = 1;
Expand Down

0 comments on commit bf72b12

Please sign in to comment.