MATIC Price: $1.00 (-2.21%)
Gas: 100 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Value
Initialize Owner...357247462022-11-17 15:32:31497 days ago1668699151IN
0xC23CF0AB...9Fc0AE433
0 MATIC0.05411334401.91729704
0x60a06040357246672022-11-17 15:29:45497 days ago1668698985IN
 Create: LevelManager
0 MATIC0.55919522388.62391722

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LevelManager

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at polygonscan.com on 2022-11-17
*/

// Sources flattened with hardhat v2.9.6 https://hardhat.org

// File contracts/MultiSigOwner.sol

// SPDX-License-Identifier: LICENSED
pragma solidity ^0.7.0;
pragma abicoder v2;

// 2/3 Multi Sig Owner
contract MultiSigOwner {
    address[] public owners;
    mapping(uint256 => bool) public signatureId;
    bool private initialized;
    // events
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );
    event SignValidTimeChanged(uint256 newValue);
    modifier validSignOfOwner(
        bytes calldata signData,
        bytes calldata keys,
        string memory functionName
    ) {
        require(isOwner(msg.sender), "on");
        address signer = getSigner(signData, keys);
        require(
            signer != msg.sender && isOwner(signer) && signer != address(0),
            "is"
        );
        (bytes4 method, uint256 id, uint256 validTime, ) = abi.decode(
            signData,
            (bytes4, uint256, uint256, bytes)
        );
        require(
            signatureId[id] == false &&
                method == bytes4(keccak256(bytes(functionName))),
            "sru"
        );
        require(validTime > block.timestamp, "ep");
        signatureId[id] = true;
        _;
    }

    function isOwner(address addr) public view returns (bool) {
        bool _isOwner = false;
        for (uint256 i = 0; i < owners.length; i++) {
            if (owners[i] == addr) {
                _isOwner = true;
            }
        }
        return _isOwner;
    }

    constructor() {}

    function initializeOwners(address[3] memory _owners) public {
        require(
            !initialized &&
                _owners[0] != address(0) &&
                _owners[1] != address(0) &&
                _owners[2] != address(0),
            "ai"
        );
        owners = [_owners[0], _owners[1], _owners[2]];
        initialized = true;
    }

    function getSigner(bytes calldata _data, bytes calldata keys)
        public
        view
        returns (address)
    {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        (uint8 v, bytes32 r, bytes32 s) = abi.decode(
            keys,
            (uint8, bytes32, bytes32)
        );
        return
            ecrecover(
                toEthSignedMessageHash(
                    keccak256(abi.encodePacked(this, chainId, _data))
                ),
                v,
                r,
                s
            );
    }

    function encodePackedData(bytes calldata _data)
        public
        view
        returns (bytes32)
    {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return keccak256(abi.encodePacked(this, chainId, _data));
    }

    function toEthSignedMessageHash(bytes32 hash)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)
            );
    }

    // Set functions
    // verified
    function transferOwnership(bytes calldata signData, bytes calldata keys)
        public
        validSignOfOwner(signData, keys, "transferOwnership")
    {
        (, , , bytes memory params) = abi.decode(
            signData,
            (bytes4, uint256, uint256, bytes)
        );
        address newOwner = abi.decode(params, (address));
        uint256 index;
        for (uint256 i = 0; i < owners.length; i++) {
            if (owners[i] == msg.sender) {
                index = i;
            }
        }
        address oldOwner = owners[index];
        owners[index] = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/Manager.sol

// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.7.0;

contract Manager {
    address public immutable cardContract;

    constructor(address _cardContract) {
        cardContract = _cardContract;
    }

    /// modifier functions
    modifier onlyFromCardContract() {
        require(msg.sender == cardContract, "oc");
        _;
    }
}


// File contracts/interfaces/ICard.sol

pragma solidity ^0.7.0;

interface ICard {
    function getUserOkseBalance(address userAddr)
        external
        view
        returns (uint256);

    function getUserAssetAmount(address userAddr, address market)
        external
        view
        returns (uint256);


    function usersBalances(address userAddr, address market)
        external
        view
        returns (uint256);

    function priceOracle() external view returns (address);

}


// File contracts/libraries/SafeMath.sol

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
  /**
   * @dev Returns the addition of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `+` operator.
   *
   * Requirements:
   * - Addition cannot overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    return add(a, b, "SafeMath: addition overflow");
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a, errorMessage);

    return c;
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    return sub(a, b, "SafeMath: subtraction overflow");
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    require(b <= a, errorMessage);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Returns the multiplication of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `*` operator.
   *
   * Requirements:
   * - Multiplication cannot overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b, "SafeMath: multiplication overflow");

    return c;
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    return div(a, b, "SafeMath: division by zero");
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0, errorMessage);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    return mod(a, b, "SafeMath: modulo by zero");
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts with custom message when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
    require(b != 0, errorMessage);
    return a % b;
  }
}


// File contracts/LevelManager.sol

// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.7.0;
contract LevelManager is MultiSigOwner, Manager {
    using SafeMath for uint256;
    // current user level of each user. 1~5 level enabled.
    mapping(address => uint256) public usersLevel;
    // the time okse amount is updated
    mapping(address => uint256) public usersOkseUpdatedTime;
    // this is validation period after user change his okse balance for this contract, normally is 30 days. we set 10 mnutes for testing.
    uint256 public levelValidationPeriod;
    // daily limit contants
    uint256 public constant MAX_LEVEL = 5;
    uint256[] public OkseStakeAmounts;
    event UserLevelChanged(address userAddr, uint256 newLevel);
    event OkseStakeAmountChanged(uint256 index, uint256 _amount);
    event LevelValidationPeriodChanged(uint256 levelValidationPeriod);

    constructor(address _cardContract) Manager(_cardContract) {
        levelValidationPeriod = 1 days;
        // levelValidationPeriod = 10 minutes; //for testing
        OkseStakeAmounts = [
            5000 ether,
            25000 ether,
            50000 ether,
            100000 ether,
            250000 ether
        ];
    }

    ////////////////////////// Read functions /////////////////////////////////////////////////////////////
    function getUserLevel(address userAddr) public view returns (uint256) {
        uint256 newLevel = getLevel(
            ICard(cardContract).getUserOkseBalance(userAddr)
        );
        if (newLevel < usersLevel[userAddr]) {
            return newLevel;
        } else {
            if (
                usersOkseUpdatedTime[userAddr].add(levelValidationPeriod) <
                block.timestamp
            ) {
                return newLevel;
            } else {
                // do something ...
            }
        }
        return usersLevel[userAddr];
    }

    /**
     * @notice Get user level from his okse balance
     * @param _okseAmount okse token amount
     * @return user's level, 0~5 , 0 => no level
     */
    // verified
    function getLevel(uint256 _okseAmount) public view returns (uint256) {
        if (_okseAmount < OkseStakeAmounts[0]) return 0;
        if (_okseAmount < OkseStakeAmounts[1]) return 1;
        if (_okseAmount < OkseStakeAmounts[2]) return 2;
        if (_okseAmount < OkseStakeAmounts[3]) return 3;
        if (_okseAmount < OkseStakeAmounts[4]) return 4;
        return 5;
    }

    ///////////////// CallBack functions from card contract //////////////////////////////////////////////
    function updateUserLevel(address userAddr, uint256 beforeAmount)
        external
        onlyFromCardContract
        returns (bool)
    {
        uint256 newLevel = getLevel(
            ICard(cardContract).getUserOkseBalance(userAddr)
        );
        if (
            usersOkseUpdatedTime[userAddr].add(levelValidationPeriod) <
            block.timestamp
        ) {
            usersLevel[userAddr] = getLevel(beforeAmount);
        }

        if (newLevel != usersLevel[userAddr])
            usersOkseUpdatedTime[userAddr] = block.timestamp;
        if (newLevel == usersLevel[userAddr]) return true;
        if (newLevel < usersLevel[userAddr]) {
            usersLevel[userAddr] = newLevel;
            emit UserLevelChanged(userAddr, newLevel);
        } else {
            if (
                usersOkseUpdatedTime[userAddr].add(levelValidationPeriod) <
                block.timestamp
            ) {
                usersLevel[userAddr] = newLevel;
                emit UserLevelChanged(userAddr, newLevel);
            } else {
                // do somrthing ...
            }
        }
        return false;
    }

    //////////////////// Owner functions ////////////////////////////////////////////////////////////////
    // verified
    function setLevelValidationPeriod(
        bytes calldata signData,
        bytes calldata keys
    ) public validSignOfOwner(signData, keys, "setLevelValidationPeriod") {
        (, , , bytes memory params) = abi.decode(
            signData,
            (bytes4, uint256, uint256, bytes)
        );
        uint256 _newValue = abi.decode(params, (uint256));
        levelValidationPeriod = _newValue;
        emit LevelValidationPeriodChanged(levelValidationPeriod);
    }

    // verified
    function setOkseStakeAmount(bytes calldata signData, bytes calldata keys)
        public
        validSignOfOwner(signData, keys, "setOkseStakeAmount")
    {
        (, , , bytes memory params) = abi.decode(
            signData,
            (bytes4, uint256, uint256, bytes)
        );
        (uint256 index, uint256 _amount) = abi.decode(
            params,
            (uint256, uint256)
        );
        require(index < MAX_LEVEL, "level<5");
        OkseStakeAmounts[index] = _amount;
        emit OkseStakeAmountChanged(index, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_cardContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"levelValidationPeriod","type":"uint256"}],"name":"LevelValidationPeriodChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"OkseStakeAmountChanged","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":"newValue","type":"uint256"}],"name":"SignValidTimeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddr","type":"address"},{"indexed":false,"internalType":"uint256","name":"newLevel","type":"uint256"}],"name":"UserLevelChanged","type":"event"},{"inputs":[],"name":"MAX_LEVEL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"OkseStakeAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cardContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"encodePackedData","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_okseAmount","type":"uint256"}],"name":"getLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"bytes","name":"keys","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddr","type":"address"}],"name":"getUserLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[3]","name":"_owners","type":"address[3]"}],"name":"initializeOwners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelValidationPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"owners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signData","type":"bytes"},{"internalType":"bytes","name":"keys","type":"bytes"}],"name":"setLevelValidationPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"signData","type":"bytes"},{"internalType":"bytes","name":"keys","type":"bytes"}],"name":"setOkseStakeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"signatureId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signData","type":"bytes"},{"internalType":"bytes","name":"keys","type":"bytes"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddr","type":"address"},{"internalType":"uint256","name":"beforeAmount","type":"uint256"}],"name":"updateUserLevel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usersLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usersOkseUpdatedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b50604051620017bd380380620017bd833981016040819052620000349162000136565b606081811b6001600160601b03191660809081526201518060059081556040805160a08101825269010f0cf064dd59200000815269054b40b1f852bda000006020820152690a968163f0a57b4000009181019190915269152d02c7e14af6800000938101939093526934f086f3b33b6840000091830191909152620000bc91600691620000c4565b505062000166565b8280548282559060005260206000209081019282156200010d579160200282015b828111156200010d57825182906001600160501b0316905591602001919060010190620000e5565b506200011b9291506200011f565b5090565b5b808211156200011b576000815560010162000120565b60006020828403121562000148578081fd5b81516001600160a01b03811681146200015f578182fd5b9392505050565b60805160601c61162a62000193600039806102b55280610650528061069452806108da525061162a6000f3fe608060405234801561001057600080fd5b50600436106100f65760003560e01c8063693bd2d011610092578063693bd2d0146101cd5780636f9e4f0b146101d557806375e16b17146101e85780637a732034146101fb57806386481d401461020e578063a49062d414610221578063b2b9f0ed14610229578063b55427d61461023c578063d1f21f4f1461024f576100f6565b8063025e7c27146100fb5780631add56031461012457806321923bde146101445780632f54bf6e146101575780633c1ce665146101775780634a0692201461018a5780634ad479961461019f578063584d2165146101b257806368af81e6146101ba575b600080fd5b61010e61010936600461133e565b610262565b60405161011b919061142e565b60405180910390f35b61013761013236600461133e565b61028c565b60405161011b9190611466565b6101376101523660046110f3565b6102ad565b61016a6101653660046110f3565b6103cf565b60405161011b919061145b565b6101376101853660046110f3565b610424565b61019d6101983660046112d5565b610436565b005b61016a6101ad36600461112b565b610643565b610137610897565b6101376101c8366004611295565b61089d565b61010e6108d8565b61019d6101e3366004611156565b6108fc565b61010e6101f63660046112d5565b6109b4565b61019d6102093660046112d5565b610a5d565b61013761021c36600461133e565b610c2c565b610137610cfe565b61016a61023736600461133e565b610d03565b61013761024a3660046110f3565b610d18565b61019d61025d3660046112d5565b610d2a565b6000818154811061027257600080fd5b6000918252602090912001546001600160a01b0316905081565b6006818154811061029c57600080fd5b600091825260209091200154905081565b60008061034f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d5c2644856040518263ffffffff1660e01b81526004016102ff919061142e565b60206040518083038186803b15801561031757600080fd5b505afa15801561032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021c9190611356565b6001600160a01b0384166000908152600360205260409020549091508110156103795790506103ca565b6005546001600160a01b03841660009081526004602052604090205442916103a19190610f89565b10156103ae5790506103ca565b50506001600160a01b0381166000908152600360205260409020545b919050565b600080805b60005481101561041d57836001600160a01b0316600082815481106103f557fe5b6000918252602090912001546001600160a01b0316141561041557600191505b6001016103d4565b5092915050565b60046020526000908152604090205481565b83838383604051806040016040528060128152602001711cd95d13dadcd954dd185ad9505b5bdd5b9d60721b81525061046e336103cf565b6104935760405162461bcd60e51b815260040161048a906114e0565b60405180910390fd5b60006104a1868686866109b4565b90506001600160a01b03811633148015906104c057506104c0816103cf565b80156104d457506001600160a01b03811615155b6104f05760405162461bcd60e51b815260040161048a90611518565b60008080610500888a018a6111dc565b50600082815260016020526040902054929550909350915060ff1615801561053a5750845160208601206001600160e01b03198481169116145b6105565760405162461bcd60e51b815260040161048a9061158d565b4281116105755760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff1916909117905561059c8d8f018f6111dc565b9350505050600080828060200190518101906105b8919061136e565b91509150600582106105dc5760405162461bcd60e51b815260040161048a90611534565b80600683815481106105ea57fe5b90600052602060002001819055507fc68672618da386214d6545425b5df109ac24986bf591e2685ec5d041ded0ff1882826040516106299291906115aa565b60405180910390a150505050505050505050505050505050565b6000336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461068d5760405162461bcd60e51b815260040161048a90611571565b60006106de7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d5c2644866040518263ffffffff1660e01b81526004016102ff919061142e565b6005546001600160a01b038616600090815260046020526040902054919250429161070891610f89565b10156107315761071783610c2c565b6001600160a01b0385166000908152600360205260409020555b6001600160a01b038416600090815260036020526040902054811461076c576001600160a01b03841660009081526004602052604090204290555b6001600160a01b038416600090815260036020526040902054811415610796576001915050610891565b6001600160a01b038416600090815260036020526040902054811015610810576001600160a01b03841660009081526003602052604090819020829055517f9c3a8893d79649ee146a28a7d276157b00d5a1831429be1179c8b6374e84337d906108039086908490611442565b60405180910390a161088b565b6005546001600160a01b03851660009081526004602052604090205442916108389190610f89565b101561088b576001600160a01b03841660009081526003602052604090819020829055517f9c3a8893d79649ee146a28a7d276157b00d5a1831429be1179c8b6374e84337d906108039086908490611442565b60009150505b92915050565b60055481565b60405160009046906108b99030908390879087906020016113ca565b6040516020818303038152906040528051906020012091505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025460ff16158015610918575080516001600160a01b031615155b8015610930575060208101516001600160a01b031615155b8015610948575060408101516001600160a01b031615155b6109645760405162461bcd60e51b815260040161048a90611555565b6040805160608101825282516001600160a01b0390811682526020808501518216908301528383015116918101919091526109a3906000906003611032565b50506002805460ff19166001179055565b6000468180806109c686880188611391565b9250925092506001610a0330868c8c6040516020016109e894939291906113ca565b60405160208183030381529060405280519060200120610fd2565b84848460405160008152602001604052604051610a23949392919061146f565b6020604051602081039080840390855afa158015610a45573d6000803e3d6000fd5b5050604051601f1901519a9950505050505050505050565b83838383604051806040016040528060188152602001771cd95d13195d995b15985b1a59185d1a5bdb94195c9a5bd960421b815250610a9b336103cf565b610ab75760405162461bcd60e51b815260040161048a906114e0565b6000610ac5868686866109b4565b90506001600160a01b0381163314801590610ae45750610ae4816103cf565b8015610af857506001600160a01b03811615155b610b145760405162461bcd60e51b815260040161048a90611518565b60008080610b24888a018a6111dc565b50600082815260016020526040902054929550909350915060ff16158015610b5e5750845160208601206001600160e01b03198481169116145b610b7a5760405162461bcd60e51b815260040161048a9061158d565b428111610b995760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff19169091179055610bc08d8f018f6111dc565b9350505050600081806020019051810190610bdb9190611356565b60058190556040519091507f41a00c7eee03e61d1b60dd43612931ec2f38759d03ecdd78c75a5f012000acbc90610c13908390611466565b60405180910390a1505050505050505050505050505050565b60006006600081548110610c3c57fe5b9060005260206000200154821015610c56575060006103ca565b6006600181548110610c6457fe5b9060005260206000200154821015610c7e575060016103ca565b6006600281548110610c8c57fe5b9060005260206000200154821015610ca6575060026103ca565b6006600381548110610cb457fe5b9060005260206000200154821015610cce575060036103ca565b6006600481548110610cdc57fe5b9060005260206000200154821015610cf6575060046103ca565b506005919050565b600581565b60016020526000908152604090205460ff1681565b60036020526000908152604090205481565b838383836040518060400160405280601181526020017007472616e736665724f776e65727368697607c1b815250610d61336103cf565b610d7d5760405162461bcd60e51b815260040161048a906114e0565b6000610d8b868686866109b4565b90506001600160a01b0381163314801590610daa5750610daa816103cf565b8015610dbe57506001600160a01b03811615155b610dda5760405162461bcd60e51b815260040161048a90611518565b60008080610dea888a018a6111dc565b50600082815260016020526040902054929550909350915060ff16158015610e245750845160208601206001600160e01b03198481169116145b610e405760405162461bcd60e51b815260040161048a9061158d565b428111610e5f5760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff19169091179055610e868d8f018f6111dc565b9350505050600081806020019051810190610ea1919061110f565b90506000805b600054811015610eef57336001600160a01b031660008281548110610ec857fe5b6000918252602090912001546001600160a01b03161415610ee7578091505b600101610ea7565b506000808281548110610efe57fe5b600091825260208220015481546001600160a01b03909116925084919084908110610f2557fe5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051858316928416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050505050505050505050505050505050565b6000610fcb83836040518060400160405280601b81526020017f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815250611002565b9392505050565b600081604051602001610fe591906113fd565b604051602081830303815290604052805190602001209050919050565b600083830182858210156110295760405162461bcd60e51b815260040161048a919061148d565b50949350505050565b828054828255906000526020600020908101928215611087579160200282015b8281111561108757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611052565b50611093929150611097565b5090565b5b808211156110935760008155600101611098565b60008083601f8401126110bd578182fd5b50813567ffffffffffffffff8111156110d4578182fd5b6020830191508360208285010111156110ec57600080fd5b9250929050565b600060208284031215611104578081fd5b8135610fcb816115dc565b600060208284031215611120578081fd5b8151610fcb816115dc565b6000806040838503121561113d578081fd5b8235611148816115dc565b946020939093013593505050565b600060608284031215611167578081fd5b82601f830112611175578081fd5b6040516060810181811067ffffffffffffffff8211171561119257fe5b6040528083606081018610156111a6578384fd5b835b60038110156111d15781356111bc816115dc565b835260209283019291909101906001016111a8565b509195945050505050565b600080600080608085870312156111f1578182fd5b84356001600160e01b031981168114611208578283fd5b9350602085810135935060408601359250606086013567ffffffffffffffff80821115611233578384fd5b818801915088601f830112611246578384fd5b81358181111561125257fe5b611264601f8201601f191685016115b8565b91508082528984828501011115611279578485fd5b8084840185840137810190920192909252939692955090935050565b600080602083850312156112a7578182fd5b823567ffffffffffffffff8111156112bd578283fd5b6112c9858286016110ac565b90969095509350505050565b600080600080604085870312156112ea578384fd5b843567ffffffffffffffff80821115611301578586fd5b61130d888389016110ac565b90965094506020870135915080821115611325578384fd5b50611332878288016110ac565b95989497509550505050565b60006020828403121561134f578081fd5b5035919050565b600060208284031215611367578081fd5b5051919050565b60008060408385031215611380578182fd5b505080516020909101519092909150565b6000806000606084860312156113a5578283fd5b833560ff811681146113b5578384fd5b95602085013595506040909401359392505050565b60006bffffffffffffffffffffffff198660601b1682528460148301528284603484013791016034019081529392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156114b95785810183015185820160400152820161149d565b818111156114ca5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526002908201526137b760f11b604082015260600190565b602080825260029082015261065760f41b604082015260600190565b602080825260029082015261697360f01b604082015260600190565b6020808252600790820152666c6576656c3c3560c81b604082015260600190565b602080825260029082015261616960f01b604082015260600190565b6020808252600290820152616f6360f01b604082015260600190565b60208082526003908201526273727560e81b604082015260600190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156115d457fe5b604052919050565b6001600160a01b03811681146115f157600080fd5b5056fea26469706673582212204de7958d78b62e80176d9e93b213f683dc6287d852d9d0cdcf9b858ed6d4bb3464736f6c6343000706003300000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff91

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f65760003560e01c8063693bd2d011610092578063693bd2d0146101cd5780636f9e4f0b146101d557806375e16b17146101e85780637a732034146101fb57806386481d401461020e578063a49062d414610221578063b2b9f0ed14610229578063b55427d61461023c578063d1f21f4f1461024f576100f6565b8063025e7c27146100fb5780631add56031461012457806321923bde146101445780632f54bf6e146101575780633c1ce665146101775780634a0692201461018a5780634ad479961461019f578063584d2165146101b257806368af81e6146101ba575b600080fd5b61010e61010936600461133e565b610262565b60405161011b919061142e565b60405180910390f35b61013761013236600461133e565b61028c565b60405161011b9190611466565b6101376101523660046110f3565b6102ad565b61016a6101653660046110f3565b6103cf565b60405161011b919061145b565b6101376101853660046110f3565b610424565b61019d6101983660046112d5565b610436565b005b61016a6101ad36600461112b565b610643565b610137610897565b6101376101c8366004611295565b61089d565b61010e6108d8565b61019d6101e3366004611156565b6108fc565b61010e6101f63660046112d5565b6109b4565b61019d6102093660046112d5565b610a5d565b61013761021c36600461133e565b610c2c565b610137610cfe565b61016a61023736600461133e565b610d03565b61013761024a3660046110f3565b610d18565b61019d61025d3660046112d5565b610d2a565b6000818154811061027257600080fd5b6000918252602090912001546001600160a01b0316905081565b6006818154811061029c57600080fd5b600091825260209091200154905081565b60008061034f7f00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff916001600160a01b0316633d5c2644856040518263ffffffff1660e01b81526004016102ff919061142e565b60206040518083038186803b15801561031757600080fd5b505afa15801561032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021c9190611356565b6001600160a01b0384166000908152600360205260409020549091508110156103795790506103ca565b6005546001600160a01b03841660009081526004602052604090205442916103a19190610f89565b10156103ae5790506103ca565b50506001600160a01b0381166000908152600360205260409020545b919050565b600080805b60005481101561041d57836001600160a01b0316600082815481106103f557fe5b6000918252602090912001546001600160a01b0316141561041557600191505b6001016103d4565b5092915050565b60046020526000908152604090205481565b83838383604051806040016040528060128152602001711cd95d13dadcd954dd185ad9505b5bdd5b9d60721b81525061046e336103cf565b6104935760405162461bcd60e51b815260040161048a906114e0565b60405180910390fd5b60006104a1868686866109b4565b90506001600160a01b03811633148015906104c057506104c0816103cf565b80156104d457506001600160a01b03811615155b6104f05760405162461bcd60e51b815260040161048a90611518565b60008080610500888a018a6111dc565b50600082815260016020526040902054929550909350915060ff1615801561053a5750845160208601206001600160e01b03198481169116145b6105565760405162461bcd60e51b815260040161048a9061158d565b4281116105755760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff1916909117905561059c8d8f018f6111dc565b9350505050600080828060200190518101906105b8919061136e565b91509150600582106105dc5760405162461bcd60e51b815260040161048a90611534565b80600683815481106105ea57fe5b90600052602060002001819055507fc68672618da386214d6545425b5df109ac24986bf591e2685ec5d041ded0ff1882826040516106299291906115aa565b60405180910390a150505050505050505050505050505050565b6000336001600160a01b037f00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff91161461068d5760405162461bcd60e51b815260040161048a90611571565b60006106de7f00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff916001600160a01b0316633d5c2644866040518263ffffffff1660e01b81526004016102ff919061142e565b6005546001600160a01b038616600090815260046020526040902054919250429161070891610f89565b10156107315761071783610c2c565b6001600160a01b0385166000908152600360205260409020555b6001600160a01b038416600090815260036020526040902054811461076c576001600160a01b03841660009081526004602052604090204290555b6001600160a01b038416600090815260036020526040902054811415610796576001915050610891565b6001600160a01b038416600090815260036020526040902054811015610810576001600160a01b03841660009081526003602052604090819020829055517f9c3a8893d79649ee146a28a7d276157b00d5a1831429be1179c8b6374e84337d906108039086908490611442565b60405180910390a161088b565b6005546001600160a01b03851660009081526004602052604090205442916108389190610f89565b101561088b576001600160a01b03841660009081526003602052604090819020829055517f9c3a8893d79649ee146a28a7d276157b00d5a1831429be1179c8b6374e84337d906108039086908490611442565b60009150505b92915050565b60055481565b60405160009046906108b99030908390879087906020016113ca565b6040516020818303038152906040528051906020012091505092915050565b7f00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff9181565b60025460ff16158015610918575080516001600160a01b031615155b8015610930575060208101516001600160a01b031615155b8015610948575060408101516001600160a01b031615155b6109645760405162461bcd60e51b815260040161048a90611555565b6040805160608101825282516001600160a01b0390811682526020808501518216908301528383015116918101919091526109a3906000906003611032565b50506002805460ff19166001179055565b6000468180806109c686880188611391565b9250925092506001610a0330868c8c6040516020016109e894939291906113ca565b60405160208183030381529060405280519060200120610fd2565b84848460405160008152602001604052604051610a23949392919061146f565b6020604051602081039080840390855afa158015610a45573d6000803e3d6000fd5b5050604051601f1901519a9950505050505050505050565b83838383604051806040016040528060188152602001771cd95d13195d995b15985b1a59185d1a5bdb94195c9a5bd960421b815250610a9b336103cf565b610ab75760405162461bcd60e51b815260040161048a906114e0565b6000610ac5868686866109b4565b90506001600160a01b0381163314801590610ae45750610ae4816103cf565b8015610af857506001600160a01b03811615155b610b145760405162461bcd60e51b815260040161048a90611518565b60008080610b24888a018a6111dc565b50600082815260016020526040902054929550909350915060ff16158015610b5e5750845160208601206001600160e01b03198481169116145b610b7a5760405162461bcd60e51b815260040161048a9061158d565b428111610b995760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff19169091179055610bc08d8f018f6111dc565b9350505050600081806020019051810190610bdb9190611356565b60058190556040519091507f41a00c7eee03e61d1b60dd43612931ec2f38759d03ecdd78c75a5f012000acbc90610c13908390611466565b60405180910390a1505050505050505050505050505050565b60006006600081548110610c3c57fe5b9060005260206000200154821015610c56575060006103ca565b6006600181548110610c6457fe5b9060005260206000200154821015610c7e575060016103ca565b6006600281548110610c8c57fe5b9060005260206000200154821015610ca6575060026103ca565b6006600381548110610cb457fe5b9060005260206000200154821015610cce575060036103ca565b6006600481548110610cdc57fe5b9060005260206000200154821015610cf6575060046103ca565b506005919050565b600581565b60016020526000908152604090205460ff1681565b60036020526000908152604090205481565b838383836040518060400160405280601181526020017007472616e736665724f776e65727368697607c1b815250610d61336103cf565b610d7d5760405162461bcd60e51b815260040161048a906114e0565b6000610d8b868686866109b4565b90506001600160a01b0381163314801590610daa5750610daa816103cf565b8015610dbe57506001600160a01b03811615155b610dda5760405162461bcd60e51b815260040161048a90611518565b60008080610dea888a018a6111dc565b50600082815260016020526040902054929550909350915060ff16158015610e245750845160208601206001600160e01b03198481169116145b610e405760405162461bcd60e51b815260040161048a9061158d565b428111610e5f5760405162461bcd60e51b815260040161048a906114fc565b60008281526001602081905260408220805460ff19169091179055610e868d8f018f6111dc565b9350505050600081806020019051810190610ea1919061110f565b90506000805b600054811015610eef57336001600160a01b031660008281548110610ec857fe5b6000918252602090912001546001600160a01b03161415610ee7578091505b600101610ea7565b506000808281548110610efe57fe5b600091825260208220015481546001600160a01b03909116925084919084908110610f2557fe5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051858316928416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050505050505050505050505050505050565b6000610fcb83836040518060400160405280601b81526020017f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815250611002565b9392505050565b600081604051602001610fe591906113fd565b604051602081830303815290604052805190602001209050919050565b600083830182858210156110295760405162461bcd60e51b815260040161048a919061148d565b50949350505050565b828054828255906000526020600020908101928215611087579160200282015b8281111561108757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611052565b50611093929150611097565b5090565b5b808211156110935760008155600101611098565b60008083601f8401126110bd578182fd5b50813567ffffffffffffffff8111156110d4578182fd5b6020830191508360208285010111156110ec57600080fd5b9250929050565b600060208284031215611104578081fd5b8135610fcb816115dc565b600060208284031215611120578081fd5b8151610fcb816115dc565b6000806040838503121561113d578081fd5b8235611148816115dc565b946020939093013593505050565b600060608284031215611167578081fd5b82601f830112611175578081fd5b6040516060810181811067ffffffffffffffff8211171561119257fe5b6040528083606081018610156111a6578384fd5b835b60038110156111d15781356111bc816115dc565b835260209283019291909101906001016111a8565b509195945050505050565b600080600080608085870312156111f1578182fd5b84356001600160e01b031981168114611208578283fd5b9350602085810135935060408601359250606086013567ffffffffffffffff80821115611233578384fd5b818801915088601f830112611246578384fd5b81358181111561125257fe5b611264601f8201601f191685016115b8565b91508082528984828501011115611279578485fd5b8084840185840137810190920192909252939692955090935050565b600080602083850312156112a7578182fd5b823567ffffffffffffffff8111156112bd578283fd5b6112c9858286016110ac565b90969095509350505050565b600080600080604085870312156112ea578384fd5b843567ffffffffffffffff80821115611301578586fd5b61130d888389016110ac565b90965094506020870135915080821115611325578384fd5b50611332878288016110ac565b95989497509550505050565b60006020828403121561134f578081fd5b5035919050565b600060208284031215611367578081fd5b5051919050565b60008060408385031215611380578182fd5b505080516020909101519092909150565b6000806000606084860312156113a5578283fd5b833560ff811681146113b5578384fd5b95602085013595506040909401359392505050565b60006bffffffffffffffffffffffff198660601b1682528460148301528284603484013791016034019081529392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156114b95785810183015185820160400152820161149d565b818111156114ca5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526002908201526137b760f11b604082015260600190565b602080825260029082015261065760f41b604082015260600190565b602080825260029082015261697360f01b604082015260600190565b6020808252600790820152666c6576656c3c3560c81b604082015260600190565b602080825260029082015261616960f01b604082015260600190565b6020808252600290820152616f6360f01b604082015260600190565b60208082526003908201526273727560e81b604082015260600190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156115d457fe5b604052919050565b6001600160a01b03811681146115f157600080fd5b5056fea26469706673582212204de7958d78b62e80176d9e93b213f683dc6287d852d9d0cdcf9b858ed6d4bb3464736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff91

