Sonic Blaze Testnet

Contract

0xA411e3e55e5c34F77c6413422d2350E3F4486015

Overview

S Balance

Sonic Blaze LogoSonic Blaze LogoSonic Blaze Logo0 S

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

5 Internal Transactions found.

Latest 5 internal transactions

Parent Transaction Hash Block From To
47730212024-12-17 9:41:478 days ago1734428507
0xA411e3e5...3F4486015
0 S
47729842024-12-17 9:41:348 days ago1734428494
0xA411e3e5...3F4486015
0 S
47729272024-12-17 9:41:148 days ago1734428474
0xA411e3e5...3F4486015
0 S
47729112024-12-17 9:41:098 days ago1734428469
0xA411e3e5...3F4486015
0 S
47729042024-12-17 9:41:078 days ago1734428467
0xA411e3e5...3F4486015
0 S
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xB32c4dFf...21fd01Eb9
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SupraSValueFeedVerifier

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 18 : SupraSValueFeedVerifier.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "./BLS.sol";
import "./ISupraSValueFeed.sol";
import {EnumerableSet} from "./EnumerableSet.sol";
import {UUPSUpgradeable} from "../lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol";
import {Ownable2StepUpgradeable} from "../lib/openzeppelin-contracts-upgradeable/contracts/access/Ownable2StepUpgradeable.sol";
import "../lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol";

/// @title Supra SMR Block Utilities
/// @notice This library contains the data structures and functions for hashing SMR blocks.
/// @dev This library is primarily used by the SupraSValueFeedVerifier contract.
library Smr {
    /// @notice A vote is a block with a round number.
    /// @dev The library assumes the round number is passed in little endian format
    struct Vote {
        MinBlock smrBlock;
        // SPEC: smrBlock.round.to_le_bytes()
        bytes8 roundLE;
    }

    /// @notice A partial SMR block containing the bare-minimum for hashing
    struct MinBlock {
        uint64 round;
        uint128 timestamp;
        bytes32 author;
        bytes32 qcHash;
        bytes32[] batchHashes;
    }

    /// @notice An SMR Transaction
    struct MinTxn {
        bytes32[] clusterHashes;
        bytes32 sender;
        bytes10 protocol;
        bytes1 tx_sub_type;
    }

    /// @notice A partial SMR batch containing the bare-minimum for hashing
    /// @dev The library assumes that txnHashes is a list of keccak256 hashes of abi encoded SMR transaction
    struct MinBatch {
        bytes10 protocol;
        // SPEC: List of keccak256(Txn.clusterHashes, Txn.sender, Txn.protocol, Txn.tx_sub_type)
        bytes32[] txnHashes;
    }

    /// @notice An SMR Signed Coherent Cluster
    struct SignedCoherentCluster {
        CoherentCluster cc;
        bytes qc;
        uint256 round;
        Origin origin;
    }

    /// @notice An SMR Coherent Cluster containing the price data
    struct CoherentCluster {
        bytes32 dataHash;
        uint256[] pair;
        uint256[] prices;
        uint256[] timestamp;
        uint256[] decimals;
    }

    /// @notice An SMR Txn Sender
    struct Origin {
        bytes32 _publicKeyIdentity;
        uint256 _pubMemberIndex;
        uint256 _committeeIndex;
    }

    /// @notice Hash an SMR Transaction
    /// @param txn The SMR transaction to hash
    /// @return Hash of the SMR Transaction
    function hashTxn(MinTxn memory txn) internal pure returns (bytes32) {
        bytes memory clustersConcat = abi.encodePacked(txn.clusterHashes);
        return keccak256(abi.encodePacked(clustersConcat, txn.sender, txn.protocol, txn.tx_sub_type));
    }

    /// @notice Hash an SMR Batch
    /// @param batch The SMR batch to hash
    /// @return Hash of the SMR Batch
    function hashBatch(MinBatch memory batch) internal pure returns (bytes32) {
        bytes32 txnsHash = keccak256(abi.encodePacked(batch.txnHashes));
        return keccak256(abi.encodePacked(batch.protocol, txnsHash));
    }

    /// @notice Hash an SMR Vote
    /// @param vote The SMR vote to hash
    /// @return Hash of the SMR Vote
    function hashVote(Vote memory vote) internal pure returns (bytes32) {
        bytes32 batchesHash = keccak256(abi.encodePacked(vote.smrBlock.batchHashes));
        bytes32 blockHash = keccak256(
            abi.encodePacked(
                vote.smrBlock.round, vote.smrBlock.timestamp, vote.smrBlock.author, vote.smrBlock.qcHash, batchesHash
            )
        );
        return keccak256(abi.encodePacked(blockHash, vote.roundLE));
    }
}

/// @title Supra Oracle Value Feed Verifier Contract
/// @notice This contract verifies Oracle SMR Transactions using BLS Signatures and stores the price data
/// @dev The storage is done in a separate contract called `SupraSValueFeedStorage`
contract SupraSValueFeedVerifier is Ownable2StepUpgradeable,UUPSUpgradeable {
    /// @notice It is identification that is common for both client and contract
    /// @dev It is BLS signature verification dependency mostly keccak256 hash of some input
    bytes32 domain;

    /// @notice The current contract authority
    /// @dev It is the BN254 public key of the committee
    uint256[4] publicKey;

    ISupraSValueFeed public supraSValueFeedStorage;


    using EnumerableSet for EnumerableSet.AddressSet;
    using EnumerableSet for EnumerableSet.UintSet;

    EnumerableSet.AddressSet private whitelistedFreeNodes;
    /// @notice Currently Deprecated
    /// @dev We need to keep this just to avoid storage collision
    EnumerableSet.UintSet private hccPairs;

    /// @dev Set of verified votes to minimize computation
    mapping(bytes32 smrVoteHash => bool duplicateSmrVote) verifiedVotes;
    /// @dev Set of processed transactions to prevent replay attacks
    mapping(bytes32 smrTxnHash => bool duplicateSmrTxn) processedTxns;

    uint256 internal blsPrecompileGasCost;

    mapping(uint256 committee_id => uint256[4] public_key) private committee_public_key;
    // Max Future time is 3sec from the current block time.
    uint256 public constant TIME_DELTA_ALLOWANCE = 3000;

    /// @notice It will put log to the individual free node wallets those added to the whitelist
    /// @dev It will be emitted once the free node is added to the whitelist
    /// @param freeNodeWalletAddress is the address through which free node wallet is to be whitelisted
    event FreeNodeWhitelisted(address freeNodeWalletAddress);

    /// @notice It will put log to the multiple free node wallets those added to the whitelist in bulk
    /// @dev It will be emitted once multiple free nodes are added to the whitelist
    /// @param freeNodeWallets is the array of address through which is multiple free nodes are to be whitelisted
    event MultipleFreeNodesWhitelisted(address[] freeNodeWallets);

    /// @notice It will put log to the individual free node wallets those removed from the whitelist
    /// @dev It will be emitted once the free node is removed from the whitelist
    /// @param freeNodeWallet is the address which to be removed from the whitelist
    event FreeNodeRemovedFromWhitelist(address freeNodeWallet);

    error InvalidBatch();
    error InvalidTransaction();
    error DuplicateCluster();
    error ClusterNotVerified();
    error BLSInvalidPublicKeyorSignaturePoints();
    error BLSIncorrectInputMessaage();
    error FreeNodeIsAlreadyWhitelisted();
    error FreeNodeIsNotWhitelisted();
    error InvalidOperation();
    error IncorrectFutureUpdate(uint256 FutureLengthInMsecs);

    event PublicKeyUpdated(uint256 committee_id, uint256[4] publicKey);
    event PublicKeyUpdated(uint256[4] publicKey);


    /// @dev disabling the initializers only for the implementaion contract
    constructor() {
        _disableInitializers();
    }



    /// @notice This function will work similar to Constructor as we cannot use constructor while using proxy
    /// @dev Initialize the respective variables once and behaves similar to constructor
    /// @param _domain This a part of the data on which BLS Signature will be made.
    /// @param _supraSValueFeedStorage SupraSValueFeedStorage contract address
    /// @param _publicKey BLS public key
    /// @param _blsPrecompileGasCost amount of gas needed to verify the signature
    function initialize(
        bytes32 _domain,
        address _supraSValueFeedStorage,
        uint256[4] memory _publicKey,
        uint256 _blsPrecompileGasCost
    ) public initializer {
        Ownable2StepUpgradeable.__Ownable2Step_init();
        domain = _domain;
        supraSValueFeedStorage = ISupraSValueFeed(_supraSValueFeedStorage);
        publicKey = _publicKey;
        blsPrecompileGasCost = _blsPrecompileGasCost;
    }

    /// @notice Helper function for upgradibility
    /// @dev While upgrading using UUPS proxy interface, when we call upgradeTo(address) function
    /// @dev we need to check that only owner can upgrade
    /// @param newImplementation address of the new implementation contract

    function _authorizeUpgrade(address newImplementation) internal virtual override onlyOwner {}

    /// @notice Verify and mark a vote as verified.
    /// @param vote The vote to be verified.
    /// @param sig The signature associated with the vote.
    /// @dev This function verifies the given vote by checking if it has already been verified or if the signature is valid.
    /// @dev   If the vote is verified, it is marked as verified by updating the `verifiedVotes` mapping.
    function requireVoteVerified(Smr.Vote memory vote, uint256[2] calldata sig) internal {
        bytes32 smrVoteHash = Smr.hashVote(vote);
        if (verifiedVotes[smrVoteHash]) {
            return;
        }

        requireHashVerified_V1(bytes.concat(smrVoteHash), sig);
        verifiedVotes[smrVoteHash] = true;
    }

    /// @notice Verify and process an Oracle Transaction
    /// @dev The vote hash is cached to avoid re-verifying BLS signatures
    /// @dev Each transaction contains price data for multiple pairs
    /// @dev The price data is stored in a separate contract
    /// @dev Stale price data is ignored
    /// @param vote The SMR Vote the transaction is part of
    /// @param smrBatch The SMR Batch the transaction is part of
    /// @param smrTxn The SMR Transaction
    /// @param sccR The Signed Coherent Cluster containing the price data
    /// @param batchIdx The index of the batch in the vote
    /// @param txnIdx The index of the transaction in the batch
    /// @param clusterIdx the index of the EVM cluster hash in the transaction
    /// @param sig The BLS signature of the vote, signed by the contract's authority
    function processCluster(
        Smr.Vote memory vote,
        Smr.MinBatch memory smrBatch,
        Smr.MinTxn memory smrTxn,
        bytes calldata sccR,
        uint256 batchIdx,
        uint256 txnIdx,
        uint256 clusterIdx,
        uint256[2] calldata sig
    ) external {
        requireVoteVerified(vote, sig);
        bytes32 batchHash = Smr.hashBatch(smrBatch);
        if (vote.smrBlock.batchHashes[batchIdx] != batchHash) {
            revert InvalidBatch();
        }
        bytes32 txnHash = Smr.hashTxn(smrTxn);
        if (smrBatch.txnHashes[txnIdx] != txnHash) {
            revert InvalidTransaction();
        }
        if (processedTxns[txnHash]) {
            revert DuplicateCluster();
        }
        processedTxns[txnHash] = true;
        bytes32 sccHash = keccak256(sccR);

        if (smrTxn.clusterHashes[clusterIdx] != sccHash) {
            revert ClusterNotVerified();
        }

        Smr.SignedCoherentCluster memory scc = abi.decode(sccR, (Smr.SignedCoherentCluster));

        uint256 round = scc.round;
        uint256 maxFutureTimestamp = block.timestamp * 1000 + TIME_DELTA_ALLOWANCE;

        for (uint256 i = 0; i < scc.cc.pair.length; ++i) {
            uint256 pair = scc.cc.pair[i];
            uint256 timestamp = scc.cc.timestamp[i];
            uint256 prevRound = supraSValueFeedStorage.getRound(pair);
            if (prevRound > round) {
                continue;
            } else if (round > maxFutureTimestamp) {
                revert IncorrectFutureUpdate(round - block.timestamp * 1000);
            }
            packData(pair, round, scc.cc.decimals[i], timestamp, scc.cc.prices[i]);
        }
    }

    /// @notice It helps to pack many data points into one single word (32 bytes)
    /// @dev This function will take the required parameters, Will shift the value to its specific position
    /// @dev For concatenating one value with another we are using unary OR operator
    /// @dev Saving the Packed data into the SupraStorage Contract
    /// @param _pair Pair identifier of the token pair
    /// @param _round Round on which DORA nodes collects and post the pair data
    /// @param _decimals Number of decimals that the price of the pair supports
    /// @param _price Price of the pair
    /// @param _time Last updated timestamp of the pair
    function packData(uint256 _pair, uint256 _round, uint256 _decimals, uint256 _time, uint256 _price) internal {
        uint256 r = uint256(_round) << 192;
        r = r | _decimals << 184;
        r = r | _time << 120;
        r = r | _price << 24;
        supraSValueFeedStorage.restrictedSetSupraStorage(_pair, bytes32(r));
    }

    /// @dev Requires the provided message to be verified using the contract's authority public key and BLS signature.
    /// @param _message The message to be verified.
    /// @param _signature The BLS signature of the message.
    /// @dev This function verifies the BLS signature by calling the BLS precompile contract and checks if the message matches the provided signature.
    /// @dev If the signature verification fails or if there is an issue with the BLS precompile contract call, the function reverts with an error.
    function requireHashVerified_V1(bytes memory _message, uint256[2] calldata _signature) public view {
        bool callSuccess;
        bool checkSuccess;
        (checkSuccess, callSuccess) =
            BLS.verifySingle(_signature, publicKey, BLS.hashToPoint(domain, _message), blsPrecompileGasCost);
        if (!callSuccess) {
            revert BLSInvalidPublicKeyorSignaturePoints();
        }
        if (!checkSuccess) {
            revert BLSIncorrectInputMessaage();
        }
    }

    /// @dev Requires the provided message to be verified using the contract's authority public key and BLS signature.
    /// @param _message The message to be verified.
    /// @param _signature The BLS signature of the message.
    /// @dev This function verifies the BLS signature by calling the BLS precompile contract and checks if the message matches the provided signature.
    /// @dev If the signature verification fails or if there is an issue with the BLS precompile contract call, the function reverts with an error.
    function requireHashVerified_V2(bytes32 _message, uint256[2] calldata _signature, uint256 committee_id)
        public
        view
    {
        bool callSuccess;
        bool checkSuccess;
        (checkSuccess, callSuccess) = BLS.verifySingle(
            _signature,
            committee_public_key[committee_id],
            BLS.hashToPoint(domain, abi.encode(_message)),
            blsPrecompileGasCost
        );
        if (!callSuccess) {
            revert BLSInvalidPublicKeyorSignaturePoints();
        }
        if (!checkSuccess) {
            revert BLSIncorrectInputMessaage();
        }
    }

    /// @notice Update the contract authority
    /// @dev WARN: The validity of the public key is not verified
    /// @param _publicKey The new contract authority (BN254 public key)
    // TODO: should be signed by old public key instead
    function updatePublicKey(uint256 committee_id, uint256[4] memory _publicKey, bool new_committee) public onlyOwner {
        if (new_committee && committee_public_key[committee_id][0] == 0) {
            committee_public_key[committee_id] = _publicKey;
        } else if (!new_committee && committee_public_key[committee_id][0] != 0) {
            committee_public_key[committee_id] = _publicKey;
        } else {
            revert InvalidOperation();
        }

        emit PublicKeyUpdated(committee_id, _publicKey);
    }

    /// @notice Update the contract authority
    /// @dev WARN: The validity of the public key is not verified
    /// @param _publicKey The new contract authority (BN254 public key)
    // TODO: should be signed by old public key instead
    function updatePublicKey(uint256[4] memory _publicKey) public onlyOwner {
        publicKey = _publicKey;
        emit PublicKeyUpdated(_publicKey);
    }

    /// @notice get the current contract authority
    /// @dev The BN254 public key of the Oracle Committee
    /// @return The current contract authority
    function checkPublicKey() external view returns (uint256[4] memory) {
        return publicKey;
    }

    /// @notice get the current contract authority
    /// @dev The BN254 public key of the Oracle Committee
    /// @param committee_id The committee ID for which we need public key
    /// @return The current contract authority
    function checkCommitteePublicKey(uint256 committee_id) external view returns (uint256[4] memory) {
        return committee_public_key[committee_id];
    }
}

