Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
merage proto
Browse files Browse the repository at this point in the history
  • Loading branch information
zergweak committed Mar 21, 2018
2 parents 5b0f8ac + 79c9b33 commit 312121f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ service Wallet {

};

rpc TransferAssert (TransferAssertContract) returns (Transaction) {
rpc TransferAsset (TransferAssetContract) returns (Transaction) {

}
rpc TransferTokenToAssert (TransferTokenToAssetContract) returns (Transaction) {
rpc TransferTokenToAsset (TransferTokenToAssetContract) returns (Transaction) {

}

Expand Down Expand Up @@ -82,7 +82,7 @@ message WitnessList {
}

message AssetIssueList {
repeated AssetIssueContract witnesses = 1;
repeated AssetIssueContract assetIssue = 1;
}

// Gossip node list
Expand Down
4 changes: 2 additions & 2 deletions core/Contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ message TransferContract {
int64 amount = 3;
}

message TransferAssertContract {
bytes assert_name = 1;
message TransferAssetContract {
bytes asset_name = 1;
bytes owner_address = 2;
bytes to_address = 3;
int64 amount = 4;
Expand Down
2 changes: 1 addition & 1 deletion core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ message Transaction {
enum ContractType {
AccountCreateContract = 0;
TransferContract = 1;
TransferAssertContract = 2;
TransferAssetContract = 2;
VoteAssetContract = 3;
VoteWitnessContract = 4;
WitnessCreateContract = 5;
Expand Down

0 comments on commit 312121f

Please sign in to comment.