Skip to content

Commit

Permalink
Update proto commands with amount type
Browse files Browse the repository at this point in the history
  • Loading branch information
muratovv authored and lebdron committed Jul 19, 2017
1 parent 8cfcd34 commit 92fa876
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions schema/commands.proto
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
syntax = "proto3";
package iroha.protocol;

message Amount {
uint64 integer_part = 1;
uint64 fractial_part = 2;
}

message AddAssetQuantity {
string account_id = 1;
string asset_id = 2;
string amount = 3;
Amount amount = 3;
}

message AddPeer {
Expand Down Expand Up @@ -71,7 +76,7 @@ message TransferAsset {
string src_account_id = 1;
string dest_account_id = 2;
string asset_id = 3;
string ammount = 4;
Amount amount = 4;
}

message Command {
Expand Down

0 comments on commit 92fa876

Please sign in to comment.