Sonic Blaze Testnet

Contract

0x5427Ddf5e255609dc061B1e46f032D337ea3ABAd

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

Please try again later

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
53090082024-12-19 10:46:4641 hrs ago1734605206
0x5427Ddf5...37ea3ABAd
0 S
53090082024-12-19 10:46:4641 hrs ago1734605206
0x5427Ddf5...37ea3ABAd
0 S
53090082024-12-19 10:46:4641 hrs ago1734605206
0x5427Ddf5...37ea3ABAd
0 S
53090052024-12-19 10:46:4541 hrs ago1734605205
0x5427Ddf5...37ea3ABAd
0 S
53090052024-12-19 10:46:4541 hrs ago1734605205
0x5427Ddf5...37ea3ABAd
0 S
53090052024-12-19 10:46:4541 hrs ago1734605205
0x5427Ddf5...37ea3ABAd
0 S
53088092024-12-19 10:45:4141 hrs ago1734605141
0x5427Ddf5...37ea3ABAd
0 S
53088052024-12-19 10:45:4041 hrs ago1734605140
0x5427Ddf5...37ea3ABAd
0 S
52965602024-12-19 9:37:4942 hrs ago1734601069
0x5427Ddf5...37ea3ABAd
0 S
52835732024-12-19 8:26:4643 hrs ago1734596806
0x5427Ddf5...37ea3ABAd
0 S
50395712024-12-18 10:39:102 days ago1734518350
0x5427Ddf5...37ea3ABAd
0 S
50395612024-12-18 10:39:072 days ago1734518347
0x5427Ddf5...37ea3ABAd
0 S
50393172024-12-18 10:37:482 days ago1734518268
0x5427Ddf5...37ea3ABAd
0 S
50393062024-12-18 10:37:442 days ago1734518264
0x5427Ddf5...37ea3ABAd
0 S
50167742024-12-18 8:35:322 days ago1734510932
0x5427Ddf5...37ea3ABAd
0 S
50167672024-12-18 8:35:282 days ago1734510928
0x5427Ddf5...37ea3ABAd
0 S
50166432024-12-18 8:34:482 days ago1734510888
0x5427Ddf5...37ea3ABAd
0 S
50163482024-12-18 8:33:112 days ago1734510791
0x5427Ddf5...37ea3ABAd
0 S
50163382024-12-18 8:33:072 days ago1734510787
0x5427Ddf5...37ea3ABAd
0 S
50162132024-12-18 8:32:282 days ago1734510748
0x5427Ddf5...37ea3ABAd
0 S
50158222024-12-18 8:30:152 days ago1734510615
0x5427Ddf5...37ea3ABAd
0 S
50158212024-12-18 8:30:152 days ago1734510615
0x5427Ddf5...37ea3ABAd
0 S
50158212024-12-18 8:30:152 days ago1734510615
0x5427Ddf5...37ea3ABAd
0 S
50158122024-12-18 8:30:112 days ago1734510611
0x5427Ddf5...37ea3ABAd
0 S
50158122024-12-18 8:30:112 days ago1734510611
0x5427Ddf5...37ea3ABAd
0 S
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SupraGeneratorContractL1

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 22 : SupraGeneratorContractL1.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {SupraGeneratorContract} from "./SupraGeneratorContract.sol";
import {UUPSUpgradeable} from "../lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol";

/// @title VRF Generator Contract for L1 chains
/// @author Supra Developer
/// @notice This contract will generate random number based on the router contract request
/// @dev All function calls are currently implemented without side effects

contract SupraGeneratorContractL1 is
    SupraGeneratorContract,
    UUPSUpgradeable
{
    /// @notice Works as a constructor to initialize the contract state variables and initializes parent SupraGeneratorContract.
    function initialize(
        bytes32 _domain,
        address _supraRouterContract,
        uint256[4] memory _publicKey,
        uint256 _instanceId,
        uint256 _blsPreCompileGasCost,
        uint256 _gasAfterPaymentCalculation
    ) public override initializer {
        super.initialize(
            _domain,
            _supraRouterContract,
            _publicKey,
            _instanceId,
            _blsPreCompileGasCost,
            _gasAfterPaymentCalculation
        );
    }

    /// @dev Calculate the transaction fee for the callback transaction for Arbitrum
    /// @param _startGas The gas at the start of the transaction
    /// @param _gasAfterPaymentCalculation calculated gas value to be used based on iterative tests
    /// @return paymentWithoutFee The total estimated transaction fee for callback
    function calculatePaymentAmount(
        uint256 _startGas,
        uint256 _gasAfterPaymentCalculation
    ) internal override view returns (uint256) {
        // TransactionFee =  ChainGasCost  * ( gasAfterPaymentCalculation + gasUsedL1)
        uint256 paymentWithoutFee = tx.gasprice *
            (_gasAfterPaymentCalculation + _startGas - gasleft());
        return paymentWithoutFee;
    }

    /// @notice Helper function that reverts when "msg.sender" is not authorized to upgrade the contract.
    /// @dev called by {upgradeTo} and {upgradeToAndCall} in UUPSUpgradeable
    /// @dev must be called by owner
    /// @param newImplementation address of the new implementation
    function _authorizeUpgrade(address newImplementation) internal virtual override onlyOwner{ }
}

File 2 of 22 : SupraGeneratorContract.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./BLS.sol";
import {ReentrancyGuard} from "./ReentrancyGuard.sol";
import {CheckContractAddress} from "./CheckContractAddress.sol";
import {EnumerableSet} from "./EnumerableSet.sol";
import {ISupraRouterContract} from "./ISupraRouterContract.sol";
import {IDepositContract} from "./IDepositContract.sol";
import {Ownable2StepUpgradeable} from "../lib/openzeppelin-contracts-upgradeable/contracts/access/Ownable2StepUpgradeable.sol";

/// @title VRF Generator Contract
/// @author Supra Developer
/// @notice This contract will generate random number based on the router contract request
/// @dev All function calls are currently implemented without side effects