File 2 of 18 : BLS.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {ModexpInverse, ModexpSqrt} from "./ModExp.sol";
import {BNPairingPrecompileCostEstimator} from "./BNPairingPrecompileCostEstimator.sol";

library BLS {
    uint256 private constant N = 21888242871839275222246405745257275088696311157297823662689037894645226208583;
    uint256 private constant N_G2_X1 = 11559732032986387107991004021392285783925812861821192530917403151452391805634;
    uint256 private constant N_G2_X0 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
    uint256 private constant N_G2_Y1 = 17805874995975841540914202342111839520379459829704422454583296818431106115052;
    uint256 private constant N_G2_Y0 = 13392588948715843804641432497768002650278120570034223513918757245338268106653;
    uint256 private constant Z0 = 0x0000000000000000b3c4d79d41a91759a9e4c7e359b6b89eaec68e62effffffd;
    uint256 private constant Z1 = 0x000000000000000059e26bcea0d48bacd4f263f1acdb5c4f5763473177fffffe;
    uint256 private constant T24 = 0x1000000000000000000000000000000000000000000000000;
    uint256 private constant MASK24 = 0xffffffffffffffffffffffffffffffffffffffffffffffff;

    address private constant COST_ESTIMATOR_ADDRESS = 0x079d8077C465BD0BF0FC502aD2B846757e415661;

    function verifySingle(
        uint256[2] memory signature,
        uint256[4] memory pubkey,
        uint256[2] memory message,
        uint256 precompileGasCost
    ) internal view returns (bool, bool) {
        uint256[12] memory input = [
            signature[0],
            signature[1],
            N_G2_X1,
            N_G2_X0,
            N_G2_Y1,
            N_G2_Y0,
            message[0],
            message[1],
            pubkey[1],
            pubkey[0],
            pubkey[3],
            pubkey[2]
        ];
        uint256[1] memory out;

        // uint256 precompileGasCost =
        //     BNPairingPrecompileCostEstimator(COST_ESTIMATOR_ADDRESS).getGasCost(
        //         2
        //     );

        bool callSuccess;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            callSuccess := staticcall(precompileGasCost, 8, input, 384, out, 0x20)
        }
        if (!callSuccess) {
            return (false, false);
        }
        return (out[0] != 0, true);
    }

    function verifyMultiple(uint256[2] memory signature, uint256[4][] memory pubkeys, uint256[2][] memory messages)
        internal
        view
        returns (bool checkResult, bool callSuccess)
    {
        uint256 size = pubkeys.length;
        require(size > 0, "BLS: number of public key is zero");
        require(size == messages.length, "BLS: number of public keys and messages must be equal");
        uint256 inputSize = (size + 1) * 6;
        uint256[] memory input = new uint256[](inputSize);
        input[0] = signature[0];
        input[1] = signature[1];
        input[2] = N_G2_X1;
        input[3] = N_G2_X0;
        input[4] = N_G2_Y1;
        input[5] = N_G2_Y0;
        for (uint256 i = 0; i < size; i++) {
            input[i * 6 + 6] = messages[i][0];
            input[i * 6 + 7] = messages[i][1];
            input[i * 6 + 8] = pubkeys[i][1];
            input[i * 6 + 9] = pubkeys[i][0];
            input[i * 6 + 10] = pubkeys[i][3];
            input[i * 6 + 11] = pubkeys[i][2];
        }
        uint256[1] memory out;

        uint256 precompileGasCost = BNPairingPrecompileCostEstimator(COST_ESTIMATOR_ADDRESS).getGasCost(size + 1);
        assembly {
            callSuccess := staticcall(precompileGasCost, 8, add(input, 0x20), mul(inputSize, 0x20), out, 0x20)
        }
        if (!callSuccess) {
            return (false, false);
        }
        return (out[0] != 0, true);
    }

    function hashToPoint(bytes32 domain, bytes memory message) internal view returns (uint256[2] memory) {
        uint256[2] memory u = hashToField(domain, message);
        uint256[2] memory p0 = mapToPoint(u[0]);
        uint256[2] memory p1 = mapToPoint(u[1]);
        uint256[4] memory bnAddInput;
        bnAddInput[0] = p0[0];
        bnAddInput[1] = p0[1];
        bnAddInput[2] = p1[0];
        bnAddInput[3] = p1[1];
        bool success;

        assembly {
            success := staticcall(sub(gas(), 2000), 6, bnAddInput, 128, p0, 64)
            switch success
            case 0 { invalid() }
        }
        require(success, "BLS: bn add call failed");
        return p0;
    }

    function mapToPoint(uint256 _x) internal pure returns (uint256[2] memory p) {
        require(_x < N, "mapToPointFT: invalid field element");
        uint256 x = _x;

        (, bool decision) = sqrt(x);

        uint256 a0 = mulmod(x, x, N);
        a0 = addmod(a0, 4, N);
        uint256 a1 = mulmod(x, Z0, N);
        uint256 a2 = mulmod(a1, a0, N);
        a2 = inverse(a2);
        a1 = mulmod(a1, a1, N);
        a1 = mulmod(a1, a2, N);

        // x1
        a1 = mulmod(x, a1, N);
        x = addmod(Z1, N - a1, N);
        // check curve
        a1 = mulmod(x, x, N);
        a1 = mulmod(a1, x, N);
        a1 = addmod(a1, 3, N);
        bool found;
        (a1, found) = sqrt(a1);
        if (found) {
            if (!decision) {
                a1 = N - a1;
            }
            return [x, a1];
        }

        // x2
        x = N - addmod(x, 1, N);
        // check curve
        a1 = mulmod(x, x, N);
        a1 = mulmod(a1, x, N);
        a1 = addmod(a1, 3, N);
        (a1, found) = sqrt(a1);
        if (found) {
            if (!decision) {
                a1 = N - a1;
            }
            return [x, a1];
        }

        // x3
        x = mulmod(a0, a0, N);
        x = mulmod(x, x, N);
        x = mulmod(x, a2, N);
        x = mulmod(x, a2, N);
        x = addmod(x, 1, N);
        // must be on curve
        a1 = mulmod(x, x, N);
        a1 = mulmod(a1, x, N);
        a1 = addmod(a1, 3, N);
        (a1, found) = sqrt(a1);
        require(found, "BLS: bad ft mapping implementation");
        if (!decision) {
            a1 = N - a1;
        }
        return [x, a1];
    }

    function isValidSignature(uint256[2] memory signature) internal pure returns (bool) {
        if ((signature[0] >= N) || (signature[1] >= N)) {
            return false;
        } else {
            return isOnCurveG1(signature);
        }
    }

    function isOnCurveG1(uint256[2] memory point) internal pure returns (bool _isOnCurve) {
        assembly {
            let t0 := mload(point)
            let t1 := mload(add(point, 32))
            let t2 := mulmod(t0, t0, N)
            t2 := mulmod(t2, t0, N)
            t2 := addmod(t2, 3, N)
            t1 := mulmod(t1, t1, N)
            _isOnCurve := eq(t1, t2)
        }
    }

    function isOnCurveG2(uint256[4] memory point) internal pure returns (bool _isOnCurve) {
        assembly {
            // x0, x1
            let t0 := mload(point)
            let t1 := mload(add(point, 32))
            // x0 ^ 2
            let t2 := mulmod(t0, t0, N)
            // x1 ^ 2
            let t3 := mulmod(t1, t1, N)
            // 3 * x0 ^ 2
            let t4 := add(add(t2, t2), t2)
            // 3 * x1 ^ 2
            let t5 := addmod(add(t3, t3), t3, N)
            // x0 * (x0 ^ 2 - 3 * x1 ^ 2)
            t2 := mulmod(add(t2, sub(N, t5)), t0, N)
            // x1 * (3 * x0 ^ 2 - x1 ^ 2)
            t3 := mulmod(add(t4, sub(N, t3)), t1, N)

            // x ^ 3 + b
            t0 := addmod(t2, 0x2b149d40ceb8aaae81be18991be06ac3b5b4c5e559dbefa33267e6dc24a138e5, N)
            t1 := addmod(t3, 0x009713b03af0fed4cd2cafadeed8fdf4a74fa084e52d1852e4a2bd0685c315d2, N)

            // y0, y1
            t2 := mload(add(point, 64))
            t3 := mload(add(point, 96))

            t4 := mulmod(addmod(t2, t3, N), addmod(t2, sub(N, t3), N), N)
            t3 := mulmod(shl(1, t2), t3, N)

            _isOnCurve := and(eq(t0, t4), eq(t1, t3))
        }
    }

    function sqrt(uint256 xx) internal pure returns (uint256 x, bool hasRoot) {
        x = ModexpSqrt.run(xx);
        hasRoot = mulmod(x, x, N) == xx;
    }

    function inverse(uint256 a) internal pure returns (uint256) {
        return ModexpInverse.run(a);
    }

    function hashToField(bytes32 domain, bytes memory messages) internal pure returns (uint256[2] memory) {
        bytes memory _msg = expandMsgTo96(domain, messages);
        uint256 u0;
        uint256 u1;
        uint256 a0;
        uint256 a1;
        assembly {
            let p := add(_msg, 24)
            u1 := and(mload(p), MASK24)
            p := add(_msg, 48)
            u0 := and(mload(p), MASK24)
            a0 := addmod(mulmod(u1, T24, N), u0, N)
            p := add(_msg, 72)
            u1 := and(mload(p), MASK24)
            p := add(_msg, 96)
            u0 := and(mload(p), MASK24)
            a1 := addmod(mulmod(u1, T24, N), u0, N)
        }
        return [a0, a1];
    }

    function expandMsgTo96(bytes32 domain, bytes memory message) internal pure returns (bytes memory) {
        uint256 t0 = message.length;
        bytes memory msg0 = new bytes(32 + t0 + 64 + 4);
        bytes memory out = new bytes(96);

        assembly {
            let p := add(msg0, 96)
            for { let z := 0 } lt(z, t0) { z := add(z, 32) } { mstore(add(p, z), mload(add(message, add(z, 32)))) }
            p := add(p, t0)

            mstore8(p, 0)
            p := add(p, 1)
            mstore8(p, 96)
            p := add(p, 1)
            mstore8(p, 0)
            p := add(p, 1)

            mstore(p, domain)
            p := add(p, 32)
            mstore8(p, 32)
        }
        bytes32 b0 = sha256(msg0);
        bytes32 bi;
        t0 = 32 + 34;

        assembly {
            mstore(msg0, t0)
        }
        assembly {
            mstore(add(msg0, 32), b0)
            mstore8(add(msg0, 64), 1)
            mstore(add(msg0, 65), domain)
            mstore8(add(msg0, add(32, 65)), 32)
        }

        bi = sha256(msg0);

        assembly {
            mstore(add(out, 32), bi)
        }
        assembly {
            let t := xor(b0, bi)
            mstore(add(msg0, 32), t)
            mstore8(add(msg0, 64), 2)
            mstore(add(msg0, 65), domain)
            mstore8(add(msg0, add(32, 65)), 32)
        }

        bi = sha256(msg0);

        assembly {
            mstore(add(out, 64), bi)
        }
        assembly {
            let t := xor(b0, bi)
            mstore(add(msg0, 32), t)
            mstore8(add(msg0, 64), 3)
            mstore(add(msg0, 65), domain)
            mstore8(add(msg0, add(32, 65)), 32)
        }

        bi = sha256(msg0);

        assembly {
            mstore(add(out, 96), bi)
        }

        return out;
    }
}

