Gravity

Verified contract

Active on Ethereum with 56,897 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 $112,052,583,715,397,070,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $61,528,210,873,854,230,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $11,438,289,951,129,805,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $6,304,763,466,882,629,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $326,498,954,022,460,500,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $8,170,984,569,120,456,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $4,904,839,423,845,261,400,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $6,975,435.38
ERC-20
Value $1,583,853.84
ERC-20
Value $983,383.97
0x2b6a2a5ab5d7f761422df6a5582134eace79b822d7a158d9f49cd2d5918fffc4
0x60ed7c7b1c6f2451ee49676b3b4a072e09249c40549cf72bb49a95af197295b9
0xde15059a93ffeff1b79f61a13e589dc8f598238423fcc6b1c522ae024aaff471
0x44812cb6c4188ff5d62dc0c7204fb285dd249f27f8d156d33795b543b5f968ea
0xa1a4bd5efae9f98dedfe94364a35f3bf749dc347f6ab7c647b5839630e7b6b1a
0x4fccc6ccbbac62ae0f22fcffe0644dbe68a0cfe3601eabb5b1e17d76aeb5ec19
0xb45de81a946961cc3b1a81ad05c285b7aa0c6b4abc15c1123000e933a67d8dca
0x2e720586ddd5e5ad9571b7f3c1be5aade9216b730b2aad6921b8891f5df2d048
0x3f1c06343cd63d35abf601cacc717c3c03119300dd719eea77965290dfa7618c
0x213586d480b1b8c9465f87c561150df8b9c9508e82182e0fed68e8349c3ccd2d

Functions
Getter at block 21244601
state_gravityId(view returns (bytes32)
0x677261766974792d6272696467652d6d61696e6e657400000000000000000000
state_lastEventNonce(view returns (uint256)
56126
state_lastValsetCheckpoint(view returns (bytes32)
0xb2981f34912cba1cd3456f091c3de44d0399ee955b0cb974e0febc2caed4e0fa
state_lastValsetNonce(view returns (uint256)
1887
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(