ETH Price: $3,384.62 (+3.88%)

Contract

0x0d62bac5c346c78DC1b27107CAbC5F4DE057a830
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Verify Merkle210646782024-10-28 14:18:2356 days ago1730125103IN
dYdX: Merkle Statement
0 ETH0.002598510.13112315
Verify Merkle210646782024-10-28 14:18:2356 days ago1730125103IN
dYdX: Merkle Statement
0 ETH0.0026343610.13112315
Verify Merkle210646782024-10-28 14:18:2356 days ago1730125103IN
dYdX: Merkle Statement
0 ETH0.0025994710.13112315
Verify Merkle210641452024-10-28 12:30:5956 days ago1730118659IN
dYdX: Merkle Statement
0 ETH0.0032014911.20220956
Verify Merkle210641452024-10-28 12:30:5956 days ago1730118659IN
dYdX: Merkle Statement
0 ETH0.003240611.20220956
Verify Merkle210641452024-10-28 12:30:5956 days ago1730118659IN
dYdX: Merkle Statement
0 ETH0.0032024311.20220956
Verify Merkle210618102024-10-28 4:40:5956 days ago1730090459IN
dYdX: Merkle Statement
0 ETH0.001307244.5855388
Verify Merkle210618102024-10-28 4:40:5956 days ago1730090459IN
dYdX: Merkle Statement
0 ETH0.001323264.5855388
Verify Merkle210618102024-10-28 4:40:5956 days ago1730090459IN
dYdX: Merkle Statement
0 ETH0.001308074.5855388
Verify Merkle210591812024-10-27 19:53:1157 days ago1730058791IN
dYdX: Merkle Statement
0 ETH0.001427175.12443583
Verify Merkle210591812024-10-27 19:53:1157 days ago1730058791IN
dYdX: Merkle Statement
0 ETH0.0014455.12443583
Verify Merkle210591812024-10-27 19:53:1157 days ago1730058791IN
dYdX: Merkle Statement
0 ETH0.001427545.12443583
Verify Merkle210566522024-10-27 11:25:4757 days ago1730028347IN
dYdX: Merkle Statement
0 ETH0.001581445.97988379
Verify Merkle210566522024-10-27 11:25:4757 days ago1730028347IN
dYdX: Merkle Statement
0 ETH0.001601745.97988379
Verify Merkle210566522024-10-27 11:25:4757 days ago1730028347IN
dYdX: Merkle Statement
0 ETH0.001581295.97988379
Verify Merkle210562752024-10-27 10:09:3557 days ago1730023775IN
dYdX: Merkle Statement
0 ETH0.0031139810.99661681
Verify Merkle210562752024-10-27 10:09:3557 days ago1730023775IN
dYdX: Merkle Statement
0 ETH0.003151210.99661681
Verify Merkle210562752024-10-27 10:09:3557 days ago1730023775IN
dYdX: Merkle Statement
0 ETH0.0031145110.99661681
Verify Merkle210540232024-10-27 2:37:4757 days ago1729996667IN
dYdX: Merkle Statement
0 ETH0.000895333.12559018
Verify Merkle210540222024-10-27 2:37:3557 days ago1729996655IN
dYdX: Merkle Statement
0 ETH0.000942613.2504717
Verify Merkle210540222024-10-27 2:37:3557 days ago1729996655IN
dYdX: Merkle Statement
0 ETH0.000930913.2504717
Verify Merkle210520922024-10-26 20:09:4758 days ago1729973387IN
dYdX: Merkle Statement
0 ETH0.001168614.116466
Verify Merkle210520922024-10-26 20:09:4758 days ago1729973387IN
dYdX: Merkle Statement
0 ETH0.001182944.116466
Verify Merkle210520922024-10-26 20:09:4758 days ago1729973387IN
dYdX: Merkle Statement
0 ETH0.001168174.116466
Verify Merkle210516492024-10-26 18:40:5958 days ago1729968059IN
dYdX: Merkle Statement
0 ETH0.001440464.99186414
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MerkleStatementContract

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: MerkleStatementContract.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