File 3 of 18 : ISupraSValueFeed.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

interface ISupraSValueFeed {
    struct priceFeed {
        uint256 round;
        uint256 decimals;
        uint256 time;
        uint256 price;
    }

    struct derivedData {
        int256 roundDifference;
        int256 timeDifference;
        uint256 derivedPrice;
        uint256 decimals;
    }

    function restrictedSetSupraStorage(uint256 _index, bytes32 _bytes) external;

    function restrictedSetTimestamp(uint256 _tradingPair, uint256 timestamp) external;

    function getTimestamp(uint256 _tradingPair) external view returns (uint256);

    function getRound(uint256 _tradingPair) external view returns (uint256);

    function getSvalue(uint64 _pairIndex) external view returns (bytes32, bool);

    function getSvalues(uint64[] memory _pairIndexes) external view returns (bytes32[] memory, bool[] memory);

    function getDerivedSvalue(uint256 _derivedPairId) external view returns (derivedData memory);

    function getSvalue(uint256 _pairIndex) external view returns (priceFeed memory);

    function getSvalues(uint256[] memory _pairIndexes) external view returns (priceFeed[] memory);
}

File 4 of 18 : EnumerableSet.sol
/**
 * ###############################################################
 *         this is not exact replica of OpenZepplin implementation
 *     ###############################################################
 */

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity 0.8.24;

library EnumerableSet {
    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * ###################################################################################
     *         :::: this is the new method added on top of openzepplin implementation ::::
     *     ###################################################################################
     */
    function _clear(Set storage set) private returns (bool) {
        for (uint256 i = 0; i < set._values.length; i++) {
            delete set._indexes[set._values[i]];
        }
        delete set._values;
        return true;
    }

    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    struct Bytes32Set {
        Set _inner;
    }

    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    function clear(Bytes32Set storage set) internal returns (bool) {
        return _clear(set._inner);
    }

    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    struct AddressSet {
        Set _inner;
    }

    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    function clear(AddressSet storage set) internal returns (bool) {
        return _clear(set._inner);
    }

    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    function clear(UintSet storage set) internal returns (bool) {
        return _clear(set._inner);
    }

    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 5 of 18 : UUPSUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;

import "../../interfaces/draft-IERC1822.sol";
import "../ERC1967/ERC1967Upgrade.sol";

/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is IERC1822Proxiable, ERC1967Upgrade {
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be
     * callable on the implementing contract but not through proxies.
     */
    modifier notDelegated() {
        require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
        _;
    }

    /**
     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
     */
    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
        return _IMPLEMENTATION_SLOT;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeTo(address newImplementation) public virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;
}

File 6 of 18 : Ownable2StepUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./OwnableUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {
    function __Ownable2Step_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable2Step_init_unchained() internal onlyInitializing {
    }
    address private _pendingOwner;

    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Returns the address of the pending owner.
     */
    function pendingOwner() public view virtual returns (address) {
        return _pendingOwner;
    }

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 7 of 18 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized != type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}

File 8 of 18 : ModExp.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

library ModexpInverse {
    function run(uint256 t2) internal pure returns (uint256 t0) {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let n := 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47
            t0 := mulmod(t2, t2, n)
            let t5 := mulmod(t0, t2, n)
            let t1 := mulmod(t5, t0, n)
            let t3 := mulmod(t5, t5, n)
            let t8 := mulmod(t1, t0, n)
            let t4 := mulmod(t3, t5, n)
            let t6 := mulmod(t3, t1, n)
            t0 := mulmod(t3, t3, n)
            let t7 := mulmod(t8, t3, n)
            t3 := mulmod(t4, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
        }
    }
}

library ModexpSqrt {
    function run(uint256 t6) internal pure returns (uint256 t0) {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let n := 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47

            t0 := mulmod(t6, t6, n)
            let t4 := mulmod(t0, t6, n)
            let t2 := mulmod(t4, t0, n)
            let t3 := mulmod(t4, t4, n)
            let t8 := mulmod(t2, t0, n)
            let t1 := mulmod(t3, t4, n)
            let t5 := mulmod(t3, t2, n)
            t0 := mulmod(t3, t3, n)
            let t7 := mulmod(t8, t3, n)
            t3 := mulmod(t1, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t8, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t7, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t6, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t5, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t4, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t3, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t2, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t0, n)
            t0 := mulmod(t0, t1, n)
            t0 := mulmod(t0, t0, n)
        }
    }
}

