Gravity

Verified contract

Active on Ethereum with 2,869 txns
Deployed by via 0x82cb3951 at 14211966
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $98,440,644,665,104,360,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xdb44daa67c0d8664ebcca341760e4d979865b3c3ddc765f0332729ffa2ff4ff1
0x9bd960195be03c759b4defcb7894727b4d7e3586eea0956d1c0914771472f922
0x516d3e8d4a4c2abfaf7c5fd7fb08fb138adfb9a6b45c1dec36597b52e8a1b357
0xd8ef1bbfee462bda0b339564a152a4fb3b97a066103692edadc93164c8ac0e78
0x2defda4f5e774d399064cb9bd27a25be94eb31867837c137b7530df3bf0be558
0x16b16506f61f676c575e6df09498337ad0b547d2f61466956b4e4d3b951cd4b8
0x1c7613a3aa04e0b23818581d18cf86cb10d84c7cb9f6b0b260ba8075f78f3db3
0xc7532dcf0a02ccb722fa46b41f6376cc8e3ee462a4c05ec58c39763489e21368
0x9a1afe3d7dc7aa9ffb4aafa462547f98827ffa30ddae1c6a30b878eddee3b5f3
0x28413c4432e81feec6e08769df4562662524ff27e4a9847353bcef8f47566545

Functions
Getter at block 20893042
state_gravityId(view returns (bytes32)
0x756d65652d310000000000000000000000000000000000000000000000000000
state_lastEventNonce(view returns (uint256)
1673
state_lastValsetCheckpoint(view returns (bytes32)
0x5ab2491a5732e82584f2ae22b48dc9d70d38d582e6b11be915983ba7a780cfdd
state_lastValsetNonce(view returns (uint256)
851
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(