import "FactRegistry.sol";
import "MerkleVerifier.sol";

contract MerkleStatementContract is MerkleVerifier, FactRegistry {
    /*
      This function recieves an initial merkle queue (consists of indices of leaves in the merkle
      in addition to their values) and a merkle view (contains the values of all the nodes
      required to be able to validate the queue). In case of success it registers the Merkle fact,
      which is the hash of the queue together with the resulting root.
    */
    // NOLINTNEXTLINE: external-function.
    function verifyMerkle(
        uint256[] memory merkleView,
        uint256[] memory initialMerkleQueue,
        uint256 height,
        uint256 expectedRoot
        )
        public
    {
        require(height < 200, "Height must be < 200.");
        require(
            initialMerkleQueue.length <= MAX_N_MERKLE_VERIFIER_QUERIES * 2,
            "TOO_MANY_MERKLE_QUERIES");

        uint256 merkleQueuePtr;
        uint256 channelPtr;
        uint256 nQueries;
        uint256 dataToHashPtr;
        uint256 badInput = 0;

        assembly {
            // Skip 0x20 bytes length at the beginning of the merkleView.
            let merkleViewPtr := add(merkleView, 0x20)
            // Let channelPtr point to a free space.
            channelPtr := mload(0x40) // freePtr.
            // channelPtr will point to the merkleViewPtr since the 'verify' function expects
            // a pointer to the proofPtr.
            mstore(channelPtr, merkleViewPtr)
            // Skip 0x20 bytes length at the beginning of the initialMerkleQueue.
            merkleQueuePtr := add(initialMerkleQueue, 0x20)
            // Get number of queries.
            nQueries := div(mload(initialMerkleQueue), 0x2)
            // Get a pointer to the end of initialMerkleQueue.
            let initialMerkleQueueEndPtr := add(merkleQueuePtr, mul(nQueries, 0x40))
            // Let dataToHashPtr point to a free memory.
            dataToHashPtr := add(channelPtr, 0x20) // Next freePtr.

            // Copy initialMerkleQueue to dataToHashPtr and validaite the indices.
            // The indices need to be in the range [2**height..2*(height+1)-1] and
            // strictly incrementing.

            // First index needs to be >= 2**height.
            let idxLowerLimit := shl(height, 1)
            for { } lt(merkleQueuePtr, initialMerkleQueueEndPtr) { } {
                let curIdx := mload(merkleQueuePtr)
                // badInput |= curIdx < IdxLowerLimit.
                badInput := or(badInput, lt(curIdx, idxLowerLimit))

                // The next idx must be at least curIdx + 1.
                idxLowerLimit := add(curIdx, 1)

                // Copy the pair (idx, hash) to the dataToHash array.
                mstore(dataToHashPtr, curIdx)
                mstore(add(dataToHashPtr, 0x20), mload(add(merkleQueuePtr, 0x20)))

                dataToHashPtr := add(dataToHashPtr, 0x40)
                merkleQueuePtr := add(merkleQueuePtr, 0x40)
            }

            // We need to enforce that lastIdx < 2**(height+1)
            // => fail if lastIdx >= 2**(height+1)
            // => fail if (lastIdx + 1) > 2**(height+1)
            // => fail if idxLowerLimit > 2**(height+1).
            badInput := or(badInput, gt(idxLowerLimit, shl(height, 2)))

            // Reset merkleQueuePtr.
            merkleQueuePtr := add(initialMerkleQueue, 0x20)
            // Let freePtr point to a free memory (one word after the copied queries - reserved
            // for the root).
            mstore(0x40, add(dataToHashPtr, 0x20))
        }
        require(badInput == 0, "INVALID_MERKLE_INDICES");
        bytes32 resRoot = verifyMerkle(channelPtr, merkleQueuePtr, bytes32(expectedRoot), nQueries);
        bytes32 factHash;
        assembly {
            // Append the resulted root (should be the return value of verify) to dataToHashPtr.
            mstore(dataToHashPtr, resRoot)
            // Reset dataToHashPtr.
            dataToHashPtr := add(channelPtr, 0x20)
            factHash := keccak256(dataToHashPtr, add(mul(nQueries, 0x40), 0x20))
        }

        registerFact(factHash);
    }
}