File 9 of 18 : BNPairingPrecompileCostEstimator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract BNPairingPrecompileCostEstimator {
    uint256 public baseCost;
    uint256 public perPairCost;

    uint256 private constant G1_X = 1;
    uint256 private constant G1_Y = 2;

    uint256 private constant G2_X0 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
    uint256 private constant G2_X1 = 11559732032986387107991004021392285783925812861821192530917403151452391805634;
    uint256 private constant G2_Y0 = 8495653923123431417604973247489272438418190587263600148770280649306958101930;
    uint256 private constant G2_Y1 = 4082367875863433681332203403145435568316851327593401208105741076214120093531;
    uint256 private constant N_G2_Y0 = 13392588948715843804641432497768002650278120570034223513918757245338268106653;
    uint256 private constant N_G2_Y1 = 17805874995975841540914202342111839520379459829704422454583296818431106115052;

    function run() external {
        _run();
    }

    function getGasCost(uint256 pairCount) external view returns (uint256) {
        return pairCount * perPairCost + baseCost;
    }

    function _run() internal {
        uint256 gasCost1Pair = _gasCost1Pair();
        uint256 gasCost2Pair = _gasCost2Pair();
        perPairCost = gasCost2Pair - gasCost1Pair;
        baseCost = gasCost1Pair - perPairCost;
    }

    function _gasCost1Pair() internal view returns (uint256) {
        uint256[6] memory input = [G1_X, G1_Y, G2_X1, G2_X0, G2_Y1, G2_Y0];
        uint256[1] memory out;
        bool callSuccess;
        uint256 suppliedGas = gasleft() - 2000;
        require(gasleft() > 2000, "BNPairingPrecompileCostEstimator: not enough gas, single pair");
        uint256 gasT0 = gasleft();

        assembly {
            callSuccess := staticcall(suppliedGas, 8, input, 192, out, 0x20)
        }
        uint256 gasCost = gasT0 - gasleft();
        require(callSuccess, "BNPairingPrecompileCostEstimator: single pair call is failed");
        require(out[0] == 0, "BNPairingPrecompileCostEstimator: single pair call result must be 0");
        return gasCost;
    }

    function _gasCost2Pair() internal view returns (uint256) {
        uint256[12] memory input = [G1_X, G1_Y, G2_X1, G2_X0, G2_Y1, G2_Y0, G1_X, G1_Y, G2_X1, G2_X0, N_G2_Y1, N_G2_Y0];
        uint256[1] memory out;
        bool callSuccess;
        uint256 suppliedGas = gasleft() - 2000;
        require(gasleft() > 2000, "BNPairingPrecompileCostEstimator: not enough gas, couple pair");
        uint256 gasT0 = gasleft();

        assembly {
            callSuccess := staticcall(suppliedGas, 8, input, 384, out, 0x20)
        }
        uint256 gasCost = gasT0 - gasleft();
        require(callSuccess, "BNPairingPrecompileCostEstimator: couple pair call is failed");
        require(out[0] == 1, "BNPairingPrecompileCostEstimator: couple pair call result must be 1");
        return gasCost;
    }
}

File 10 of 18 : draft-IERC1822.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822Proxiable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}

File 11 of 18 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;