abstract contract SupraGeneratorContract is
    ReentrancyGuard,
    Ownable2StepUpgradeable,
    CheckContractAddress
{
    /// @dev Public key
    uint256[4] public publicKey;

    /// @dev Domain
    bytes32 public domain;

    /// @dev Address of VRF Router contract
    address public supraRouterContract;

    address public depositContract;

    /// @dev BlockNumber
    uint256 internal blockNum = 0;

    /// @dev Instance Identification Number
    uint256 public instanceId;

    /// @dev Gas to be used for callback transaction fee
    uint256 public gasAfterPaymentCalculation;

    /// @dev Pre Compile Gas cost estimation value
    uint256 blsPreCompileGasCost;

    /// @dev A mapping that will keep track of all the nonces used, true means used and false means not used
    mapping(uint256 => bool) internal nonceUsed;

    using EnumerableSet for EnumerableSet.AddressSet;
    EnumerableSet.AddressSet private whitelistedFreeNodes;

    /// @notice It will put the logs for the Generated request with necessary parameters
    /// @dev This event will be emitted when random number request generated
    /// @param nonce nonce is an incremental counter which is associated with request
    /// @param instanceId Instance Identification Number
    /// @param callerContract Contract address from which request has been generated
    /// @param functionName Function which we have to callback to fulfill request
    /// @param rngCount Number of random numbers requested
    /// @param numConfirmations Number of Confirmations
    /// @param clientSeed Client seed is used to add extra randomness
    /// @param clientWalletAddress is the wallet to which the request is associated
    event RequestGenerated(
        uint256 indexed nonce,
        uint256 instanceId,
        address indexed callerContract,
        string functionName,
        uint8 rngCount,
        uint256 numConfirmations,
        uint256 clientSeed,
        address indexed clientWalletAddress
    );

    /// @notice To put log regarding updation of Public key
    /// @dev This event will be emmitted in whenever there is a request to update Public Key
    /// @param _timestamp epoch time when Public key has been updated
    event PublicKeyUpdated(uint256 _timestamp);

    /// @notice It will put log for the nonce value for which request has been fulfilled
    /// @dev It will be emitted when callback to the Router contract has been made
    /// @param nonce nonce is an incremental counter which is associated with request
    /// @param clientWalletAddress is the address through which the request is generated and the nonce is associated
    /// @param timestamp epoch time when a particular nonce was processed
    /// @param status status for the callback transaction
    event NonceProcessed(
        uint256 indexed nonce,
        address indexed clientWalletAddress,
        uint256 timestamp,
        bool status,
        bytes data
    );

    /// @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);

    /// @notice Works as a constructor to initialize the contract state variables.
    function initialize(
        bytes32 _domain,
        address _supraRouterContract,
        uint256[4] memory _publicKey,
        uint256 _instanceId,
        uint256 _blsPreCompileGasCost,
        uint256 _gasAfterPaymentCalculation
    ) public virtual onlyInitializing {
        __Ownable2Step_init();
        publicKey = _publicKey;
        domain = _domain;
        supraRouterContract = _supraRouterContract;
        instanceId = _instanceId;
        blsPreCompileGasCost = _blsPreCompileGasCost;
        gasAfterPaymentCalculation = _gasAfterPaymentCalculation;
    }

    /// @dev Set the gas required for callback transaction based on calculations
    /// @param _newGas The gas at the start of the transaction
    // Need to be setup in advance
    function setGasAfterPaymentCalculation(uint256 _newGas) external onlyOwner {
        gasAfterPaymentCalculation = _newGas;
    }

    /// @dev Generates a random number and initiates an RNG callback while handling payment processing.
    /// @param _nonce Nonce for the RNG request.
    /// @param _bhash Hash of the block where the request was made.
    /// @param _message Hash of the encoded data.
    /// @param _signature Signature of the message.
    /// @param _rngCount Number of random numbers to generate.
    /// @param _clientSeed Seed provided by the client.
    /// @param _callerContract Address of the calling contract.
    /// @param _func Name of the calling function.
    /// @param _clientWalletAddress Address of the client's wallet.
    /// @return _rngSuccess Indicates if the RNG callback was successful.
    /// @return paymentSuccess Indicates if the payment processing was successful.
    /// @return data Additional data returned from the RNG callback.
    function generateRngCallback(
        uint256 _nonce,
        bytes32 _bhash,
        bytes memory _message,
        uint256[2] calldata _signature,
        uint8 _rngCount,
        uint256 _clientSeed,
        address _callerContract,
        string calldata _func,
        address _clientWalletAddress
    )
        public
        nonReentrant
        returns (
            bool,
            bool,
            bytes memory
        )
    {
        uint256 startGas = gasleft();
        require(
            gasAfterPaymentCalculation != 0,
            "Generator_SC: Gas payment after calculation must be set!"
        );

        (bool _rngSuccess, bytes memory data) = _generateRngCallback(
            _nonce,
            _bhash,
            _message,
            _signature,
            _rngCount,
            _clientSeed,
            _callerContract,
            _func
        );
        uint256 _txnFee;
        _txnFee = calculatePaymentAmount(
                startGas,
                gasAfterPaymentCalculation
            );
        

        /** 
            :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                Method will call deposit contract and collect the fund from client's deposits to Supra fund.
            :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
        */
        
        bytes memory encodedMethodWithParam = abi.encodeCall(
            IDepositContract.collectFund,
            (_clientWalletAddress,
            _txnFee)
        );

        (bool paymentSuccess, ) = address(depositContract).call(encodedMethodWithParam);
        require(paymentSuccess,"Payment Failed");
        (bool status, bytes memory callbackData) = abi.decode(data, (bool, bytes));
        emit NonceProcessed(_nonce, _clientWalletAddress, block.timestamp, status, callbackData);

        return (_rngSuccess, paymentSuccess, data);
        
    }

    /// @dev Calculate the transaction fee for the callback transaction for Arbitrum
    /// @param _startGas The gas at the start of the transaction
    /// @param _gasAfterPaymentCalculation calculated gas value to be used based on iterative tests
    /// @return paymentWithoutFee The total estimated transaction fee for callback
    function calculatePaymentAmount(
        uint256 _startGas,
        uint256 _gasAfterPaymentCalculation
    ) internal virtual view returns (uint256) {}

    /// @dev Generates a random number internally.
    /// @param _nonce Nonce for the RNG request.
    /// @param _bhash Hash of the block where the request was made.
    /// @param _message Hash of the encoded data.
    /// @param _signature Signature of the message.
    /// @param _rngCount Number of random numbers to generate.
    /// @param _clientSeed Seed provided by the client.
    /// @param _callerContract Address of the calling contract.
    /// @param _func Name of the calling function.
    /// @return success Indicates if the processing was successful.
    /// @return data Additional data returned from the RNG callback.
    function _generateRngCallback(
        uint256 _nonce,
        bytes32 _bhash,
        bytes memory _message,
        uint256[2] calldata _signature,
        uint8 _rngCount,
        uint256 _clientSeed,
        address _callerContract,
        string calldata _func
    ) internal returns (bool, bytes memory) {
        require(
            isFreeNodeWhitelisted(msg.sender),
            "Free node is not whitelisted"
        );
        require(!nonceUsed[_nonce], "Nonce has already been processed");

        // Verify that the passed parameters do indeed hash to _message to ensure that the params
        // are not spoofed
        bytes memory encoded_data = abi.encode(
            _bhash,
            _nonce,
            _rngCount,
            instanceId,
            _callerContract,
            _func,
            _clientSeed
        );
        bytes32 keccak_encoded = keccak256(encoded_data);
        require(
            keccak_encoded == bytes32(_message),
            "Cannot verify the message"
        );
        // Verify the signature using the public key
        verify(_message, _signature);
        // Generate a random number
        // Use the signature as a seed and some transaction parameters, generate hash and convert to uint for random number
        uint256[] memory rngList = new uint256[](_rngCount);
        for (uint256 loop = 0; loop < _rngCount; ++loop) {
            rngList[loop] = uint256(
                keccak256(abi.encodePacked(_signature, loop + 1))
            );
        }
        (bool success, bytes memory data) = supraRouterContract.call(
            abi.encodeCall(
                ISupraRouterContract.rngCallback,
                (_nonce,
                rngList,
                _callerContract,
                _func)
            )
        );

        nonceUsed[_nonce] = true;
        return (success, data);
    }

    /// @notice This function is used to generate random number request
    /// @dev This function will be called from router contract which is for the random number generation request
    /// @param _nonce nonce is an incremental counter which is associated with request
    /// @param _callerContract Actual client contract address from which request has been generated
    /// @param _functionName A combination of a function and the types of parameters it takes, combined together as a string with no spaces
    /// @param _rngCount Number of random numbers requested
    /// @param _numConfirmations Number of Confirmations
    /// @param _clientSeed Use of this is to add some extra randomness
    function rngRequest(
        uint256 _nonce,
        string memory _functionName,
        uint8 _rngCount,
        address _callerContract,
        uint256 _numConfirmations,
        uint256 _clientSeed,
        address _clientWalletAddress
    ) external {
        require(
            msg.sender == supraRouterContract,
            "Only router contract can execute this function"
        );
        emit RequestGenerated(
            _nonce,
            instanceId,
            _callerContract,
            _functionName,
            _rngCount,
            _numConfirmations,
            _clientSeed,
            _clientWalletAddress
        );
    }

    /// @notice The function will whitelist a single free node wallet
    /// @dev The function will whitelist a single free node at a time and will only be updated by the owner
    /// @param _freeNodeWallet this is the wallet address to be whitelisted
    function addFreeNodeToWhitelistSingle(address _freeNodeWallet)
        external
        onlyOwner
    {
        require(
            !isFreeNodeWhitelisted(_freeNodeWallet),
            "Free Node is already whitelisted"
        );
        whitelistedFreeNodes.add(_freeNodeWallet);
        emit FreeNodeWhitelisted(_freeNodeWallet);
    }

    /// @notice The function will whitelist multiple free node wallets
    /// @dev The function will whitelist multiple free node addresses passed altogether in an array
    /// @param _freeNodeWallets it is an array of address type, which accepts all the addresses to whitelist altogether
    function addFreeNodeToWhitelistBulk(address[] memory _freeNodeWallets)
        external
        onlyOwner
    {   
        address[] memory freeNodeWallets = new address[](_freeNodeWallets.length);
        for (uint256 loop = 0; loop < _freeNodeWallets.length; ++loop) {
            if(!isFreeNodeWhitelisted(_freeNodeWallets[loop])){
                whitelistedFreeNodes.add(_freeNodeWallets[loop]);
                freeNodeWallets[loop] = _freeNodeWallets[loop];
            }           
        }
        emit MultipleFreeNodesWhitelisted(freeNodeWallets);
    }

    /// @notice The function will remove the address from the whitelist
    /// @dev The function will remove the already whitelisted free node wallet
    /// @param _freeNodeWallet this is the wallet address that is to be removed from the list of whitelisted free node
    function removeFreeNodeFromWhitelist(address _freeNodeWallet)
        external
        onlyOwner
    {
        bool result = whitelistedFreeNodes.remove(_freeNodeWallet);
        require(result, "Free Node not whitelisted or already removed");
        emit FreeNodeRemovedFromWhitelist(_freeNodeWallet);
    }

    /// @notice The function will check if an address is whitelisted or not
    /// @dev The function will check if a particular free node is whitelisted or not and will return a boolean value accordingly
    /// @param _freeNodeWallet this is the wallet address to check if it is whitelisted or not
    function isFreeNodeWhitelisted(address _freeNodeWallet)
        public
        view
        returns (bool)
    {
        return whitelistedFreeNodes.contains(_freeNodeWallet);
    }

    /// @notice The function will return the list of whitelisted free nodes
    /// @dev The function will check for all the whitelisted free node wallets and return the list
    function listAllWhitelistedFreeNodes()
        external
        view
        onlyOwner
        returns (address[] memory)
    {
        address[] memory freenodes = new address[](
            whitelistedFreeNodes.length()
        );
        for (uint256 loop = 0; loop < whitelistedFreeNodes.length(); ++loop) {
            address value = whitelistedFreeNodes.at(loop);
            freenodes[loop] = value;
        }
        return freenodes;
    }

    /// @notice This function will be used to update public key
    /// @dev Update the public key state variable
    /// @param _publicKey New Public key which will update the old one
    /// @return bool It returns the status of updation of public key
    function updatePublicKey(uint256[4] memory _publicKey)
        external
        onlyOwner
        returns (bool)
    {
        publicKey = _publicKey;
        emit PublicKeyUpdated(block.timestamp);
        return true;
    }

    /// @notice This function is for updating the Deposit Contract Address
    /// @dev To update deposit contract address
    /// @param _newDepositSC contract address of the deposit/new deposit contract
    function updateDepositContract(address _newDepositSC) external onlyOwner {
        require(
            isContract(_newDepositSC),
            "Deposit contract address cannot be EOA"
        );
        require(
            _newDepositSC != address(0),
            "Deposit contract address cannot be a zero address"
        );
        depositContract = _newDepositSC;
    }

    function verify(bytes memory _message, uint256[2] calldata _signature)
        internal
        view
    {
        bool callSuccess;
        bool checkSuccess;
        (checkSuccess, callSuccess) = BLS.verifySingle(
            _signature,
            publicKey,
            BLS.hashToPoint(domain, _message),
            blsPreCompileGasCost
        );

        require(
            callSuccess,
            "Verify : Incorrect Public key or Signature Points"
        );
        require(checkSuccess, "Verify : Incorrect Input Message");
    }
}

File 3 of 22 : 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 4 of 22 : BLS.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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;
        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 5 of 22 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity 0.8.19;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 6 of 22 : CheckContractAddress.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

contract CheckContractAddress {
    /// @dev Returns a boolean indicating whether the given address is a contract or not.
    /// @param _addr The address to be checked.
    /// @return A boolean indicating whether the given address is a contract or not.
    function isContract(address _addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(_addr)
        }
        return size > 0;
    }
}

File 7 of 22 : 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.19;

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 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 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 8 of 22 : ISupraRouterContract.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface ISupraRouterContract {
    function generateRequest(
        string memory _functionSig,
        uint8 _rngCount,
        uint256 _numConfirmations,
        uint256 _clientSeed,
        address _clientWalletAddress
    ) external returns (uint256);

    function generateRequest(
        string memory _functionSig,
        uint8 _rngCount,
        uint256 _numConfirmations,
        address _clientWalletAddress
    ) external returns (uint256);

    function rngCallback(
        uint256 nonce,
        uint256[] memory rngList,
        address _clientContractAddress,
        string memory _functionSig
    ) external returns (bool, bytes memory) ;
}

File 9 of 22 : IDepositContract.sol
// INSTRUCTIONS : Contains methods that will be used by the ROUTER and GENERATOR contracts.
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface IDepositContract {
    function isContractEligible(address _clientAddress, address _contractAddress) external view returns (bool);

    function isMinimumBalanceReached(address _clientAddress) external view returns (bool);

    function checkMinBalance(address _clientAddress) external view returns (uint256);

    function checkClientFund(address _clientAddress) external view returns (uint256);

    function collectFund(address _clientAddress, uint256 _amount) external;
}

File 10 of 22 : 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 11 of 22 : 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 12 of 22 : 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 13 of 22 : ModExp.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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 14 of 22 : BNPairingPrecompileCostEstimator.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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 15 of 22 : 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 16 of 22 : 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 17 of 22 : 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 18 of 22 : 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 19 of 22 : 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 20 of 22 : 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 21 of 22 : 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;
}

File 22 of 22 : 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);
        }
    }
}

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

[{"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":"uint256","name":"nonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"clientWalletAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"NonceProcessed","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":"_timestamp","type":"uint256"}],"name":"PublicKeyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"instanceId","type":"uint256"},{"indexed":true,"internalType":"address","name":"callerContract","type":"address"},{"indexed":false,"internalType":"string","name":"functionName","type":"string"},{"indexed":false,"internalType":"uint8","name":"rngCount","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"numConfirmations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"clientSeed","type":"uint256"},{"indexed":true,"internalType":"address","name":"clientWalletAddress","type":"address"}],"name":"RequestGenerated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_freeNodeWallets","type":"address[]"}],"name":"addFreeNodeToWhitelistBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_freeNodeWallet","type":"address"}],"name":"addFreeNodeToWhitelistSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"domain","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasAfterPaymentCalculation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes32","name":"_bhash","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"uint256[2]","name":"_signature","type":"uint256[2]"},{"internalType":"uint8","name":"_rngCount","type":"uint8"},{"internalType":"uint256","name":"_clientSeed","type":"uint256"},{"internalType":"address","name":"_callerContract","type":"address"},{"internalType":"string","name":"_func","type":"string"},{"internalType":"address","name":"_clientWalletAddress","type":"address"}],"name":"generateRngCallback","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_domain","type":"bytes32"},{"internalType":"address","name":"_supraRouterContract","type":"address"},{"internalType":"uint256[4]","name":"_publicKey","type":"uint256[4]"},{"internalType":"uint256","name":"_instanceId","type":"uint256"},{"internalType":"uint256","name":"_blsPreCompileGasCost","type":"uint256"},{"internalType":"uint256","name":"_gasAfterPaymentCalculation","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"instanceId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_freeNodeWallet","type":"address"}],"name":"isFreeNodeWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listAllWhitelistedFreeNodes","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","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":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"publicKey","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_freeNodeWallet","type":"address"}],"name":"removeFreeNodeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"string","name":"_functionName","type":"string"},{"internalType":"uint8","name":"_rngCount","type":"uint8"},{"internalType":"address","name":"_callerContract","type":"address"},{"internalType":"uint256","name":"_numConfirmations","type":"uint256"},{"internalType":"uint256","name":"_clientSeed","type":"uint256"},{"internalType":"address","name":"_clientWalletAddress","type":"address"}],"name":"rngRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newGas","type":"uint256"}],"name":"setGasAfterPaymentCalculation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supraRouterContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDepositSC","type":"address"}],"name":"updateDepositContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"_publicKey","type":"uint256[4]"}],"name":"updatePublicKey","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

