Gravity
Verified contract
Active on
Ethereum with 5,071 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.022754 |
$2,634,678,776,223,951,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 | |
WETH | ERC-20 | 38.406147 | $3,301.83 |
$126,810.57 | |
USDC | ERC-20 | 1.554741K | $1.001 |
$1,556.3 | |
stETH | ERC-20 | 0.15 | $3,306.04 |
$495.91 | |
WBTC | ERC-20 | 0.00009 | $98,552.00 |
$8.87 | |
FRAX | ERC-20 | 5.805927 | $0.998914 |
$5.8 | |
USDT | ERC-20 | 0.143044 | $1.002 |
$0.14 | |
DAI | ERC-20 | 0.006586 | $1.001 |
$0.01 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21241024 | 12 hours ago | | | 0 | 0.012021494 | |
| 21240987 | 12 hours ago | | | 0 | 0.023388752 | |
| 21238096 | a day ago | | | 0 | 0.0079621480 | |
| 21237825 | a day ago | | | 0 | 0.0014576494 | |
| 21229634 | 2 days ago | | | 0 | 0.0035126095 | |
| 21228240 | 2 days ago | | | 0 | 0.00071715830 | |
| 21220352 | 3 days ago | | | 0 | 0.020187719 | |
| 21216982 | 4 days ago | | | 0 | 0.078410424 | |
| 21216954 | 4 days ago | | | 0 | 0.017987458 | |
| 21214633 | 4 days ago | | | 0 | 0.0024133466 |
ABI
ABI objects
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 _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()