From 22199a11c363c000ee2f19543452f40435b1de7f Mon Sep 17 00:00:00 2001 From: liukai Date: Fri, 30 Jul 2021 12:28:17 +0800 Subject: [PATCH] add protobuf of AccountAsset --- core/Tron.proto | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/core/Tron.proto b/core/Tron.proto index 9a3403026..4d0e3b72d 100644 --- a/core/Tron.proto +++ b/core/Tron.proto @@ -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 asset = 2; + + // the other asset owned by this account,key is assetId + map assetV2 = 3; + + bytes asset_issued_name = 4; + bytes asset_issued_ID = 5; + + map latest_asset_operation_time = 6; + map latest_asset_operation_timeV2 = 7; + + map free_asset_net_usage = 8; + map free_asset_net_usageV2 = 9; + + // frozen asset(for asset issuer) + repeated Frozen frozen_supply = 10; +} + message Key { bytes address = 1;