60a0806040523461003b5760016000556000609f55306080526137e29081610041823960805181818161056d015281816107a301526108b80152f35b600080fdfe6080604052600436101561001257600080fd5b60003560e01c806304fad28d146101a75780631199b2cd146101a257806322249c1c1461019d5780632f5e1f9d146101985780633659cfe61461019357806348e387f61461018e5780634f1ef2861461018957806352d1902d14610184578063715018a61461017f5780637861c6291461017a5780637910f0431461017557806379ba5097146101705780638940aebe1461016b5780638da5cb5b1461016657806391841a1514610161578063a5e361291461015c578063c2fb26a614610157578063ceaf55cb14610152578063d18eb0701461014d578063df9d902814610148578063e30c397814610143578063e40e7f921461013e578063e52f249614610139578063e94ad65b146101345763f2fde38b1461012f57600080fd5b61116c565b611143565b611122565b611094565b611054565b610f49565b610f20565b610e18565b610dfa565b610d85565b610cb5565b610c8c565b610c60565b610bc5565b610b06565b610a83565b61096a565b6108a5565b610766565b6106d9565b61054a565b610506565b61046d565b6101ca565b346101c55760003660031901126101c557602060a054604051908152f35b600080fd5b346101c55760003660031901126101c557602060a154604051908152f35b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761021957604052565b6101e8565b608081019081106001600160401b0382111761021957604052565b604081019081106001600160401b0382111761021957604052565b606081019081106001600160401b0382111761021957604052565b90601f801991011681019081106001600160401b0382111761021957604052565b6040519061018082018281106001600160401b0382111761021957604052565b604051906102bd82610239565b565b6001600160401b03811161021957601f01601f191660200190565b9291926102e6826102bf565b916102f4604051938461026f565b8294818452818301116101c5578281602093846000960137010152565b9080601f830112156101c55781602061032c933591016102da565b90565b60a4359060ff821682036101c557565b60e435906001600160a01b03821682036101c557565b61012435906001600160a01b03821682036101c557565b600435906001600160a01b03821682036101c557565b606435906001600160a01b03821682036101c557565b60c435906001600160a01b03821682036101c557565b602435906001600160a01b03821682036101c557565b35906001600160a01b03821682036101c557565b9181601f840112156101c5578235916001600160401b0383116101c557602083818601950101116101c557565b60005b8381106104185750506000910152565b8181015183820152602001610408565b9060209161044181518092818552858086019101610405565b601f01601f1916010190565b61032c939260609215158252151560208201528160408201520190610428565b346101c5576101403660031901126101c5576001600160401b036044358181116101c55761049f903690600401610311565b903660a4116101c5576104b061032f565b6104b861033f565b610104359283116101c557610502936104d86104f39436906004016103d8565b9290916104e3610355565b9460c43591602435600435611801565b6040939193519384938461044d565b0390f35b346101c55760203660031901126101c55760206105406001600160a01b0361052c61036c565b1660005260a5602052604060002054151590565b6040519015158152f35b346101c55760203660031901126101c55761056361036c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116919061059c30841415611287565b6105b960008051602061378d8339815191529382855416146112e8565b6105c161122f565b604051906105ce826101fe565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561060a575050610608915061145d565b005b6020600491604094939451928380926352d1902d60e01b825286165afa60009181610665575b506106525760405162461bcd60e51b81528061064e6004820161140e565b0390fd5b6106089361066091146113b0565b6115a9565b61068791925060203d811161068e575b61067f818361026f565b810190611395565b9038610630565b503d610675565b6020908160408183019282815285518094520193019160005b8281106106bc575050505090565b83516001600160a01b0316855293810193928101926001016106ae565b346101c557600080600319360112610763576106f361122f565b60a480549061070182611abc565b92805b83811061071957604051806105028782610695565b8282527fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d81015461075e91906001600160a01b03166107588288611b58565b52611afa565b610704565b80fd5b60403660031901126101c55761077a61036c565b6024356001600160401b0381116101c557610799903690600401610311565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169291906107d330851415611287565b6107f060008051602061378d8339815191529482865416146112e8565b6107f861122f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561082e575050610608915061145d565b6020600491604094939451928380926352d1902d60e01b825286165afa60009181610885575b506108725760405162461bcd60e51b81528061064e6004820161140e565b6106089361088091146113b0565b6114ed565b61089e91925060203d811161068e5761067f818361026f565b9038610854565b346101c55760003660031901126101c5577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036108ff5760405160008051602061378d8339815191528152602090f35b60405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608490fd5b346101c5576000806003193601126107635761098461122f565b606680546001600160a01b031990811690915560348054918216905581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b90604051916109e08361021e565b8260849182116101c5576004905b8282106109fa57505050565b81358152602091820191016109ee565b9060405191610a1883610239565b8260a49182116101c5576064905b828210610a3257505050565b8135815260209182019101610a26565b80606312156101c55760405190610a588261021e565b8160c49182116101c5576044905b828210610a735750505090565b8135815260209182019101610a66565b346101c55760803660031901126101c55736602312156101c557610aa6366109d2565b610aae61122f565b60005b60048110610af1576040514281527fab64e693b3246a5dd2ca1a4d203b28b6cf2810200ad28db25547f16f628db99b90602090a160405160018152602090f35b60019060208351930192816098015501610ab1565b346101c55760203660031901126101c557610b1f61036c565b610b2761122f565b6001600160a01b0316610b398161202f565b15610b6b5760207f51d1da07b53e9e891183bcac2db516d37cdd36670f300b5620ef5ee154c56c4091604051908152a1005b60405162461bcd60e51b815260206004820152602c60248201527f46726565204e6f6465206e6f742077686974656c6973746564206f7220616c7260448201526b1958591e481c995b5bdd995960a21b6064820152608490fd5b346101c55760003660031901126101c557606654336001600160a01b0390911603610bf357610608336111d9565b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b634e487b7160e01b600052603260045260246000fd5b346101c55760203660031901126101c55760043560048110156101c55760209060980154604051908152f35b346101c55760003660031901126101c5576034546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c557610cce61036c565b610cd661122f565b6001600160a01b038116600081815260a56020526040902054610d41577febe89dbcc7f3b20123498d99bb8812126d6d6090ba03adf671287eb1c462a5cd91610d21610d3c92611e71565b506040516001600160a01b0390911681529081906020820190565b0390a1005b606460405162461bcd60e51b815260206004820152602060248201527f46726565204e6f646520697320616c72656164792077686974656c69737465646044820152fd5b346101c55760e03660031901126101c5576024356001600160401b0381116101c557366023820112156101c557610dc69036906024816004013591016102da565b6044359060ff821682036101c55761060891610de0610382565b91610de9610398565b9260a4359260843592600435611d64565b346101c55760003660031901126101c5576020609c54604051908152f35b346101c5576101203660031901126101c557610e326103ae565b610e90610e3e36610a42565b9160015492610e6460ff8560081c161580958196610f12575b8115610ef2575b50613603565b83610e76600160ff1981541617600155565b610ed9575b610104359160e4359160c435916004356136c6565b610e9657005b610ea661ff001960015416600155565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498908060208101610d3c565b610eed61010061ff00196001541617600155565b610e7b565b303b15915081610f04575b5038610e5e565b6001915060ff161438610efd565b600160ff8216109150610e57565b346101c55760003660031901126101c557609d546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c557610f6261036c565b610f6a61122f565b803b15611000576001600160a01b03811615610fa157609e80546001600160a01b0319166001600160a01b03909216919091179055005b60405162461bcd60e51b815260206004820152603160248201527f4465706f73697420636f6e747261637420616464726573732063616e6e6f742060448201527062652061207a65726f206164647265737360781b6064820152608490fd5b60405162461bcd60e51b815260206004820152602660248201527f4465706f73697420636f6e747261637420616464726573732063616e6e6f7420604482015265626520454f4160d01b6064820152608490fd5b346101c55760003660031901126101c5576066546040516001600160a01b039091168152602090f35b6001600160401b0381116102195760051b60200190565b346101c5576020806003193601126101c5576004356001600160401b0381116101c557366023820112156101c5578060040135906110d18261107d565b916110df604051938461026f565b80835260248484019160051b830101913683116101c557602401905b82821061110b5761060884611eed565b848091611117846103c4565b8152019101906110fb565b346101c55760203660031901126101c55761113b61122f565b60043560a155005b346101c55760003660031901126101c557609e546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c55761118561036c565b61118d61122f565b606680546001600160a01b0319166001600160a01b039283169081179091556034549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b6bffffffffffffffffffffffff60a01b90816066541660665560345460018060a01b038092168093821617603455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6034546001600160a01b0316330361124357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b1561128e57565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b6064820152608490fd5b156112ef57565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b6163746976652070726f787960a01b6064820152608490fd5b604051906113568261021e565b6060808352366020840137565b9061136d826102bf565b61137a604051918261026f565b828152809261138b601f19916102bf565b0190602036910137565b908160209103126101c5575190565b6040513d6000823e3d90fd5b156113b757565b60405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608490fd5b60809060208152602e60208201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960408201526d6f6e206973206e6f74205555505360901b60608201520190565b803b156114925760008051602061378d83398151915280546001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b906114f78261145d565b6001600160a01b0382167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906115a1575b611539575050565b61159e916000806040519361154d85610254565b602785527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c6020860152660819985a5b195960ca1b6040860152602081519101845af46115986115fc565b9161162c565b50565b506001611531565b906115b38261145d565b6001600160a01b0382167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906115f457611539575050565b506000611531565b3d15611627573d9061160d826102bf565b9161161b604051938461026f565b82523d6000602084013e565b606090565b9192901561168e5750815115611640575090565b3b156116495790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b8251909150156116a15750805190602001fd5b60405162461bcd60e51b81526020600482015290819061064e906024830190610428565b156116cc57565b60405162461bcd60e51b815260206004820152603860248201527f47656e657261746f725f53433a20476173207061796d656e742061667465722060448201527f63616c63756c6174696f6e206d757374206265207365742100000000000000006064820152608490fd5b1561173e57565b60405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0811985a5b195960921b6044820152606490fd5b91906040838203126101c557825180151581036101c557926020810151906001600160401b0382116101c5570181601f820112156101c55780516117b7816102bf565b926117c5604051948561026f565b818452602082840101116101c55761032c9160208085019101610405565b61032c93926060928252151560208201528160408201520190610428565b9896909192939597949760026000541461190a57611848988a97600096879661183c96600289555a9b61183760a15415156116c5565b611bd9565b96909460a15490613746565b60405163b267cfa360e01b602082019081526001600160a01b03861660248301526044808301939093529181529061188160648361026f565b609e5483906001600160a01b03169251925af19461189d6115fc565b506118a786611737565b7f21871ec92b769811544a391a1f65a1c7d69e6d90952c31d3e3415cb63fbc5faa6118db6020875188010160208801611774565b6040516001600160a01b03909516949182916118f89142846117e3565b0390a36119056001600055565b929190565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b1561195657565b60405162461bcd60e51b815260206004820152601c60248201527f46726565206e6f6465206973206e6f742077686974656c6973746564000000006044820152606490fd5b156119a257565b606460405162461bcd60e51b815260206004820152602060248201527f4e6f6e63652068617320616c7265616479206265656e2070726f6365737365646044820152fd5b908060209392818452848401376000828201840152601f01601f1916010190565b9897969260ff90611a48969360c09896938c5260208c01521660408a0152606089015260018060a01b0316608088015260e060a088015260e08701916119e6565b930152565b602081519101519060208110611a61575090565b6000199060200360031b1b1690565b15611a7757565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742076657269667920746865206d657373616765000000000000006044820152606490fd5b90611ac68261107d565b611ad3604051918261026f565b828152809261138b601f199161107d565b634e487b7160e01b600052601160045260246000fd5b6000198114611b095760010190565b611ae4565b9060018201809211611b0957565b6020019081602011611b0957565b9060408201809211611b0957565b9060048201809211611b0957565b60609160406064833760408201520190565b8051821015611b6c5760209160051b010190565b610c4a565b909594929391936080820196825260209660808884015285518091528760a0840196019060005b818110611bc5575050506001600160a01b0316604082015280840360609091015292935061032c926119e6565b825188529689019691890191600101611b98565b97969092958895949633611bfa9060005260a5602052604060002054151590565b611c039061194f565b611c178760005260a3602052604060002090565b5460ff1615611c259061199b565b60a05493876040998a5197889187878c60209b898d880198611c47978a611a07565b0396601f19978881018252611c5c908261026f565b519020611c6882611a4d565b14611c7290611a70565b611c7b906121c6565b60ff1694611c8886611abc565b9560005b818110611d1557505093600097959293611cd589989695611ce1948a97611cba609d5460018060a01b031690565b9a5197889586019a63079e10f760e51b8c5260248701611b71565b0390810183528261026f565b51925af1611d11611d04611cf36115fc565b9460005260a3602052604060002090565b805460ff19166001179055565b9190565b611d56919293949596979850611d2a81611b0e565b8a51611d4981611d3d8b82019485611b46565b038b810183528261026f565b519020610758828b611b58565b908a97969594939291611c8c565b9390919495929560018060a01b039081609d54163303611dde577f530d223c88b5b70423fe96e7b61c407e813101dbc76a2884e27bf292239018fa94829160a0549460ff611dc4604051988998895260a060208a015260a0890190610428565b9a16604087015260608601526080850152169616940390a4565b60405162461bcd60e51b815260206004820152602e60248201527f4f6e6c7920726f7574657220636f6e74726163742063616e206578656375746560448201526d103a3434b990333ab731ba34b7b760911b6064820152608490fd5b60a454811015611b6c5760a46000527fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d0190600090565b8060005260a560205260406000205415600014611ee75760a4546801000000000000000081101561021957600181018060a455811015611b6c5781907fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d015560a4549060005260a5602052604060002055600190565b50600090565b611ef561122f565b611eff8151611abc565b60005b8251811015611f7e57611f46906001600160a01b03611f3a81611f258488611b58565b511660005260a5602052604060002054151590565b15611f4b575b50611afa565b611f02565b611f6081611f598488611b58565b5116611e71565b50611f6b8286611b58565b5116611f778285611b58565b5238611f40565b507f2fe6aaa0bdd3eba15bfd15b8562a614e13a7d121aaba085b14d108cbe1caf8279150611fb29060405191829182610695565b0390a1565b9060008051602061376d833981519152918203918211611b0957565b60a45480156120195760001981019080821015611b6c577fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8c60009160a48352015560a455565b634e487b7160e01b600052603160045260246000fd5b600081815260a5602052604090205480156120da576000199181830191808311611b095760a454938401938411611b0957838361208a9460009603612090575b50505061207a611fd3565b60005260a5602052604060002090565b55600190565b61207a6120b8916120b06120a66120d195611e3a565b90549060031b1c90565b928391611e3a565b90919082549060031b91821b91600019901b1916179055565b5538808061206f565b5050600090565b6040519060986000835b600482106120ff575050506102bd8261021e565b60016020819285548152019301910190916120eb565b1561211c57565b60405162461bcd60e51b815260206004820152603160248201527f566572696679203a20496e636f7272656374205075626c6963206b6579206f72604482015270205369676e617475726520506f696e747360781b6064820152608490fd5b1561218257565b606460405162461bcd60e51b815260206004820152602060248201527f566572696679203a20496e636f727265637420496e707574204d6573736167656044820152fd5b60406121e5602092609c548380516121dd81610239565b369037612d29565b60806121fe6121f483516124bb565b94859301516124bb565b602061220861226f565b845181528185015182820152825186820152910151606082015260066107cf195a01fa90811561226d57612260612268916122456102bd946123c0565b60a2549061225236610a0a565b61225a6120e1565b906122ab565b919091612115565b61217b565bfe5b6040519061227c8261021e565b6080368337565b60405190612290826101fe565b6020368337565b604051906122a482610239565b6040368337565b926101806008946040602094856123aa97816122c5610290565b95805187520151828601527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c2848601527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed60608601527f275dc4a288d1afb3cbb1ac09187524c7db36395df7be3b99e673b13a075a65ec60808601527f1d9befcd05a5323e6da4d435f3b617cdb3af83285c2df711ef39c01571827f9d60a0860152805160c0860152015160e0840152858101516101008401528051610120840152606081015161014084015201516101608201526123a2612283565b958693fa1590565b6123b75751151590600190565b50600090600090565b156123c757565b60405162461bcd60e51b815260206004820152601760248201527f424c533a20626e206164642063616c6c206661696c65640000000000000000006044820152606490fd5b1561241357565b60405162461bcd60e51b815260206004820152602360248201527f6d6170546f506f696e7446543a20696e76616c6964206669656c6420656c656d604482015262195b9d60ea1b6064820152608490fd5b1561246b57565b60405162461bcd60e51b815260206004820152602260248201527f424c533a20626164206674206d617070696e6720696d706c656d656e7461746960448201526137b760f11b6064820152608490fd5b6124c3612297565b5060008051602061376d833981519152906124df82821061240c565b816124e9826125fc565b9290508161253081806004818680090893818077b3c4d79d41a91759a9e4c7e359b6b89eaec68e62effffffd830961252382888309612eed565b9781899209099009611fb7565b7759e26bcea0d48bacd4f263f1acdb5c4f5763473177fffffe0861255d85600381848181800909086125fc565b81906125e75750508460016125729208611fb7565b61258585600381848181800909086125fc565b81906125e75750505060018483816125b295818087819809800909090892600381858181800909086125fc565b916125bd8293612464565b156125d7575b506125cc6102b0565b918252602082015290565b6125e19150611fb7565b386125c3565b93509391509350156125d757506125cc6102b0565b9060008051602061376d8339815191528080808080808080808b8180808080808080808080808080808f8180828180808080808080808080809e8180808080858180808080808087819e8280808080808681808080808080809e8180808381808080808080808089819e828080808080808080808080808d819e8280808080808080888180808080809e8180808080808080888180808080809e818080808080808080808a818080809e818080808080808080808a818080809e8180808080808080808981808080809e8180808080808681808080808080809e8180808080858180808080808080809e8180808084818080808080808080809e8180808084818080808080808080809e81808080808080808080809a8180808080808080808080808c818080808080808080808a818080808080808080808080808d81808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d8181800909090980098009800980098180878181800909918009098009800980090980098009800980090980098009800981808c818082800991818082800991818180090909099181808280099180090909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808b81818009099180090980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918180828009918009090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c818180090909918009098009800980098009800980090980098009800980098009818080808c8009818d818180090909818c8180828181800909918181800909090991818082800991800909098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d8181800909090991800909800980098009928180828009918181800909099180090980098009800981808d8180828181800909918180828181800909918181800909090991818082800991800909098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d818082800991818180090909099180090980098009800980098180808780098188818180090909918009098009800909800980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099181808280099180090909800980098009800980090980098009800980098009800909800980098009800992818180090991800909800980098009800980098009800980098180808c818082800991818180090909818d8180828181800909918181800909090991800909800980098180888181800909918009098009800992818180090991800909800980098009800980098009800981808d8180808381818009098184818180090909918180828181800909918180828181800909918181800909090909918009098009800980098180808a818180090981808c8181800909818d818180090909099180090980098009800992818080838181800909818481818009090991818082818180090991818082818180090991818180090909090991800909800980098180808c8009818d8181800909099180090980098009800980098180808781818009098180898181800909818a818180090909099180090980099160008051602061376d8339815191528380091490565b919091604090818051612d3b81610239565b369037835191612d62612d5d612d58612d5386611b1c565b611b2a565b611b38565b611363565b90612d6b611349565b9360005b818110612ec05750608394959650820160006060820153606060618201536000606282015383606382015260209485910153836000825180612db18187612ed6565b039060025afa15612ebb57600051916042815284810191838352808201926001845360418301958087526061840190888253886000855180612df3818a612ed6565b039060025afa15612ebb57600051808a8c01528718835260028653808852888253886000855180612e24818a612ed6565b039060025afa15612ebb5788976003612e55978a958760009b8f8d5192839101521890525352535191828092612ed6565b039060025afa15612ebb5760005180606084015260018060c01b03928360188201511690846048816030840151169201511691612e906102b0565b9560008051602061376d8339815191529485809481600160c01b809609088852169209089082015290565b6113a4565b80602080928a0101516060828701015201612d6f565b90612ee960209282815194859201610405565b0190565b8060008051602061376d833981519152808080808080808881808080809e8180808080808080808981808080809e8180808080808080888180808080809e8180808080808080888180808080809e8181818080808080808781808080809e8180808080808681808080808080809e8181818080808080808080808080809e8181818080808080808080898180809e81808080808080808080808b8180809e818080808080808080808080808d819e828080808080808080808080808d819e8280808080808080808080808c81809e8180808080808080808981808080809e8180808080808080888180808080809e8180808080808087818080808080809e8180808080808087818080808080809e81808080808080808080808080809d8180808080808080808080808c818080808080808080808a818080808080808080808080808d81808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d8181800909090980098009800980098180878181800909918009098009800980090980098009800980090980098009800981808c818082800991818082800991818180090909099181808280099180090909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808b81818009099180090980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918180828009918009090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c818180090909918009098009800980098009800980090980098009800980098009818080808c8009818d818180090909818c8180828181800909918181800909090991818082800991800909098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d8181800909090991800909800980098009928180828009918181800909099180090980098009800981808d8180828181800909918180828181800909918181800909090991818082800991800909098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d818082800991818180090909099180090980098009800980098180808780098188818180090909918009098009800909800980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800980098009818080808b8181800909818c81818009090981808c8181800909818d8180828181800909918181800909090909918180828009918009090980098009800980098009098009800980098009800980090980098009800980099281818009099180090980098009800980098009800980098009818080808a8009818b81818009090981808b8181800909818c818180090909099180090980098009928181800909918009098009800981808d81818009099180090980098009800980098009800980099281808083818180090981848181800909099181808281818009099181808281818009099181818009090909099180090980098009800981808d8180828181800909918180828181800909918181800909090991800909800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099180090980098009818080878009818881818009090991800909800980090980098009800980098009928180828009918181800909099180090990565b1561360a57565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b1561366d57565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b90916001906136ed60ff835460081c166136df81613666565b6136e881613666565b613666565b6136f6336111d9565b60005b6004811061373257505050609c5560018060a01b03166bffffffffffffffffffffffff60a01b609d541617609d5560a05560a25560a155565b8290602083519301928160980155016136f9565b8101809111611b09575a8103908111611b0957803a02903a8204143a151715611b09579056fe30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca2646970667358221220079fbe16f60e0f6920b918214abb6dd89b6e7685306b35973e22a772fc12095b64736f6c63430008130033

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c806304fad28d146101a75780631199b2cd146101a257806322249c1c1461019d5780632f5e1f9d146101985780633659cfe61461019357806348e387f61461018e5780634f1ef2861461018957806352d1902d14610184578063715018a61461017f5780637861c6291461017a5780637910f0431461017557806379ba5097146101705780638940aebe1461016b5780638da5cb5b1461016657806391841a1514610161578063a5e361291461015c578063c2fb26a614610157578063ceaf55cb14610152578063d18eb0701461014d578063df9d902814610148578063e30c397814610143578063e40e7f921461013e578063e52f249614610139578063e94ad65b146101345763f2fde38b1461012f57600080fd5b61116c565b611143565b611122565b611094565b611054565b610f49565b610f20565b610e18565b610dfa565b610d85565b610cb5565b610c8c565b610c60565b610bc5565b610b06565b610a83565b61096a565b6108a5565b610766565b6106d9565b61054a565b610506565b61046d565b6101ca565b346101c55760003660031901126101c557602060a054604051908152f35b600080fd5b346101c55760003660031901126101c557602060a154604051908152f35b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761021957604052565b6101e8565b608081019081106001600160401b0382111761021957604052565b604081019081106001600160401b0382111761021957604052565b606081019081106001600160401b0382111761021957604052565b90601f801991011681019081106001600160401b0382111761021957604052565b6040519061018082018281106001600160401b0382111761021957604052565b604051906102bd82610239565b565b6001600160401b03811161021957601f01601f191660200190565b9291926102e6826102bf565b916102f4604051938461026f565b8294818452818301116101c5578281602093846000960137010152565b9080601f830112156101c55781602061032c933591016102da565b90565b60a4359060ff821682036101c557565b60e435906001600160a01b03821682036101c557565b61012435906001600160a01b03821682036101c557565b600435906001600160a01b03821682036101c557565b606435906001600160a01b03821682036101c557565b60c435906001600160a01b03821682036101c557565b602435906001600160a01b03821682036101c557565b35906001600160a01b03821682036101c557565b9181601f840112156101c5578235916001600160401b0383116101c557602083818601950101116101c557565b60005b8381106104185750506000910152565b8181015183820152602001610408565b9060209161044181518092818552858086019101610405565b601f01601f1916010190565b61032c939260609215158252151560208201528160408201520190610428565b346101c5576101403660031901126101c5576001600160401b036044358181116101c55761049f903690600401610311565b903660a4116101c5576104b061032f565b6104b861033f565b610104359283116101c557610502936104d86104f39436906004016103d8565b9290916104e3610355565b9460c43591602435600435611801565b6040939193519384938461044d565b0390f35b346101c55760203660031901126101c55760206105406001600160a01b0361052c61036c565b1660005260a5602052604060002054151590565b6040519015158152f35b346101c55760203660031901126101c55761056361036c565b6001600160a01b037f0000000000000000000000005427ddf5e255609dc061b1e46f032d337ea3abad8116919061059c30841415611287565b6105b960008051602061378d8339815191529382855416146112e8565b6105c161122f565b604051906105ce826101fe565b600082527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561060a575050610608915061145d565b005b6020600491604094939451928380926352d1902d60e01b825286165afa60009181610665575b506106525760405162461bcd60e51b81528061064e6004820161140e565b0390fd5b6106089361066091146113b0565b6115a9565b61068791925060203d811161068e575b61067f818361026f565b810190611395565b9038610630565b503d610675565b6020908160408183019282815285518094520193019160005b8281106106bc575050505090565b83516001600160a01b0316855293810193928101926001016106ae565b346101c557600080600319360112610763576106f361122f565b60a480549061070182611abc565b92805b83811061071957604051806105028782610695565b8282527fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d81015461075e91906001600160a01b03166107588288611b58565b52611afa565b610704565b80fd5b60403660031901126101c55761077a61036c565b6024356001600160401b0381116101c557610799903690600401610311565b6001600160a01b037f0000000000000000000000005427ddf5e255609dc061b1e46f032d337ea3abad81169291906107d330851415611287565b6107f060008051602061378d8339815191529482865416146112e8565b6107f861122f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561082e575050610608915061145d565b6020600491604094939451928380926352d1902d60e01b825286165afa60009181610885575b506108725760405162461bcd60e51b81528061064e6004820161140e565b6106089361088091146113b0565b6114ed565b61089e91925060203d811161068e5761067f818361026f565b9038610854565b346101c55760003660031901126101c5577f0000000000000000000000005427ddf5e255609dc061b1e46f032d337ea3abad6001600160a01b031630036108ff5760405160008051602061378d8339815191528152602090f35b60405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608490fd5b346101c5576000806003193601126107635761098461122f565b606680546001600160a01b031990811690915560348054918216905581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b90604051916109e08361021e565b8260849182116101c5576004905b8282106109fa57505050565b81358152602091820191016109ee565b9060405191610a1883610239565b8260a49182116101c5576064905b828210610a3257505050565b8135815260209182019101610a26565b80606312156101c55760405190610a588261021e565b8160c49182116101c5576044905b828210610a735750505090565b8135815260209182019101610a66565b346101c55760803660031901126101c55736602312156101c557610aa6366109d2565b610aae61122f565b60005b60048110610af1576040514281527fab64e693b3246a5dd2ca1a4d203b28b6cf2810200ad28db25547f16f628db99b90602090a160405160018152602090f35b60019060208351930192816098015501610ab1565b346101c55760203660031901126101c557610b1f61036c565b610b2761122f565b6001600160a01b0316610b398161202f565b15610b6b5760207f51d1da07b53e9e891183bcac2db516d37cdd36670f300b5620ef5ee154c56c4091604051908152a1005b60405162461bcd60e51b815260206004820152602c60248201527f46726565204e6f6465206e6f742077686974656c6973746564206f7220616c7260448201526b1958591e481c995b5bdd995960a21b6064820152608490fd5b346101c55760003660031901126101c557606654336001600160a01b0390911603610bf357610608336111d9565b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b634e487b7160e01b600052603260045260246000fd5b346101c55760203660031901126101c55760043560048110156101c55760209060980154604051908152f35b346101c55760003660031901126101c5576034546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c557610cce61036c565b610cd661122f565b6001600160a01b038116600081815260a56020526040902054610d41577febe89dbcc7f3b20123498d99bb8812126d6d6090ba03adf671287eb1c462a5cd91610d21610d3c92611e71565b506040516001600160a01b0390911681529081906020820190565b0390a1005b606460405162461bcd60e51b815260206004820152602060248201527f46726565204e6f646520697320616c72656164792077686974656c69737465646044820152fd5b346101c55760e03660031901126101c5576024356001600160401b0381116101c557366023820112156101c557610dc69036906024816004013591016102da565b6044359060ff821682036101c55761060891610de0610382565b91610de9610398565b9260a4359260843592600435611d64565b346101c55760003660031901126101c5576020609c54604051908152f35b346101c5576101203660031901126101c557610e326103ae565b610e90610e3e36610a42565b9160015492610e6460ff8560081c161580958196610f12575b8115610ef2575b50613603565b83610e76600160ff1981541617600155565b610ed9575b610104359160e4359160c435916004356136c6565b610e9657005b610ea661ff001960015416600155565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498908060208101610d3c565b610eed61010061ff00196001541617600155565b610e7b565b303b15915081610f04575b5038610e5e565b6001915060ff161438610efd565b600160ff8216109150610e57565b346101c55760003660031901126101c557609d546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c557610f6261036c565b610f6a61122f565b803b15611000576001600160a01b03811615610fa157609e80546001600160a01b0319166001600160a01b03909216919091179055005b60405162461bcd60e51b815260206004820152603160248201527f4465706f73697420636f6e747261637420616464726573732063616e6e6f742060448201527062652061207a65726f206164647265737360781b6064820152608490fd5b60405162461bcd60e51b815260206004820152602660248201527f4465706f73697420636f6e747261637420616464726573732063616e6e6f7420604482015265626520454f4160d01b6064820152608490fd5b346101c55760003660031901126101c5576066546040516001600160a01b039091168152602090f35b6001600160401b0381116102195760051b60200190565b346101c5576020806003193601126101c5576004356001600160401b0381116101c557366023820112156101c5578060040135906110d18261107d565b916110df604051938461026f565b80835260248484019160051b830101913683116101c557602401905b82821061110b5761060884611eed565b848091611117846103c4565b8152019101906110fb565b346101c55760203660031901126101c55761113b61122f565b60043560a155005b346101c55760003660031901126101c557609e546040516001600160a01b039091168152602090f35b346101c55760203660031901126101c55761118561036c565b61118d61122f565b606680546001600160a01b0319166001600160a01b039283169081179091556034549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b6bffffffffffffffffffffffff60a01b90816066541660665560345460018060a01b038092168093821617603455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b6034546001600160a01b0316330361124357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b1561128e57565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b6064820152608490fd5b156112ef57565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b6163746976652070726f787960a01b6064820152608490fd5b604051906113568261021e565b6060808352366020840137565b9061136d826102bf565b61137a604051918261026f565b828152809261138b601f19916102bf565b0190602036910137565b908160209103126101c5575190565b6040513d6000823e3d90fd5b156113b757565b60405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608490fd5b60809060208152602e60208201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960408201526d6f6e206973206e6f74205555505360901b60608201520190565b803b156114925760008051602061378d83398151915280546001600160a01b0319166001600160a01b03909216919091179055565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b906114f78261145d565b6001600160a01b0382167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906115a1575b611539575050565b61159e916000806040519361154d85610254565b602785527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c6020860152660819985a5b195960ca1b6040860152602081519101845af46115986115fc565b9161162c565b50565b506001611531565b906115b38261145d565b6001600160a01b0382167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28051158015906115f457611539575050565b506000611531565b3d15611627573d9061160d826102bf565b9161161b604051938461026f565b82523d6000602084013e565b606090565b9192901561168e5750815115611640575090565b3b156116495790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b8251909150156116a15750805190602001fd5b60405162461bcd60e51b81526020600482015290819061064e906024830190610428565b156116cc57565b60405162461bcd60e51b815260206004820152603860248201527f47656e657261746f725f53433a20476173207061796d656e742061667465722060448201527f63616c63756c6174696f6e206d757374206265207365742100000000000000006064820152608490fd5b1561173e57565b60405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0811985a5b195960921b6044820152606490fd5b91906040838203126101c557825180151581036101c557926020810151906001600160401b0382116101c5570181601f820112156101c55780516117b7816102bf565b926117c5604051948561026f565b818452602082840101116101c55761032c9160208085019101610405565b61032c93926060928252151560208201528160408201520190610428565b9896909192939597949760026000541461190a57611848988a97600096879661183c96600289555a9b61183760a15415156116c5565b611bd9565b96909460a15490613746565b60405163b267cfa360e01b602082019081526001600160a01b03861660248301526044808301939093529181529061188160648361026f565b609e5483906001600160a01b03169251925af19461189d6115fc565b506118a786611737565b7f21871ec92b769811544a391a1f65a1c7d69e6d90952c31d3e3415cb63fbc5faa6118db6020875188010160208801611774565b6040516001600160a01b03909516949182916118f89142846117e3565b0390a36119056001600055565b929190565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b1561195657565b60405162461bcd60e51b815260206004820152601c60248201527f46726565206e6f6465206973206e6f742077686974656c6973746564000000006044820152606490fd5b156119a257565b606460405162461bcd60e51b815260206004820152602060248201527f4e6f6e63652068617320616c7265616479206265656e2070726f6365737365646044820152fd5b908060209392818452848401376000828201840152601f01601f1916010190565b9897969260ff90611a48969360c09896938c5260208c01521660408a0152606089015260018060a01b0316608088015260e060a088015260e08701916119e6565b930152565b602081519101519060208110611a61575090565b6000199060200360031b1b1690565b15611a7757565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742076657269667920746865206d657373616765000000000000006044820152606490fd5b90611ac68261107d565b611ad3604051918261026f565b828152809261138b601f199161107d565b634e487b7160e01b600052601160045260246000fd5b6000198114611b095760010190565b611ae4565b9060018201809211611b0957565b6020019081602011611b0957565b9060408201809211611b0957565b9060048201809211611b0957565b60609160406064833760408201520190565b8051821015611b6c5760209160051b010190565b610c4a565b909594929391936080820196825260209660808884015285518091528760a0840196019060005b818110611bc5575050506001600160a01b0316604082015280840360609091015292935061032c926119e6565b825188529689019691890191600101611b98565b97969092958895949633611bfa9060005260a5602052604060002054151590565b611c039061194f565b611c178760005260a3602052604060002090565b5460ff1615611c259061199b565b60a05493876040998a5197889187878c60209b898d880198611c47978a611a07565b0396601f19978881018252611c5c908261026f565b519020611c6882611a4d565b14611c7290611a70565b611c7b906121c6565b60ff1694611c8886611abc565b9560005b818110611d1557505093600097959293611cd589989695611ce1948a97611cba609d5460018060a01b031690565b9a5197889586019a63079e10f760e51b8c5260248701611b71565b0390810183528261026f565b51925af1611d11611d04611cf36115fc565b9460005260a3602052604060002090565b805460ff19166001179055565b9190565b611d56919293949596979850611d2a81611b0e565b8a51611d4981611d3d8b82019485611b46565b038b810183528261026f565b519020610758828b611b58565b908a97969594939291611c8c565b9390919495929560018060a01b039081609d54163303611dde577f530d223c88b5b70423fe96e7b61c407e813101dbc76a2884e27bf292239018fa94829160a0549460ff611dc4604051988998895260a060208a015260a0890190610428565b9a16604087015260608601526080850152169616940390a4565b60405162461bcd60e51b815260206004820152602e60248201527f4f6e6c7920726f7574657220636f6e74726163742063616e206578656375746560448201526d103a3434b990333ab731ba34b7b760911b6064820152608490fd5b60a454811015611b6c5760a46000527fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d0190600090565b8060005260a560205260406000205415600014611ee75760a4546801000000000000000081101561021957600181018060a455811015611b6c5781907fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8d015560a4549060005260a5602052604060002055600190565b50600090565b611ef561122f565b611eff8151611abc565b60005b8251811015611f7e57611f46906001600160a01b03611f3a81611f258488611b58565b511660005260a5602052604060002054151590565b15611f4b575b50611afa565b611f02565b611f6081611f598488611b58565b5116611e71565b50611f6b8286611b58565b5116611f778285611b58565b5238611f40565b507f2fe6aaa0bdd3eba15bfd15b8562a614e13a7d121aaba085b14d108cbe1caf8279150611fb29060405191829182610695565b0390a1565b9060008051602061376d833981519152918203918211611b0957565b60a45480156120195760001981019080821015611b6c577fe434dc35da084cf8d7e8186688ea2dacb53db7003d427af3abf351bd9d0a4e8c60009160a48352015560a455565b634e487b7160e01b600052603160045260246000fd5b600081815260a5602052604090205480156120da576000199181830191808311611b095760a454938401938411611b0957838361208a9460009603612090575b50505061207a611fd3565b60005260a5602052604060002090565b55600190565b61207a6120b8916120b06120a66120d195611e3a565b90549060031b1c90565b928391611e3a565b90919082549060031b91821b91600019901b1916179055565b5538808061206f565b5050600090565b6040519060986000835b600482106120ff575050506102bd8261021e565b60016020819285548152019301910190916120eb565b1561211c57565b60405162461bcd60e51b815260206004820152603160248201527f566572696679203a20496e636f7272656374205075626c6963206b6579206f72604482015270205369676e617475726520506f696e747360781b6064820152608490fd5b1561218257565b606460405162461bcd60e51b815260206004820152602060248201527f566572696679203a20496e636f727265637420496e707574204d6573736167656044820152fd5b60406121e5602092609c548380516121dd81610239565b369037612d29565b60806121fe6121f483516124bb565b94859301516124bb565b602061220861226f565b845181528185015182820152825186820152910151606082015260066107cf195a01fa90811561226d57612260612268916122456102bd946123c0565b60a2549061225236610a0a565b61225a6120e1565b906122ab565b919091612115565b61217b565bfe5b6040519061227c8261021e565b6080368337565b60405190612290826101fe565b6020368337565b604051906122a482610239565b6040368337565b926101806008946040602094856123aa97816122c5610290565b95805187520151828601527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c2848601527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed60608601527f275dc4a288d1afb3cbb1ac09187524c7db36395df7be3b99e673b13a075a65ec60808601527f1d9befcd05a5323e6da4d435f3b617cdb3af83285c2df711ef39c01571827f9d60a0860152805160c0860152015160e0840152858101516101008401528051610120840152606081015161014084015201516101608201526123a2612283565b958693fa1590565b6123b75751151590600190565b50600090600090565b156123c757565b60405162461bcd60e51b815260206004820152601760248201527f424c533a20626e206164642063616c6c206661696c65640000000000000000006044820152606490fd5b1561241357565b60405162461bcd60e51b815260206004820152602360248201527f6d6170546f506f696e7446543a20696e76616c6964206669656c6420656c656d604482015262195b9d60ea1b6064820152608490fd5b1561246b57565b60405162461bcd60e51b815260206004820152602260248201527f424c533a20626164206674206d617070696e6720696d706c656d656e7461746960448201526137b760f11b6064820152608490fd5b6124c3612297565b5060008051602061376d833981519152906124df82821061240c565b816124e9826125fc565b9290508161253081806004818680090893818077b3c4d79d41a91759a9e4c7e359b6b89eaec68e62effffffd830961252382888309612eed565b9781899209099009611fb7565b7759e26bcea0d48bacd4f263f1acdb5c4f5763473177fffffe0861255d85600381848181800909086125fc565b81906125e75750508460016125729208611fb7565b61258585600381848181800909086125fc565b81906125e75750505060018483816125b295818087819809800909090892600381858181800909086125fc565b916125bd8293612464565b156125d7575b506125cc6102b0565b918252602082015290565b6125e19150611fb7565b386125c3565b93509391509350156125d757506125cc6102b0565b9060008051602061376d8339815191528080808080808080808b8180808080808080808080808080808f8180828180808080808080808080809e8180808080858180808080808087819e8280808080808681808080808080809e8180808381808080808080808089819e828080808080808080808080808d819e8280808080808080888180808080809e8180808080808080888180808080809e818080808080808080808a818080809e818080808080808080808a818080809e8180808080808080808981808080809e8180808080808681808080808080809e8180808080858180808080808080809e8180808084818080808080808080809e8180808084818080808080808080809e81808080808080808080809a8180808080808080808080808c818080808080808080808a818080808080808080808080808d81808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d8181800909090980098009800980098180878181800909918009098009800980090980098009800980090980098009800981808c818082800991818082800991818180090909099181808280099180090909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808b81818009099180090980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918180828009918009090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c818180090909918009098009800980098009800980090980098009800980098009818080808c8009818d818180090909818c8180828181800909918181800909090991818082800991800909098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d8181800909090991800909800980098009928180828009918181800909099180090980098009800981808d8180828181800909918180828181800909918181800909090991818082800991800909098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d818082800991818180090909099180090980098009800980098180808780098188818180090909918009098009800909800980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099181808280099180090909800980098009800980090980098009800980098009800909800980098009800992818180090991800909800980098009800980098009800980098180808c818082800991818180090909818d8180828181800909918181800909090991800909800980098180888181800909918009098009800992818180090991800909800980098009800980098009800981808d8180808381818009098184818180090909918180828181800909918180828181800909918181800909090909918009098009800980098180808a818180090981808c8181800909818d818180090909099180090980098009800992818080838181800909818481818009090991818082818180090991818082818180090991818180090909090991800909800980098180808c8009818d8181800909099180090980098009800980098180808781818009098180898181800909818a818180090909099180090980099160008051602061376d8339815191528380091490565b919091604090818051612d3b81610239565b369037835191612d62612d5d612d58612d5386611b1c565b611b2a565b611b38565b611363565b90612d6b611349565b9360005b818110612ec05750608394959650820160006060820153606060618201536000606282015383606382015260209485910153836000825180612db18187612ed6565b039060025afa15612ebb57600051916042815284810191838352808201926001845360418301958087526061840190888253886000855180612df3818a612ed6565b039060025afa15612ebb57600051808a8c01528718835260028653808852888253886000855180612e24818a612ed6565b039060025afa15612ebb5788976003612e55978a958760009b8f8d5192839101521890525352535191828092612ed6565b039060025afa15612ebb5760005180606084015260018060c01b03928360188201511690846048816030840151169201511691612e906102b0565b9560008051602061376d8339815191529485809481600160c01b809609088852169209089082015290565b6113a4565b80602080928a0101516060828701015201612d6f565b90612ee960209282815194859201610405565b0190565b8060008051602061376d833981519152808080808080808881808080809e8180808080808080808981808080809e8180808080808080888180808080809e8180808080808080888180808080809e8181818080808080808781808080809e8180808080808681808080808080809e8181818080808080808080808080809e8181818080808080808080898180809e81808080808080808080808b8180809e818080808080808080808080808d819e828080808080808080808080808d819e8280808080808080808080808c81809e8180808080808080808981808080809e8180808080808080888180808080809e8180808080808087818080808080809e8180808080808087818080808080809e81808080808080808080808080809d8180808080808080808080808c818080808080808080808a818080808080808080808080808d81808080808581808080808080808080808b8181800909818c81818009090981808c8181800909818d8181800909090980098009800980098180878181800909918009098009800980090980098009800980090980098009800981808c818082800991818082800991818180090909099181808280099180090909800980098009800981808088800981808a8009818b8181800909090991800909800980098009098009800980098180808a800981808c8009818d8181800909090991800909800980098009800980090980098009800981808b81818009099180090980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918180828009918009090980098009800980098009800980098009800981808d818082800991818180090909918009098009800980098180898181800909918009098009800980099281808280099181808280099181818009090909918009098009800980098009800980098180808b8009818c818180090909918009098009800980098009800980090980098009800980098009818080808c8009818d818180090909818c8180828181800909918181800909090991818082800991800909098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800981808d818082800991818180090909918009098009800980098009800980098009928181800909918009098009800980098009800980098009800992818082800991818180090909918009098009800981808d818180090991800909800980098009800980098009800992818080838009818481818009090991818082818180090991818180090909099180090980098009800981808d81808083800981848181800909099181808281818009099181818009090909918009098009800980098009818080898009818a8181800909099180090980098009928180828009918180828009918181800909090991800909800980098009800980098009800980098009818080808b8009818c81818009090981808c8181800909818d8181800909090991800909800980098009928180828009918181800909099180090980098009800981808d8180828181800909918180828181800909918181800909090991818082800991800909098009800980098009800980098180808088800981898181800909098180898181800909818a81818009090909918009098009800909800980098009800980098009928180828009918180828009918181800909090991800909800980098009800980098180808c8009818d818082800991818180090909099180090980098009800980098180808780098188818180090909918009098009800909800980098009800980098009928180808381818009098184818180090909918180828009918180828009918181800909090909918009098009800980098009818080808b8181800909818c81818009090981808c8181800909818d8180828181800909918181800909090909918180828009918009090980098009800980098009098009800980098009800980090980098009800980099281818009099180090980098009800980098009800980098009818080808a8009818b81818009090981808b8181800909818c818180090909099180090980098009928181800909918009098009800981808d81818009099180090980098009800980098009800980099281808083818180090981848181800909099181808281818009099181808281818009099181818009090909099180090980098009800981808d8180828181800909918180828181800909918181800909090991800909800980098009818080808b8181800909818c81818009090981808c8181800909818d81808281818009099181818009090909099180090980098009818080878009818881818009090991800909800980090980098009800980098009928180828009918181800909099180090990565b1561360a57565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b1561366d57565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b90916001906136ed60ff835460081c166136df81613666565b6136e881613666565b613666565b6136f6336111d9565b60005b6004811061373257505050609c5560018060a01b03166bffffffffffffffffffffffff60a01b609d541617609d5560a05560a25560a155565b8290602083519301928160980155016136f9565b8101809111611b09575a8103908111611b0957803a02903a8204143a151715611b09579056fe30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca2646970667358221220079fbe16f60e0f6920b918214abb6dd89b6e7685306b35973e22a772fc12095b64736f6c63430008130033

