Skip to content

Commit

Permalink
Merge branch 'develop' into multi_sign
Browse files Browse the repository at this point in the history
  • Loading branch information
renchenchang committed Nov 5, 2018
2 parents fcb0b84 + a2fc2d6 commit 289d0dd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ message TransactionInfo {

int64 withdraw_amount = 15;
int64 unfreeze_amount = 16;
repeated InternalTransaction internal_transactions = 17;
}

message Transactions {
Expand Down Expand Up @@ -498,4 +499,23 @@ message SmartContract {
int64 consume_user_resource_percent = 6;
string name = 7;

}

message InternalTransaction {
// internalTransaction identity, the root InternalTransaction hash
// should equals to root transaction id.
bytes hash = 1;
// the one send trx (TBD: or token) via function
bytes caller_address = 2;
// the one recieve trx (TBD: or token) via function
bytes transferTo_address = 3;
message CallValueInfo{
// trx (TBD: or token) value
int64 callValue = 1;
// TBD: tokenName, trx should be empty
bytes tokenName = 2;
}
repeated CallValueInfo callValueInfo = 4;
bytes note = 5;
bool rejected = 6;
}

0 comments on commit 289d0dd

Please sign in to comment.