File 2 of 6: FactRegistry.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

import "IQueryableFactRegistry.sol";

contract FactRegistry is IQueryableFactRegistry {
    // Mapping: fact hash -> true.
    mapping (bytes32 => bool) private verifiedFact;

    // Indicates whether the Fact Registry has at least one fact registered.
    bool anyFactRegistered;

    /*
      Checks if a fact has been verified.
    */
    function isValid(bytes32 fact)
        external view override
        returns(bool)
    {
        return _factCheck(fact);
    }


    /*
      This is an internal method to check if the fact is already registered.
      In current implementation of FactRegistry it's identical to isValid().
      But the check is against the local fact registry,
      So for a derived referral fact registry, it's not the same.
    */
    function _factCheck(bytes32 fact)
        internal view
        returns(bool)
    {
        return verifiedFact[fact];
    }

    function registerFact(
        bytes32 factHash
        )
        internal
    {
        // This function stores the fact hash in the mapping.
        verifiedFact[factHash] = true;

        // Mark first time off.
        if (!anyFactRegistered) {
            anyFactRegistered = true;
        }
    }

    /*
      Indicates whether at least one fact was registered.
    */
    function hasRegisteredFact()
        external view override
        returns(bool)
    {
        return anyFactRegistered;
    }

}

File 3 of 6: IFactRegistry.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

/*
  The Fact Registry design pattern is a way to separate cryptographic verification from the
  business logic of the contract flow.

  A fact registry holds a hash table of verified "facts" which are represented by a hash of claims
  that the registry hash check and found valid. This table may be queried by accessing the
  isValid() function of the registry with a given hash.

  In addition, each fact registry exposes a registry specific function for submitting new claims
  together with their proofs. The information submitted varies from one registry to the other
  depending of the type of fact requiring verification.

  For further reading on the Fact Registry design pattern see this
  `StarkWare blog post <https://medium.com/starkware/the-fact-registry-a64aafb598b6>`_.
*/
interface IFactRegistry {
    /*
      Returns true if the given fact was previously registered in the contract.
    */
    function isValid(bytes32 fact)
        external view
        returns(bool);
}

File 4 of 6: IMerkleVerifier.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

abstract contract IMerkleVerifier {
    uint256 constant internal MAX_N_MERKLE_VERIFIER_QUERIES =  128;

    function verifyMerkle(
        uint256 channelPtr,
        uint256 queuePtr,
        bytes32 root,
        uint256 n)
        internal view virtual
        returns (bytes32 hash);
}

File 5 of 6: IQueryableFactRegistry.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

import "IFactRegistry.sol";

/*
  Extends the IFactRegistry interface with a query method that indicates
  whether the fact registry has successfully registered any fact or is still empty of such facts.
*/
interface IQueryableFactRegistry is IFactRegistry {

    /*
      Returns true if at least one fact has been registered.
    */
    function hasRegisteredFact()
        external view
        returns(bool);

}

File 6 of 6: MerkleVerifier.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
// SPDX-License-Identifier: Apache-2.0.
pragma solidity ^0.6.11;

import "IMerkleVerifier.sol";

