File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ package protocol ;
4+
5+ option java_package = "org.tron.protos.contract" ; //Specify the name of the package that generated the Java file
6+ //option java_outer_classname = "BuyStorageBytesContract"; //Specify the class name of the generated Java file
7+ option go_package = "github.com/tronprotocol/grpc-gateway/core" ;
8+
9+ message BuyStorageBytesContract {
10+ bytes owner_address = 1 ;
11+ int64 bytes = 2 ; // storage bytes for buy
12+ }
13+
14+ message BuyStorageContract {
15+ bytes owner_address = 1 ;
16+ int64 quant = 2 ; // trx quantity for buy storage (sun)
17+ }
18+
19+ message SellStorageContract {
20+ bytes owner_address = 1 ;
21+ int64 storage_bytes = 2 ;
22+ }
23+
24+ message UpdateBrokerageContract {
25+ bytes owner_address = 1 ;
26+ int32 brokerage = 2 ; // 1 mean 1%
27+ }
You can’t perform that action at this time.
0 commit comments