import "../beacon/IBeacon.sol";
import "../../interfaces/IERC1967.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 */
abstract contract ERC1967Upgrade is IERC1967 {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 12 of 18 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 13 of 18 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 14 of 18 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 15 of 18 : IERC1967.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.8.3._
 */
interface IERC1967 {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Emitted when the beacon is changed.
     */
    event BeaconUpgraded(address indexed beacon);
}

File 16 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 17 of 18 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

File 18 of 18 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": true,
  "libraries": {}
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BLSIncorrectInputMessaage","type":"error"},{"inputs":[],"name":"BLSInvalidPublicKeyorSignaturePoints","type":"error"},{"inputs":[],"name":"ClusterNotVerified","type":"error"},{"inputs":[],"name":"DuplicateCluster","type":"error"},{"inputs":[],"name":"FreeNodeIsAlreadyWhitelisted","type":"error"},{"inputs":[],"name":"FreeNodeIsNotWhitelisted","type":"error"},{"inputs":[{"internalType":"uint256","name":"FutureLengthInMsecs","type":"uint256"}],"name":"IncorrectFutureUpdate","type":"error"},{"inputs":[],"name":"InvalidBatch","type":"error"},{"inputs":[],"name":"InvalidOperation","type":"error"},{"inputs":[],"name":"InvalidTransaction","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"freeNodeWallet","type":"address"}],"name":"FreeNodeRemovedFromWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"freeNodeWalletAddress","type":"address"}],"name":"FreeNodeWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"freeNodeWallets","type":"address[]"}],"name":"MultipleFreeNodesWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"committee_id","type":"uint256"},{"indexed":false,"internalType":"uint256[4]","name":"publicKey","type":"uint256[4]"}],"name":"PublicKeyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[4]","name":"publicKey","type":"uint256[4]"}],"name":"PublicKeyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"TIME_DELTA_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"committee_id","type":"uint256"}],"name":"checkCommitteePublicKey","outputs":[{"internalType":"uint256[4]","name":"","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkPublicKey","outputs":[{"internalType":"uint256[4]","name":"","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_domain","type":"bytes32"},{"internalType":"address","name":"_supraSValueFeedStorage","type":"address"},{"internalType":"uint256[4]","name":"_publicKey","type":"uint256[4]"},{"internalType":"uint256","name":"_blsPrecompileGasCost","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint64","name":"round","type":"uint64"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"bytes32","name":"author","type":"bytes32"},{"internalType":"bytes32","name":"qcHash","type":"bytes32"},{"internalType":"bytes32[]","name":"batchHashes","type":"bytes32[]"}],"internalType":"struct Smr.MinBlock","name":"smrBlock","type":"tuple"},{"internalType":"bytes8","name":"roundLE","type":"bytes8"}],"internalType":"struct Smr.Vote","name":"vote","type":"tuple"},{"components":[{"internalType":"bytes10","name":"protocol","type":"bytes10"},{"internalType":"bytes32[]","name":"txnHashes","type":"bytes32[]"}],"internalType":"struct Smr.MinBatch","name":"smrBatch","type":"tuple"},{"components":[{"internalType":"bytes32[]","name":"clusterHashes","type":"bytes32[]"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"bytes10","name":"protocol","type":"bytes10"},{"internalType":"bytes1","name":"tx_sub_type","type":"bytes1"}],"internalType":"struct Smr.MinTxn","name":"smrTxn","type":"tuple"},{"internalType":"bytes","name":"sccR","type":"bytes"},{"internalType":"uint256","name":"batchIdx","type":"uint256"},{"internalType":"uint256","name":"txnIdx","type":"uint256"},{"internalType":"uint256","name":"clusterIdx","type":"uint256"},{"internalType":"uint256[2]","name":"sig","type":"uint256[2]"}],"name":"processCluster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint256[2]","name":"_signature","type":"uint256[2]"}],"name":"requireHashVerified_V1","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_message","type":"bytes32"},{"internalType":"uint256[2]","name":"_signature","type":"uint256[2]"},{"internalType":"uint256","name":"committee_id","type":"uint256"}],"name":"requireHashVerified_V2","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supraSValueFeedStorage","outputs":[{"internalType":"contract ISupraSValueFeed","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"_publicKey","type":"uint256[4]"}],"name":"updatePublicKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"committee_id","type":"uint256"},{"internalType":"uint256[4]","name":"_publicKey","type":"uint256[4]"},{"internalType":"bool","name":"new_committee","type":"bool"}],"name":"updatePublicKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c80631f3ac958146101375780632818300e146101325780633659cfe61461012d578063371e8375146101285780634a755aec146101235780634a9c01651461011e5780634b1bcc4e146101195780634f1ef2861461011457806352d1902d1461010f5780636a4e3e391461010a578063715018a6146101055780637861c6291461010057806379ba5097146100fb5780638da5cb5b146100f65780639bb4c707146100f15780639dc2f7aa146100ec578063e30c3978146100e75763f2fde38b146100e257600080fd5b610ffa565b610fd1565b610eaf565b610db0565b610d87565b610d02565b610c81565b610b1f565b610af6565b610a31565b6108f1565b610855565b6105d6565b6105b9565b610577565b6102be565b6101dc565b610186565b600091031261014757565b600080fd5b6000915b6004831061015d57505050565b600190825181526020809101920192019190610150565b608081019291610184919061014c565b565b346101475760003660031901126101475760806040516101a58161045b565b36903760806101b26110a3565b6101bf604051809261014c565bf35b9060249160641161014757565b9060e4916101241161014757565b34610147576080366003190112610147576102626101f9366101c1565b61020f60643560005260a4602052604060002090565b6102446097546040519061023f82610231600435602083019190602083019252565b03601f1981018452836104ac565b611866565b9061025c61025660a354943690610b8a565b916110d7565b90611a6d565b15610280571561026e57005b604051632246067560e01b8152600490fd5b604051637edd58eb60e01b8152600490fd5b600435906001600160a01b038216820361014757565b602435906001600160a01b038216820361014757565b34610147576020366003190112610147576102d7610292565b6001600160a01b037f000000000000000000000000a411e3e55e5c34f77c6413422d2350e3f4486015811691906103103084141561110a565b61032d60008051602061336783398151915293828554161461116b565b610335611f5c565b6040519061034282610476565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561037e57505061037c9150612394565b005b6020600491604094939451928380926352d1902d60e01b825286165afa600091816103d9575b506103c65760405162461bcd60e51b8152806103c260048201611be0565b0390fd5b61037c936103d49114611b82565b612340565b6103fc91925060203d602011610403575b6103f481836104ac565b81019061148b565b90386103a4565b503d6103ea565b634e487b7160e01b600052604160045260246000fd5b604081019081106001600160401b0382111761043b57604052565b61040a565b60a081019081106001600160401b0382111761043b57604052565b608081019081106001600160401b0382111761043b57604052565b602081019081106001600160401b0382111761043b57604052565b606081019081106001600160401b0382111761043b57604052565b90601f801991011681019081106001600160401b0382111761043b57604052565b6040519061018482610440565b6040519061018482610420565b6040519061018082018281106001600160401b0382111761043b57604052565b6001600160401b03811161043b57601f01601f191660200190565b92919261052e82610507565b9161053c60405193846104ac565b829481845281830111610147578281602093846000960137010152565b9080601f830112156101475781602061057493359101610522565b90565b34610147576060366003190112610147576004356001600160401b038111610147576105aa61037c913690600401610559565b6105b3366101c1565b90611218565b34610147576000366003190112610147576020604051610bb88152f35b346101475760203660031901126101475760806040516105f58161045b565b36903760043560005260a460205260806101b260406000206110d7565b35906001600160801b038216820361014757565b6001600160401b03811161043b5760051b60200190565b9080601f8301121561014757602090823561065781610626565b9361066560405195866104ac565b81855260208086019260051b82010192831161014757602001905b82821061068e575050505090565b81358152908301908301610680565b35906001600160c01b03198216820361014757565b91909160408184031261014757604051906106cc82610420565b819381356001600160401b03908181116101475783019260a084840312610147576040516106f981610440565b8435838116810361014757815261071260208601610612565b6020820152604085013560408201526060850135606082015260808501359283116101475761074a610757946020969487950161063d565b608082015285520161069d565b910152565b35906001600160b01b03198216820361014757565b9190604083820312610147576040519061078a82610420565b81936107958161075c565b83526020810135916001600160401b03831161014757602092610757920161063d565b919060808382031261014757604051906107d18261045b565b819380356001600160401b038111610147576060926107f191830161063d565b8352602081013560208401526108096040820161075c565b60408401520135906001600160f81b0319821682036101475760600152565b9181601f84011215610147578235916001600160401b038311610147576020838186019501011161014757565b3461014757610120366003190112610147576001600160401b03600435818111610147576108879036906004016106b2565b6024358281116101475761089f903690600401610771565b604435838111610147576108b79036906004016107b8565b90606435938411610147576108d361037c943690600401610828565b6108df949194366101ce565b9460c4359460a43594608435946114cf565b604036600319011261014757610905610292565b6024356001600160401b03811161014757610924903690600401610559565b6001600160a01b037f000000000000000000000000a411e3e55e5c34f77c6413422d2350e3f4486015811692919061095e3085141561110a565b61097b60008051602061336783398151915294828654161461116b565b610983611f5c565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156109b957505061037c9150612394565b6020600491604094939451928380926352d1902d60e01b825286165afa60009181610a10575b506109fd5760405162461bcd60e51b8152806103c260048201611be0565b61037c93610a0b9114611b82565b61225a565b610a2a91925060203d602011610403576103f481836104ac565b90386109df565b34610147576000366003190112610147577f000000000000000000000000a411e3e55e5c34f77c6413422d2350e3f44860156001600160a01b03163003610a8b576040516000805160206133678339815191528152602090f35b60405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608490fd5b3461014757600036600319011261014757609c546040516001600160a01b039091168152602090f35b3461014757600080600319360112610b8757610b39611f5c565b606580546001600160a01b031990811690915560338054918216905581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b919060405192610b9984610420565b83906040810192831161014757905b828210610bb457505050565b8135815260209182019101610ba8565b9060405191610bd28361045b565b82608491608411610147576004905b828210610bed57505050565b8135815260209182019101610be1565b80606312156101475760405190610c138261045b565b8160c49160c411610147576044905b828210610c2f5750505090565b8135815260209182019101610c22565b80604312156101475760405190610c558261045b565b8160a49160a411610147576024905b828210610c715750505090565b8135815260209182019101610c64565b3461014757608036600319011261014757366023121561014757610ca436610bc4565b610cac611f5c565b8060005b60048110610ced576040517f2158ce0319864975538049b324ba4f745f079dd8f5e32d5923585df31d3f45239080610ce88682610174565b0390a1005b60019060208351930192816098015501610cb0565b3461014757600036600319011261014757606554336001600160a01b0390911603610d305761037c33611fb4565b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b34610147576000366003190112610147576033546040516001600160a01b039091168152602090f35b346101475760e036600319011261014757610dc96102a8565b610e1f610dd536610bfd565b9160005492610dfb60ff8560081c161580958196610ea1575b8115610e81575b50611734565b83610e0e600160ff196000541617600055565b610e68575b60c43591600435611797565b610e2557005b610e3561ff001960005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498908060208101610ce8565b610e7c61010061ff00196000541617600055565b610e13565b303b15915081610e93575b5038610df5565b6001915060ff161438610e8c565b600160ff8216109150610dee565b346101475760c036600319011261014757600435610ecc36610c3f565b60a4358015908115810361014757610ee2611f5c565b80610fb5575b15610f3c575081610f2d82610f287fe3313c1ceedeed13283ec8997d7e5572bf217e813149f0be12742b5b414374299560005260a4602052604060002090565b61170f565b610ce860405192839283611804565b80610f98575b15610f865781610f8182610f287fe3313c1ceedeed13283ec8997d7e5572bf217e813149f0be12742b5b414374299560005260a4602052604060002090565b610f2d565b604051631cc6a69960e11b8152600490fd5b50610fad8260005260a4602052604060002090565b541515610f42565b50610fca8360005260a4602052604060002090565b5415610ee8565b34610147576000366003190112610147576065546040516001600160a01b039091168152602090f35b3461014757602036600319011261014757611013610292565b61101b611f5c565b606580546001600160a01b0319166001600160a01b039283169081179091556033549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b604051906110748261045b565b6080368337565b6040519061108882610476565b6020368337565b6040519061109c82610420565b6040368337565b6040519060986000835b600482106110c1575050506101848261045b565b60016020819285548152019301910190916110ad565b60405191906000835b600482106110f4575050506101848261045b565b60016020819285548152019301910190916110e0565b1561111157565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b6064820152608490fd5b1561117257565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b6163746976652070726f787960a01b6064820152608490fd5b604051906111d98261045b565b6060808352366020840137565b906111f082610507565b6111fd60405191826104ac565b828152809261120e601f1991610507565b0190602036910137565b9061122861123e92609754611866565b61123660a354923690610b8a565b61025c6110a3565b15610280571561026e57565b805182101561125e5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b9080601f8301121561014757602090823561128e81610626565b9361129c60405195866104ac565b81855260208086019260051b82010192831161014757602001905b8282106112c5575050505090565b813581529083019083016112b7565b919082606091031261014757604051606081018181106001600160401b0382111761043b57604052604080829480358452602081013560208501520135910152565b906020828203126101475781356001600160401b039283821161014757019060c082820312610147576040519261134c8461045b565b823581811161014757830160a081840312610147576113696104cd565b908035825260208101358381116101475784611386918301611274565b6020830152604081013583811161014757846113a3918301611274565b6040830152606081013583811161014757846113c0918301611274565b6060830152608081013590838211610147576113de91859101611274565b6080820152845260208301359081116101475782611403836060936114189601610559565b602086015260408101356040860152016112d4565b606082015290565b634e487b7160e01b600052601160045260246000fd5b906103e89182810292818404149015171561144d57565b611420565b90610bb8820180921161144d57565b602001908160201161144d57565b906040820180921161144d57565b906004820180921161144d57565b90816020910312610147575190565b6040513d6000823e3d90fd5b9060008051602061334783398151915291820391821161144d57565b9190820391821161144d57565b98976114e39097929496939591978a611c46565b6114fc6114ef88611dcb565b916080809b51015161124a565b51036116fd5761151d9161150f84611e66565b92839160208099015161124a565b51036116eb5761154161153a8360005260a2602052604060002090565b5460ff1690565b6116d95761156c61155f6115849360005260a2602052604060002090565b805460ff19166001179055565b611577368686610522565b868151910120925161124a565b51036116c75761159691810190611316565b604080820151906115ae6115a942611436565b611452565b956000805b868651015180518210156116bb57816115cb9161124a565b516115db8260608951015161124a565b51609c546001600160a01b0316865163023c4c9f60e61b81526004808201859052918b90829060249082905afa80156116b65789918791611699575b50111561162b575050506001905b016115b3565b8b881161166657506001929161166191898961165a868b611650828d8751015161124a565b519451015161124a565b5193611ee1565b611625565b86906103c261167e8a61167842611436565b906114c2565b925192839263628c210b60e11b845283019190602083019252565b6116b091508c8d3d10610403576103f481836104ac565b38611617565b61149a565b50505050505050509050565b60405163e522226b60e01b8152600490fd5b6040516333984a1960e01b8152600490fd5b60405163280503e760e11b8152600490fd5b6040516333b094a160e01b8152600490fd5b9060005b6004811061172057505050565b600190602083519301928185015501611713565b1561173b57565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b6117b160ff60005460081c166117ac8161200a565b61200a565b6117ba33611fb4565b60975560018060a01b03166bffffffffffffffffffffffff60a01b609c541617609c5560005b600481106117ef57505060a355565b600190602083519301928160980155016117e0565b90815260a081019291610184916020019061014c565b1561182157565b60405162461bcd60e51b815260206004820152601760248201527f424c533a20626e206164642063616c6c206661696c65640000000000000000006044820152606490fd5b91909160409081805161187881610420565b36903781805161188781610420565b3690378351906118ae6118a96118a461189f85611461565b61146f565b61147d565b6111e6565b6118b66111cc565b9260005b818110611a57575060839596508101600060608201536060606182015360006062820153826063820152602095869101538460008551806118fb8186611e4f565b039060025afa156116b6576000519060428152858101908282528581019160018353604182019480865260618301908982538960008a518061193d8189611e4f565b039060025afa156116b657600051808b8a015286188352600285538087528982538960008a518061196e8189611e4f565b039060025afa156116b657899660036119a09689958c60009a8d8c519283910152189052535253855191828092611e4f565b039060025afa156116b6576080611a1a93611a116000519384606082015260018060c01b0380601883015116906000805160206133478339815191528092826048838260308901511681600160c01b80960908960151169287611a016104da565b8781520199169209088552612119565b94859351612119565b90611a23611067565b845181528185015182820152825186820152910151606082015260066107cf195a01fa8015611a55576105749061181a565bfe5b80602080928a01015160608286010152016118ba565b92610180600894604060209485611b6c9781611a876104e7565b95805187520151828601527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c2848601527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed60608601527f275dc4a288d1afb3cbb1ac09187524c7db36395df7be3b99e673b13a075a65ec60808601527f1d9befcd05a5323e6da4d435f3b617cdb3af83285c2df711ef39c01571827f9d60a0860152805160c0860152015160e084015285810151610100840152805161012084015260608101516101408401520151610160820152611b6461107b565b958693fa1590565b611b795751151590600190565b50600090600090565b15611b8957565b60405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608490fd5b60809060208152602e60208201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960408201526d6f6e206973206e6f74205555505360901b60608201520190565b906040519160208301526020825261018482610420565b611d46611d52608083510151611d2160206040519283611c698382018093611d9e565b0393611c7d601f19958681018352826104ac565b5190208651611d0e611c9682516001600160401b031690565b92611d02611cad868501516001600160801b031690565b91606060408601519501516040519586948986019889939160789593916001600160401b0360c01b9060c01b1685526001600160801b03199060801b1660088501526018840152603883015260588201520190565b038681018352826104ac565b5190209501516001600160c01b03191690565b60408051602081019687526001600160c01b0319909216908201529283906048820190565b039081018352826104ac565b51902090611d6d61153a8360005260a1602052604060002090565b611d9a5781611d8a61155f92611d8561018495611c2f565b611218565b60005260a1602052604060002090565b5050565b805160208092019160005b828110611db7575050505090565b835185529381019392810192600101611da9565b6020810151604051611df381611de5602082018095611d9e565b03601f1981018352826104ac565b5190209069ffffffffffffffffffff60b01b905116906040519060208201928352602a820152602a8152611e2681610491565b51902090565b60005b838110611e3f5750506000910152565b8181015183820152602001611e2f565b90611e6260209282815194859201611e2c565b0190565b805190611e26604b604051611e8381611de5602082018098611d9e565b602084015169ffffffffffffffffffff60b01b60408601511694606060ff60f81b91015116604051958693611ec160208601998a9251928391611e2c565b84019260208401526040830152604a82015203602b8101845201826104ac565b609c5491946001600160a01b03909216939192843b156101475760009460449386926040519889978896635f6ce8c360e11b8852600488015260181b9260781b9160b81b9060c01b17171760248401525af180156116b657611f405750565b6001600160401b03811161043b5780610184916040528061013c565b6033546001600160a01b03163303611f7057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6bffffffffffffffffffffffff60a01b90816065541660655560335460018060a01b038092168093821617603355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b1561201157565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b1561207157565b60405162461bcd60e51b815260206004820152602360248201527f6d6170546f506f696e7446543a20696e76616c6964206669656c6420656c656d604482015262195b9d60ea1b6064820152608490fd5b156120c957565b60405162461bcd60e51b815260206004820152602260248201527f424c533a20626164206674206d617070696e6720696d706c656d656e7461746960448201526137b760f11b6064820152608490fd5b61212161108f565b506000805160206133478339815191529061213d82821061206a565b8161214782612424565b9290508161218e81806004818680090893818077b3c4d79d41a91759a9e4c7e359b6b89eaec68e62effffffd830961218182888309612b62565b97818992090990096114a6565b7759e26bcea0d48bacd4f263f1acdb5c4f5763473177fffffe086121bb8560038184818180090908612424565b81906122455750508460016121d092086114a6565b6121e38560038184818180090908612424565b81906122455750505060018483816122109581808781980980090909089260038185818180090908612424565b9161221b82936120c2565b15612235575b5061222a6104da565b918252602082015290565b61223f91506114a6565b38612221565b9350939150935015612235575061222a6104da565b9061226482612394565b60006001600160a01b0383167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8280a2815115801590612338575b6122a857505050565b61232c928180604051946122bb86610491565b602786527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c6020870152660819985a5b195960ca1b6040870152602081519101845af4903d1561232f573d61230f81610507565b9061231d60405192836104ac565b8152809360203d92013e6132d5565b50565b606092506132d5565b50600161229f565b9061234a82612394565b60006001600160a01b0383167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8280a281511580159061238d576122a857505050565b508061229f565b803b156123c95760008051602061336783398151915280546001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b906000805160206133478339815191528080808080808080808b8180808080808080808080808080808f8180828180808080808080808080809e8180808080858180808080808087819e8280808080808681808080808080809e818080808481808080808080808089819f828080808080808080808080808d819e8280808080808080888180808080809e8180808080808080808981808080809e81808080808080808080808b8180809e81808080808080808080808b8180809e818080808080808080808a818080809e8180808080808087818080808080809e8180808080808681808080808080809e8180808080808681808080808080809e8180808080808681808080808080809e8180808080808080808080808c81809e81808080808080808080808b8180809e8180808080808087818080808080809e81808080808080809781808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d818180090909098180808c8181800909818d818180090909818c818082818180090991818180090909090980098009800981808781818009099180090980098009800909800980098009800909800980098009800981808c8180828009918180828009918181800909090991800909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808c8181800909918009098009800980098009800980099281808083818180090981848181800909099181808280099181808280099181818009090909099180090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c8181800909099180090980098009800980098009800909800980098009800980098009818080808c8009818d818180090909818c81808281818009099181818009090909918009098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d81818009090909918009098009800980099281808280099181818009090991800909800980098009800981808d81808281818009099181808281818009099181818009090909918009098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d8180828009918181800909090991800909800980098009800981808087800981888181800909099180090980098009098009800980098009800980099281808083818180090981848181800909099181808280099181808280099181818009090909099180090980098009800980098009818080808b8181800909818c81818009090981808c8181800909818d818082818180090991818180090909090991800909800980098009800980090980098009800980098009800909800980098009800992818180090991800909800980098009800980098009800980098180808c818082800991818180090909818d8180828181800909918181800909090991800909800980098180888181800909918009098009800992818180090991800909800980098009800980098009800981808d8180808381818009098184818180090909918180828181800909918180828181800909918181800909090909918009098009800980098180808a818180090981808c8181800909818d818180090909099180090980098009800992818080838181800909818481818009090991818082818180090991818082818180090991818180090909090991800909800980098180808c8009818d8181800909099180090980098009800980098180808781818009098180898181800909818a81818009090909918009098009916000805160206133478339815191528380091490565b80600080516020613347833981519152808080808080808881808080809e8180808080808080808981808080809e8180808080808080888180808080809e8180808080808080888180808080809e8181818080808080808781808080809e8180808080808087818080808080809e8180828180808080808080808080809e8180828180808080808080808981809e818080808080808080808080808d819e8280808080808080808080808080809e8082808080808080808080808080809e80828080808080808080808080808d819f828080808080808080808a818080809e8180808080808080808981808080809e8180808080808080808981808080809e8180808080808080808981808080809e8180808080808080808080808080809e80828080808080808080808080808d819f8280808080808080808981808080809e818080808080808080809981808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d818180090909098180808c8181800909818d818180090909818c818082818180090991818180090909090980098009800981808781818009099180090980098009800909800980098009800909800980098009800981808c8180828009918180828009918181800909090991800909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808c8181800909918009098009800980098009800980099281808083818180090981848181800909099181808280099181808280099181818009090909099180090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c8181800909099180090980098009800980098009800909800980098009800980098009818080808c8009818d818180090909818c81808281818009099181818009090909918009098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d81818009090909918009098009800980099281808280099181818009090991800909800980098009800981808d81808281818009099181808281818009099181818009090909918009098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d8180828009918181800909090991800909800980098009800981808087800981888181800909099180090980098009098009800980098009800980099281808083818180090981848181800909099181808280099181808280099181818009090909099180090980098009800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099180090980098009800980098009098009800980098009800980090980098009800980099281818009099180090980098009800980098009800980098009818080808a8009818b81818009090981808b8181800909818c818180090909099180090980098009928181800909918009098009800981808d81818009099180090980098009800980098009800980099281808083818180090981848181800909099181808281818009099181808281818009099181818009090909099180090980098009800981808d8180828181800909918180828181800909918181800909090991800909800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099180090980098009818080878009818881818009090991800909800980090980098009800980098009928180828009918181800909099180090990565b1561329057565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b919290156132f557508151156132e9575090565b610574903b1515613289565b8251909150156133085750805190602001fd5b6044604051809262461bcd60e51b8252602060048301526133388151809281602486015260208686019101611e2c565b601f01601f19168101030190fdfe30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca26469706673582212205171d2df07fdeb26764336e47091cfc13c6ab3a52d314dcad54e0576ce3cd2c464736f6c63430008180033