-----Decoded View---------------
Arg [0] : _cardContract (address): 0x44Ae36cB7Ec1c8B3f2560a4C6ade11610F76FF91

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000044ae36cb7ec1c8b3f2560a4c6ade11610f76ff91


Deployed Bytecode Sourcemap

10546:4919:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;243:23;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11103:33;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11807:588::-;;;;;;:::i;:::-;;:::i;1318:277::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10786:55::-;;;;;;:::i;:::-;;:::i;14895:567::-;;;;;;:::i;:::-;;:::i;:::-;;13088:1165;;;;;;:::i;:::-;;:::i;10987:36::-;;;:::i;2601:276::-;;;;;;:::i;:::-;;:::i;4064:37::-;;;:::i;1627:363::-;;;;;;:::i;:::-;;:::i;1998:595::-;;;;;;:::i;:::-;;:::i;14385:485::-;;;;;;:::i;:::-;;:::i;12586:386::-;;;;;;:::i;:::-;;:::i;11059:37::-;;;:::i;273:43::-;;;;;;:::i;:::-;;:::i;10694:45::-;;;;;;:::i;:::-;;:::i;3182:668::-;;;;;;:::i;:::-;;:::i;243:23::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;243:23:0;;-1:-1:-1;243:23:0;:::o;11103:33::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11103:33:0;:::o;11807:588::-;11868:7;11888:16;11907:82;11936:12;-1:-1:-1;;;;;11930:38:0;;11969:8;11930:48;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;11907:82::-;-1:-1:-1;;;;;12015:20:0;;;;;;:10;:20;;;;;;11888:101;;-1:-1:-1;12004:31:0;;12000:350;;;12059:8;-1:-1:-1;12052:15:0;;12000:350;12157:21;;-1:-1:-1;;;;;12122:30:0;;;;;;:20;:30;;;;;;12199:15;;12122:57;;:30;:34;:57::i;:::-;:92;12100:239;;;12256:8;-1:-1:-1;12249:15:0;;12100:239;-1:-1:-1;;;;;;;12367:20:0;;;;;;:10;:20;;;;;;11807:588;;;;:::o;1318:277::-;1370:4;;;1419:143;1443:6;:13;1439:17;;1419:143;;;1495:4;-1:-1:-1;;;;;1482:17:0;:6;1489:1;1482:9;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1482:9:0;:17;1478:73;;;1531:4;1520:15;;1478:73;1458:3;;1419:143;;;-1:-1:-1;1579:8:0;1318:277;-1:-1:-1;;1318:277:0:o;10786:55::-;;;;;;;;;;;;;:::o;14895:567::-;15011:8;;15021:4;;535:775;;;;;;;;;;;;;-1:-1:-1;;;535:775:0;;;688:19;696:10;688:7;:19::i;:::-;680:34;;;;-1:-1:-1;;;680:34:0;;;;;;;:::i;:::-;;;;;;;;;725:14;742:25;752:8;;762:4;;742:9;:25::i;:::-;725:42;-1:-1:-1;;;;;;800:20:0;;810:10;800:20;;;;:39;;;824:15;832:6;824:7;:15::i;:::-;800:63;;;;-1:-1:-1;;;;;;843:20:0;;;;800:63;778:115;;;;-1:-1:-1;;;778:115:0;;;;;;;:::i;:::-;905:13;;;955:92;;;;980:8;955:92;:::i;:::-;-1:-1:-1;1080:15:0;;;;:11;:15;;;;;;904:143;;-1:-1:-1;904:143:0;;-1:-1:-1;904:143:0;-1:-1:-1;1080:15:0;;:24;;;:93;;-1:-1:-1;1142:30:0;;;;;;-1:-1:-1;;;;;;1125:48:0;;;;;;1080:93;1058:146;;;;-1:-1:-1;;;1058:146:0;;;;;;;:::i;:::-;1235:15;1223:9;:27;1215:42;;;;-1:-1:-1;;;1215:42:0;;;;;;;:::i;:::-;1268:15;;;;1286:4;1268:15;;;;;;;:22;;-1:-1:-1;;1268:22:0;;;;;;15095:92:::1;::::0;;::::1;15120:8:::0;15095:92:::1;:::i;:::-;15065:122;;;;;15199:13;15214:15:::0;15258:6:::1;15233:75;;;;;;;;;;;;:::i;:::-;15198:110;;;;11095:1;15327:5;:17;15319:37;;;;-1:-1:-1::0;;;15319:37:0::1;;;;;;;:::i;:::-;15393:7;15367:16;15384:5;15367:23;;;;;;;;;;;;;;;:33;;;;15416:38;15439:5;15446:7;15416:38;;;;;;;:::i;:::-;;;;;;;;1301:1;;;14895:567:::0;;;;;;;;;;;;;:::o;13088:1165::-;13219:4;4279:10;-1:-1:-1;;;;;4293:12:0;4279:26;;4271:41;;;;-1:-1:-1;;;4271:41:0;;;;;;;:::i;:::-;13241:16:::1;13260:82;13289:12;-1:-1:-1::0;;;;;13283:38:0::1;;13322:8;13283:48;;;;;;;;;;;;;;;:::i;13260:82::-;13406:21;::::0;-1:-1:-1;;;;;13371:30:0;::::1;;::::0;;;:20:::1;:30;::::0;;;;;13241:101;;-1:-1:-1;13444:15:0::1;::::0;13371:57:::1;::::0;:34:::1;:57::i;:::-;:88;13353:190;;;13509:22;13518:12;13509:8;:22::i;:::-;-1:-1:-1::0;;;;;13486:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;:45;13353:190:::1;-1:-1:-1::0;;;;;13571:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;;13559:32;::::1;13555:99;;-1:-1:-1::0;;;;;13606:30:0;::::1;;::::0;;;:20:::1;:30;::::0;;;;13639:15:::1;13606:48:::0;;13555:99:::1;-1:-1:-1::0;;;;;13681:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;;13669:32;::::1;13665:49;;;13710:4;13703:11;;;;;13665:49;-1:-1:-1::0;;;;;13740:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;;13729:31;::::1;13725:498;;;-1:-1:-1::0;;;;;13777:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;;;:31;;;13828:36;::::1;::::0;::::1;::::0;13788:8;;13800;;13828:36:::1;:::i;:::-;;;;;;;;13725:498;;;13954:21;::::0;-1:-1:-1;;;;;13919:30:0;::::1;;::::0;;;:20:::1;:30;::::0;;;;;13996:15:::1;::::0;13919:57:::1;::::0;:30;:34:::1;:57::i;:::-;:92;13897:315;;;-1:-1:-1::0;;;;;14046:20:0;::::1;;::::0;;;:10:::1;:20;::::0;;;;;;:31;;;14101:36;::::1;::::0;::::1;::::0;14057:8;;14069;;14101:36:::1;:::i;13897:315::-;14240:5;14233:12;;;4323:1;13088:1165:::0;;;;:::o;10987:36::-;;;;:::o;2601:276::-;2830:38;;2697:7;;2783:9;;2830:38;;2847:4;;2783:9;;2862:5;;;;2830:38;;;:::i;:::-;;;;;;;;;;;;;2820:49;;;;;;2813:56;;;2601:276;;;;:::o;4064:37::-;;;:::o;1627:363::-;1721:11;;;;1720:12;:57;;;;-1:-1:-1;1753:10:0;;-1:-1:-1;;;;;1753:24:0;;;1720:57;:102;;;;-1:-1:-1;1798:10:0;;;;-1:-1:-1;;;;;1798:24:0;;;1720:102;:147;;;;-1:-1:-1;1843:10:0;;;;-1:-1:-1;;;;;1843:24:0;;;1720:147;1698:199;;;;-1:-1:-1;;;1698:199:0;;;;;;;:::i;:::-;1908:45;;;;;;;;1918:10;;-1:-1:-1;;;;;1908:45:0;;;;;1918:10;1930;;;;1908:45;;;;;;1942:10;;;;1908:45;;;;;;;;;;-1:-1:-1;;1908:45:0;;:::i;:::-;-1:-1:-1;;1964:11:0;:18;;-1:-1:-1;;1964:18:0;1978:4;1964:18;;;1627:363::o;1998:595::-;2108:7;2194:9;2108:7;;;2258:80;;;;2283:4;2258:80;:::i;:::-;2224:114;;;;;;2369:216;2397:113;2469:4;2475:7;2484:5;;2452:38;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2442:49;;;;;;2397:22;:113::i;:::-;2529:1;2549;2569;2369:216;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2369:216:0;;-1:-1:-1;;2369:216:0;;;1998:595;-1:-1:-1;;;;;;;;;;1998:595:0:o;14385:485::-;14514:8;;14524:4;;535:775;;;;;;;;;;;;;-1:-1:-1;;;535:775:0;;;688:19;696:10;688:7;:19::i;:::-;680:34;;;;-1:-1:-1;;;680:34:0;;;;;;;:::i;:::-;725:14;742:25;752:8;;762:4;;742:9;:25::i;:::-;725:42;-1:-1:-1;;;;;;800:20:0;;810:10;800:20;;;;:39;;;824:15;832:6;824:7;:15::i;:::-;800:63;;;;-1:-1:-1;;;;;;843:20:0;;;;800:63;778:115;;;;-1:-1:-1;;;778:115:0;;;;;;;:::i;:::-;905:13;;;955:92;;;;980:8;955:92;:::i;:::-;-1:-1:-1;1080:15:0;;;;:11;:15;;;;;;904:143;;-1:-1:-1;904:143:0;;-1:-1:-1;904:143:0;-1:-1:-1;1080:15:0;;:24;;;:93;;-1:-1:-1;1142:30:0;;;;;;-1:-1:-1;;;;;;1125:48:0;;;;;;1080:93;1058:146;;;;-1:-1:-1;;;1058:146:0;;;;;;;:::i;:::-;1235:15;1223:9;:27;1215:42;;;;-1:-1:-1;;;1215:42:0;;;;;;;:::i;:::-;1268:15;;;;1286:4;1268:15;;;;;;;:22;;-1:-1:-1;;1268:22:0;;;;;;14599:92:::1;::::0;;::::1;14624:8:::0;14599:92:::1;:::i;:::-;14569:122;;;;;14702:17;14733:6;14722:29;;;;;;;;;;;;:::i;:::-;14762:21;:33:::0;;;14811:51:::1;::::0;14702:49;;-1:-1:-1;14811:51:0::1;::::0;::::1;::::0;14702:49;;14811:51:::1;:::i;:::-;;;;;;;;1301:1;;14385:485:::0;;;;;;;;;;;;;:::o;12586:386::-;12646:7;12684:16;12701:1;12684:19;;;;;;;;;;;;;;;;12670:11;:33;12666:47;;;-1:-1:-1;12712:1:0;12705:8;;12666:47;12742:16;12759:1;12742:19;;;;;;;;;;;;;;;;12728:11;:33;12724:47;;;-1:-1:-1;12770:1:0;12763:8;;12724:47;12800:16;12817:1;12800:19;;;;;;;;;;;;;;;;12786:11;:33;12782:47;;;-1:-1:-1;12828:1:0;12821:8;;12782:47;12858:16;12875:1;12858:19;;;;;;;;;;;;;;;;12844:11;:33;12840:47;;;-1:-1:-1;12886:1:0;12879:8;;12840:47;12916:16;12933:1;12916:19;;;;;;;;;;;;;;;;12902:11;:33;12898:47;;;-1:-1:-1;12944:1:0;12937:8;;12898:47;-1:-1:-1;12963:1:0;12586:386;;;:::o;11059:37::-;11095:1;11059:37;:::o;273:43::-;;;;;;;;;;;;;;;:::o;10694:45::-;;;;;;;;;;;;;:::o;3182:668::-;3297:8;;3307:4;;535:775;;;;;;;;;;;;;-1:-1:-1;;;535:775:0;;;688:19;696:10;688:7;:19::i;:::-;680:34;;;;-1:-1:-1;;;680:34:0;;;;;;;:::i;:::-;725:14;742:25;752:8;;762:4;;742:9;:25::i;:::-;725:42;-1:-1:-1;;;;;;800:20:0;;810:10;800:20;;;;:39;;;824:15;832:6;824:7;:15::i;:::-;800:63;;;;-1:-1:-1;;;;;;843:20:0;;;;800:63;778:115;;;;-1:-1:-1;;;778:115:0;;;;;;;:::i;:::-;905:13;;;955:92;;;;980:8;955:92;:::i;:::-;-1:-1:-1;1080:15:0;;;;:11;:15;;;;;;904:143;;-1:-1:-1;904:143:0;;-1:-1:-1;904:143:0;-1:-1:-1;1080:15:0;;:24;;;:93;;-1:-1:-1;1142:30:0;;;;;;-1:-1:-1;;;;;;1125:48:0;;;;;;1080:93;1058:146;;;;-1:-1:-1;;;1058:146:0;;;;;;;:::i;:::-;1235:15;1223:9;:27;1215:42;;;;-1:-1:-1;;;1215:42:0;;;;;;;:::i;:::-;1268:15;;;;1286:4;1268:15;;;;;;;:22;;-1:-1:-1;;1268:22:0;;;;;;3380:92:::1;::::0;;::::1;3405:8:::0;3380:92:::1;:::i;:::-;3350:122;;;;;3483:16;3513:6;3502:29;;;;;;;;;;;;:::i;:::-;3483:48:::0;-1:-1:-1;3542:13:0::1;::::0;3566:143:::1;3590:6;:13:::0;3586:17;::::1;3566:143;;;3642:10;-1:-1:-1::0;;;;;3629:23:0::1;:6;3636:1;3629:9;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;3629:9:0::1;:23;3625:73;;;3681:1;3673:9;;3625:73;3605:3;;3566:143;;;;3719:16;3738:6:::0;3745:5:::1;3738:13;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;3762;;-1:-1:-1;;;;;3738:13:0;;::::1;::::0;-1:-1:-1;3778:8:0;;3738:13;3769:5;;3762:13;::::1;;;;;;::::0;;;::::1;::::0;;::::1;:24:::0;;-1:-1:-1;;;;;;3762:24:0::1;-1:-1:-1::0;;;;;3762:24:0;;::::1;;::::0;;3802:40:::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;1301:1;;;;3182:668:::0;;;;;;;;;;;;;:::o;5750:127::-;5808:7;5831:40;5835:1;5838;5831:40;;;;;;;;;;;;;;;;;:3;:40::i;:::-;5824:47;5750:127;-1:-1:-1;;;5750:127:0:o;2885:250::-;2981:7;3107:4;3054:58;;;;;;;;:::i;:::-;;;;;;;;;;;;;3026:101;;;;;;3006:121;;2885:250;;;:::o;6152:178::-;6238:7;6266:5;;;6294:12;6286:6;;;;6278:29;;;;-1:-1:-1;;;6278:29:0;;;;;;;;:::i;:::-;-1:-1:-1;6323:1:0;6152:178;-1:-1:-1;;;;6152:178:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:377:1;;;131:3;124:4;116:6;112:17;108:27;98:2;;156:8;146;139:26;98:2;-1:-1:-1;186:20:1;;229:18;218:30;;215:2;;;268:8;258;251:26;215:2;312:4;304:6;300:17;288:29;;364:3;357:4;348:6;340;336:19;332:30;329:39;326:2;;;381:1;378;371:12;326:2;88:303;;;;;:::o;396:259::-;;508:2;496:9;487:7;483:23;479:32;476:2;;;529:6;521;514:22;476:2;573:9;560:23;592:33;619:5;592:33;:::i;660:271::-;;791:2;779:9;770:7;766:23;762:32;759:2;;;812:6;804;797:22;759:2;849:9;843:16;868:33;895:5;868:33;:::i;936:327::-;;;1065:2;1053:9;1044:7;1040:23;1036:32;1033:2;;;1086:6;1078;1071:22;1033:2;1130:9;1117:23;1149:33;1176:5;1149:33;:::i;:::-;1201:5;1253:2;1238:18;;;;1225:32;;-1:-1:-1;;;1023:240:1:o;1268:897::-;;1403:2;1391:9;1382:7;1378:23;1374:32;1371:2;;;1424:6;1416;1409:22;1371:2;1478:7;1471:4;1460:9;1456:20;1452:34;1442:2;;1505:6;1497;1490:22;1442:2;1543;1537:9;1585:2;1577:6;1573:15;1654:6;1642:10;1639:22;1618:18;1606:10;1603:34;1600:62;1597:2;;;1665:9;1597:2;1692;1685:22;1727:6;1753:9;1792:2;1777:18;;1774:31;-1:-1:-1;1771:2:1;;;1823:6;1815;1808:22;1771:2;1850:6;1865:269;1879:4;1876:1;1873:11;1865:269;;;1952:3;1939:17;1969:33;1996:5;1969:33;:::i;:::-;2015:18;;2056:4;2080:12;;;;2112;;;;;1899:1;1892:9;1865:269;;;-1:-1:-1;2153:6:1;;1361:804;-1:-1:-1;;;;;1361:804:1:o;2170:1119::-;;;;;2341:3;2329:9;2320:7;2316:23;2312:33;2309:2;;;2363:6;2355;2348:22;2309:2;2394:23;;-1:-1:-1;;;;;;2446:32:1;;2436:43;;2426:2;;2498:6;2490;2483:22;2426:2;2526:5;-1:-1:-1;2550:2:1;2584:18;;;2571:32;;-1:-1:-1;2650:2:1;2635:18;;2622:32;;-1:-1:-1;2705:2:1;2690:18;;2677:32;2728:18;2758:14;;;2755:2;;;2790:6;2782;2775:22;2755:2;2833:6;2822:9;2818:22;2808:32;;2878:7;2871:4;2867:2;2863:13;2859:27;2849:2;;2905:6;2897;2890:22;2849:2;2946;2933:16;2968:2;2964;2961:10;2958:2;;;2974:9;2958:2;3007:52;3049:2;3030:13;;-1:-1:-1;;3026:27:1;3022:36;;3007:52;:::i;:::-;2994:65;;3082:2;3075:5;3068:17;3122:7;3117:2;3112;3108;3104:11;3100:20;3097:33;3094:2;;;3148:6;3140;3133:22;3094:2;3208;3203;3199;3195:11;3190:2;3183:5;3179:14;3166:45;3231:14;;3227:23;;;3220:39;;;;2299:990;;;;-1:-1:-1;2299:990:1;;-1:-1:-1;;2299:990:1:o;3294:431::-;;;3425:2;3413:9;3404:7;3400:23;3396:32;3393:2;;;3446:6;3438;3431:22;3393:2;3491:9;3478:23;3524:18;3516:6;3513:30;3510:2;;;3561:6;3553;3546:22;3510:2;3605:60;3657:7;3648:6;3637:9;3633:22;3605:60;:::i;:::-;3684:8;;3579:86;;-1:-1:-1;3383:342:1;-1:-1:-1;;;;3383:342:1:o;3730:751::-;;;;;3897:2;3885:9;3876:7;3872:23;3868:32;3865:2;;;3918:6;3910;3903:22;3865:2;3963:9;3950:23;3992:18;4033:2;4025:6;4022:14;4019:2;;;4054:6;4046;4039:22;4019:2;4098:60;4150:7;4141:6;4130:9;4126:22;4098:60;:::i;:::-;4177:8;;-1:-1:-1;4072:86:1;-1:-1:-1;4265:2:1;4250:18;;4237:32;;-1:-1:-1;4281:16:1;;;4278:2;;;4315:6;4307;4300:22;4278:2;;4359:62;4413:7;4402:8;4391:9;4387:24;4359:62;:::i;:::-;3855:626;;;;-1:-1:-1;4440:8:1;-1:-1:-1;;;;3855:626:1:o;4486:190::-;;4598:2;4586:9;4577:7;4573:23;4569:32;4566:2;;;4619:6;4611;4604:22;4566:2;-1:-1:-1;4647:23:1;;4556:120;-1:-1:-1;4556:120:1:o;4681:194::-;;4804:2;4792:9;4783:7;4779:23;4775:32;4772:2;;;4825:6;4817;4810:22;4772:2;-1:-1:-1;4853:16:1;;4762:113;-1:-1:-1;4762:113:1:o;4880:255::-;;;5020:2;5008:9;4999:7;4995:23;4991:32;4988:2;;;5041:6;5033;5026:22;4988:2;-1:-1:-1;;5069:16:1;;5125:2;5110:18;;;5104:25;5069:16;;5104:25;;-1:-1:-1;4978:157:1:o;5140:425::-;;;;5284:2;5272:9;5263:7;5259:23;5255:32;5252:2;;;5305:6;5297;5290:22;5252:2;5349:9;5336:23;5399:4;5392:5;5388:16;5381:5;5378:27;5368:2;;5424:6;5416;5409:22;5368:2;5452:5;5504:2;5489:18;;5476:32;;-1:-1:-1;5555:2:1;5540:18;;;5527:32;;5242:323;-1:-1:-1;;;5242:323:1:o;5570:480::-;;5841:26;5837:31;5828:6;5824:2;5820:15;5816:53;5811:3;5804:66;5900:6;5895:2;5890:3;5886:12;5879:28;5951:6;5943;5938:2;5933:3;5929:12;5916:42;5981:16;;5999:2;5977:25;6011:15;;;5977:25;5794:256;-1:-1:-1;;;5794:256:1:o;6055:380::-;6297:66;6285:79;;6389:2;6380:12;;6373:28;;;;6426:2;6417:12;;6275:160::o;6440:203::-;-1:-1:-1;;;;;6604:32:1;;;;6586:51;;6574:2;6559:18;;6541:102::o;6648:274::-;-1:-1:-1;;;;;6840:32:1;;;;6822:51;;6904:2;6889:18;;6882:34;6810:2;6795:18;;6777:145::o;6927:187::-;7092:14;;7085:22;7067:41;;7055:2;7040:18;;7022:92::o;7119:177::-;7265:25;;;7253:2;7238:18;;7220:76::o;7301:398::-;7528:25;;;7601:4;7589:17;;;;7584:2;7569:18;;7562:45;7638:2;7623:18;;7616:34;7681:2;7666:18;;7659:34;7515:3;7500:19;;7482:217::o;7704:603::-;;7845:2;7874;7863:9;7856:21;7906:6;7900:13;7949:6;7944:2;7933:9;7929:18;7922:34;7974:4;7987:140;8001:6;7998:1;7995:13;7987:140;;;8096:14;;;8092:23;;8086:30;8062:17;;;8081:2;8058:26;8051:66;8016:10;;7987:140;;;8145:6;8142:1;8139:13;8136:2;;;8215:4;8210:2;8201:6;8190:9;8186:22;8182:31;8175:45;8136:2;-1:-1:-1;8291:2:1;8270:15;-1:-1:-1;;8266:29:1;8251:45;;;;8298:2;8247:54;;7825:482;-1:-1:-1;;;7825:482:1:o;8312:325::-;8514:2;8496:21;;;8553:1;8533:18;;;8526:29;-1:-1:-1;;;8586:2:1;8571:18;;8564:32;8628:2;8613:18;;8486:151::o;8642:325::-;8844:2;8826:21;;;8883:1;8863:18;;;8856:29;-1:-1:-1;;;8916:2:1;8901:18;;8894:32;8958:2;8943:18;;8816:151::o;8972:325::-;9174:2;9156:21;;;9213:1;9193:18;;;9186:29;-1:-1:-1;;;9246:2:1;9231:18;;9224:32;9288:2;9273:18;;9146:151::o;9302:330::-;9504:2;9486:21;;;9543:1;9523:18;;;9516:29;-1:-1:-1;;;9576:2:1;9561:18;;9554:37;9623:2;9608:18;;9476:156::o;9637:325::-;9839:2;9821:21;;;9878:1;9858:18;;;9851:29;-1:-1:-1;;;9911:2:1;9896:18;;9889:32;9953:2;9938:18;;9811:151::o;9967:325::-;10169:2;10151:21;;;10208:1;10188:18;;;10181:29;-1:-1:-1;;;10241:2:1;10226:18;;10219:32;10283:2;10268:18;;10141:151::o;10297:326::-;10499:2;10481:21;;;10538:1;10518:18;;;10511:29;-1:-1:-1;;;10571:2:1;10556:18;;10549:33;10614:2;10599:18;;10471:152::o;10810:248::-;10984:25;;;11040:2;11025:18;;11018:34;10972:2;10957:18;;10939:119::o;11063:242::-;11133:2;11127:9;11163:17;;;11210:18;11195:34;;11231:22;;;11192:62;11189:2;;;11257:9;11189:2;11284;11277:22;11107:198;;-1:-1:-1;11107:198:1:o;11310:133::-;-1:-1:-1;;;;;11387:31:1;;11377:42;;11367:2;;11433:1;11430;11423:12;11367:2;11357:86;:::o

Swarm Source

ipfs://4de7958d78b62e80176d9e93b213f683dc6287d852d9d0cdcf9b858ed6d4bb34

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn 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.