ForeignChain
Verified contract
Active on
Ethereum with 5,322 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 "ForeignChain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17331882 | a year ago | | | 0 | 0.0019292808 | |
| 17326486 | a year ago | | | 0 | 0.0028708962 | |
| 17321090 | a year ago | | | 0 | 0.0023620303 | |
| 17315702 | a year ago | | | 0 | 0.0041521000 | |
| 17310303 | a year ago | | | 0 | 0.0023957952 | |
| 17304923 | a year ago | | | 0 | 0.0016024953 | |
| 17299524 | a year ago | | | 0 | 0.0019413786 | |
| 17294137 | a year ago | | | 0 | 0.0038056466 | |
| 17288751 | a year ago | | | 0 | 0.0030989752 | |
| 17283355 | a year ago | | | 0 | 0.0024574811 |
ABI
ABI objects
Getter at block 21201083 tokenContract() view returns (address)
ETH_PREFIX() view returns (bytes)
0x19457468657265756d205369676e6564204d6573736167653a0a3332
blocksCount() view returns (uint32)
0
blocksCountOffset() view returns (uint32)
1
contractRegistry() view returns (address)
0x41a75b8504fdac22b2152b5cfcdaae01ff50947e
deprecated() view returns (bool)
true
getBlockId() view returns (uint32)
1684965667
getLatestBlockId() view returns (uint32)
1684965666
getName() pure returns (bytes32)
0x436861696e000000000000000000000000000000000000000000000000000000
getStatus() view returns (uint256 blockNumber, uint16 timePadding, uint32 lastDataTimestamp, uint32 lastId, uint32 nextBlockId)
(blockNumber=21201083, timePadding=65535, lastDataTimestamp=1684965666, lastId=1684965666, nextBlockId=1684965667)
isForeign() pure returns (bool)
true
lastBlockId() view returns (uint32)
1684965666
owner() view returns (address)
0xa6e4ffa19b213abea258ae72e8e1a209b9e543e7
padding() view returns (uint16)
65535
replicator() view returns (address)
0x57a2022fa04f38207ab3cd280557cad6d0b77be1
requiredSignatures() view returns (uint16)
1
stakingBankContract() view returns (address)
0x98b407d4961bb69615753617236118a037a67915
Read-only
blocks(uint256 _blockId) view returns (struct BaseChainBlock)
bytesToBytes32Array(bytes _data, uint256 _offset, uint256 _items) pure returns (bytes32[])
fcds(bytes32) view returns (uint224 value, uint32 dataTimestamp)
getBlockIdAtTimestamp(uint256 _timestamp) view returns (uint32)
getBlockRoot(uint32 _blockId) view returns (bytes32)
getBlockTimestamp(uint32 _blockId) view returns (uint32)
getCurrentValue(bytes32 _key) view returns (uint256 value, uint256 timestamp)
getCurrentValues(bytes32[] _keys) view returns (uint256[] values, uint32[] timestamps)
hashLeaf(bytes _key, bytes _value) pure returns (bytes32)
recoverSigner(bytes32 _affidavit, uint8 _v, bytes32 _r, bytes32 _s) pure returns (address)
squashedRoots(uint256) view returns (bytes32)
verifyProof(bytes32[] _proof, bytes32 _root, bytes32 _leaf) pure returns (bool)
verifyProofForBlock(uint256 _blockId, bytes32[] _proof, bytes _key, bytes _value) view returns (bool)
verifyProofs(uint32[] _blockIds, bytes _proofs, uint256[] _proofItemsCounter, bytes32[] _leaves) view returns (bool[] results)
State-modifying
Events register()
renounceOwnership()
setPadding(uint16 _padding)
submit(uint32 _dataTimestamp, bytes32 _root, bytes32[] _keys, uint256[] _values, uint32 _blockId)
transferOwnership(address newOwner)
unregister()
LogBlockReplication(address indexed minter, uint32 blockId)
LogDeprecation(address indexed deprecator)
LogPadding(address indexed executor, uint16 timePadding)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _contractRegistry, uint16 _padding, uint16 _requiredSignatures, address _replicator)
This contract contains no fallback and receive objects.
This contract contains no error objects.