Gravity

Verified contract

Active on Ethereum with 5,052 txns
Deployed by via 0x4ea043a7 at 14076788
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,978,823,119,416,653,200,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $123,253.39
ERC-20
Value $1,554.7
ERC-20
Value $481.98
ERC-20
Value $7.16
ERC-20
Value $5.79
ERC-20
Value $0.14
ERC-20
Value $0.01
0xc154462aeaeddf5367c9d361f92ff94aa3aa9097d235ab8b58360bcc8698bea0
0x212b53f045fbc2d4b24830f1b73d56926a47e9156a128609cbfe5bd0ef3c47ed
0x98b219849db3a40791b4a51aec33ab0e1d4be2b48a82410cc04c3b9dae6633bd
0xc3adec5f071ca6d116dff8d0f05aa3f6fa7077c492ba5a531d3ce0b840ee728e
0x9eb86cba10c5dda6032c4d12fd4ee9ec0a68ab93371ada6eebdc6e0280f3d601
0xd442b58a907d38c4db6a8c6d6e2e732008db0128811e1c8b9cb53e755cfcefaf
0x88c4e205cac1428c0f9c4c88cf63396890c4226678004d315eca34b4706f89ee
0x83ccc73af7b52c0853f7828758a2cc2e36a7cd22fbd5c0ab93e7e085e05ae03f
0x1b4646007904ad5f9b134bc692f0933063989071712e307c42c1cff92f8fd833
0xb55d8acd9cdfd2a7ebc00338443729ea3aabbd2fe1e27692331c0dfa1a704689

Functions
Getter at block 21158690
state_gravityId(view returns (bytes32)
0x736f6d6d656c6965722d33000000000000000000000000000000000000000000
state_lastEventNonce(view returns (uint256)
4687
state_lastValsetCheckpoint(view returns (bytes32)
0xdd65fd37f7656370a88226d8b7da2b0fdfa459e0ade3ce28c761e40340dfe546
state_lastValsetNonce(view returns (uint256)
183
state_powerThreshold(view returns (uint256)
2834678415
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 ValSignature[] _sigsbytes32 _theHashuint256 _powerThresholdpure 
testMakeCheckpoint(struct ValsetArgs _valsetArgsbytes32 _gravityIdpure 
State-modifying
deployERC20(string _cosmosDenomstring _namestring _symboluint8 _decimals
sendToCosmos(address _tokenContractbytes32 _destinationuint256 _amount
submitBatch(struct ValsetArgs _currentValsetstruct ValSignature[] _sigsuint256[] _amountsaddress[] _destinationsuint256[] _feesuint256 _batchNonceaddress _tokenContractuint256 _batchTimeout
submitLogicCall(struct ValsetArgs _currentValsetstruct ValSignature[] _sigsstruct LogicCallArgs _args
updateValset(struct ValsetArgs _newValsetstruct ValsetArgs _currentValsetstruct ValSignature[] _sigs
Events
ERC20DeployedEvent(string _cosmosDenomaddress indexed _tokenContractstring _namestring _symboluint8 _decimalsuint256 _eventNonce
LogicCallEvent(bytes32 _invalidationIduint256 _invalidationNoncebytes _returnDatauint256 _eventNonce
SendToCosmosEvent(address indexed _tokenContractaddress indexed _senderbytes32 indexed _destinationuint256 _amountuint256 _eventNonce
TransactionBatchExecutedEvent(uint256 indexed _batchNonceaddress indexed _tokenuint256 _eventNonce
ValsetUpdatedEvent(uint256 indexed _newValsetNonceuint256 _eventNonceuint256 _rewardAmountaddress _rewardTokenaddress[] _validatorsuint256[] _powers
Constructor
constructor(bytes32 _gravityIduint256 _powerThresholdaddress[] _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(