ETH Price: $3,115.63 (+0.82%)
Gas: 2 Gwei

Token

Ring.Exchange (RNG)
 

Overview

Max Total Supply

1,990,000,000 RNG

Holders

118

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Rng

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Rng.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma experimental ABIEncoderV2;

// Forked from Uniswap's UNI
// Reference: https://etherscan.io/address/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984#code

contract Rng {
    /// @notice EIP-20 token name for this token
    // solhint-disable-next-line const-name-snakecase
    string public constant name = "Ring.Exchange";

    /// @notice EIP-20 token symbol for this token
    // solhint-disable-next-line const-name-snakecase
    string public constant symbol = "RNG";

    /// @notice EIP-20 token decimals for this token
    // solhint-disable-next-line const-name-snakecase
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    // solhint-disable-next-line const-name-snakecase
    uint public totalSupply = 1_000_000e18; // 1 million Ring

    /// @notice Address which may mint new tokens
    address public minter;

    mapping (address => mapping (address => uint96)) internal allowances;

    mapping (address => uint96) internal balances;

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when the minter address is changed
    event MinterChanged(address minter, address newMinter);

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /**
     * @notice Construct a new Ring token
     * @param account The initial account to grant all the tokens
     * @param minter_ The account with minting ability
     */
    constructor(address account, address minter_) {
        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
        minter = minter_;
        emit MinterChanged(address(0), minter);
    }

    /**
     * @notice Change the minter address
     * @param minter_ The address of the new minter
     */
    function setMinter(address minter_) external {
        require(msg.sender == minter, "Ring: only the minter can change the minter address");
        emit MinterChanged(minter, minter_);
        minter = minter_;
    }

    /**
     * @notice Mint new tokens
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to be minted
     */
    function mint(address dst, uint rawAmount) external {
        require(msg.sender == minter, "Ring: only the minter can mint");
        require(dst != address(0), "Ring: cannot transfer to the zero address");

        // mint the amount
        uint96 amount = safe96(rawAmount, "Ring: amount exceeds 96 bits");
        uint96 safeSupply = safe96(totalSupply, "Ring: totalSupply exceeds 96 bits");
        totalSupply = add96(safeSupply, amount, "Ring: totalSupply exceeds 96 bits");

        // transfer the amount to the recipient
        balances[dst] = add96(balances[dst], amount, "Ring: transfer amount overflows");
        emit Transfer(address(0), dst, amount);

        // move delegates
        _moveDelegates(address(0), delegates[dst], amount);
    }

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint rawAmount) external returns (bool) {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "Ring: amount exceeds 96 bits");
        }

        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "Ring: amount exceeds 96 bits");
        }

        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "Ring: invalid signature");
        require(signatory == owner, "Ring: unauthorized");
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "Ring: signature expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint rawAmount) external returns (bool) {
        uint96 amount = safe96(rawAmount, "Ring: amount exceeds 96 bits");
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint rawAmount) external returns (bool) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "Ring: amount exceeds 96 bits");

        if (spender != src && spenderAllowance != uint96(-1)) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "Ring: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "Ring: invalid signature");
        require(nonce == nonces[signatory]++, "Ring: invalid nonce");
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= expiry, "Ring: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "Ring: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint96 delegatorBalance = balances[delegator];
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _transferTokens(address src, address dst, uint96 amount) internal {
        require(src != address(0), "Ring: cannot transfer from the zero address");
        require(dst != address(0), "Ring: cannot transfer to the zero address");

        balances[src] = sub96(balances[src], amount, "Ring: transfer amount exceeds balance");
        balances[dst] = add96(balances[dst], amount, "Ring: transfer amount overflows");
        emit Transfer(src, dst, amount);

        _moveDelegates(delegates[src], delegates[dst], amount);
    }

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "Ring: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "Ring: vote amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
      uint32 blockNumber = safe32(block.number, "Ring: block number exceeds 32 bits");

      if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
          checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
      } else {
          checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
          numCheckpoints[delegatee] = nCheckpoints + 1;
      }

      emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        // solhint-disable-next-line no-inline-assembly
        assembly { chainId := chainid() }
        return chainId;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"minter_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405269d3c21bcecceda10000006000553480156200001f57600080fd5b50604051620020323803806200203283398101604081905262000042916200013c565b600080546001600160a01b0384168083526003602052604080842080546001600160601b0319166001600160601b0390941693909317909255825491519092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620000b091906200018d565b60405180910390a3600180546001600160a01b0319166001600160a01b0383811691909117918290556040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6926200010f9260009291169062000173565b60405180910390a1505062000196565b80516001600160a01b03811681146200013757600080fd5b919050565b600080604083850312156200014f578182fd5b6200015a836200011f565b91506200016a602084016200011f565b90509250929050565b6001600160a01b0392831681529116602082015260400190565b90815260200190565b611e8c80620001a66000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c3cda5201161007c578063c3cda520146102cc578063d505accf146102df578063dd62ed3e146102f2578063e7a324dc14610305578063f1127ed81461030d578063fca3b5aa1461032e57610158565b806370a0823114610258578063782d6fe11461026b5780637ecebe001461028b57806395d89b411461029e578063a9059cbb146102a6578063b4b5ea57146102b957610158565b806330adf81f1161011557806330adf81f146101e0578063313ce567146101e857806340c10f19146101fd578063587cde1e146102125780635c19a95c146102255780636fcfff451461023857610158565b806306fdde031461015d578063075461721461017b578063095ea7b31461019057806318160ddd146101b057806320606b70146101c557806323b872dd146101cd575b600080fd5b610165610341565b6040516101729190611ac4565b60405180910390f35b61018361036a565b60405161017291906119e8565b6101a361019e36600461190f565b610379565b6040516101729190611a16565b6101b8610443565b6040516101729190611a21565b6101b8610449565b6101a36101db36600461186b565b61046d565b6101b86105bc565b6101f06105e0565b6040516101729190611d63565b61021061020b36600461190f565b6105e5565b005b61018361022036600461181f565b6107c2565b61021061023336600461181f565b6107dd565b61024b61024636600461181f565b6107ea565b6040516101729190611d33565b6101b861026636600461181f565b610802565b61027e61027936600461190f565b61082a565b6040516101729190611d71565b6101b861029936600461181f565b610a33565b610165610a45565b6101a36102b436600461190f565b610a64565b61027e6102c736600461181f565b610aab565b6102106102da366004611938565b610b1c565b6102106102ed3660046118a6565b610d27565b6101b8610300366004611839565b611039565b6101b861106d565b61032061031b36600461198f565b611091565b604051610172929190611d44565b61021061033c36600461181f565b6110c6565b6040518060400160405280600d81526020016c52696e672e45786368616e676560981b81525081565b6001546001600160a01b031681565b60008060001983141561038f57506000196103bf565b6103bc836040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061042f908590611d71565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b038316600090815260026020908152604080832033808552908352818420548251808401909352601c8352600080516020611da083398151915293830193909352916001600160601b03169083906104cd908690611159565b9050866001600160a01b0316836001600160a01b0316141580156104fa57506001600160601b0382811614155b156105a457600061052483836040518060600160405280602f8152602001611e28602f9139611188565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061059a908590611d71565b60405180910390a3505b6105af8787836111c7565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b6001546001600160a01b031633146106185760405162461bcd60e51b815260040161060f90611c29565b60405180910390fd5b6001600160a01b03821661063e5760405162461bcd60e51b815260040161060f90611cb3565b600061066d826040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90506000610695600054604051806060016040528060218152602001611dc060219139611159565b90506106ba8183604051806060016040528060218152602001611dc06021913961138b565b6001600160601b0390811660009081556001600160a01b038616815260036020908152604091829020548251808401909352601f83527f52696e673a207472616e7366657220616d6f756e74206f766572666c6f77730091830191909152610725921690849061138b565b6001600160a01b03851660008181526003602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061078f908690611d71565b60405180910390a36001600160a01b038085166000908152600460205260408120546107bc9216846113c7565b50505050565b6004602052600090815260409020546001600160a01b031681565b6107e73382611593565b50565b60066020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600360205260409020546001600160601b03165b919050565b600043821061084b5760405162461bcd60e51b815260040161060f90611cfc565b6001600160a01b03831660009081526006602052604090205463ffffffff168061087957600091505061043d565b6001600160a01b038416600090815260056020908152604080832063ffffffff6000198601811685529252909120541683106108f5576001600160a01b03841660009081526005602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061043d565b6001600160a01b038416600090815260056020908152604080832083805290915290205463ffffffff1683101561093057600091505061043d565b600060001982015b8163ffffffff168163ffffffff1611156109ee576000600263ffffffff848403166001600160a01b038916600090815260056020908152604080832094909304860363ffffffff818116845294825291839020835180850190945254938416808452600160201b9094046001600160601b0316908301529250908714156109c95760200151945061043d9350505050565b805163ffffffff168711156109e0578193506109e7565b6001820392505b5050610938565b506001600160a01b038516600090815260056020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60076020526000908152604090205481565b60405180604001604052806003815260200162524e4760e81b81525081565b600080610a94836040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b9050610aa13385836111c7565b5060019392505050565b6001600160a01b03811660009081526006602052604081205463ffffffff1680610ad6576000610b15565b6001600160a01b0383166000908152600560209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600d81526c52696e672e45786368616e676560981b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fc4e71f6c9a52337ef227b57f6f519032dd8cf9c1d89c17993b8b57fa08d87b04610b8d611617565b30604051602001610ba19493929190611a82565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610bf29493929190611a5e565b60405160208183030381529060405280519060200120905060008282604051602001610c1f9291906119cd565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610c5c9493929190611aa6565b6020604051602081039080840390855afa158015610c7e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cb15760405162461bcd60e51b815260040161060f90611b44565b6001600160a01b03811660009081526007602052604090208054600181019091558914610cf05760405162461bcd60e51b815260040161060f90611b17565b87421115610d105760405162461bcd60e51b815260040161060f90611bc6565b610d1a818b611593565b505050505b505050505050565b6000600019861415610d3c5750600019610d6c565b610d69866040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90505b60408051808201909152600d81526c52696e672e45786368616e676560981b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fc4e71f6c9a52337ef227b57f6f519032dd8cf9c1d89c17993b8b57fa08d87b04610ddd611617565b30604051602001610df19493929190611a82565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600783529283208054600181019091559094509192610e63927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611a2a565b60405160208183030381529060405280519060200120905060008282604051602001610e909291906119cd565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610ecd9493929190611aa6565b6020604051602081039080840390855afa158015610eef573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f225760405162461bcd60e51b815260040161060f90611b44565b8b6001600160a01b0316816001600160a01b031614610f535760405162461bcd60e51b815260040161060f90611bfd565b88421115610f735760405162461bcd60e51b815260040161060f90611bc6565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516110239190611d71565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600560209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146110f05760405162461bcd60e51b815260040161060f90611c60565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f69161112f916001600160a01b039091169084906119fc565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106111805760405162461bcd60e51b815260040161060f9190611ac4565b509192915050565b6000836001600160601b0316836001600160601b0316111582906111bf5760405162461bcd60e51b815260040161060f9190611ac4565b505050900390565b6001600160a01b0383166111ed5760405162461bcd60e51b815260040161060f90611b7b565b6001600160a01b0382166112135760405162461bcd60e51b815260040161060f90611cb3565b6001600160a01b03831660009081526003602090815260409182902054825160608101909352602580845261125e936001600160601b039092169285929190611de190830139611188565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251808401909352601f83527f52696e673a207472616e7366657220616d6f756e74206f766572666c6f777300918301919091526112df921690839061138b565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061134c908590611d71565b60405180910390a36001600160a01b03808416600090815260046020526040808220548584168352912054611386929182169116836113c7565b505050565b6000838301826001600160601b0380871690831610156113be5760405162461bcd60e51b815260040161060f9190611ac4565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156113f257506000816001600160601b0316115b15611386576001600160a01b038316156114c7576001600160a01b03831660009081526006602052604081205463ffffffff169081611432576000611471565b6001600160a01b0385166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006114b582856040518060400160405280601c81526020017f52696e673a20766f746520616d6f756e7420756e646572666c6f777300000000815250611188565b90506114c38684848461161b565b5050505b6001600160a01b03821615611386576001600160a01b03821660009081526006602052604081205463ffffffff169081611502576000611541565b6001600160a01b0384166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061158582856040518060400160405280601b81526020017f52696e673a20766f746520616d6f756e74206f766572666c6f7773000000000081525061138b565b9050610d1f8584848461161b565b6001600160a01b03808316600081815260046020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46107bc8284836113c7565b4690565b600061163f43604051806060016040528060228152602001611e06602291396117d0565b905060008463ffffffff1611801561168857506001600160a01b038516600090815260056020908152604080832063ffffffff6000198901811685529252909120548282169116145b156116e7576001600160a01b0385166000908152600560209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611786565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600583528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600690935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516117c1929190611d85565b60405180910390a25050505050565b600081600160201b84106111805760405162461bcd60e51b815260040161060f9190611ac4565b80356001600160a01b038116811461082557600080fd5b803560ff8116811461082557600080fd5b600060208284031215611830578081fd5b610b15826117f7565b6000806040838503121561184b578081fd5b611854836117f7565b9150611862602084016117f7565b90509250929050565b60008060006060848603121561187f578081fd5b611888846117f7565b9250611896602085016117f7565b9150604084013590509250925092565b600080600080600080600060e0888a0312156118c0578283fd5b6118c9886117f7565b96506118d7602089016117f7565b955060408801359450606088013593506118f36080890161180e565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611921578182fd5b61192a836117f7565b946020939093013593505050565b60008060008060008060c08789031215611950578182fd5b611959876117f7565b955060208701359450604087013593506119756060880161180e565b92506080870135915060a087013590509295509295509295565b600080604083850312156119a1578182fd5b6119aa836117f7565b9150602083013563ffffffff811681146119c2578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611af057858101830151858201604001528201611ad4565b81811115611b015783604083870101525b50601f01601f1916929092016040019392505050565b60208082526013908201527252696e673a20696e76616c6964206e6f6e636560681b604082015260600190565b60208082526017908201527f52696e673a20696e76616c6964207369676e6174757265000000000000000000604082015260600190565b6020808252602b908201527f52696e673a2063616e6e6f74207472616e736665722066726f6d20746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526017908201527f52696e673a207369676e61747572652065787069726564000000000000000000604082015260600190565b602080825260129082015271149a5b99ce881d5b985d5d1a1bdc9a5e995960721b604082015260600190565b6020808252601e908201527f52696e673a206f6e6c7920746865206d696e7465722063616e206d696e740000604082015260600190565b60208082526033908201527f52696e673a206f6e6c7920746865206d696e7465722063616e206368616e676560408201527220746865206d696e746572206164647265737360681b606082015260800190565b60208082526029908201527f52696e673a2063616e6e6f74207472616e7366657220746f20746865207a65726040820152686f206164647265737360b81b606082015260800190565b60208082526018908201527f52696e673a206e6f74207965742064657465726d696e65640000000000000000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b039283168152911660208201526040019056fe52696e673a20616d6f756e74206578636565647320393620626974730000000052696e673a20746f74616c537570706c792065786365656473203936206269747352696e673a207472616e7366657220616d6f756e7420657863656564732062616c616e636552696e673a20626c6f636b206e756d6265722065786365656473203332206269747352696e673a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365a264697066735822122074423613c74f84062377d146e5baeb4d7100b164d60c24c918234de627dcd90464736f6c63430007060033000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c3cda5201161007c578063c3cda520146102cc578063d505accf146102df578063dd62ed3e146102f2578063e7a324dc14610305578063f1127ed81461030d578063fca3b5aa1461032e57610158565b806370a0823114610258578063782d6fe11461026b5780637ecebe001461028b57806395d89b411461029e578063a9059cbb146102a6578063b4b5ea57146102b957610158565b806330adf81f1161011557806330adf81f146101e0578063313ce567146101e857806340c10f19146101fd578063587cde1e146102125780635c19a95c146102255780636fcfff451461023857610158565b806306fdde031461015d578063075461721461017b578063095ea7b31461019057806318160ddd146101b057806320606b70146101c557806323b872dd146101cd575b600080fd5b610165610341565b6040516101729190611ac4565b60405180910390f35b61018361036a565b60405161017291906119e8565b6101a361019e36600461190f565b610379565b6040516101729190611a16565b6101b8610443565b6040516101729190611a21565b6101b8610449565b6101a36101db36600461186b565b61046d565b6101b86105bc565b6101f06105e0565b6040516101729190611d63565b61021061020b36600461190f565b6105e5565b005b61018361022036600461181f565b6107c2565b61021061023336600461181f565b6107dd565b61024b61024636600461181f565b6107ea565b6040516101729190611d33565b6101b861026636600461181f565b610802565b61027e61027936600461190f565b61082a565b6040516101729190611d71565b6101b861029936600461181f565b610a33565b610165610a45565b6101a36102b436600461190f565b610a64565b61027e6102c736600461181f565b610aab565b6102106102da366004611938565b610b1c565b6102106102ed3660046118a6565b610d27565b6101b8610300366004611839565b611039565b6101b861106d565b61032061031b36600461198f565b611091565b604051610172929190611d44565b61021061033c36600461181f565b6110c6565b6040518060400160405280600d81526020016c52696e672e45786368616e676560981b81525081565b6001546001600160a01b031681565b60008060001983141561038f57506000196103bf565b6103bc836040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90505b3360008181526002602090815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061042f908590611d71565b60405180910390a360019150505b92915050565b60005481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b038316600090815260026020908152604080832033808552908352818420548251808401909352601c8352600080516020611da083398151915293830193909352916001600160601b03169083906104cd908690611159565b9050866001600160a01b0316836001600160a01b0316141580156104fa57506001600160601b0382811614155b156105a457600061052483836040518060600160405280602f8152602001611e28602f9139611188565b6001600160a01b038981166000818152600260209081526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061059a908590611d71565b60405180910390a3505b6105af8787836111c7565b5060019695505050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b6001546001600160a01b031633146106185760405162461bcd60e51b815260040161060f90611c29565b60405180910390fd5b6001600160a01b03821661063e5760405162461bcd60e51b815260040161060f90611cb3565b600061066d826040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90506000610695600054604051806060016040528060218152602001611dc060219139611159565b90506106ba8183604051806060016040528060218152602001611dc06021913961138b565b6001600160601b0390811660009081556001600160a01b038616815260036020908152604091829020548251808401909352601f83527f52696e673a207472616e7366657220616d6f756e74206f766572666c6f77730091830191909152610725921690849061138b565b6001600160a01b03851660008181526003602052604080822080546001600160601b0319166001600160601b03959095169490941790935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061078f908690611d71565b60405180910390a36001600160a01b038085166000908152600460205260408120546107bc9216846113c7565b50505050565b6004602052600090815260409020546001600160a01b031681565b6107e73382611593565b50565b60066020526000908152604090205463ffffffff1681565b6001600160a01b0381166000908152600360205260409020546001600160601b03165b919050565b600043821061084b5760405162461bcd60e51b815260040161060f90611cfc565b6001600160a01b03831660009081526006602052604090205463ffffffff168061087957600091505061043d565b6001600160a01b038416600090815260056020908152604080832063ffffffff6000198601811685529252909120541683106108f5576001600160a01b03841660009081526005602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061043d565b6001600160a01b038416600090815260056020908152604080832083805290915290205463ffffffff1683101561093057600091505061043d565b600060001982015b8163ffffffff168163ffffffff1611156109ee576000600263ffffffff848403166001600160a01b038916600090815260056020908152604080832094909304860363ffffffff818116845294825291839020835180850190945254938416808452600160201b9094046001600160601b0316908301529250908714156109c95760200151945061043d9350505050565b805163ffffffff168711156109e0578193506109e7565b6001820392505b5050610938565b506001600160a01b038516600090815260056020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60076020526000908152604090205481565b60405180604001604052806003815260200162524e4760e81b81525081565b600080610a94836040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b9050610aa13385836111c7565b5060019392505050565b6001600160a01b03811660009081526006602052604081205463ffffffff1680610ad6576000610b15565b6001600160a01b0383166000908152600560209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600d81526c52696e672e45786368616e676560981b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fc4e71f6c9a52337ef227b57f6f519032dd8cf9c1d89c17993b8b57fa08d87b04610b8d611617565b30604051602001610ba19493929190611a82565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610bf29493929190611a5e565b60405160208183030381529060405280519060200120905060008282604051602001610c1f9291906119cd565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610c5c9493929190611aa6565b6020604051602081039080840390855afa158015610c7e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cb15760405162461bcd60e51b815260040161060f90611b44565b6001600160a01b03811660009081526007602052604090208054600181019091558914610cf05760405162461bcd60e51b815260040161060f90611b17565b87421115610d105760405162461bcd60e51b815260040161060f90611bc6565b610d1a818b611593565b505050505b505050505050565b6000600019861415610d3c5750600019610d6c565b610d69866040518060400160405280601c8152602001600080516020611da0833981519152815250611159565b90505b60408051808201909152600d81526c52696e672e45786368616e676560981b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fc4e71f6c9a52337ef227b57f6f519032dd8cf9c1d89c17993b8b57fa08d87b04610ddd611617565b30604051602001610df19493929190611a82565b60408051601f1981840301815282825280516020918201206001600160a01b038d166000908152600783529283208054600181019091559094509192610e63927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928e928e928e9290918e9101611a2a565b60405160208183030381529060405280519060200120905060008282604051602001610e909291906119cd565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610ecd9493929190611aa6565b6020604051602081039080840390855afa158015610eef573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f225760405162461bcd60e51b815260040161060f90611b44565b8b6001600160a01b0316816001600160a01b031614610f535760405162461bcd60e51b815260040161060f90611bfd565b88421115610f735760405162461bcd60e51b815260040161060f90611bc6565b84600260008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516110239190611d71565b60405180910390a3505050505050505050505050565b6001600160a01b0391821660009081526002602090815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600560209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6001546001600160a01b031633146110f05760405162461bcd60e51b815260040161060f90611c60565b6001546040517f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f69161112f916001600160a01b039091169084906119fc565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b600081600160601b84106111805760405162461bcd60e51b815260040161060f9190611ac4565b509192915050565b6000836001600160601b0316836001600160601b0316111582906111bf5760405162461bcd60e51b815260040161060f9190611ac4565b505050900390565b6001600160a01b0383166111ed5760405162461bcd60e51b815260040161060f90611b7b565b6001600160a01b0382166112135760405162461bcd60e51b815260040161060f90611cb3565b6001600160a01b03831660009081526003602090815260409182902054825160608101909352602580845261125e936001600160601b039092169285929190611de190830139611188565b6001600160a01b03848116600090815260036020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251808401909352601f83527f52696e673a207472616e7366657220616d6f756e74206f766572666c6f777300918301919091526112df921690839061138b565b6001600160a01b038381166000818152600360205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061134c908590611d71565b60405180910390a36001600160a01b03808416600090815260046020526040808220548584168352912054611386929182169116836113c7565b505050565b6000838301826001600160601b0380871690831610156113be5760405162461bcd60e51b815260040161060f9190611ac4565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156113f257506000816001600160601b0316115b15611386576001600160a01b038316156114c7576001600160a01b03831660009081526006602052604081205463ffffffff169081611432576000611471565b6001600160a01b0385166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006114b582856040518060400160405280601c81526020017f52696e673a20766f746520616d6f756e7420756e646572666c6f777300000000815250611188565b90506114c38684848461161b565b5050505b6001600160a01b03821615611386576001600160a01b03821660009081526006602052604081205463ffffffff169081611502576000611541565b6001600160a01b0384166000908152600560209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061158582856040518060400160405280601b81526020017f52696e673a20766f746520616d6f756e74206f766572666c6f7773000000000081525061138b565b9050610d1f8584848461161b565b6001600160a01b03808316600081815260046020818152604080842080546003845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46107bc8284836113c7565b4690565b600061163f43604051806060016040528060228152602001611e06602291396117d0565b905060008463ffffffff1611801561168857506001600160a01b038516600090815260056020908152604080832063ffffffff6000198901811685529252909120548282169116145b156116e7576001600160a01b0385166000908152600560209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611786565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600583528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600690935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516117c1929190611d85565b60405180910390a25050505050565b600081600160201b84106111805760405162461bcd60e51b815260040161060f9190611ac4565b80356001600160a01b038116811461082557600080fd5b803560ff8116811461082557600080fd5b600060208284031215611830578081fd5b610b15826117f7565b6000806040838503121561184b578081fd5b611854836117f7565b9150611862602084016117f7565b90509250929050565b60008060006060848603121561187f578081fd5b611888846117f7565b9250611896602085016117f7565b9150604084013590509250925092565b600080600080600080600060e0888a0312156118c0578283fd5b6118c9886117f7565b96506118d7602089016117f7565b955060408801359450606088013593506118f36080890161180e565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611921578182fd5b61192a836117f7565b946020939093013593505050565b60008060008060008060c08789031215611950578182fd5b611959876117f7565b955060208701359450604087013593506119756060880161180e565b92506080870135915060a087013590509295509295509295565b600080604083850312156119a1578182fd5b6119aa836117f7565b9150602083013563ffffffff811681146119c2578182fd5b809150509250929050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611af057858101830151858201604001528201611ad4565b81811115611b015783604083870101525b50601f01601f1916929092016040019392505050565b60208082526013908201527252696e673a20696e76616c6964206e6f6e636560681b604082015260600190565b60208082526017908201527f52696e673a20696e76616c6964207369676e6174757265000000000000000000604082015260600190565b6020808252602b908201527f52696e673a2063616e6e6f74207472616e736665722066726f6d20746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526017908201527f52696e673a207369676e61747572652065787069726564000000000000000000604082015260600190565b602080825260129082015271149a5b99ce881d5b985d5d1a1bdc9a5e995960721b604082015260600190565b6020808252601e908201527f52696e673a206f6e6c7920746865206d696e7465722063616e206d696e740000604082015260600190565b60208082526033908201527f52696e673a206f6e6c7920746865206d696e7465722063616e206368616e676560408201527220746865206d696e746572206164647265737360681b606082015260800190565b60208082526029908201527f52696e673a2063616e6e6f74207472616e7366657220746f20746865207a65726040820152686f206164647265737360b81b606082015260800190565b60208082526018908201527f52696e673a206e6f74207965742064657465726d696e65640000000000000000604082015260600190565b63ffffffff91909116815260200190565b63ffffffff9290921682526001600160601b0316602082015260400190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6001600160601b039283168152911660208201526040019056fe52696e673a20616d6f756e74206578636565647320393620626974730000000052696e673a20746f74616c537570706c792065786365656473203936206269747352696e673a207472616e7366657220616d6f756e7420657863656564732062616c616e636552696e673a20626c6f636b206e756d6265722065786365656473203332206269747352696e673a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365a264697066735822122074423613c74f84062377d146e5baeb4d7100b164d60c24c918234de627dcd90464736f6c63430007060033

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

000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902

-----Decoded View---------------
Arg [0] : account (address): 0xc87Eb3b9f3292C48B4FbE477F8A6Bc17f5fAd902
Arg [1] : minter_ (address): 0xc87Eb3b9f3292C48B4FbE477F8A6Bc17f5fAd902

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902
Arg [1] : 000000000000000000000000c87eb3b9f3292c48b4fbe477f8a6bc17f5fad902


Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.