Deployed Bytecode Sourcemap

3862:12493:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;14146:191;3862:12493;;;:::i;:::-;14200:34;3862:12493;;;;14200:20;3862:12493;;;;;;;14200:34;14248:45;14264:6;3862:12493;;;;14272:20;3862:12493;14272:20;3862:12493;;;14272:20;;3862:12493;;;;;;;;14272:20;;;;;;;;;;:::i;:::-;14248:45;:::i;:::-;3862:12493;;;14307:20;3862:12493;;;;;:::i;:::-;;;:::i;:::-;14146:191;;:::i;:::-;14351:12;14347:88;;14448:13;14444:78;;3862:12493;14444:78;3862:12493;;-1:-1:-1;;;14484:27:17;;3862:12493;;14484:27;14347:88;3862:12493;;-1:-1:-1;;;14386:38:17;;3862:12493;;14386:38;3862:12493;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;:::o;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;;;:::i;:::-;-1:-1:-1;;;;;1654:6:9;3862:12493:17;;;;1629:80:9;1645:4;1637:23;;;1629:80;:::i;:::-;1719:87;-1:-1:-1;;;;;;;;;;;3862:12493:17;;;;;1727:30:9;1719:87;:::i;:::-;1303:62:1;;:::i;:::-;3862:12493:17;;;;;;:::i;:::-;-1:-1:-1;3862:12493:17;;689:66:7;3862:12493:17;;;689:66:7;;;2993:17;;;;;;:::i;:::-;3862:12493:17;2906:504:7;3862:12493:17;3046:52:7;3862:12493:17;;;;;;;;;;;;;3046:52:7;;3862:12493:17;;3046:52:7;;-1:-1:-1;;3046:52:7;;;2906:504;-1:-1:-1;3042:291:7;;3862:12493:17;;-1:-1:-1;;;3262:56:7;;3862:12493:17;3262:56:7;3046:52;3262:56;;;:::i;:::-;;;;3042:291;3389:9;3148:28;3140:82;3148:28;;3140:82;:::i;:::-;3389:9;:::i;3046:52::-;;;;;3862:12493:17;3046:52:7;3862:12493:17;3046:52:7;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;;14272:20;;3862:12493;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;:::o;:::-;-1:-1:-1;;;;;3862:12493:17;;;;;;-1:-1:-1;;3862:12493:17;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;3862:12493:17;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;:::i;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;;;;5150:4;3862:12493;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;3862:12493:17;16312:20;3862:12493;;;;;-1:-1:-1;3862:12493:17;;:::i;:::-;;;-1:-1:-1;;;;;3862:12493:17;;;;;;:::o;:::-;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3862:12493:17;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;;;;3862:12493:17;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;;3862:12493:17;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;3862:12493:17;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;3862:12493:17;;;;;;:::i;:::-;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1654:6:9;3862:12493:17;;;;;1629:80:9;1645:4;1637:23;;;1629:80;:::i;:::-;1719:87;-1:-1:-1;;;;;;;;;;;3862:12493:17;;;;;1727:30:9;1719:87;:::i;:::-;1303:62:1;;:::i;:::-;689:66:7;3862:12493:17;;;689:66:7;;;2993:17;;;;;;:::i;2906:504::-;3046:52;3862:12493:17;;;;;;;;;;;;;;3046:52:7;;3862:12493:17;;3046:52:7;;;;;;;2906:504;-1:-1:-1;3042:291:7;;3862:12493:17;;-1:-1:-1;;;3262:56:7;;3862:12493:17;3262:56:7;3862:12493:17;3262:56:7;;;:::i;3042:291::-;3389:9;3148:28;3140:82;3148:28;;3140:82;:::i;:::-;3389:9;:::i;3046:52::-;;;;;;;;;;;;;;;:::i;:::-;;;;;3862:12493:17;;;;;;-1:-1:-1;;3862:12493:17;;;;2089:6:9;-1:-1:-1;;;;;3862:12493:17;2080:4:9;2072:23;3862:12493:17;;;;-1:-1:-1;;;;;;;;;;;3862:12493:17;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;4270:46;3862:12493;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;1303:62:1;;:::i;:::-;1859:20:0;3862:12493:17;;-1:-1:-1;;;;;;3862:12493:17;;;;;;2758:6:1;3862:12493:17;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;2806:40:1;3862:12493:17;;2806:40:1;3862:12493:17;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;;;;;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;3862:12493:17;-1:-1:-1;3862:12493:17;;;;;;;;15664:28;;3862:12493;15664:28;3862:12493;;15664:28;:::i;:::-;;;;3862:12493;;;;;;;;;;;15627:22;3862:12493;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;1202:13:0;3862:12493:17;929:10:4;-1:-1:-1;;;;;3862:12493:17;;;2109:24:0;3862:12493:17;;2208:6:0;929:10:4;2208:6:0;:::i;3862:12493:17:-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;1513:6:1;3862:12493:17;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;;;:::i;:::-;3636:1:2;3862:12493:17;;;:::i;:::-;;-1:-1:-1;3862:12493:17;;3325:201:2;3862:12493:17;;;;;3301:14:2;3347:34;;;;;;3862:12493:17;3346:108:2;;;;3862:12493:17;3325:201:2;;:::i;:::-;3536:16;;3862:12493:17;;;3302:13:2;3862:12493:17;;;3302:13:2;3862:12493:17;;3536:16:2;3562:65;;3862:12493:17;;;;;;3636:1:2;:::i;:::-;3647:99;;3862:12493:17;3647:99:2;3681:21;3862:12493:17;;3302:13:2;3862:12493:17;;3302:13:2;3862:12493:17;;3681:21:2;3862:12493:17;;3551:1:2;3862:12493:17;;3721:14:2;;3862:12493:17;;;;3721:14:2;3862:12493:17;3562:65:2;3596:20;3862:12493:17;;;3302:13:2;3862:12493:17;;;3302:13:2;3862:12493:17;;3596:20:2;3562:65;;3346:108;3426:4;1713:19:3;:23;;-1:-1:-1;1713:23:3;3387:66:2;;3346:108;;;;;3387:66;3452:1;3862:12493:17;;;;3436:17:2;3387:66;;;3347:34;3380:1;3862:12493:17;;;3365:16:2;;-1:-1:-1;3347:34:2;;3862:12493:17;;;;;;-1:-1:-1;;3862:12493:17;;;;;;;;;:::i;:::-;;;;;;;;;;;;1303:62:1;;:::i;:::-;14902:59:17;;;3862:12493;14898:337;;;14977:34;;3862:12493;14977:34;;15250:42;14977:34;3862:12493;;14200:20;3862:12493;;;;;;;14977:34;3862:12493;:::i;:::-;15250:42;3862:12493;;15250:42;;;;;:::i;14898:337::-;15045:60;;;14898:337;15041:194;;;15121:34;3862:12493;15121:34;;15250:42;15121:34;3862:12493;;14200:20;3862:12493;;;;;;;;14898:337;;15041:194;3862:12493;;-1:-1:-1;;;15206:18:17;;3862:12493;;15206:18;15045:60;15063:34;;;3862:12493;;14200:20;3862:12493;;;;;;;15063:34;3862:12493;15063:42;;15045:60;;14902:59;14919:34;;;3862:12493;;14200:20;3862:12493;;;;;;;14919:34;3862:12493;14919:42;14902:59;;3862:12493;;;;;;-1:-1:-1;;3862:12493:17;;;;1202:13:0;3862:12493:17;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;-1:-1:-1;;3862:12493:17;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;1504:24:0;3862:12493:17;;-1:-1:-1;;;;;;3862:12493:17;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;1513:6:1;3862:12493:17;;;;1543:43:0;-1:-1:-1;;1543:43:0;3862:12493:17;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;15946:9;-1:-1:-1;3862:12493:17;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3862:12493:17;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;:::i;:::-;9114:2:12;3862:12493:17;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;14272:20;3862:12493;14272:20;;3862:12493;;:::i;:::-;;;;;;;;:::o;12890:491::-;;13134:33;13094:96;12890:491;13150:6;3862:12493;13134:33;:::i;:::-;3862:12493;13169:20;3862:12493;;;;;:::i;:::-;;;:::i;13094:96::-;13204:12;13200:88;;13301:13;13297:78;;12890:491::o;3862:12493::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;;;;10802:4;3862:12493;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;5150:4;3862:12493;;;;;;;:::o;:::-;9058:2:12;3862:12493:17;;;9058:2:12;3862:12493:17;;;:::o;:::-;;;;;;;;;;:::o;:::-;;9073:1:12;3862:12493:17;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3862:12493:17;;;;;;;;:::o;:::-;;;;;;;;;;:::o;9700:1665::-;;;10017:3;9700:1665;;;;;;;;;10017:3;;:::i;:::-;10088:35;10051:23;;;:::i;:::-;10088:25;;;:13;;:25;;:35;:::i;:::-;3862:12493;10088:48;10084:100;;10244:26;10211:19;;;;:::i;:::-;10244:18;;;;;;;;:26;:::i;:::-;3862:12493;10244:37;10240:95;;10348:22;;;3862:12493;;10348:13;3862:12493;;;;;;;10348:22;3862:12493;;;;;10348:22;10344:78;;10431:29;:22;10518:32;10431:22;3862:12493;;10348:13;3862:12493;;;;;;;10431:22;3862:12493;;-1:-1:-1;;3862:12493:17;10456:4;3862:12493;;;;10431:29;3862:12493;;;;;:::i;:::-;;;;;;10488:15;10518:20;;:32;:::i;:::-;3862:12493;10518:43;10514:101;;10664:45;;;;;;:::i;:::-;10736:9;;;;3862:12493;10784:15;:45;:22;:15;:22;:::i;:::-;:45;:::i;:::-;10845:13;-1:-1:-1;;10884:3:17;10864:6;;;:11;;3862:12493;;10860:22;;;;;10918:14;;;;:::i;:::-;3862:12493;10966:19;:6;:16;:6;;:16;;:19;:::i;:::-;3862:12493;11019:22;3862:12493;-1:-1:-1;;;;;3862:12493:17;;;-1:-1:-1;;;11019:37:17;;;;;;3862:12493;;;11019:37;;;3862:12493;;;;;;11019:37;;;;;;;;;;;;10884:3;-1:-1:-1;11074:17:17;;;;11111:8;;;10456:4;11111:8;10845:13;3862:12493;10845:13;;11070:195;11144:26;;;11140:125;;11070:195;10456:4;11070:195;;11331:16;11070:195;11300:6;;11331:16;11300:6;;:18;:6;;;;:15;;:18;:::i;:::-;3862:12493;11331:6;;:13;;:16;:::i;:::-;3862:12493;11331:16;;:::i;:::-;10884:3;;11140:125;10784:15;;11197:53;11219:30;10784:15;11227:22;10784:15;11227:22;:::i;:::-;11219:30;;:::i;:::-;3862:12493;;11197:53;;;;;;;;;;3862:12493;;;;;;;;11019:37;;;;;;;-1:-1:-1;11019:37:17;;;;;;:::i;:::-;;;;;;:::i;10860:22::-;;;;;;;;;;;9700:1665::o;10514:101::-;3862:12493;;-1:-1:-1;;;10584:20:17;;;;;10344:78;3862:12493;;-1:-1:-1;;;10393:18:17;;;;;10240:95;3862:12493;;-1:-1:-1;;;10304:20:17;;;;;10084:100;3862:12493;;-1:-1:-1;;;10159:14:17;;;;;3862:12493;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;7330:438;5366:69:2;3862:12493:17;5374:13:2;3862:12493:17;;;;5366:69:2;;;:::i;:::-;;:::i;:::-;1195:12:1;929:10:4;1195:12:1;:::i;:::-;7583:16:17;3862:12493;;;;;;;;;;7609:66;3862:12493;;;7609:66;3862:12493;5374:13:2;3862:12493:17;;;;;;;;7717:44;3862:12493;7330:438::o;3862:12493::-;;;;;;;;;;7685:22;3862:12493;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;3760:692:12;;;;3862:12493:17;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;9058:7:12;9048:27;9058:16;:12;:7;;;:::i;:::-;:12;:::i;:::-;:16;:::i;:::-;9048:27;:::i;:::-;9104:13;;:::i;:::-;9128:446;-1:-1:-1;9128:446:12;;;;;;;;;;;;;-1:-1:-1;9114:2:12;9128:446;;;9114:2;9128:446;;;;-1:-1:-1;9128:446:12;;;;;;;;;9058:2;9128:446;;;;;3862:12493:17;-1:-1:-1;3862:12493:17;;;;;;;:::i;:::-;9596:12:12;;3862:12493:17;9596:12:12;;;;;-1:-1:-1;9596:12:12;9661:49;9643:7;9661:49;;9719:186;;;;;;;;;;;9128:446;9719:186;;;;;;;;;9128:446;9719:186;;;;;;3862:12493:17;-1:-1:-1;3862:12493:17;;;;;;;:::i;:::-;9920:12:12;;3862:12493:17;9920:12:12;;;;;-1:-1:-1;9920:12:12;9943:57;;;;;10009:218;;;;3862:12493:17;10009:218:12;;;;;;;;3862:12493:17;-1:-1:-1;3862:12493:17;;;;;;;:::i;:::-;10242:12:12;;3862:12493:17;10242:12:12;;;;;;;9128:446;3862:12493:17;10242:12:12;;;;-1:-1:-1;10242:12:12;;;;10265:57;;;;;10331:218;;;;;;3862:12493:17;;;;;;;:::i;:::-;10564:12:12;;3862:12493:17;10564:12:12;;;;;4214:160;4003:16;10564:12;3954:16;-1:-1:-1;10564:12:12;10587:57;;9114:2;10587:57;;;3862:12493:17;;;;;8434:412:12;;;;;;;-1:-1:-1;;;;;;;;;;;8434:412:12;;;;;;;;;;;;3862:12493:17;8434:412:12;;;;;;;;;;3862:12493:17;;;;:::i;:::-;;;;8862:8:12;8434:412;;;;;3862:12493:17;;3954:16:12;:::i;:::-;3862:12493:17;;;;4003:16:12;:::i;:::-;3862:12493:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;9114:2:12;3862:12493:17;;;4214:160:12;-1:-1:-1;;4214:160:12;;;;;;;4383:43;;;:::i;4214:160::-;;9128:446;;9058:2;9128:446;;;;;;9114:2;9128:446;;;;;;;;1288:1040;;3862:12493:17;2110:103:12;1288:1040;1529:286;3862:12493:17;1288:1040:12;;2226:12;1288:1040;3862:12493:17;;;:::i;:::-;;;;;;;;1529:286:12;;;3862:12493:17;369:77:12;1529:286;;;3862:12493:17;487:77:12;1529:286;;;3862:12493:17;605:77:12;1529:286;;;3862:12493:17;723:77:12;1529:286;;;3862:12493:17;;;1529:286:12;;;3862:12493:17;;;1529:286:12;;;3862:12493:17;;;;;1529:286:12;;;3862:12493:17;;;1529:286:12;;;3862:12493:17;1529:286:12;3862:12493:17;;;1529:286:12;;;3862:12493:17;;;1529:286:12;;;3862:12493:17;723:77:12;;:::i;:::-;2110:103;;;;2226:12;;3862:12493:17;2226:12:12;2222:64;;3862:12493:17;2303:11:12;;2295:26;1579:1;1288:1040;:::o;2222:64::-;2254:21;1553:1;2254:21;1553:1;2254:21;:::o;689:66:7:-;;;;:::o;:::-;3862:12493:17;;-1:-1:-1;;;689:66:7;;;;;;;;;;;3862:12493:17;689:66:7;3862:12493:17;;;689:66:7;-1:-1:-1;;;689:66:7;;;;;;;;;;;;;;;;;3862:12493:17;689:66:7;3862:12493:17;;;689:66:7;-1:-1:-1;;;689:66:7;;;;;;:::o;3862:12493:17:-;;;;;;;;;;;;;;;:::i;8542:322::-;3566:41;;3300:25;:13;;:25;;3862:12493;3283:43;3862:12493;;3283:43;;3862:12493;3283:43;;;3862:12493;;;:::i;:::-;3283:43;14272:20;3283:43;14272:20;;3283:43;;;;;;;;:::i;:::-;3862:12493;3273:54;;3414:13;;3380:149;3862:12493;;;-1:-1:-1;;;;;3862:12493:17;;;;3435:23;3380:149;3862:12493;3435:23;;;3862:12493;-1:-1:-1;;;;;3862:12493:17;;;;3460:20;3482;3862:12493;3460:20;;3862:12493;3482:20;;3862:12493;;;3380:149;;;;;;;;3862:12493;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;;;;;3380:149;;;;;;;;;:::i;:::-;3862:12493;3357:182;;3594:12;;3862:12493;-1:-1:-1;;;;;;3862:12493:17;;;;;;;3283:43;3566:41;;3862:12493;;;-1:-1:-1;;;;;;3862:12493:17;;;;;;;;;;;;;;;3566:41;;;;;;;;;:::i;:::-;3862:12493;3556:52;;8691:26;;;;3862:12493;;8691:13;3862:12493;;;;;;;8691:26;8687:63;;8783:25;8810:3;8824:26;8783:25;;8824:33;8783:25;;:::i;:::-;8810:3;:::i;:::-;3862:12493;;8691:13;3862:12493;;;;;;;8687:63;8733:7;;:::o;3862:12493::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;2832:224;2962:15;;;;3862:12493;;2945:33;;3862:12493;2962:15;2945:33;;3862:12493;;;:::i;:::-;2945:33;14272:20;;2945:33;;;;;;:::i;:::-;3862:12493;2935:44;;3862:12493;;;;;;;;;;3006:42;2962:15;3006:42;;3862:12493;;;;;;;;3006:42;;;;;:::i;:::-;3862:12493;2996:53;;2832:224;:::o;3862:12493::-;;;;;;;;-1:-1:-1;;3862:12493:17;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;2458:253::-;2583:17;;3862:12493;2628:75;;3862:12493;;2566:35;;3862:12493;2566:35;;;3862:12493;;;:::i;2566:35::-;;2661:10;;3862:12493;;;;;2673:12;;3862:12493;;;2687:15;3862:12493;;;2687:15;;3862:12493;;;;2628:75;;;3862:12493;2566:35;2628:75;;3862:12493;;;;;;;;:::i;:::-;;;;2566:35;3862:12493;;;;;;;;;;;2628:75;3862:12493;2628:75;;;;;;;:::i;12024:330::-;12280:22;3862:12493;12024:330;;-1:-1:-1;;;;;3862:12493:17;;;;12024:330;;12280:67;;;;;-1:-1:-1;3862:12493:17;;;;;;;;;;;;;;;12280:67;;;;;3862:12493;;;;;;;;;;;;12190:20;12224:16;12254;3862:12493;;;;12280:67;;;;;;;;12024:330;:::o;12280:67::-;-1:-1:-1;;;;;3862:12493:17;;;;;12280:67;3862:12493;;;12280:67;;:::i;1599:130:1:-;1513:6;3862:12493:17;-1:-1:-1;;;;;3862:12493:17;929:10:4;1662:23:1;3862:12493:17;;1599:130:1:o;3862:12493:17:-;;;;3262:56:7;;;3862:12493:17;;;;;;;;;;;;;;;;;;1777:153:0;3862:12493:17;;;;;1859:20:0;3862:12493:17;;1859:20:0;3862:12493:17;2758:6:1;3862:12493:17;;;;;;;;;;;;;;2758:6:1;3862:12493:17;;2806:40:1;1859:20:0;2806:40:1;;1777:153:0:o;3862:12493:17:-;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;251:77:12;;;;:::o;:::-;3862:12493:17;;-1:-1:-1;;;251:77:12;;;;;;;;;;;3862:12493:17;251:77:12;3862:12493:17;;;251:77:12;-1:-1:-1;;;251:77:12;;;;;;;938:66;;;;:::o;:::-;3862:12493:17;;-1:-1:-1;;;938:66:12;;;;;;;;;;;3862:12493:17;938:66:12;3862:12493:17;;;938:66:12;-1:-1:-1;;;938:66:12;;;;;;;4458:1615;3862:12493:17;;:::i;:::-;;-1:-1:-1;;;;;;;;;;;4552:6:12;4544:54;4552:6;;;4544:54;:::i;:::-;4653:7;;;;:::i;:::-;4684:15;;;;4970:6;4684:15;;4725:1;4684:15;;;;4714:16;4753;;;836:66;4753:16;;8148:20;4792:17;;;;8148:20;:::i;:::-;4850:17;;;;;4882;4929:16;;4970:6;:::i;:::-;938:66;4959:21;5139:8;5018:15;5090:1;5018:15;;;;;;5048:16;5079;5139:8;:::i;:::-;5125:22;;5157:122;;5311:15;;;5321:1;5307:19;5311:15;;5307:19;:::i;:::-;5465:8;5364:15;5090:1;5364:15;;;;;;5394:16;5425;5465:8;:::i;:::-;5451:22;;5483:122;;5633:17;;;5321:1;5633:17;;;5912:8;5633:17;;;;;;;5664:15;;5693:16;5723;5753:15;5811;5090:1;5811:15;;;;;;5841:16;5872;5912:8;:::i;:::-;5898:22;5930:52;5898:22;5930:52;;:::i;:::-;5996:9;5992:51;;4458:1615;3862:12493:17;;;:::i;:::-;;;;6059:7:12;;;3862:12493:17;4458:1615:12;:::o;5992:51::-;6026:6;;;;:::i;:::-;5992:51;;;5483:122;5512:9;;;;;;;;5508:59;;3862:12493:17;;;:::i;2057:265:7:-;;1856:17;;;:::i;:::-;1889:27;-1:-1:-1;;;;;3862:12493:17;;1889:27:7;;;;3862:12493:17;;2208:15:7;;;:28;;;2057:265;2204:112;;2057:265;;;:::o;2204:112::-;7307:69:10;3862:12493:17;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;7265:25:10;;;;;;;;3862:12493:17;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;7307:69:10;:::i;:::-;;2057:265:7:o;3862:12493:17:-;;;-1:-1:-1;7307:69:10;:::i;2208:28:7:-;;3865:4:9;2208:28:7;;2057:265;;1856:17;;;:::i;:::-;3321:1:9;-1:-1:-1;;;;;3862:12493:17;;1889:27:7;3321:1:9;;1889:27:7;3862:12493:17;;2208:15:7;;;:28;;;2204:112;;2057:265;;;:::o;2208:28::-;;;;;1406:259;1713:19:3;;:23;3862:12493:17;;-1:-1:-1;;;;;;;;;;;3862:12493:17;;-1:-1:-1;;;;;;3862:12493:17;-1:-1:-1;;;;;3862:12493:17;;;;;;;;;1406:259:7:o;3862:12493:17:-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;3862:12493:17;;;;;;;7911:154:12;;-1:-1:-1;;;;;;;;;;;7911:154:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11613:11117:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8037:15:12;-1:-1:-1;;;;;;;;;;;8037:15:12;;;:21;7911:154;:::o;86:11364:16:-;;-1:-1:-1;;;;;;;;;;;86:11364:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;220:11224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86:11364;:::o;3862:12493:17:-;;;;:::o;:::-;;;-1:-1:-1;;;3862:12493:17;;;;;;;;;;;;;;;;;;;;7671:628:10;;;;7875:418;;;3862:12493:17;;;7906:22:10;7902:286;;8201:17;;:::o;7902:286::-;8113:60;1713:19:3;;:23;;8113:60:10;:::i;7875:418::-;3862:12493:17;;;;-1:-1:-1;8980:21:10;:17;;9152:142;;;;;;;8976:379;3862:12493:17;;;3262:56:7;;;;;9324:20:10;;3862:12493:17;9324:20:10;;;3862:12493:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;3862:12493:17;;;9324:20:10;;;

Swarm Source

ipfs://5171d2df07fdeb26764336e47091cfc13c6ab3a52d314dcad54e0576ce3cd2c4

Block Transaction 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
[ 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.