forked from Near-One/rainbow-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
914 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"blockHash","type":"bytes32"}],"name":"BlockHashAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":false,"inputs":[{"internalType":"bytes[]","name":"blockHeaders","type":"bytes[]"}],"name":"addBlockHeaders","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blockHashes","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}] | ||
[{"inputs":[{"internalType":"bytes32","name":"firstEpochId","type":"bytes32"},{"internalType":"bytes32","name":"firstNextEpochId","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"height","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"blockHash","type":"bytes32"}],"name":"BlockHashAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":true,"inputs":[],"name":"LOCK_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"LOCK_ETH_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"addLightClientBlock","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blockHashes","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"components":[{"internalType":"bytes32","name":"prev_block_hash","type":"bytes32"},{"internalType":"bytes32","name":"next_block_inner_hash","type":"bytes32"},{"components":[{"internalType":"uint64","name":"height","type":"uint64"},{"internalType":"bytes32","name":"epoch_id","type":"bytes32"},{"internalType":"bytes32","name":"next_epoch_id","type":"bytes32"},{"internalType":"bytes32","name":"prev_state_root","type":"bytes32"},{"internalType":"bytes32","name":"outcome_root","type":"bytes32"},{"internalType":"uint64","name":"timestamp","type":"uint64"},{"internalType":"bytes32","name":"next_bp_hash","type":"bytes32"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct NearDecoder.BlockHeaderInnerLite","name":"inner_lite","type":"tuple"},{"internalType":"bytes32","name":"inner_rest_hash","type":"bytes32"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"string","name":"account_id","type":"string"},{"components":[{"internalType":"bytes32","name":"xy","type":"bytes32"}],"internalType":"struct Borsh.ED25519PublicKey","name":"public_key","type":"tuple"},{"internalType":"uint128","name":"stake","type":"uint128"}],"internalType":"struct NearDecoder.ValidatorStake[]","name":"validatorStakes","type":"tuple[]"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct NearDecoder.OptionalValidatorStakes","name":"next_bps","type":"tuple"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"bytes32[2]","name":"rs","type":"bytes32[2]"}],"internalType":"struct Borsh.ED25519Signature","name":"signature","type":"tuple"}],"internalType":"struct NearDecoder.OptionalED25519Signature[]","name":"approvals_next","type":"tuple[]"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"bytes32[2]","name":"rs","type":"bytes32[2]"}],"internalType":"struct Borsh.ED25519Signature","name":"signature","type":"tuple"}],"internalType":"struct NearDecoder.OptionalED25519Signature[]","name":"approvals_after_next","type":"tuple[]"}],"internalType":"struct NearDecoder.LightClientBlock","name":"nearBlock","type":"tuple"}],"name":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"last","outputs":[{"internalType":"uint256","name":"height","type":"uint256"},{"internalType":"bytes32","name":"epochId","type":"bytes32"},{"internalType":"bytes32","name":"nextEpochId","type":"bytes32"},{"internalType":"address","name":"submitter","type":"address"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"components":[{"internalType":"bytes32","name":"prev_block_hash","type":"bytes32"},{"internalType":"bytes32","name":"next_block_inner_hash","type":"bytes32"},{"components":[{"internalType":"uint64","name":"height","type":"uint64"},{"internalType":"bytes32","name":"epoch_id","type":"bytes32"},{"internalType":"bytes32","name":"next_epoch_id","type":"bytes32"},{"internalType":"bytes32","name":"prev_state_root","type":"bytes32"},{"internalType":"bytes32","name":"outcome_root","type":"bytes32"},{"internalType":"uint64","name":"timestamp","type":"uint64"},{"internalType":"bytes32","name":"next_bp_hash","type":"bytes32"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct NearDecoder.BlockHeaderInnerLite","name":"inner_lite","type":"tuple"},{"internalType":"bytes32","name":"inner_rest_hash","type":"bytes32"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"string","name":"account_id","type":"string"},{"components":[{"internalType":"bytes32","name":"xy","type":"bytes32"}],"internalType":"struct Borsh.ED25519PublicKey","name":"public_key","type":"tuple"},{"internalType":"uint128","name":"stake","type":"uint128"}],"internalType":"struct NearDecoder.ValidatorStake[]","name":"validatorStakes","type":"tuple[]"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct NearDecoder.OptionalValidatorStakes","name":"next_bps","type":"tuple"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"bytes32[2]","name":"rs","type":"bytes32[2]"}],"internalType":"struct Borsh.ED25519Signature","name":"signature","type":"tuple"}],"internalType":"struct NearDecoder.OptionalED25519Signature[]","name":"approvals_next","type":"tuple[]"},{"components":[{"internalType":"bool","name":"none","type":"bool"},{"components":[{"internalType":"bytes32[2]","name":"rs","type":"bytes32[2]"}],"internalType":"struct Borsh.ED25519Signature","name":"signature","type":"tuple"}],"internalType":"struct NearDecoder.OptionalED25519Signature[]","name":"approvals_after_next","type":"tuple[]"}],"internalType":"struct NearDecoder.LightClientBlock","name":"nearBlock","type":"tuple"},{"internalType":"bytes32","name":"currentHash","type":"bytes32"}],"name":"nextHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"prev","outputs":[{"internalType":"uint256","name":"height","type":"uint256"},{"internalType":"bytes32","name":"epochId","type":"bytes32"},{"internalType":"bytes32","name":"nextEpochId","type":"bytes32"},{"internalType":"address","name":"submitter","type":"address"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"validate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}] |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.