-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update nst_post_handler, use balance to replace balance-change remove nst balance change cap to 'unlimit'(uint64) balance recovery for 2nd phase data
- Loading branch information
Showing
22 changed files
with
1,761 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
syntax = "proto3"; | ||
package imuachain.oracle.v1; | ||
|
||
option go_package = "github.com/imua-xyz/imuachain/x/oracle/types"; | ||
|
||
// Nonce is a message that contains a nonce for a feeder | ||
message ValidatorIndex { | ||
// FeederID is the ID of the feeder that corresponding to the nonce | ||
string validator = 1; | ||
// value is the nonce value | ||
uint32 next_index = 2; | ||
} | ||
|
||
// ValidatorNonce is a message that contains the nonces for a validator | ||
message FeederValidatorsIndex{ | ||
// nonces is the list of nonces for the feeders | ||
repeated ValidatorIndex validator_index_list= 2; | ||
} | ||
|
||
message HashNode { | ||
uint32 index = 1; | ||
bytes hash = 2; | ||
} | ||
|
||
// Proof represents all hash nodes of a Mekle tree with indexes | ||
message FlattenTree{ | ||
repeated HashNode nodes = 1; | ||
} | ||
|
||
message TreeInfo { | ||
uint32 leaf_count = 1; | ||
bytes root_hash = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.