Gravity
Verified contract
Active on
Ethereum with 5,052 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
somm | ERC-20 | 115,792,089,237,316,200,000,000,000,000,000,000,000,000,000,000,000,000,000,000T | $0.017089 |
$1,978,823,119,416,653,200,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 | |
WETH | ERC-20 | 38.406147 | $3,209.21 |
$123,253.39 | |
USDC | ERC-20 | 1.554741K | $0.999975 |
$1,554.7 | |
stETH | ERC-20 | 0.15 | $3,213.22 |
$481.98 | |
WBTC | ERC-20 | 0.00009 | $79,560.00 |
$7.16 | |
FRAX | ERC-20 | 5.805927 | $0.997095 |
$5.79 | |
USDT | ERC-20 | 0.143044 | $1.001 |
$0.14 | |
DAI | ERC-20 | 0.006586 | $0.999818 |
$0.01 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21156818 | 6 hours ago | | | 0 | 0.00072833736 | |
| 21148894 | a day ago | | | 0 | 0.013039086 | |
| 21148865 | a day ago | | | 0 | 0.026344094 | |
| 21141258 | 2 days ago | | | 0 | 0.00040941177 | |
| 21134835 | 3 days ago | | | 0 | 0.0016590614 | |
| 21122864 | 5 days ago | | | 0 | 0.0032644728 | |
| 21119906 | 5 days ago | | | 0 | 0.011699954 | |
| 21119896 | 5 days ago | | | 0 | 0.0059672396 | |
| 21119866 | 5 days ago | | | 0 | 0.0088590800 | |
| 21105978 | 7 days ago | | | 0 | 0.00060773177 |
ABI
ABI objects
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 _erc20Address) view returns (uint256)
lastLogicCallNonce(bytes32 _invalidation_id) view returns (uint256)
state_invalidationMapping(bytes32) view returns (uint256)
state_lastBatchNonces(address) view returns (uint256)
testCheckValidatorSignatures(struct ValsetArgs _currentValset, struct ValSignature[] _sigs, bytes32 _theHash, uint256 _powerThreshold) pure
testMakeCheckpoint(struct ValsetArgs _valsetArgs, bytes32 _gravityId) pure
State-modifying
Events deployERC20(string _cosmosDenom, string _name, string _symbol, uint8 _decimals)
sendToCosmos(address _tokenContract, bytes32 _destination, uint256 _amount)
submitBatch(struct ValsetArgs _currentValset, struct ValSignature[] _sigs, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout)
submitLogicCall(struct ValsetArgs _currentValset, struct ValSignature[] _sigs, struct LogicCallArgs _args)
updateValset(struct ValsetArgs _newValset, struct ValsetArgs _currentValset, struct ValSignature[] _sigs)
ERC20DeployedEvent(string _cosmosDenom, address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)
LogicCallEvent(bytes32 _invalidationId, uint256 _invalidationNonce, bytes _returnData, uint256 _eventNonce)
SendToCosmosEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, uint256 _amount, uint256 _eventNonce)
TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
ValsetUpdatedEvent(uint256 indexed _newValsetNonce, uint256 _eventNonce, uint256 _rewardAmount, address _rewardToken, address[] _validators, uint256[] _powers)
constructor(bytes32 _gravityId, uint256 _powerThreshold, address[] _validators, uint256[] _powers)
This contract contains no fallback and receive objects.
BatchTimedOut()
IncorrectCheckpoint()
InsufficientPower(uint256 cumulativePower, uint256 powerThreshold)
InvalidBatchNonce(uint256 newNonce, uint256 currentNonce)
InvalidLogicCallFees()
InvalidLogicCallNonce(uint256 newNonce, uint256 currentNonce)
InvalidLogicCallTransfers()
InvalidSendToCosmos()
InvalidSignature()
InvalidValsetNonce(uint256 newNonce, uint256 currentNonce)
LogicCallTimedOut()
MalformedBatch()
MalformedCurrentValidatorSet()
MalformedNewValidatorSet()