PreCrimeView
Verified contract
Active on
Ethereum with 2 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PreCrimeView"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17674684 | a year ago | | | 0 | 0.00044039335 | |
| 17674683 | a year ago | | | 0 | 0.0047142437 |
ABI
ABI objects
Getter at block 21205018
CODE_MISS_SIMULATE_RESULT() view returns (uint16)
4
CODE_PACKETS_OVERSIZE() view returns (uint16)
2
CODE_PACKETS_UNSORTED() view returns (uint16)
3
CODE_PRECRIME_FAILURE() view returns (uint16)
1
CODE_SUCCESS() view returns (uint16)
0
CONFIG_VERSION() view returns (uint16)
1
PRECRIME_VERSION() view returns (uint16)
10001
localChainId() view returns (uint16)
101
maxBatchSize() view returns (uint64)
100
oftView() view returns (address)
0xfbc1485d545e5f4217d29cb20704b18457a0c541
owner() view returns (address)
0x5f0dee98360d8200b20812e174d139a1a633edd2
version() pure returns (uint16)
10001
Read-only
getConfig(struct IPreCrimeViewPacket[] _packets) view returns (bytes)
precrime(struct IPreCrimeViewPacket[] _packets, bytes[] _simulation) view returns (uint16 code, bytes reason)
remoteChainIds(uint256) view returns (uint16)
remotePrecrimeAddresses(uint256) view returns (bytes32)
simulate(struct IPreCrimeViewPacket[] _packets) view returns (uint16 code, bytes data)
State-modifying
Events setMaxBatchSize(uint64 _maxSize)
setRemotePrecrimeAddresses(uint16[] _remoteChainIds, bytes32[] _remotePrecrimeAddresses)
transferOwnership(address newOwner)
OwnershipTransferred(address indexed user, address indexed newOwner)
constructor(address _owner, uint16 _localChainId, address _oftView, uint64 _maxSize)
This contract contains no fallback and receive objects.
ErrInvalidSize()