Gravity

Verified contract

Active on Ethereum with 56,217 txns
Deployed by via 0xe84a6c60 at 13798211
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $113,538,775,180,758,020,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $40,427,186,867,959,630,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $9,168,533,417,899,934,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $3,641,287,198,065,357,400,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $104,832,367,991,004,200,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $6,727,173,008,420,359,600,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $3,345,448,831,352,046,400,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $8,574,560.6
ERC-20
Value $1,451,700.12
ERC-20
Value $998,332.83
0xce7406ab0cf40a550899aaf3ebd7a3ad12cd9e52bad676a14455132c2d5c05ce
0x60460dc4a8c3c3924de2d50dbde15876d9961cb088f0aecd6a6f46bfe14f5f5b
0x0cefe0e4921c8242732c7db7cffe98c87ae37d719b1197fb1eec591bcbd65886
0xa195a39bb007e41716f2b7bc7350f6ddd93e1ddab95b91fbd5528d1b42c1cf7d
0xd6de2f7b68d021c36012b8d5c597407c72fad969e357537b7698b873ce4a37f1
0x709b962e5d97c5e1836ec7b58af8475ad004e002145ec2890a8ba658879c2f23
0xa6b6f5b67aa88c3cc26ae5ece3c85b04e601f8c959fd3735585e78718c103fb4
0x1a308c77a6c4e176c23f5105164169fa85eba495a5a52c747293cf78ba720638
0x5f3c9c845d825b694aa7f3d3cc2a358e9d0c9186997e4200dc6b98f47c4b455b
0x626d03eab1331853804881f2a3113dc17d498b855db6d83f3fb2d012ebedba92

Functions
Getter at block 20792128
state_gravityId(view returns (bytes32)
0x677261766974792d6272696467652d6d61696e6e657400000000000000000000
state_lastEventNonce(view returns (uint256)
55451
state_lastValsetCheckpoint(view returns (bytes32)
0x5fcb6e02bc854e887b7c2fdcb543abe911c4a2a1b860e89082a3b76ec5fd2332
state_lastValsetNonce(view returns (uint256)
1766
Read-only
lastBatchNonce(address _erc20Addressview returns (uint256)
lastLogicCallNonce(bytes32 _invalidation_idview returns (uint256)
state_invalidationMapping(bytes32view returns (uint256)
state_lastBatchNonces(addressview returns (uint256)
testCheckValidatorSignatures(struct ValsetArgs _currentValsetstruct Signature[] _sigsbytes32 _theHashuint256 _powerThresholdpure 
testMakeCheckpoint(struct ValsetArgs _valsetArgsbytes32 _gravityIdpure 
State-modifying
deployERC20(string _cosmosDenomstring _namestring _symboluint8 _decimals
sendToCosmos(address _tokenContractstring _destinationuint256 _amount
submitBatch(struct ValsetArgs _currentValsetstruct Signature[] _sigsuint256[] _amountsaddress[] _destinationsuint256[] _feesuint256 _batchNonceaddress _tokenContractuint256 _batchTimeout
submitLogicCall(struct ValsetArgs _currentValsetstruct Signature[] _sigsstruct LogicCallArgs _args
updateValset(struct ValsetArgs _newValsetstruct ValsetArgs _currentValsetstruct Signature[] _sigs
Events
ERC20DeployedEvent(string _cosmosDenomaddress indexed _tokenContractstring _namestring _symboluint8 _decimalsuint256 _eventNonce
LogicCallEvent(bytes32 _invalidationIduint256 _invalidationNoncebytes _returnDatauint256 _eventNonce
SendToCosmosEvent(address indexed _tokenContractaddress indexed _senderstring _destinationuint256 _amountuint256 _eventNonce
TransactionBatchExecutedEvent(uint256 indexed _batchNonceaddress indexed _tokenuint256 _eventNonce
ValsetUpdatedEvent(uint256 indexed _newValsetNonceuint256 _eventNonceuint256 _rewardAmountaddress _rewardTokenaddress[] _validatorsuint256[] _powers
Constructor
constructor(bytes32 _gravityIdaddress[] _validatorsuint256[] _powers
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BatchTimedOut(
IncorrectCheckpoint(
InsufficientPower(uint256 cumulativePoweruint256 powerThreshold
InvalidBatchNonce(uint256 newNonceuint256 currentNonce
InvalidLogicCallFees(
InvalidLogicCallNonce(uint256 newNonceuint256 currentNonce
InvalidLogicCallTransfers(
InvalidSendToCosmos(
InvalidSignature(
InvalidValsetNonce(uint256 newNonceuint256 currentNonce
LogicCallTimedOut(
MalformedBatch(
MalformedCurrentValidatorSet(
MalformedNewValidatorSet(