contract MerkleVerifier is IMerkleVerifier {

    function getHashMask() internal pure returns(uint256) {
        // Default implementation.
        return 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000;
    }

    /*
      Verifies a Merkle tree decommitment for n leaves in a Merkle tree with N leaves.

      The inputs data sits in the queue at queuePtr.
      Each slot in the queue contains a 32 bytes leaf index and a 32 byte leaf value.
      The indices need to be in the range [N..2*N-1] and strictly incrementing.
      Decommitments are read from the channel in the ctx.

      The input data is destroyed during verification.
    */
    function verifyMerkle(
        uint256 channelPtr,
        uint256 queuePtr,
        bytes32 root,
        uint256 n)
        internal view virtual override
        returns (bytes32 hash)
    {
        uint256 lhashMask = getHashMask();
        require(n <= MAX_N_MERKLE_VERIFIER_QUERIES, "TOO_MANY_MERKLE_QUERIES");

        assembly {
            // queuePtr + i * 0x40 gives the i'th index in the queue.
            // hashesPtr + i * 0x40 gives the i'th hash in the queue.
            let hashesPtr := add(queuePtr, 0x20)
            let queueSize := mul(n, 0x40)
            let slotSize := 0x40

            // The items are in slots [0, n-1].
            let rdIdx := 0
            let wrIdx := 0 // = n % n.

            // Iterate the queue until we hit the root.
            let index := mload(add(rdIdx, queuePtr))
            let proofPtr := mload(channelPtr)

            // while(index > 1).
            for { } gt(index, 1) { } {
                let siblingIndex := xor(index, 1)
                // sibblingOffset := 0x20 * lsb(siblingIndex).
                let sibblingOffset := mulmod(siblingIndex, 0x20, 0x40)

                // Store the hash corresponding to index in the correct slot.
                // 0 if index is even and 0x20 if index is odd.
                // The hash of the sibling will be written to the other slot.
                mstore(xor(0x20, sibblingOffset), mload(add(rdIdx, hashesPtr)))
                rdIdx := addmod(rdIdx, slotSize, queueSize)

                // Inline channel operation:
                // Assume we are going to read a new hash from the proof.
                // If this is not the case add(proofPtr, 0x20) will be reverted.
                let newHashPtr := proofPtr
                proofPtr := add(proofPtr, 0x20)

                // Push index/2 into the queue, before reading the next index.
                // The order is important, as otherwise we may try to read from an empty queue (in
                // the case where we are working on one item).
                // wrIdx will be updated after writing the relevant hash to the queue.
                mstore(add(wrIdx, queuePtr), div(index, 2))

                // Load the next index from the queue and check if it is our sibling.
                index := mload(add(rdIdx, queuePtr))
                if eq(index, siblingIndex) {
                    // Take sibling from queue rather than from proof.
                    newHashPtr := add(rdIdx, hashesPtr)
                    // Revert reading from proof.
                    proofPtr := sub(proofPtr, 0x20)
                    rdIdx := addmod(rdIdx, slotSize, queueSize)

                    // Index was consumed, read the next one.
                    // Note that the queue can't be empty at this point.
                    // The index of the parent of the current node was already pushed into the
                    // queue, and the parent is never the sibling.
                    index := mload(add(rdIdx, queuePtr))
                }

                mstore(sibblingOffset, mload(newHashPtr))

                // Push the new hash to the end of the queue.
                mstore(add(wrIdx, hashesPtr), and(lhashMask, keccak256(0x00, 0x40)))
                wrIdx := addmod(wrIdx, slotSize, queueSize)
            }
            hash := mload(add(rdIdx, hashesPtr))

            // Update the proof pointer in the context.
            mstore(channelPtr, proofPtr)
        }
        // emit LogBool(hash == root);
        require(hash == root, "INVALID_MERKLE_PROOF");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"hasRegisteredFact","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"fact","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"merkleView","type":"uint256[]"},{"internalType":"uint256[]","name":"initialMerkleQueue","type":"uint256[]"},{"internalType":"uint256","name":"height","type":"uint256"},{"internalType":"uint256","name":"expectedRoot","type":"uint256"}],"name":"verifyMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610645806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80633fe317a6146100465780636a93856714610174578063d6354e15146101a5575b600080fd5b6101726004803603608081101561005c57600080fd5b81019060208101813564010000000081111561007757600080fd5b82018360208201111561008957600080fd5b803590602001918460208302840111640100000000831117156100ab57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156100fb57600080fd5b82018360208201111561010d57600080fd5b8035906020019184602083028401116401000000008311171561012f57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050823593505050602001356101ad565b005b6101916004803603602081101561018a57600080fd5b50356103a8565b604080519115158252519081900360200190f35b6101916103b9565b60c8821061021c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f486569676874206d757374206265203c203230302e0000000000000000000000604482015290519081900360640190fd5b8251610100101561028e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f544f4f5f4d414e595f4d45524b4c455f51554552494553000000000000000000604482015290519081900360640190fd5b6040805160208681018252855186820193600290910491838101916000919084028901016001881b5b818710156102e8578651808552602080890151908601526040978801979094019390811092909217916001016102b7565b60208481016040528a0196506002891b10919091179050801561036c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f494e56414c49445f4d45524b4c455f494e444943455300000000000000000000604482015290519081900360640190fd5b600061037a858789876103c2565b90506000818452602086019350602060408602018420905061039b81610566565b5050505050505050505050565b60006103b3826105d6565b92915050565b60015460ff1690565b6000806103cd6105eb565b9050608083111561043f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f544f4f5f4d414e595f4d45524b4c455f51554552494553000000000000000000604482015290519081900360640190fd5b60208501604084026040600080898201518b515b60018211156104e05760018218604060208209888601518160201852878787086002909404858f01528d8401519395506020830192828514156104c657507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201918589018888880896508e87015194505b519052506040600020881683880152858584089250610453565b9290950151918b525094505050848314905061055d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f494e56414c49445f4d45524b4c455f50524f4f46000000000000000000000000604482015290519081900360640190fd5b50949350505050565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091555460ff166105d357600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016811790555b50565b60009081526020819052604090205460ff1690565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000009056fea2646970667358221220ea74c2184d65f86578679925804c507ed2cdca75f67dc2c7d8c3884e4299dad864736f6c634300060b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80633fe317a6146100465780636a93856714610174578063d6354e15146101a5575b600080fd5b6101726004803603608081101561005c57600080fd5b81019060208101813564010000000081111561007757600080fd5b82018360208201111561008957600080fd5b803590602001918460208302840111640100000000831117156100ab57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156100fb57600080fd5b82018360208201111561010d57600080fd5b8035906020019184602083028401116401000000008311171561012f57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050823593505050602001356101ad565b005b6101916004803603602081101561018a57600080fd5b50356103a8565b604080519115158252519081900360200190f35b6101916103b9565b60c8821061021c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f486569676874206d757374206265203c203230302e0000000000000000000000604482015290519081900360640190fd5b8251610100101561028e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f544f4f5f4d414e595f4d45524b4c455f51554552494553000000000000000000604482015290519081900360640190fd5b6040805160208681018252855186820193600290910491838101916000919084028901016001881b5b818710156102e8578651808552602080890151908601526040978801979094019390811092909217916001016102b7565b60208481016040528a0196506002891b10919091179050801561036c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f494e56414c49445f4d45524b4c455f494e444943455300000000000000000000604482015290519081900360640190fd5b600061037a858789876103c2565b90506000818452602086019350602060408602018420905061039b81610566565b5050505050505050505050565b60006103b3826105d6565b92915050565b60015460ff1690565b6000806103cd6105eb565b9050608083111561043f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f544f4f5f4d414e595f4d45524b4c455f51554552494553000000000000000000604482015290519081900360640190fd5b60208501604084026040600080898201518b515b60018211156104e05760018218604060208209888601518160201852878787086002909404858f01528d8401519395506020830192828514156104c657507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201918589018888880896508e87015194505b519052506040600020881683880152858584089250610453565b9290950151918b525094505050848314905061055d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f494e56414c49445f4d45524b4c455f50524f4f46000000000000000000000000604482015290519081900360640190fd5b50949350505050565b600081815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091555460ff166105d357600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016811790555b50565b60009081526020819052604090205460ff1690565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000009056fea2646970667358221220ea74c2184d65f86578679925804c507ed2cdca75f67dc2c7d8c3884e4299dad864736f6c634300060b0033

