OnDemandSPV

Verified contract

Active on Ethereum
Deployed by via 0x6809f1a7 at 10861642
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xade14faf2d03fdfe23ebe4997509987ec424bcf517172dc725d205d99f7ae915
0x6bf6b157c0448fa119a22bf81b126fe4938f7aa443c6d92c411e060d8aa899ba
0xa53f053ef347b69f52f0735cb02344333976eb1ac03c890ff26922a03bcd43ed
0x32e5614196b052f4af5b0fdc6c0c8413365049bea07a72fad5af24118ce94a76
0x404766ef10988ef19b80955ff3fb593fc6ecadc9d937562b7dc5f5cdbefd1d9f
0x562834f922244c51875afc0102f1017555c8a56823fb6116f9dddcbb5e4d7c13
0xfacfd2ff9a39dd82648ee9c27710117a889e8d2479e0b46b2d6ef8dbc3c14b05
0x3684d0720d9f48786e6de44d3cb754f94305c3e577d4b2174d45f7f41f2f9ce4
0x25a82cb70534e6e417166f2ba171ade7ae986a2f84498e6fa6a13acd7255a57f
0x5eb7d1d326591b1186dcb8e31aa251b080b25adaeec37097e6a6568357f05798

Functions
Getter at block 21157482
BASE_COST(view returns (uint256)
86400
HEIGHT_INTERVAL(view returns (uint32)
4
getBestKnownDigest(view returns (bytes32)
0xbfd4928998f8675051d58b611adae4500b4b6454770902000000000000000000
getCurrentEpochDifficulty(view returns (uint256)
46843400286276
getLastReorgCommonAncestor(view returns (bytes32)
0x50b76871440ab7df095b3349c7ee53d6fe0a9c3fa59803000000000000000000
getLatestValidatedTx(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getPrevEpochDifficulty(view returns (uint256)
43551722213590
getRelayGenesis(view returns (bytes32)
0xed3f6e119779511a37c6e3d660fd7a3c8cf4d3670a1301000000000000000000
latestValidatedTx(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nextID(view returns (uint256)
0
remoteGasAllowance(view returns (uint256)
500000
Read-only
findAncestor(bytes32 _digestuint256 _offsetview returns (bytes32)
findHeight(bytes32 _digestview returns (uint256)
getRequest(uint256 _requestIDview returns (bytes32 spendsbytes32 paysuint64 paysValueuint8 stateaddress consumeraddress owneruint8 numConfsuint256 notBefore)
isAncestor(bytes32 _ancestorbytes32 _descendantuint256 _limitview returns (bool)
State-modifying
addHeaders(bytes _anchorbytes _headersreturns (bool)
addHeadersWithRetarget(bytes _oldPeriodStartHeaderbytes _oldPeriodEndHeaderbytes _headersreturns (bool)
cancelRequest(uint256 _requestIDreturns (bool)
markNewHeaviest(bytes32 _ancestorbytes _currentBestbytes _newBestuint256 _limitreturns (bool)
provideProof(bytes _headerbytes _proofbytes4 _versionbytes4 _locktimeuint256 _indexuint16 _reqIndicesbytes _vinbytes _voutuint256 _requestIDreturns (bool)
request(bytes _spendsbytes _paysuint64 _paysValueaddress _consumeruint8 _numConfsuint256 _notBeforereturns (uint256)
Events
Extension(bytes32 indexed _firstbytes32 indexed _last
NewProofRequest(address indexed _requesteruint256 indexed _requestIDuint64 _paysValuebytes _spendsbytes _pays
NewTip(bytes32 indexed _frombytes32 indexed _tobytes32 indexed _gcd
RequestClosed(uint256 indexed _requestID
RequestFilled(bytes32 indexed _txiduint256 indexed _requestID
Constructor
constructor(bytes _genesisHeaderuint256 _heightbytes32 _periodStartuint256 _firstID
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.