Gravity

Verified contract

Active on Ethereum with 5,071 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 $2,634,678,776,223,951,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000
ERC-20
Value $126,810.57
ERC-20
Value $1,556.3
ERC-20
Value $495.91
ERC-20
Value $8.87
ERC-20
Value $5.8
ERC-20
Value $0.14
ERC-20
Value $0.01
0xcc69d10d889707d3c78bfb43ef1a81e8ca0d778e80867803a2aab649d15d79b1
0x3b2c2b27906fc41d5846f690182b1cb6305ca8e6c320723f28b73c5dc5fb300a
0x8f1f4b4ae9dfa62ae933456fbc8687bc3701285c4b4849401346382054f98333
0xfc568ed56b931e14c526aeff1cc52a42a5f4289e59338848c286c7183b39d6b7
0xa1c55e4d784ac39a41bfc02aa0eb7d5bc5fecc77dd5abe2e40568f7c8405b2a2
0xec5b35929ddcd6a68485078126a6aae863238eea5fd5f28d90323a028c94e8c7
0xd9a195463bd413f19eeff7e294543e066eafe51c6794c709340fcb372695ea7a
0x7555ca7b0b5a39ca94d8b1e39fef4b73f37b7986617d1548a111d9f36577a33b
0x575dabbaae3c000586d000aa2fe0c3cf632ac7f0df5013ffaea4ef8aa2c8e37d
0x94439eaf809fa7144051a0c294a246a87dcf0d91d33ca5ff9e4f192f6abda9a7

Functions
Getter at block 21244519
state_gravityId(view returns (bytes32)
0x736f6d6d656c6965722d33000000000000000000000000000000000000000000
state_lastEventNonce(view returns (uint256)
4706
state_lastValsetCheckpoint(view returns (bytes32)
0x90bd4144eaf5ea51a6e4437e974e694740786e7476b4e99fb738b8eb51a88ff8
state_lastValsetNonce(view returns (uint256)
187
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(