ETH Price: $3,551.83 (+6.46%)

Token

Options.Market (OSM)
 

Overview

Max Total Supply

100,000,000 OSM

Holders

886 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
cryptlesh.eth
Balance
45,933.762447502219011014 OSM

Value
$0.00
0x4cF93693586FE5E2F2c7097140F2EfA23e3e3FBa
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Options.Market is a protocol layer for creating, trading, and redeeming fully-collateralized options contracts for any ERC20 token.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OptionsMarketToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : OptionsMarketToken.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity 0.6.12;

contract OptionsMarketToken {
    /// @notice EIP-20 token name for this token
    string public constant name = "Options.Market";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "OSM";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint256 public constant totalSupply = 100_000_000e18; // 100 million OSM

    /// @dev Allowance amounts on behalf of others
    mapping(address => mapping(address => uint96)) internal allowances;

    /// @dev Official record of token balances for each account
    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 A record of states for signing / validating signatures
    mapping(address => uint256) public nonces;

    /// @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,
        uint256 previousBalance,
        uint256 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 OSM token
     * @param account The initial account to grant all the tokens
     */
    constructor(address account) public {
        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
    }

    /**
     * @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 (uint256)
    {
        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, uint256 rawAmount)
        external
        returns (bool)
    {
        uint96 amount;
        if (rawAmount == uint256(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(
                rawAmount,
                "OptionsMarket::approve: amount exceeds 96 bits"
            );
        }

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

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

    /**
     * @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 (uint256) {
        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, uint256 rawAmount) external returns (bool) {
        uint96 amount = safe96(
            rawAmount,
            "OptionsMarket::transfer: 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,
        uint256 rawAmount
    ) external returns (bool) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(
            rawAmount,
            "OptionsMarket::approve: amount exceeds 96 bits"
        );

        if (spender != src && spenderAllowance != uint96(-1)) {
            uint96 newAllowance = sub96(
                spenderAllowance,
                amount,
                "OptionsMarket::transferFrom: 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));

        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        address signatory = ecrecover(digest, v, r, s);
        require(
            signatory != address(0),
            "OptionsMarket::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "OptionsMarket::delegateBySig: invalid nonce"
        );
        require(now <= expiry, "OptionsMarket::delegateBySig: 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, uint256 blockNumber)
        public
        view
        returns (uint96)
    {
        require(
            blockNumber < block.number,
            "OptionsMarket::getPriorVotes: 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),
            "OptionsMarket::_transferTokens: cannot transfer from the zero address"
        );
        require(
            dst != address(0),
            "OptionsMarket::_transferTokens: cannot transfer to the zero address"
        );

        balances[src] = sub96(
            balances[src],
            amount,
            "OptionsMarket::_transferTokens: transfer amount exceeds balance"
        );
        balances[dst] = add96(
            balances[dst],
            amount,
            "OptionsMarket::_transferTokens: 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,
                    "OptionsMarket::_moveVotes: 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,
                    "OptionsMarket::_moveVotes: vote amount overflows"
                );
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint96 oldVotes,
        uint96 newVotes
    ) internal {
        uint32 blockNumber = safe32(
            block.number,
            "OptionsMarket::_writeCheckpoint: 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(uint256 n, string memory errorMessage)
        internal
        pure
        returns (uint32)
    {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint256 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 (uint256) {
        uint256 chainId;
        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"}],"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":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":[{"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":[],"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":[],"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"}]

608060405234801561001057600080fd5b50604051611a3b380380611a3b8339818101604052602081101561003357600080fd5b50516001600160a01b038116600081815260016020908152604080832080546001600160601b0319166a52b7d2dcc80cd2e4000000908117909155815190815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35061198b806100b06000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea57146103ca578063c3cda520146103f0578063dd62ed3e14610437578063e7a324dc14610465578063f1127ed81461046d57610121565b806370a0823114610302578063782d6fe1146103285780637ecebe001461037057806395d89b4114610396578063a9059cbb1461039e57610121565b806323b872dd116100f457806323b872dd14610205578063313ce5671461023b578063587cde1e146102595780635c19a95c1461029b5780636fcfff45146102c357610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806320606b70146101fd575b600080fd5b61012e6104c7565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104f1565b604080519115158252519081900360200190f35b6101eb6105ad565b60408051918252519081900360200190f35b6101eb6105bc565b6101cf6004803603606081101561021b57600080fd5b506001600160a01b038135811691602081013590911690604001356105e0565b610243610721565b6040805160ff9092168252519081900360200190f35b61027f6004803603602081101561026f57600080fd5b50356001600160a01b0316610726565b604080516001600160a01b039092168252519081900360200190f35b6102c1600480360360208110156102b157600080fd5b50356001600160a01b0316610741565b005b6102e9600480360360208110156102d957600080fd5b50356001600160a01b031661074e565b6040805163ffffffff9092168252519081900360200190f35b6101eb6004803603602081101561031857600080fd5b50356001600160a01b0316610766565b6103546004803603604081101561033e57600080fd5b506001600160a01b03813516906020013561078a565b604080516001600160601b039092168252519081900360200190f35b6101eb6004803603602081101561038657600080fd5b50356001600160a01b03166109b7565b61012e6109c9565b6101cf600480360360408110156103b457600080fd5b506001600160a01b0381351690602001356109e8565b610354600480360360208110156103e057600080fd5b50356001600160a01b0316610a24565b6102c1600480360360c081101561040657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610a95565b6101eb6004803603604081101561044d57600080fd5b506001600160a01b0381358116916020013516610def565b6101eb610e21565b61049f6004803603604081101561048357600080fd5b5080356001600160a01b0316906020013563ffffffff16610e45565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b6040518060400160405280600e81526020016d13dc1d1a5bdb9ccb93585c9ad95d60921b81525081565b600080600019831415610507575060001961052c565b610529836040518060600160405280602e8152602001611883602e9139610e7a565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b038716908117909155815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a360019150505b92915050565b6a52b7d2dcc80cd2e400000081565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602e80845291936001600160601b03909116928592610636928892919061188390830139610e7a565b9050866001600160a01b0316836001600160a01b03161415801561066357506001600160601b0382811614155b1561070957600061068d838360405180608001604052806046815260200161164360469139610f14565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b03871690811790915582519081529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b610714878783610f81565b5060019695505050505050565b601281565b6002602052600090815260409020546001600160a01b031681565b61074b3382611166565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b60004382106107ca5760405162461bcd60e51b81526004018080602001828103825260308152602001806116896030913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806107f85760009150506105a7565b6001600160a01b038416600090815260036020908152604080832063ffffffff600019860181168552925290912054168310610874576001600160a01b03841660009081526003602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506105a7565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156108af5760009150506105a7565b600060001982015b8163ffffffff168163ffffffff16111561097257600282820363ffffffff160481036108e1611600565b506001600160a01b038716600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529087141561094d576020015194506105a79350505050565b805163ffffffff168711156109645781935061096b565b6001820392505b50506108b7565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b604051806040016040528060038152602001624f534d60e81b81525081565b600080610a0d836040518060600160405280602f81526020016118b1602f9139610e7a565b9050610a1a338583610f81565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff1680610a4f576000610a8e565b6001600160a01b0383166000908152600360209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600e81526d13dc1d1a5bdb9ccb93585c9ad95d60921b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f0542378046fe03fa68543c21e9106a28e4ef3338680fe3b5a157a3bac5af3363610b076111f0565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a290940190925282519290930191909120919250907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c3d5760405162461bcd60e51b81526004018080602001828103825260228152602001806116e86022913960400191505060405180910390fd5b8560ff16601b1480610c5257508560ff16601c145b610c8d5760405162461bcd60e51b81526004018080602001828103825260228152602001806118286022913960400191505060405180910390fd5b600060018288888860405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610ce9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d3b5760405162461bcd60e51b815260040180806020018281038252602f81526020018061170a602f913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090208054600181019091558914610d995760405162461bcd60e51b815260040180806020018281038252602b815260200180611618602b913960400191505060405180910390fd5b87421115610dd85760405162461bcd60e51b815260040180806020018281038252602f8152602001806116b9602f913960400191505060405180910390fd5b610de2818b611166565b505050505b505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610f0c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ed1578181015183820152602001610eb9565b50505050905090810190601f168015610efe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b6000836001600160601b0316836001600160601b031611158290610f795760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b505050900390565b6001600160a01b038316610fc65760405162461bcd60e51b81526004018080602001828103825260458152602001806118e06045913960600191505060405180910390fd5b6001600160a01b03821661100b5760405162461bcd60e51b81526004018080602001828103825260438152602001806117396043913960600191505060405180910390fd5b6001600160a01b03831660009081526001602090815260409182902054825160608101909352603f808452611056936001600160601b0390921692859291906117ac90830139610f14565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260398084526110be949190911692859290919061184a908301396111f4565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b039687161790558151948616855290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36001600160a01b038084166000908152600260205260408082205485841683529120546111619291821691168361125e565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46111ea82848361125e565b50505050565b4690565b6000838301826001600160601b0380871690831610156112555760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561128957506000816001600160601b0316115b15611161576001600160a01b03831615611341576001600160a01b03831660009081526004602052604081205463ffffffff1690816112c9576000611308565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061132f828560405180606001604052806031815260200161192560319139610f14565b905061133d868484846113ec565b5050505b6001600160a01b03821615611161576001600160a01b03821660009081526004602052604081205463ffffffff16908161137c5760006113bb565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006113e2828560405180606001604052806030815260200161177c603091396111f4565b9050610de7858484845b6000611410436040518060600160405280603d81526020016117eb603d91396115ab565b905060008463ffffffff1611801561145957506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b156114b8576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611557565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600383528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600490935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081600160201b8410610f0c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b60408051808201909152600080825260208201529056fe4f7074696f6e734d61726b65743a3a64656c656761746542795369673a20696e76616c6964206e6f6e63654f7074696f6e734d61726b65743a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63654f7074696f6e734d61726b65743a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65644f7074696f6e734d61726b65743a3a64656c656761746542795369673a207369676e6174757265206578706972656445434453413a20696e76616c6964207369676e6174757265202773272076616c75654f7074696f6e734d61726b65743a3a64656c656761746542795369673a20696e76616c6964207369676e61747572654f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573734f7074696f6e734d61726b65743a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77734f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f7074696f6e734d61726b65743a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345434453413a20696e76616c6964207369676e6174757265202776272076616c75654f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77734f7074696f6e734d61726b65743a3a617070726f76653a20616d6f756e74206578636565647320393620626974734f7074696f6e734d61726b65743a3a7472616e736665723a20616d6f756e74206578636565647320393620626974734f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573734f7074696f6e734d61726b65743a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773a264697066735822122069bfabf5fc4bc06659b5b18c12e4ea308cc4375e6ed3a5319d10db29dfef8e2264736f6c634300060c00330000000000000000000000005c2eac678915e46228107cb9dcbad128c0a10ead

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea57146103ca578063c3cda520146103f0578063dd62ed3e14610437578063e7a324dc14610465578063f1127ed81461046d57610121565b806370a0823114610302578063782d6fe1146103285780637ecebe001461037057806395d89b4114610396578063a9059cbb1461039e57610121565b806323b872dd116100f457806323b872dd14610205578063313ce5671461023b578063587cde1e146102595780635c19a95c1461029b5780636fcfff45146102c357610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806320606b70146101fd575b600080fd5b61012e6104c7565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104f1565b604080519115158252519081900360200190f35b6101eb6105ad565b60408051918252519081900360200190f35b6101eb6105bc565b6101cf6004803603606081101561021b57600080fd5b506001600160a01b038135811691602081013590911690604001356105e0565b610243610721565b6040805160ff9092168252519081900360200190f35b61027f6004803603602081101561026f57600080fd5b50356001600160a01b0316610726565b604080516001600160a01b039092168252519081900360200190f35b6102c1600480360360208110156102b157600080fd5b50356001600160a01b0316610741565b005b6102e9600480360360208110156102d957600080fd5b50356001600160a01b031661074e565b6040805163ffffffff9092168252519081900360200190f35b6101eb6004803603602081101561031857600080fd5b50356001600160a01b0316610766565b6103546004803603604081101561033e57600080fd5b506001600160a01b03813516906020013561078a565b604080516001600160601b039092168252519081900360200190f35b6101eb6004803603602081101561038657600080fd5b50356001600160a01b03166109b7565b61012e6109c9565b6101cf600480360360408110156103b457600080fd5b506001600160a01b0381351690602001356109e8565b610354600480360360208110156103e057600080fd5b50356001600160a01b0316610a24565b6102c1600480360360c081101561040657600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610a95565b6101eb6004803603604081101561044d57600080fd5b506001600160a01b0381358116916020013516610def565b6101eb610e21565b61049f6004803603604081101561048357600080fd5b5080356001600160a01b0316906020013563ffffffff16610e45565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b6040518060400160405280600e81526020016d13dc1d1a5bdb9ccb93585c9ad95d60921b81525081565b600080600019831415610507575060001961052c565b610529836040518060600160405280602e8152602001611883602e9139610e7a565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b038716908117909155815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a360019150505b92915050565b6a52b7d2dcc80cd2e400000081565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602e80845291936001600160601b03909116928592610636928892919061188390830139610e7a565b9050866001600160a01b0316836001600160a01b03161415801561066357506001600160601b0382811614155b1561070957600061068d838360405180608001604052806046815260200161164360469139610f14565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b03871690811790915582519081529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b610714878783610f81565b5060019695505050505050565b601281565b6002602052600090815260409020546001600160a01b031681565b61074b3382611166565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b60004382106107ca5760405162461bcd60e51b81526004018080602001828103825260308152602001806116896030913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806107f85760009150506105a7565b6001600160a01b038416600090815260036020908152604080832063ffffffff600019860181168552925290912054168310610874576001600160a01b03841660009081526003602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506105a7565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156108af5760009150506105a7565b600060001982015b8163ffffffff168163ffffffff16111561097257600282820363ffffffff160481036108e1611600565b506001600160a01b038716600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529087141561094d576020015194506105a79350505050565b805163ffffffff168711156109645781935061096b565b6001820392505b50506108b7565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b604051806040016040528060038152602001624f534d60e81b81525081565b600080610a0d836040518060600160405280602f81526020016118b1602f9139610e7a565b9050610a1a338583610f81565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff1680610a4f576000610a8e565b6001600160a01b0383166000908152600360209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60408051808201909152600e81526d13dc1d1a5bdb9ccb93585c9ad95d60921b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667f0542378046fe03fa68543c21e9106a28e4ef3338680fe3b5a157a3bac5af3363610b076111f0565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a290940190925282519290930191909120919250907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c3d5760405162461bcd60e51b81526004018080602001828103825260228152602001806116e86022913960400191505060405180910390fd5b8560ff16601b1480610c5257508560ff16601c145b610c8d5760405162461bcd60e51b81526004018080602001828103825260228152602001806118286022913960400191505060405180910390fd5b600060018288888860405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610ce9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d3b5760405162461bcd60e51b815260040180806020018281038252602f81526020018061170a602f913960400191505060405180910390fd5b6001600160a01b03811660009081526005602052604090208054600181019091558914610d995760405162461bcd60e51b815260040180806020018281038252602b815260200180611618602b913960400191505060405180910390fd5b87421115610dd85760405162461bcd60e51b815260040180806020018281038252602f8152602001806116b9602f913960400191505060405180910390fd5b610de2818b611166565b505050505b505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610f0c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ed1578181015183820152602001610eb9565b50505050905090810190601f168015610efe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b6000836001600160601b0316836001600160601b031611158290610f795760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b505050900390565b6001600160a01b038316610fc65760405162461bcd60e51b81526004018080602001828103825260458152602001806118e06045913960600191505060405180910390fd5b6001600160a01b03821661100b5760405162461bcd60e51b81526004018080602001828103825260438152602001806117396043913960600191505060405180910390fd5b6001600160a01b03831660009081526001602090815260409182902054825160608101909352603f808452611056936001600160601b0390921692859291906117ac90830139610f14565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b039687161790559286168252908290205482516060810190935260398084526110be949190911692859290919061184a908301396111f4565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b039687161790558151948616855290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36001600160a01b038084166000908152600260205260408082205485841683529120546111619291821691168361125e565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46111ea82848361125e565b50505050565b4690565b6000838301826001600160601b0380871690831610156112555760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561128957506000816001600160601b0316115b15611161576001600160a01b03831615611341576001600160a01b03831660009081526004602052604081205463ffffffff1690816112c9576000611308565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b9050600061132f828560405180606001604052806031815260200161192560319139610f14565b905061133d868484846113ec565b5050505b6001600160a01b03821615611161576001600160a01b03821660009081526004602052604081205463ffffffff16908161137c5760006113bb565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006113e2828560405180606001604052806030815260200161177c603091396111f4565b9050610de7858484845b6000611410436040518060600160405280603d81526020016117eb603d91396115ab565b905060008463ffffffff1611801561145957506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b156114b8576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611557565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600383528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600490935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081600160201b8410610f0c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ed1578181015183820152602001610eb9565b60408051808201909152600080825260208201529056fe4f7074696f6e734d61726b65743a3a64656c656761746542795369673a20696e76616c6964206e6f6e63654f7074696f6e734d61726b65743a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63654f7074696f6e734d61726b65743a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e65644f7074696f6e734d61726b65743a3a64656c656761746542795369673a207369676e6174757265206578706972656445434453413a20696e76616c6964207369676e6174757265202773272076616c75654f7074696f6e734d61726b65743a3a64656c656761746542795369673a20696e76616c6964207369676e61747572654f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f20616464726573734f7074696f6e734d61726b65743a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77734f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f7074696f6e734d61726b65743a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345434453413a20696e76616c6964207369676e6174757265202776272076616c75654f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77734f7074696f6e734d61726b65743a3a617070726f76653a20616d6f756e74206578636565647320393620626974734f7074696f6e734d61726b65743a3a7472616e736665723a20616d6f756e74206578636565647320393620626974734f7074696f6e734d61726b65743a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f20616464726573734f7074696f6e734d61726b65743a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773a264697066735822122069bfabf5fc4bc06659b5b18c12e4ea308cc4375e6ed3a5319d10db29dfef8e2264736f6c634300060c0033

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

0000000000000000000000005c2eac678915e46228107cb9dcbad128c0a10ead

-----Decoded View---------------
Arg [0] : account (address): 0x5c2EAC678915e46228107Cb9DCBaD128c0a10Ead

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c2eac678915e46228107cb9dcbad128c0a10ead


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