Deployed Bytecode Sourcemap

719:4102:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1205:3614;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1205:3614:4;;;;;;;;-1:-1:-1;1205:3614:4;;-1:-1:-1;;1205:3614:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1205:3614:4;;-1:-1:-1;;1205:3614:4;;;-1:-1:-1;;;1205:3614:4;;;;:::i;:::-;;1004:128:0;;;;;;;;;;;;;;;;-1:-1:-1;1004:128:0;;:::i;:::-;;;;;;;;;;;;;;;;;;1939:127;;;:::i;1205:3614:4:-;1419:3;1410:6;:12;1402:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1479:25;;1508:33;-1:-1:-1;1479:62:4;1458:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1965:4;1959:11;;1874:4;1858:21;;;2131:33;;2373:25;;2277:29;;;;2400:3;2369:35;;;;2639:21;;;;1592:22;;2532:19;;;2512:40;;;2982:1;2970:14;;2997:676;3024:24;3008:14;3005:44;2997:676;;;3086:21;;3428:29;;;3533:4;3513:25;;;3507:32;3481:24;;;3474:66;3594:4;3634:25;;;;3575:24;;;;3204:25;;;3191:39;;;;;3338:1;3326:14;2997:676;;;4066:4;4223:24;;;4217:4;4210:38;4042:29;;;-1:-1:-1;3969:1:4;3957:14;;-1:-1:-1;3926:47:4;;;;;-1:-1:-1;4275:13:4;;4267:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4325:15;4343:73;4356:10;4368:14;4392:12;4407:8;4343:12;:73::i;:::-;4325:91;;4426:16;4594:7;4579:13;4572:30;4684:4;4672:10;4668:21;4651:38;;4764:4;4757;4747:8;4743:19;4739:30;4724:13;4714:56;4702:68;;4790:22;4803:8;4790:12;:22::i;:::-;1205:3614;;;;;;;;;;;:::o;1004:128:0:-;1082:4;1109:16;1120:4;1109:10;:16::i;:::-;1102:23;1004:128;-1:-1:-1;;1004:128:0:o;1939:127::-;2042:17;;;;1939:127;:::o;1363:3559:5:-;1537:12;1565:17;1585:13;:11;:13::i;:::-;1565:33;;761:3:2;1616:1:5;:34;;1608:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1883:4;1873:8;1869:19;1925:4;1922:1;1918:12;1959:4;2038:1;2065;2178:8;2171:5;2167:20;2161:27;2223:10;2217:17;2281:2384;2299:1;2292:5;2289:12;2281:2384;;;2355:1;2348:5;2344:13;2486:4;2480;2466:12;2459:32;2780:9;2773:5;2769:21;2763:28;2746:14;2740:4;2736:25;2729:63;2842:9;2832:8;2825:5;2818:34;3530:1;3519:13;;;3497:20;;;3490:43;3652:20;;;3646:27;2809:43;;-1:-1:-1;3139:4:5;3125:19;;;3693:23;;;3690:2;;;-1:-1:-1;3928:19:5;;;;;3824:21;;;4001:9;3991:8;3828:5;3977:34;3968:43;;4356:8;4349:5;4345:20;4339:27;4330:36;;3690:2;4425:17;4402:41;;-1:-1:-1;4584:4:5;4578;4568:21;4553:37;;4530:21;;;4523:68;4641:9;4631:8;4534:5;4617:34;4608:43;;2281:2384;;;4692:21;;;;4686:28;4784;;;-1:-1:-1;4686:28:5;-1:-1:-1;;;4878:12:5;;;;-1:-1:-1;4870:45:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1363:3559;;;;;;;:::o;1559:302:0:-;1710:12;:22;;;;;;;;;;:29;;;;1735:4;1710:29;;;;;;1787:17;1710:29;1787:17;1782:73;;1840:4;1820:24;;;;;;;;1782:73;1559:302;:::o;1429:124::-;1501:4;1528:18;;;;;;;;;;;;;;1429:124::o;743:179:5:-;849:66;743:179;:::o

Swarm Source

ipfs://ea74c2184d65f86578679925804c507ed2cdca75f67dc2c7d8c3884e4299dad8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.