File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,13 @@ service Wallet {
119119 };
120120 }
121121
122+ rpc UnfreezeAsset (UnfreezeAssetContract ) returns (Transaction ) {
123+ option (google.api.http ) = {
124+ post : "/wallet/unfreezeasset"
125+ body : "*"
126+ };
127+ }
128+
122129 rpc WithdrawBalance (WithdrawBalanceContract ) returns (Transaction ) {
123130 option (google.api.http ) = {
124131 post : "/wallet/withdrawbalance"
Original file line number Diff line number Diff line change @@ -77,9 +77,14 @@ message WitnessUpdateContract {
7777}
7878
7979message AssetIssueContract {
80+ message FrozenSupply {
81+ int64 frozen_amount = 1 ;
82+ int64 frozen_days = 2 ;
83+ }
8084 bytes owner_address = 1 ;
8185 bytes name = 2 ;
8286 int64 total_supply = 4 ;
87+ repeated FrozenSupply frozen_supply = 5 ;
8388 int32 trx_num = 6 ;
8489 int32 num = 8 ;
8590 int64 start_time = 9 ;
@@ -112,6 +117,10 @@ message UnfreezeBalanceContract {
112117 bytes owner_address = 1 ;
113118}
114119
120+ message UnfreezeAssetContract {
121+ bytes owner_address = 1 ;
122+ }
123+
115124message WithdrawBalanceContract {
116125 bytes owner_address = 1 ;
117126}
Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ message Account {
6767 bytes code = 13 ;
6868 bool is_witness = 14 ;
6969 bool is_committee = 15 ;
70+ // frozen asset(for asset issuer)
71+ repeated Frozen frozen_supply = 16 ;
72+ // asset_issued_name
73+ bytes asset_issued_name = 17 ;
7074}
7175
7276message acuthrity {
@@ -138,6 +142,7 @@ message Transaction {
138142 FreezeBalanceContract = 11 ;
139143 UnfreezeBalanceContract = 12 ;
140144 WithdrawBalanceContract = 13 ;
145+ UnfreezeAssetContract = 14 ;
141146 CustomContract = 20 ;
142147 }
143148 ContractType type = 1 ;
You can’t perform that action at this time.
0 commit comments