Deployed Bytecode Sourcemap

475:1834:21:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;475:1834:21;;;;;1186:25:20;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;1275:41:20;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;;;;;475:1834:21;;;;;;-1:-1:-1;;475:1834:21;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;475:1834:21;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;-1:-1:-1;;;;;475:1834:21;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;475:1834:21;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;475:1834:21;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;475:1834:21;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;4959:55:15;-1:-1:-1;;;;;475:1834:21;;:::i;:::-;;-1:-1:-1;475:1834:21;2891:12:15;475:1834:21;;;-1:-1:-1;475:1834:21;;2891:24:15;;2795:127;;4959:55;475:1834:21;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;-1:-1:-1;;;;;1654:6:9;475:1834:21;;;;1629:80:9;1645:4;1637:23;;;1629:80;:::i;:::-;1719:87;-1:-1:-1;;;;;;;;;;;475:1834:21;;;;;1727:30:9;1719:87;:::i;:::-;1303:62:1;;:::i;:::-;475:1834:21;;;;;;:::i;:::-;-1:-1:-1;475:1834:21;;689:66:7;;475:1834:21;;689:66:7;;;2993:17;;;;;;:::i;:::-;475:1834:21;2906:504:7;475:1834:21;3046:52:7;475:1834:21;;;;;;689:66:7;;;;;;;3046:52;;475:1834:21;;3046:52:7;;-1:-1:-1;;3046:52:7;;;2906:504;-1:-1:-1;3042:291:7;;475:1834:21;;-1:-1:-1;;;3262:56:7;;475:1834:21;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::-;;;;;475:1834:21;3046:52:7;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;1303:62:1;;:::i;:::-;15794:20:20;475:1834:21;;15767:66:20;;;;:::i;:::-;15848:16;;15866:36;;;;;;475:1834:21;;;;;;;:::i;15904:6:20:-;475:1834:21;;;;;;;15904:6:20;;475:1834:21;-1:-1:-1;;;;;475:1834:21;15985:23:20;475:1834:21;15985:23:20;;:::i;:::-;475:1834:21;15904:6:20;:::i;:::-;15848:16;;475:1834:21;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1654:6:9;475:1834:21;;;;;1629:80:9;1645:4;1637:23;;;1629:80;:::i;:::-;1719:87;-1:-1:-1;;;;;;;;;;;475:1834:21;;;;;1727:30:9;1719:87;:::i;:::-;1303:62:1;;:::i;:::-;689:66:7;;475:1834:21;;689:66:7;;;2993:17;;;;;;:::i;2906:504::-;3046:52;475:1834:21;;;;;;;689:66:7;;;;;;;3046:52;;475:1834:21;;3046:52:7;;;;;;;2906:504;-1:-1:-1;3042:291:7;;475:1834:21;;-1:-1:-1;;;3262:56:7;;475:1834:21;3262:56:7;475:1834:21;3262:56:7;;;:::i;3042:291::-;3389:9;3148:28;3140:82;3148:28;;3140:82;:::i;:::-;3389:9;:::i;3046:52::-;;;;;;;;;;;;;;;:::i;:::-;;;;;475:1834:21;;;;;;-1:-1:-1;;475:1834:21;;;;2089:6:9;-1:-1:-1;;;;;475:1834:21;2080:4:9;2072:23;475:1834:21;;;;-1:-1:-1;;;;;;;;;;;475:1834:21;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1303:62:1;;:::i;:::-;1859:20:0;475:1834:21;;-1:-1:-1;;;;;;475:1834:21;;;;;;2758:6:1;475:1834:21;;;;;;;;;-1:-1:-1;;;;;475:1834:21;2806:40:1;475:1834:21;;2806:40:1;475:1834:21;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;;;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;-1:-1:-1;475:1834:21;;;;;;;;16492:15:20;475:1834:21;;16475:33:20;;475:1834:21;;16475:33:20;475:1834:21;;16525:4:20;475:1834:21;;;;;;;;;;;;;;;16438:22:20;475:1834:21;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;-1:-1:-1;;;;;475:1834:21;4790:53:15;475:1834:21;4790:53:15;:::i;:::-;475:1834:21;;;;14882:45:20;475:1834:21;;;;;;14882:45:20;475:1834:21;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;1202:13:0;475:1834:21;929:10:4;-1:-1:-1;;;;;475:1834:21;;;2109:24:0;475:1834:21;;2208:6:0;929:10:4;2208:6:0;:::i;475:1834:21:-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;;877:27:20;;;;;475:1834:21;;877:27:20;475:1834:21;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;1513:6:1;475:1834:21;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;-1:-1:-1;;;;;475:1834:21;;-1:-1:-1;475:1834:21;;;2891:12:15;475:1834:21;;;;;;;;13444:36:20;4520:50:15;;13444:36:20;4520:50:15;;:::i;:::-;-1:-1:-1;475:1834:21;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;13444:36:20;;;;475:1834:21;;;;;3262:56:7;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;475:1834:21;;;;;931:21:20;475:1834:21;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;4801:574:20;475:1834:21;;;:::i;:::-;;3302:13:2;475:1834:21;;3325:201:2;475:1834:21;;;;;3301:14:2;3347:34;;;;;;475:1834:21;3346:108:2;;;;475:1834:21;3325:201:2;;:::i;:::-;3536:16;;3302:13;475:1834:21;;;;;;3302:13:2;475:1834:21;;3536:16:2;3562:65;;475:1834:21;;;;;;;;;;;;4801:574:20;:::i;:::-;3647:99:2;;475:1834:21;3647:99:2;3681:21;475:1834:21;;3302:13:2;475:1834:21;;3302:13:2;475:1834:21;;3681:21:2;475:1834:21;;16525:4:20;475:1834:21;;3721:14:2;;475:1834:21;;;;3721:14:2;475:1834:21;3562:65:2;3596:20;475:1834:21;;;3302:13:2;475:1834:21;;;3302:13:2;475:1834:21;;3596:20:2;3562:65;;3346:108;3426:4;1702:19:10;:23;;-1:-1:-1;1702:23:10;3387:66:2;;3346:108;;;;;3387:66;3302:13;475:1834:21;;;;3436:17:2;3387:66;;;3347:34;3302:13;475:1834:21;;;3365:16:2;;-1:-1:-1;3347:34:2;;475:1834:21;;;;;;-1:-1:-1;;475:1834:21;;;;1003:34:20;475:1834:21;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;1702:19:10;;:23;475:1834:21;;-1:-1:-1;;;;;475:1834:21;;16971:27:20;475:1834:21;;17083:31:20;475:1834:21;;-1:-1:-1;;;;;;475:1834:21;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;1202:13:0;475:1834:21;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13784:565:20;;;:::i;475:1834:21:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;1303:62:1;;:::i;:::-;475:1834:21;;5645:36:20;475:1834:21;;;;;;;;-1:-1:-1;;475:1834:21;;;;1044:30:20;475:1834:21;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;:::i;:::-;1303:62:1;;:::i;:::-;1504:24:0;475:1834:21;;-1:-1:-1;;;;;;475:1834:21;-1:-1:-1;;;;;475:1834:21;;;;;;;;;1513:6:1;475:1834:21;;;;1543:43:0;-1:-1:-1;;1543:43:0;475:1834:21;1777:153:0;475:1834:21;;;;;1859:20:0;475:1834:21;;1859:20:0;475:1834:21;2758:6:1;475:1834:21;;;;;;;;;;;;;;2758:6:1;475:1834:21;;2806:40:1;1859:20:0;2806:40:1;;1777:153:0:o;1599:130:1:-;1513:6;475:1834:21;-1:-1:-1;;;;;475:1834:21;929:10:4;1662:23:1;475:1834:21;;1599:130:1:o;475:1834:21:-;;;;3262:56:7;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;:::i;:::-;8949:2:12;475:1834:21;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;689:66:7:-;;;;;;;;;;;:::o;:::-;475:1834:21;;689:66:7;;;;;;;;;;;:::o;:::-;475:1834:21;;-1:-1:-1;;;689:66:7;;;;;;;;;;;475:1834:21;689:66:7;475:1834:21;;;689:66:7;-1:-1:-1;;;689:66:7;;;;;;;;;;;;;;;;;475:1834:21;689:66:7;475:1834:21;;;689:66:7;-1:-1:-1;;;689:66:7;;;;;;:::o;1406:259::-;1702:19:10;;:23;475:1834:21;;-1:-1:-1;;;;;;;;;;;475:1834:21;;-1:-1:-1;;;;;;475:1834:21;-1:-1:-1;;;;;475:1834:21;;;;;;;;;1406:259:7:o;475:1834:21:-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;2057:265:7;;1856:17;;;:::i;:::-;-1:-1:-1;;;;;475:1834:21;;1889:27:7;;;;475:1834:21;;2208:15:7;;;:28;;;2057:265;2204:112;;2057:265;;:::o;2204:112::-;7307:69:10;475:1834:21;1889:27:7;475:1834:21;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;7265:25:10;;;;;;;;;:::i;:::-;7307:69;;:::i;:::-;;2057:265:7:o;2208:28::-;;475:1834:21;2208:28:7;;2057:265;;1856:17;;;:::i;:::-;-1:-1:-1;;;;;475:1834:21;;1889:27:7;3321:1:9;;1889:27:7;475:1834:21;;2208:15:7;;;:28;;;2204:112;;2057:265;;:::o;2208:28::-;;3321:1:9;2208:28:7;;475:1834:21;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;475:1834:21;;;;:::o;:::-;;;:::o;7671:628:10:-;;;;7875:418;;;475:1834:21;;;7906:22:10;7902:286;;8201:17;;:::o;7902:286::-;1702:19;:23;475:1834:21;;8201:17:10;:::o;475:1834:21:-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;7875:418:10;475:1834:21;;;;-1:-1:-1;8980:21:10;:17;;9152:142;;;;;;;8976:379;475:1834:21;;-1:-1:-1;;;9324:20:10;;475:1834:21;9324:20:10;;;475:1834:21;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;475:1834:21;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;6545:1973:20:-;;;;;;;;;;;1759:1:19;475:1834:21;;2468:19:19;1759:1;;7474:106:20;475:1834:21;;;;;;;7217:212:20;475:1834:21;1759:1:19;475:1834:21;;7013:9:20;475:1834:21;7032:134:20;7053:26;475:1834:21;7053:31:20;;7032:134;:::i;:::-;7217:212;:::i;:::-;475:1834:21;;;7053:26:20;475:1834:21;7474:106:20;;:::i;:::-;475:1834:21;;-1:-1:-1;;;8004:123:20;;;;;;-1:-1:-1;;;;;475:1834:21;;8004:123:20;;;475:1834:21;;;;;;;;;8004:123:20;;;475:1834:21;8004:123:20;475:1834:21;;8004:123:20;:::i;:::-;8172:15;475:1834:21;;;-1:-1:-1;;;;;475:1834:21;8164:53:20;;;;;;;;:::i;:::-;;8227:40;;;:::i;:::-;8366:83;8320:31;8004:123;475:1834:21;;8320:31:20;;;8004:123;8320:31;;;:::i;:::-;475:1834:21;;-1:-1:-1;;;;;475:1834:21;;;;;;;8366:83:20;;8411:15;475:1834:21;8366:83:20;:::i;:::-;;;;2292:1:19;1716;2809:22;475:1834:21;2629:209:19;2292:1;6957:12:20;;6545:1973;:::o;1759:1:19:-;475:1834:21;;-1:-1:-1;;;1759:1:19;;;;;;;;;;;475:1834:21;1759:1:19;475:1834:21;;;1759:1:19;475:1834:21;;1759:1:19;475:1834:21;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;3262:56:7;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;475:1834:21;;;;;;;;-1:-1:-1;;475:1834:21;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;475:1834:21;;;;;;;:::o;:::-;;:::i;:::-;;11149:1:20;475:1834:21;;;;;;;:::o;:::-;8893:2:12;475:1834:21;;;8893:2:12;475:1834:21;;;:::o;:::-;;;;;;;;;;:::o;:::-;;8908:1:12;475:1834:21;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;475:1834:21;;;;;;;;;;;;;;;-1:-1:-1;475:1834:21;;;:::i;:::-;;;;;;;;;;;;;;;;;9656:1873:20;;;;;;;;;;10020:10;4959:55:15;;-1:-1:-1;475:1834:21;2891:12:15;475:1834:21;;;-1:-1:-1;475:1834:21;;2891:24:15;;2795:127;;4959:55;9977:108:20;;;:::i;:::-;10104:17;;475:1834:21;;10104:9:20;475:1834:21;;;;;;;10104:17:20;689:66:7;475:1834:21;;10103:18:20;10095:63;;;:::i;:::-;10409:10;475:1834:21;;;;;;;10322:180:20;;;;;;;;;;;;;;;;;:::i;:::-;;475:1834:21;;;10322:180:20;;;;;;;;;;:::i;:::-;475:1834:21;10537:23:20;;10609:17;;;:::i;:::-;10591:35;10570:107;;;:::i;:::-;10757:10;;;:::i;:::-;475:1834:21;;10965:24:20;;;;:::i;:::-;11004:16;-1:-1:-1;11022:16:20;;;;;;475:1834:21;;;-1:-1:-1;475:1834:21;;;;11260:185:20;475:1834:21;;;;11260:185:20;475:1834:21;;;;11222:19:20;475:1834:21;;;;;;;;;;;;11260:185:20;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;11222:233;;;;11466:24;:17;11222:233;;:::i;:::-;11466:17;475:1834:21;;10104:9:20;475:1834:21;;;;;;;11466:17:20;475:1834:21;;-1:-1:-1;;475:1834:21;11149:1:20;475:1834:21;;;;11466:24:20;11500:22;9656:1873;:::o;11040:6::-;;11142:8;;;;;;;;;;;;:::i;:::-;475:1834:21;;11113:38:20;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;475:1834:21;11103:49:20;;11062:104;;;;:::i;11040:6::-;11004:16;;;;;;;;;;;12235:653;;;;;;;;475:1834:21;;;;;;;12536:19:20;475:1834:21;;12522:10:20;:33;475:1834:21;;12642:239:20;475:1834:21;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12642:239:20;;;;12235:653::o;475:1834:21:-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;14750:20:20;475:1834:21;;;;;;14750:20:20;-1:-1:-1;475:1834:21;;;;-1:-1:-1;475:1834:21;:::o;725:404:15:-;475:1834:21;-1:-1:-1;475:1834:21;2891:12:15;475:1834:21;;;-1:-1:-1;475:1834:21;;2891:24:15;804:319;475:1834:21;;;15368:20:20;475:1834:21;;;;;;;2891:12:15;475:1834:21;;;15368:20:20;475:1834:21;;;;;;;;;;;15368:20:20;475:1834:21;;-1:-1:-1;475:1834:21;2891:12:15;475:1834:21;;;-1:-1:-1;475:1834:21;;2891:12:15;1058:11;:::o;804:319::-;1100:12;-1:-1:-1;1100:12:15;:::o;1303:62:1:-;;;:::i;:::-;13942:38:20;475:1834:21;;13942:38:20;:::i;:::-;14010:1;14045:6;475:1834:21;;14013:30:20;;;;;14045:6;;-1:-1:-1;;;;;4959:55:15;475:1834:21;14093:22:20;475:1834:21;14093:22:20;;:::i;:::-;475:1834:21;;-1:-1:-1;475:1834:21;2891:12:15;475:1834:21;;;-1:-1:-1;475:1834:21;;2891:24:15;;2795:127;;4959:55;14070:46:20;14067:195;;14045:6;;;:::i;:::-;13995:16;;14067:195;4520:50:15;14160:22:20;;;;;:::i;:::-;475:1834:21;;4520:50:15;:::i;:::-;;14225:22:20;;;;:::i;:::-;475:1834:21;;14201:46:20;;;;:::i;:::-;475:1834:21;14067:195:20;;;14013:30;;14297:45;14013:30;;14297:45;14013:30;475:1834:21;;14297:45:20;;;;;:::i;:::-;;;;1303:62:1:o;475:1834:21:-;;-1:-1:-1;;;;;;;;;;;475:1834:21;;;;;;;;:::o;:::-;14750:20:20;475:1834:21;;;;;-1:-1:-1;;475:1834:21;;;;;;;;;;;;14750:20:20;475:1834:21;;;;14750:20:20;475:1834:21;:::o;:::-;;;;;;;;;;;;1664:1050:15;-1:-1:-1;475:1834:21;;;1867:12:15;475:1834:21;;;;;;1901:15:15;;;;-1:-1:-1;;475:1834:21;;;;;;;;;;14750:20:20;475:1834:21;;;;;;;;;2045:26:15;;2609:19;2045:26;-1:-1:-1;2045:26:15;;2041:398;;1897:811;2517:15;;;;;:::i;:::-;475:1834:21;;1867:12:15;475:1834:21;;;;;;;2609:19:15;475:1834:21;1867:12:15;2643:11;:::o;2041:398::-;2233:38;:26;2111:22;475:1834:21;2111:22:15;2345:23;2111:22;;:::i;:::-;475:1834:21;;;;;;;;;2233:26:15;;;;:::i;:::-;:38;475:1834:21;;;;;;;;;;;;;;;;;;;;;2345:23:15;475:1834:21;2041:398:15;;;;;1897:811;2685:12;;-1:-1:-1;2685:12:15;:::o;475:1834:21:-;;;;17379:9:20;-1:-1:-1;475:1834:21;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;:::o;:::-;;;;3262:56:7;;;475:1834:21;;;;;;;;;;;;;;;;;;17127:544:20;475:1834:21;3728:28:12;475:1834:21;17127:544:20;17418:6;475:1834:21;;;;;;;:::i;:::-;;;;3728:28:12;:::i;:::-;4049:160;3838:16;3789;475:1834:21;;3789:16:12;:::i;:::-;475:1834:21;;;;;3838:16:12;:::i;:::-;475:1834:21;;;:::i;:::-;;;;;;;;;722:77:12;;;475:1834:21;;;722:77:12;;;475:1834:21;;;;722:77:12;;;475:1834:21;4049:160:12;-1:-1:-1;;4049:160:12;;;;;;;;17325:154:20;17490:107;4218:43:12;;17607:57:20;4218:43:12;;:::i;:::-;17449:20:20;475:1834:21;;;;;:::i;:::-;;;:::i;:::-;17325:154:20;;:::i;:::-;17490:107;;;;:::i;:::-;17607:57;:::i;4049:160:12:-;;722:77;475:1834:21;;;;;;:::i;:::-;;;722:77:12;475:1834:21;722:77:12:o;:::-;475:1834:21;;;;;;:::i;:::-;;;722:77:12;475:1834:21;722:77:12:o;:::-;475:1834:21;;;;;;:::i;:::-;;;722:77:12;475:1834:21;722:77:12:o;1287:876::-;;475:1834:21;1945:103:12;1287:876;1528:286;475:1834:21;1287:876:12;;2061:12;1287:876;475:1834:21;;;:::i;:::-;;;;;;;;1528:286:12;;;475:1834:21;368:77:12;1528:286;;;475:1834:21;486:77:12;1528:286;;;475:1834:21;604:77:12;1528:286;;;475:1834:21;722:77:12;1528:286;;;475:1834:21;;;1528:286:12;;;475:1834:21;;;1528:286:12;;;475:1834:21;722:77:12;;;475:1834:21;1528:286:12;;;475:1834:21;;;1528:286:12;;;475:1834:21;1528:286:12;722:77;;475:1834:21;1528:286:12;;;475:1834:21;722:77:12;475:1834:21;1528:286:12;;;475:1834:21;722:77:12;;:::i;:::-;1945:103;;;;2061:12;;475:1834:21;2061:12:12;2057:64;;475:1834:21;2138:11:12;;2130:26;1578:1;1287:876;:::o;2057:64::-;2089:21;1552:1;2089:21;1552:1;2089:21;:::o;475:1834:21:-;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;;;;250:77:12;;;;:::o;:::-;475:1834:21;;-1:-1:-1;;;250:77:12;;;;;;;;;;;475:1834:21;250:77:12;475:1834:21;;;250:77:12;-1:-1:-1;;;250:77:12;;;;;;;937:66;;;;:::o;:::-;475:1834:21;;-1:-1:-1;;;937:66:12;;;;;;;;;;;475:1834:21;937:66:12;475:1834:21;;;937:66:12;-1:-1:-1;;;937:66:12;;;;;;;4293:1615;475:1834:21;;:::i;:::-;;-1:-1:-1;;;;;;;;;;;4387:6:12;4379:54;4387:6;;;4379:54;:::i;:::-;4488:7;;;;:::i;:::-;4519:15;;;;4805:6;4519:15;;4560:1;4519:15;;;;4549:16;4588;;;835:66;4588:16;;7983:20;4627:17;;;;7983:20;:::i;:::-;4685:17;;;;;4717;4764:16;;4805:6;:::i;:::-;937:66;4794:21;4974:8;4853:15;4925:1;4853:15;;;;;;4883:16;4914;4974:8;:::i;:::-;4960:22;;4992:122;;5146:15;;;5156:1;5142:19;5146:15;;5142:19;:::i;:::-;5300:8;5199:15;4925:1;5199:15;;;;;;5229:16;5260;5300:8;:::i;:::-;5286:22;;5318:122;;5468:17;;;5156:1;5468:17;;;5747:8;5468:17;;;;;;;5499:15;;5528:16;5558;5588:15;5646;4925:1;5646:15;;;;;;5676:16;5707;5747:8;:::i;:::-;5733:22;5765:52;5733:22;5765:52;;:::i;:::-;5831:9;5827:51;;4293:1615;475:1834:21;;;:::i;:::-;;;;5894:7:12;;;475:1834:21;4293:1615:12;:::o;5827:51::-;5861:6;;;;:::i;:::-;5827:51;;;5318:122;5347:9;;;;;;;;5343:59;;475:1834:21;;;:::i;7746:154:12:-;;-1:-1:-1;;;;;;;;;;;7746:154:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11612:11117:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7872:15:12;-1:-1:-1;;;;;;;;;;;7872:15:12;;;:21;7746:154;:::o;8016:696::-;;;;475:1834:21;;;;;;;;:::i;:::-;;;;;;8893:7:12;8883:27;8893:16;:12;:7;;;:::i;:::-;:12;:::i;:::-;:16;:::i;:::-;8883:27;:::i;:::-;8939:13;;;:::i;:::-;8963:446;-1:-1:-1;8963:446:12;;;;;;;;;;;;;;-1:-1:-1;8949:2:12;8963:446;;;8949:2;8963:446;;;;-1:-1:-1;8963:446:12;;;;;;;;;8893:2;8963:446;;;;;475:1834:21;-1:-1:-1;475:1834:21;;;;;;;:::i;:::-;9431:12:12;;475:1834:21;9431:12:12;;;;;-1:-1:-1;9431:12:12;9496:49;9478:7;9496:49;;9554:186;;;;;;;;;;;8963:446;9554:186;;;;;;;;;8963:446;9554:186;;;;;;475:1834:21;-1:-1:-1;475:1834:21;;;;;;;:::i;:::-;9755:12:12;;475:1834:21;9755:12:12;;;;;-1:-1:-1;9755:12:12;9778:57;;;;;9844:218;;;;475:1834:21;9844:218:12;;;;;;;;475:1834:21;-1:-1:-1;475:1834:21;;;;;;;:::i;:::-;10077:12:12;;475:1834:21;10077:12:12;;;;;;;8963:446;475:1834:21;10077:12:12;;;;-1:-1:-1;10077:12:12;;;;10100:57;;;;;10166:218;;;;;;475:1834:21;;;;;;:::i;:::-;10399:12:12;;475:1834:21;10399:12:12;;;;;-1:-1:-1;10399:12:12;10422:57;8949:2;10422:57;;;475:1834:21;8269:412:12;;;;;;;;;;;;;;;;;;;;;;;;475:1834:21;;;:::i;:::-;8269:412:12;-1:-1:-1;;;;;;;;;;;8269:412:12;;;;;475:1834:21;8269:412:12;;;;;;475:1834:21;;8269:412:12;;;;8697:8;;;475:1834:21;8016:696:12;:::o;10399:12::-;;:::i;8963:446::-;;8893:2;8963:446;;;;;;8949:2;8963:446;;;;;;;;475:1834:21;;;;;;;;;;;;;:::i;:::-;;;:::o;85:11364:18:-;;-1:-1:-1;;;;;;;;;;;85:11364:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;219:11224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85:11364;:::o;475:1834:21:-;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;475:1834:21;;;;;;;;;;;;;;;;;-1:-1:-1;;;475:1834:21;;;;;;;5328:125:2;;;5374:13;475:1834:21;5366:69:2;475:1834:21;;;;;;5366:69:2;;;:::i;:::-;;;;:::i;:::-;;:::i;:::-;1195:12:1;929:10:4;1195:12:1;:::i;:::-;-1:-1:-1;475:1834:21;;;;;;;;;5146:16:20;475:1834:21;;;;;;;;;;5172:42:20;475:1834:21;;;5172:42:20;475:1834:21;;;5258:44:20;475:1834:21;5312:56:20;475:1834:21;5328:125:2:o;475:1834:21:-;;;;;;;;;;5114:22:20;475:1834:21;;;;;1525:397;475:1834;;;;;;;1871:9;475:1834;;;;;;;1802:11;;475:1834;1802:11;;475:1834;;;1802:11;475:1834;;;;;1525:397;:::o

Swarm Source

ipfs://079fbe16f60e0f6920b918214abb6dd89b6e7685306b35973e22a772fc12095b

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.