ETH Price: $2,970.09 (-1.23%)
Gas: 5 Gwei

Token

YAM (YAM)
 

Overview

Max Total Supply

15,164,231.312592159866595366 YAM

Holders

8,353 (0.00%)

Total Transfers

-

Market

Price

$0.08 @ 0.000027 ETH (-4.09%)

Onchain Market Cap

$1,228,852.60

Circulating Supply Market Cap

$1,195,062.90

Other Info

Token Contract (WITH 18 Decimals)

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

OVERVIEW

YAM is an entirely decentralized protocol, experimenting with elastic supply, governance, fair distribution, and composability. A mix between AMPL + COMP + a method of building a protocol treasury

Market

Volume (24H):$376.88
Market Capitalization:$1,195,062.90
Circulating Supply:14,747,261.00 YAM
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
YAMDelegator

Compiler Version
v0.5.15+commit.6a57276f

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion, GNU GPLv3 license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2020-09-18
*/

pragma solidity 0.5.15;


// YAM v3 Token Proxy

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


// Storage for a YAM token
contract YAMTokenStorage {

    using SafeMath for uint256;

    /**
     * @dev Guard variable for re-entrancy checks. Not currently used
     */
    bool internal _notEntered;

    /**
     * @notice EIP-20 token name for this token
     */
    string public name;

    /**
     * @notice EIP-20 token symbol for this token
     */
    string public symbol;

    /**
     * @notice EIP-20 token decimals for this token
     */
    uint8 public decimals;

    /**
     * @notice Governor for this contract
     */
    address public gov;

    /**
     * @notice Pending governance for this contract
     */
    address public pendingGov;

    /**
     * @notice Approved rebaser for this contract
     */
    address public rebaser;

    /**
     * @notice Approved migrator for this contract
     */
    address public migrator;

    /**
     * @notice Incentivizer address of YAM protocol
     */
    address public incentivizer;

    /**
     * @notice Total supply of YAMs
     */
    uint256 public totalSupply;

    /**
     * @notice Internal decimals used to handle scaling factor
     */
    uint256 public constant internalDecimals = 10**24;

    /**
     * @notice Used for percentage maths
     */
    uint256 public constant BASE = 10**18;

    /**
     * @notice Scaling factor that adjusts everyone's balances
     */
    uint256 public yamsScalingFactor;

    mapping (address => uint256) internal _yamBalances;

    mapping (address => mapping (address => uint256)) internal _allowedFragments;

    uint256 public initSupply;


    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    bytes32 public DOMAIN_SEPARATOR;
}

/* Copyright 2020 Compound Labs, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */


contract YAMGovernanceStorage {
    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 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 => uint) public nonces;
}


contract YAMTokenInterface is YAMTokenStorage, YAMGovernanceStorage {

    /// @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 Event emitted when tokens are rebased
     */
    event Rebase(uint256 epoch, uint256 prevYamsScalingFactor, uint256 newYamsScalingFactor);

    /*** Gov Events ***/

    /**
     * @notice Event emitted when pendingGov is changed
     */
    event NewPendingGov(address oldPendingGov, address newPendingGov);

    /**
     * @notice Event emitted when gov is changed
     */
    event NewGov(address oldGov, address newGov);

    /**
     * @notice Sets the rebaser contract
     */
    event NewRebaser(address oldRebaser, address newRebaser);

    /**
     * @notice Sets the migrator contract
     */
    event NewMigrator(address oldMigrator, address newMigrator);

    /**
     * @notice Sets the incentivizer contract
     */
    event NewIncentivizer(address oldIncentivizer, address newIncentivizer);

    /* - ERC20 Events - */

    /**
     * @notice EIP20 Transfer event
     */
    event Transfer(address indexed from, address indexed to, uint amount);

    /**
     * @notice EIP20 Approval event
     */
    event Approval(address indexed owner, address indexed spender, uint amount);

    /* - Extra Events - */
    /**
     * @notice Tokens minted event
     */
    event Mint(address to, uint256 amount);

    // Public functions
    function transfer(address to, uint256 value) external returns(bool);
    function transferFrom(address from, address to, uint256 value) external returns(bool);
    function balanceOf(address who) external view returns(uint256);
    function balanceOfUnderlying(address who) external view returns(uint256);
    function allowance(address owner_, address spender) external view returns(uint256);
    function approve(address spender, uint256 value) external returns (bool);
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
    function maxScalingFactor() external view returns (uint256);
    function yamToFragment(uint256 yam) external view returns (uint256);
    function fragmentToYam(uint256 value) external view returns (uint256);

    /* - Governance Functions - */
    function getPriorVotes(address account, uint blockNumber) external view returns (uint256);
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) external;
    function delegate(address delegatee) external;
    function delegates(address delegator) external view returns (address);
    function getCurrentVotes(address account) external view returns (uint256);

    /* - Permissioned/Governance functions - */
    function mint(address to, uint256 amount) external returns (bool);
    function rebase(uint256 epoch, uint256 indexDelta, bool positive) external returns (uint256);
    function _setRebaser(address rebaser_) external;
    function _setIncentivizer(address incentivizer_) external;
    function _setPendingGov(address pendingGov_) external;
    function _acceptGov() external;
}

contract YAMDelegationStorage {
    /**
     * @notice Implementation address for this contract
     */
    address public implementation;
}

contract YAMDelegatorInterface is YAMDelegationStorage {
    /**
     * @notice Emitted when implementation is changed
     */
    event NewImplementation(address oldImplementation, address newImplementation);

    /**
     * @notice Called by the gov to update the implementation of the delegator
     * @param implementation_ The address of the new implementation for delegation
     * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation
     * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation
     */
    function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public;
}


contract YAMDelegator is YAMTokenInterface, YAMDelegatorInterface {
    /**
     * @notice Construct a new YAM
     * @param name_ ERC-20 name of this token
     * @param symbol_ ERC-20 symbol of this token
     * @param decimals_ ERC-20 decimal precision of this token
     * @param initTotalSupply_ Initial token amount
     * @param implementation_ The address of the implementation the contract delegates to
     * @param becomeImplementationData The encoded args for becomeImplementation
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint256 initTotalSupply_,
        address implementation_,
        bytes memory becomeImplementationData
    )
        public
    {


        // Creator of the contract is gov during initialization
        gov = msg.sender;

        // First delegate gets to initialize the delegator (i.e. storage contract)
        delegateTo(
            implementation_,
            abi.encodeWithSignature(
                "initialize(string,string,uint8,address,uint256)",
                name_,
                symbol_,
                decimals_,
                msg.sender,
                initTotalSupply_
            )
        );

        // New implementations always get set via the settor (post-initialize)
        _setImplementation(implementation_, false, becomeImplementationData);

    }

    /**
     * @notice Called by the gov to update the implementation of the delegator
     * @param implementation_ The address of the new implementation for delegation
     * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation
     * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation
     */
    function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public {
        require(msg.sender == gov, "YAMDelegator::_setImplementation: Caller must be gov");

        if (allowResign) {
            delegateToImplementation(abi.encodeWithSignature("_resignImplementation()"));
        }

        address oldImplementation = implementation;
        implementation = implementation_;

        delegateToImplementation(abi.encodeWithSignature("_becomeImplementation(bytes)", becomeImplementationData));

        emit NewImplementation(oldImplementation, implementation);
    }

    /**
     * @notice Sender supplies assets into the market and receives cTokens in exchange
     * @dev Accrues interest whether or not the operation succeeds, unless reverted
     * @param mintAmount The amount of the underlying asset to supply
     * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
     */
    function mint(address to, uint256 mintAmount)
        external
        returns (bool)
    {
        to; mintAmount; // Shh
        delegateAndReturn();
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint256 amount)
        external
        returns (bool)
    {
        dst; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @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 amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(
        address src,
        address dst,
        uint256 amount
    )
        external
        returns (bool)
    {
        src; dst; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @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 amount The number of tokens that are approved (-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(
        address spender,
        uint256 amount
    )
        external
        returns (bool)
    {
        spender; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(
        address spender,
        uint256 addedValue
    )
        external
        returns (bool)
    {
        spender; addedValue; // Shh
        delegateAndReturn();
    }



    function maxScalingFactor()
        external
        view
        returns (uint256)
    {
        delegateToViewAndReturn();
    }

    function rebase(
        uint256 epoch,
        uint256 indexDelta,
        bool positive
    )
        external
        returns (uint256)
    {
        epoch; indexDelta; positive;
        delegateAndReturn();
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    )
        external
        returns (bool)
    {
        spender; subtractedValue; // Shh
        delegateAndReturn();
    }


    // --- Approve by signature ---
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        owner; spender; value; deadline; v; r; s; // Shh
        delegateAndReturn();
    }

    /**
     * @notice Get the current allowance from `owner` for `spender`
     * @param owner The address of the account which owns the tokens to be spent
     * @param spender The address of the account which may transfer tokens
     * @return The number of tokens allowed to be spent (-1 means infinite)
     */
    function allowance(
        address owner,
        address spender
    )
        external
        view
        returns (uint256)
    {
        owner; spender; // Shh
        delegateToViewAndReturn();
    }


    /**
     * @notice Rescues tokens and sends them to the `to` address
     * @param token The address of the token
     * @param to The address for which the tokens should be send
     * @return Success
     */
    function rescueTokens(
        address token,
        address to,
        uint256 amount
    )
        external
        returns (bool)
    {
        token; to; amount; // Shh
        delegateAndReturn();
    }

    /**
     * @notice Get the current allowance from `owner` for `spender`
     * @param delegator The address of the account which has designated a delegate
     * @return Address of delegatee
     */
    function delegates(
        address delegator
    )
        external
        view
        returns (address)
    {
        delegator; // Shh
        delegateToViewAndReturn();
    }

    /**
     * @notice Get the token balance of the `owner`
     * @param owner The address of the account to query
     * @return The number of tokens owned by `owner`
     */
    function balanceOf(address owner)
        external
        view
        returns (uint256)
    {
        owner; // Shh
        delegateToViewAndReturn();
    }

    /**
     * @notice Currently unused. For future compatability
     * @param owner The address of the account to query
     * @return The number of underlying tokens owned by `owner`
     */
    function balanceOfUnderlying(address owner)
        external
        view
        returns (uint256)
    {
        owner; // Shh
        delegateToViewAndReturn();
    }

    /*** Gov Functions ***/

    /**
      * @notice Begins transfer of gov rights. The newPendingGov must call `_acceptGov` to finalize the transfer.
      * @dev Gov function to begin change of gov. The newPendingGov must call `_acceptGov` to finalize the transfer.
      * @param newPendingGov New pending gov.
      */
    function _setPendingGov(address newPendingGov)
        external
    {
        newPendingGov; // Shh
        delegateAndReturn();
    }

    function _setRebaser(address rebaser_)
        external
    {
        rebaser_; // Shh
        delegateAndReturn();
    }

    function _setIncentivizer(address incentivizer_)
        external
    {
        incentivizer_; // Shh
        delegateAndReturn();
    }

    function _setMigrator(address migrator_)
        external
    {
        migrator_; // Shh
        delegateAndReturn();
    }

    /**
      * @notice Accepts transfer of gov rights. msg.sender must be pendingGov
      * @dev Gov function for pending gov to accept role and update gov
      * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
      */
    function _acceptGov()
        external
    {
        delegateAndReturn();
    }


    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        account; blockNumber;
        delegateToViewAndReturn();
    }

    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        delegatee; nonce; expiry; v; r; s;
        delegateAndReturn();
    }

    function delegate(address delegatee)
        external
    {
        delegatee;
        delegateAndReturn();
    }

    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        account;
        delegateToViewAndReturn();
    }


    function yamToFragment(uint256 yam)
        external
        view
        returns (uint256)
    {
        yam;
        delegateToViewAndReturn();
    }

    function fragmentToYam(uint256 value)
        external
        view
        returns (uint256)
    {
        value;
        delegateToViewAndReturn();
    }

    /**
     * @notice Internal method to delegate execution to another contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     * @param callee The contract to delegatecall
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateTo(address callee, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returnData) = callee.delegatecall(data);
        assembly {
            if eq(success, 0) {
                revert(add(returnData, 0x20), returndatasize)
            }
        }
        return returnData;
    }

    /**
     * @notice Delegates execution to the implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateToImplementation(bytes memory data) public returns (bytes memory) {
        return delegateTo(implementation, data);
    }

    /**
     * @notice Delegates execution to an implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     *  There are an additional 2 prefix uints from the wrapper returndata, which we ignore since we make an extra hop.
     * @param data The raw data to delegatecall
     * @return The returned bytes from the delegatecall
     */
    function delegateToViewImplementation(bytes memory data) public view returns (bytes memory) {
        (bool success, bytes memory returnData) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", data));
        assembly {
            if eq(success, 0) {
                revert(add(returnData, 0x20), returndatasize)
            }
        }
        return abi.decode(returnData, (bytes));
    }

    function delegateToViewAndReturn() private view returns (bytes memory) {
        (bool success, ) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", msg.data));

        assembly {
            let free_mem_ptr := mload(0x40)
            returndatacopy(free_mem_ptr, 0, returndatasize)

            switch success
            case 0 { revert(free_mem_ptr, returndatasize) }
            default { return(add(free_mem_ptr, 0x40), sub(returndatasize, 0x40)) }
        }
    }

    function delegateAndReturn() private returns (bytes memory) {
        (bool success, ) = implementation.delegatecall(msg.data);

        assembly {
            let free_mem_ptr := mload(0x40)
            returndatacopy(free_mem_ptr, 0, returndatasize)

            switch success
            case 0 { revert(free_mem_ptr, returndatasize) }
            default { return(free_mem_ptr, returndatasize) }
        }
    }

    /**
     * @notice Delegates execution to an implementation contract
     * @dev It returns to the external caller whatever the implementation returns or forwards reverts
     */
    function() external payable {
        require(msg.value == 0,"YAMDelegator:fallback: cannot send value to fallback");

        // delegate all other functions to current implementation
        delegateAndReturn();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"initTotalSupply_","type":"uint256"},{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"payable":false,"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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldGov","type":"address"},{"indexed":false,"internalType":"address","name":"newGov","type":"address"}],"name":"NewGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":false,"internalType":"address","name":"newImplementation","type":"address"}],"name":"NewImplementation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldIncentivizer","type":"address"},{"indexed":false,"internalType":"address","name":"newIncentivizer","type":"address"}],"name":"NewIncentivizer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldMigrator","type":"address"},{"indexed":false,"internalType":"address","name":"newMigrator","type":"address"}],"name":"NewMigrator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingGov","type":"address"}],"name":"NewPendingGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRebaser","type":"address"},{"indexed":false,"internalType":"address","name":"newRebaser","type":"address"}],"name":"NewRebaser","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevYamsScalingFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newYamsScalingFactor","type":"uint256"}],"name":"Rebase","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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"_acceptGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bool","name":"allowResign","type":"bool"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"name":"_setImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"incentivizer_","type":"address"}],"name":"_setIncentivizer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"migrator_","type":"address"}],"name":"_setMigrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newPendingGov","type":"address"}],"name":"_setPendingGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"rebaser_","type":"address"}],"name":"_setRebaser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToViewImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"fragmentToYam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"incentivizer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"internalDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migrator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingGov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"indexDelta","type":"uint256"},{"internalType":"bool","name":"positive","type":"bool"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebaser","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"yam","type":"uint256"}],"name":"yamToFragment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"yamsScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001fca38038062001fca833981810160405260c08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604081815260208301519083015160608401516080909401805192969195919284640100000000821115620001cd57600080fd5b908301906020820185811115620001e357600080fd5b8251640100000000811182820188101715620001fe57600080fd5b82525081516020918201929091019080838360005b838110156200022d57818101518382015260200162000213565b50505050905090810190601f1680156200025b5780820380516001836020036101000a031916815260200191505b5060405250505033600360016101000a8154816001600160a01b0302191690836001600160a01b03160217905550620003d48287878733886040516024018080602001806020018660ff1660ff168152602001856001600160a01b03166001600160a01b03168152602001848152602001838103835288818151815260200191508051906020019080838360005b8381101562000303578181015183820152602001620002e9565b50505050905090810190601f168015620003315780820380516001836020036101000a031916815260200191505b50838103825287518152875160209182019189019080838360005b83811015620003665781810151838201526020016200034c565b50505050905090810190601f168015620003945780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116636c94522160e01b17909152909850620003f8169650505050505050565b50620003ec826000836001600160e01b03620004bf16565b505050505050620006a0565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106200043a5780518252601f19909201916020918201910162000419565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200049c576040519150601f19603f3d011682016040523d82523d6000602084013e620004a1565b606091505b50915091506000821415620004b7573d60208201fd5b949350505050565b60035461010090046001600160a01b031633146200050f5760405162461bcd60e51b815260040180806020018281038252603481526020018062001f966034913960400191505060405180910390fd5b811562000551576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b179091526200054f91906200067616565b505b601280546001600160a01b038581166001600160a01b0319831617909255604051602060248201818152855160448401528551949093169362000627938693909283926064909201919085019080838360005b83811015620005be578181015183820152602001620005a4565b50505050905090810190601f168015620005ec5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b179091529093506200067616915050565b50601254604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6012546060906200069a906001600160a01b0316836001600160e01b03620003f816565b92915050565b6118e680620006b06000396000f3fe60806040526004361061031e5760003560e01c806364dd48f5116101a5578063a457c2d7116100ec578063d505accf11610095578063ec342ad01161006f578063ec342ad014610bb6578063f1127ed814610bcb578063f18d9b6314610517578063fa8f3455146107925761031e565b8063d505accf14610aee578063dd62ed3e14610b59578063e7a324dc14610ba15761031e565b8063b6fa8576116100c6578063b6fa857614610a78578063c3cda52014610a8d578063cea9d26f146105e55761031e565b8063a457c2d7146104bd578063a9059cbb146104bd578063b4b5ea571461069f5761031e565b80637af548c11161014e57806395d89b411161012857806395d89b4114610a4e57806397d63f9314610a6357806398dca210146107925761031e565b80637af548c1146109c15780637cd07e47146109f95780637ecebe0014610a0e5761031e565b806370a082311161017f57806370a082311461069f57806373f03dff14610792578063782d6fe11461097b5761031e565b806364dd48f5146108f85780636fc6407c1461090d5780636fcfff45146109225761031e565b8063313ce5671161026957806347dfe70d11610212578063587cde1e116101ec578063587cde1e146108c05780635c19a95c146107925780635c60da1b146108e35761031e565b806347dfe70d146107925780634bda2e20146107d4578063555bcc40146107e95761031e565b80633af9e669116102435780633af9e6691461069f57806340c10f19146104bd5780634487152f146106df5761031e565b8063313ce5671461065f5780633644e5151461068a57806339509351146104bd5761031e565b806312d43a51116102cb57806323b872dd116102a557806323b872dd146105e5578063252408101461063557806330adf81f1461064a5761031e565b806312d43a51146105a657806318160ddd146105bb57806320606b70146105d05761031e565b806309c86403116102fc57806309c864031461051757806311d3e6c41461055357806311fd8a83146105685761031e565b806306fdde03146103805780630933c1ed1461040a578063095ea7b3146104bd575b3415610375576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806118016034913960400191505060405180910390fd5b61037d610c37565b50005b34801561038c57600080fd5b50610395610ccc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103cf5781810151838201526020016103b7565b50505050905090810190601f1680156103fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041657600080fd5b506103956004803603602081101561042d57600080fd5b81019060208101813564010000000081111561044857600080fd5b82018360208201111561045a57600080fd5b8035906020019184600183028401116401000000008311171561047c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d77945050505050565b3480156104c957600080fd5b50610503600480360360408110156104e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610da3565b604080519115158252519081900360200190f35b34801561052357600080fd5b506105416004803603602081101561053a57600080fd5b5035610db4565b60408051918252519081900360200190f35b34801561055f57600080fd5b50610541610dc4565b34801561057457600080fd5b5061057d610dd2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156105b257600080fd5b5061057d610dee565b3480156105c757600080fd5b50610541610e0f565b3480156105dc57600080fd5b50610541610e15565b3480156105f157600080fd5b506105036004803603606081101561060857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e30565b34801561064157600080fd5b5061057d610e42565b34801561065657600080fd5b50610541610e5e565b34801561066b57600080fd5b50610674610e82565b6040805160ff9092168252519081900360200190f35b34801561069657600080fd5b50610541610e8b565b3480156106ab57600080fd5b50610541600480360360208110156106c257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610db4565b3480156106eb57600080fd5b506103956004803603602081101561070257600080fd5b81019060208101813564010000000081111561071d57600080fd5b82018360208201111561072f57600080fd5b8035906020019184600183028401116401000000008311171561075157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e91945050505050565b34801561079e57600080fd5b506107d2600480360360208110156107b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611129565b005b3480156107e057600080fd5b506107d2611135565b3480156107f557600080fd5b506107d26004803603606081101561080c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013515159181019060608101604082013564010000000081111561084b57600080fd5b82018360208201111561085d57600080fd5b8035906020019184600183028401116401000000008311171561087f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611140945050505050565b3480156108cc57600080fd5b5061057d600480360360208110156106c257600080fd5b3480156108ef57600080fd5b5061057d6113b6565b34801561090457600080fd5b506105416113d2565b34801561091957600080fd5b5061057d6113e0565b34801561092e57600080fd5b506109626004803603602081101561094557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113fc565b6040805163ffffffff9092168252519081900360200190f35b34801561098757600080fd5b506105416004803603604081101561099e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611414565b3480156109cd57600080fd5b50610541600480360360608110156109e457600080fd5b50803590602081013590604001351515610e30565b348015610a0557600080fd5b5061057d61141e565b348015610a1a57600080fd5b5061054160048036036020811015610a3157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661143a565b348015610a5a57600080fd5b5061039561144c565b348015610a6f57600080fd5b506105416114c2565b348015610a8457600080fd5b506105416114c8565b348015610a9957600080fd5b506107d2600480360360c0811015610ab057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a001356114ce565b348015610afa57600080fd5b506107d2600480360360e0811015610b1157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356114df565b348015610b6557600080fd5b5061054160048036036040811015610b7c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611414565b348015610bad57600080fd5b506105416114f1565b348015610bc257600080fd5b5061054161150c565b348015610bd757600080fd5b50610c1760048036036040811015610bee57600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff16611518565b6040805163ffffffff909316835260208301919091528051918290030190f35b60125460405160609160009173ffffffffffffffffffffffffffffffffffffffff90911690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610cac576040519150601f19603f3d011682016040523d82523d6000602084013e610cb1565b606091505b505090506040513d6000823e818015610cc8573d82f35b3d82fd5b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b820191906000526020600020905b815481529060010190602001808311610d5257829003601f168201915b505050505081565b601254606090610d9d9073ffffffffffffffffffffffffffffffffffffffff1683611545565b92915050565b6000610dad610c37565b5092915050565b6000610dbe611632565b50919050565b6000610dce611632565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60405180604361183582396043019050604051809103902081565b6000610e3a610c37565b509392505050565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b600d5481565b6060600060603073ffffffffffffffffffffffffffffffffffffffff16846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015610eef578181015183820152602001610ed7565b50505050905090810190601f168015610f1c5780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0933c1ed00000000000000000000000000000000000000000000000000000000178152905182519295509350839250908083835b60208310610fe157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610fa4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611041576040519150601f19603f3d011682016040523d82523d6000602084013e611046565b606091505b5091509150600082141561105b573d60208201fd5b80806020019051602081101561107057600080fd5b810190808051604051939291908464010000000082111561109057600080fd5b9083019060208201858111156110a557600080fd5b82516401000000008111828201881017156110bf57600080fd5b82525081516020918201929091019080838360005b838110156110ec5781810151838201526020016110d4565b50505050905090810190601f1680156111195780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b611131610c37565b5050565b61113d610c37565b50565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806117cd6034913960400191505060405180910390fd5b811561121d576040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f153ab5050000000000000000000000000000000000000000000000000000000017905261121b90610d77565b505b6012805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff0000000000000000000000000000000000000000831617909255604051602060248201818152855160448401528551949093169361135a938693909283926064909201919085019080838360005b838110156112ac578181015183820152602001611294565b50505050905090810190601f1680156112d95780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f56e67728000000000000000000000000000000000000000000000000000000001790529250610d77915050565b506012546040805173ffffffffffffffffffffffffffffffffffffffff8085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b60125473ffffffffffffffffffffffffffffffffffffffff1681565b69d3c21bcecceda100000081565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60106020526000908152604090205463ffffffff1681565b6000610dad611632565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60116020526000908152604090205481565b600280546040805160206001841615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909316849004601f81018490048402820184019092528181529291830182828015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b600c5481565b60095481565b6114d6610c37565b50505050505050565b6114e7610c37565b5050505050505050565b60405180603a6118788239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6060600060608473ffffffffffffffffffffffffffffffffffffffff16846040518082805190602001908083835b602083106115b057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611573565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611610576040519150601f19603f3d011682016040523d82523d6000602084013e611615565b606091505b5091509150600082141561162a573d60208201fd5b949350505050565b606060003073ffffffffffffffffffffffffffffffffffffffff166000366040516024018080602001828103825284848281815260200192508082843760008382015260408051601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0933c1ed0000000000000000000000000000000000000000000000000000000017815292518151919750955085945091925081905083835b6020831061174a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161170d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146117aa576040519150601f19603f3d011682016040523d82523d6000602084013e6117af565b606091505b505090506040513d6000823e818015610cc85760403d0360408301f3fe59414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f7659414d44656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a723158206f52cedd33e61251daa0a6a320935f540020b9c01e1c491a5d0992c13a8d3dd064736f6c634300050f003259414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f7600000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000006508fb1ed4d7ece18dfff05c834e44124edbd9100000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000359414d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000359414d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061031e5760003560e01c806364dd48f5116101a5578063a457c2d7116100ec578063d505accf11610095578063ec342ad01161006f578063ec342ad014610bb6578063f1127ed814610bcb578063f18d9b6314610517578063fa8f3455146107925761031e565b8063d505accf14610aee578063dd62ed3e14610b59578063e7a324dc14610ba15761031e565b8063b6fa8576116100c6578063b6fa857614610a78578063c3cda52014610a8d578063cea9d26f146105e55761031e565b8063a457c2d7146104bd578063a9059cbb146104bd578063b4b5ea571461069f5761031e565b80637af548c11161014e57806395d89b411161012857806395d89b4114610a4e57806397d63f9314610a6357806398dca210146107925761031e565b80637af548c1146109c15780637cd07e47146109f95780637ecebe0014610a0e5761031e565b806370a082311161017f57806370a082311461069f57806373f03dff14610792578063782d6fe11461097b5761031e565b806364dd48f5146108f85780636fc6407c1461090d5780636fcfff45146109225761031e565b8063313ce5671161026957806347dfe70d11610212578063587cde1e116101ec578063587cde1e146108c05780635c19a95c146107925780635c60da1b146108e35761031e565b806347dfe70d146107925780634bda2e20146107d4578063555bcc40146107e95761031e565b80633af9e669116102435780633af9e6691461069f57806340c10f19146104bd5780634487152f146106df5761031e565b8063313ce5671461065f5780633644e5151461068a57806339509351146104bd5761031e565b806312d43a51116102cb57806323b872dd116102a557806323b872dd146105e5578063252408101461063557806330adf81f1461064a5761031e565b806312d43a51146105a657806318160ddd146105bb57806320606b70146105d05761031e565b806309c86403116102fc57806309c864031461051757806311d3e6c41461055357806311fd8a83146105685761031e565b806306fdde03146103805780630933c1ed1461040a578063095ea7b3146104bd575b3415610375576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806118016034913960400191505060405180910390fd5b61037d610c37565b50005b34801561038c57600080fd5b50610395610ccc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103cf5781810151838201526020016103b7565b50505050905090810190601f1680156103fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041657600080fd5b506103956004803603602081101561042d57600080fd5b81019060208101813564010000000081111561044857600080fd5b82018360208201111561045a57600080fd5b8035906020019184600183028401116401000000008311171561047c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d77945050505050565b3480156104c957600080fd5b50610503600480360360408110156104e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610da3565b604080519115158252519081900360200190f35b34801561052357600080fd5b506105416004803603602081101561053a57600080fd5b5035610db4565b60408051918252519081900360200190f35b34801561055f57600080fd5b50610541610dc4565b34801561057457600080fd5b5061057d610dd2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156105b257600080fd5b5061057d610dee565b3480156105c757600080fd5b50610541610e0f565b3480156105dc57600080fd5b50610541610e15565b3480156105f157600080fd5b506105036004803603606081101561060857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e30565b34801561064157600080fd5b5061057d610e42565b34801561065657600080fd5b50610541610e5e565b34801561066b57600080fd5b50610674610e82565b6040805160ff9092168252519081900360200190f35b34801561069657600080fd5b50610541610e8b565b3480156106ab57600080fd5b50610541600480360360208110156106c257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610db4565b3480156106eb57600080fd5b506103956004803603602081101561070257600080fd5b81019060208101813564010000000081111561071d57600080fd5b82018360208201111561072f57600080fd5b8035906020019184600183028401116401000000008311171561075157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e91945050505050565b34801561079e57600080fd5b506107d2600480360360208110156107b557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611129565b005b3480156107e057600080fd5b506107d2611135565b3480156107f557600080fd5b506107d26004803603606081101561080c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013515159181019060608101604082013564010000000081111561084b57600080fd5b82018360208201111561085d57600080fd5b8035906020019184600183028401116401000000008311171561087f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611140945050505050565b3480156108cc57600080fd5b5061057d600480360360208110156106c257600080fd5b3480156108ef57600080fd5b5061057d6113b6565b34801561090457600080fd5b506105416113d2565b34801561091957600080fd5b5061057d6113e0565b34801561092e57600080fd5b506109626004803603602081101561094557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113fc565b6040805163ffffffff9092168252519081900360200190f35b34801561098757600080fd5b506105416004803603604081101561099e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611414565b3480156109cd57600080fd5b50610541600480360360608110156109e457600080fd5b50803590602081013590604001351515610e30565b348015610a0557600080fd5b5061057d61141e565b348015610a1a57600080fd5b5061054160048036036020811015610a3157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661143a565b348015610a5a57600080fd5b5061039561144c565b348015610a6f57600080fd5b506105416114c2565b348015610a8457600080fd5b506105416114c8565b348015610a9957600080fd5b506107d2600480360360c0811015610ab057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a001356114ce565b348015610afa57600080fd5b506107d2600480360360e0811015610b1157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356114df565b348015610b6557600080fd5b5061054160048036036040811015610b7c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611414565b348015610bad57600080fd5b506105416114f1565b348015610bc257600080fd5b5061054161150c565b348015610bd757600080fd5b50610c1760048036036040811015610bee57600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff16611518565b6040805163ffffffff909316835260208301919091528051918290030190f35b60125460405160609160009173ffffffffffffffffffffffffffffffffffffffff90911690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610cac576040519150601f19603f3d011682016040523d82523d6000602084013e610cb1565b606091505b505090506040513d6000823e818015610cc8573d82f35b3d82fd5b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b820191906000526020600020905b815481529060010190602001808311610d5257829003601f168201915b505050505081565b601254606090610d9d9073ffffffffffffffffffffffffffffffffffffffff1683611545565b92915050565b6000610dad610c37565b5092915050565b6000610dbe611632565b50919050565b6000610dce611632565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff1681565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60405180604361183582396043019050604051809103902081565b6000610e3a610c37565b509392505050565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60035460ff1681565b600d5481565b6060600060603073ffffffffffffffffffffffffffffffffffffffff16846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015610eef578181015183820152602001610ed7565b50505050905090810190601f168015610f1c5780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0933c1ed00000000000000000000000000000000000000000000000000000000178152905182519295509350839250908083835b60208310610fe157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610fa4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611041576040519150601f19603f3d011682016040523d82523d6000602084013e611046565b606091505b5091509150600082141561105b573d60208201fd5b80806020019051602081101561107057600080fd5b810190808051604051939291908464010000000082111561109057600080fd5b9083019060208201858111156110a557600080fd5b82516401000000008111828201881017156110bf57600080fd5b82525081516020918201929091019080838360005b838110156110ec5781810151838201526020016110d4565b50505050905090810190601f1680156111195780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b611131610c37565b5050565b61113d610c37565b50565b600354610100900473ffffffffffffffffffffffffffffffffffffffff1633146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806117cd6034913960400191505060405180910390fd5b811561121d576040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f153ab5050000000000000000000000000000000000000000000000000000000017905261121b90610d77565b505b6012805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff0000000000000000000000000000000000000000831617909255604051602060248201818152855160448401528551949093169361135a938693909283926064909201919085019080838360005b838110156112ac578181015183820152602001611294565b50505050905090810190601f1680156112d95780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f56e67728000000000000000000000000000000000000000000000000000000001790529250610d77915050565b506012546040805173ffffffffffffffffffffffffffffffffffffffff8085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b60125473ffffffffffffffffffffffffffffffffffffffff1681565b69d3c21bcecceda100000081565b60075473ffffffffffffffffffffffffffffffffffffffff1681565b60106020526000908152604090205463ffffffff1681565b6000610dad611632565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60116020526000908152604090205481565b600280546040805160206001841615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909316849004601f81018490048402820184019092528181529291830182828015610d6f5780601f10610d4457610100808354040283529160200191610d6f565b600c5481565b60095481565b6114d6610c37565b50505050505050565b6114e7610c37565b5050505050505050565b60405180603a6118788239603a019050604051809103902081565b670de0b6b3a764000081565b600f6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6060600060608473ffffffffffffffffffffffffffffffffffffffff16846040518082805190602001908083835b602083106115b057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611573565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611610576040519150601f19603f3d011682016040523d82523d6000602084013e611615565b606091505b5091509150600082141561162a573d60208201fd5b949350505050565b606060003073ffffffffffffffffffffffffffffffffffffffff166000366040516024018080602001828103825284848281815260200192508082843760008382015260408051601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0933c1ed0000000000000000000000000000000000000000000000000000000017815292518151919750955085945091925081905083835b6020831061174a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161170d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146117aa576040519150601f19603f3d011682016040523d82523d6000602084013e6117af565b606091505b505090506040513d6000823e818015610cc85760403d0360408301f3fe59414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f7659414d44656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a723158206f52cedd33e61251daa0a6a320935f540020b9c01e1c491a5d0992c13a8d3dd064736f6c634300050f0032

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000006508fb1ed4d7ece18dfff05c834e44124edbd9100000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000359414d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000359414d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): YAM
Arg [1] : symbol_ (string): YAM
Arg [2] : decimals_ (uint8): 18
Arg [3] : initTotalSupply_ (uint256): 10000000000000000000000
Arg [4] : implementation_ (address): 0x6508fB1ED4D7eCE18DffF05C834e44124EDbD910
Arg [5] : becomeImplementationData (bytes): 0x

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [4] : 0000000000000000000000006508fb1ed4d7ece18dfff05c834e44124edbd910
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 59414d0000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 59414d0000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

14309:14290:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28419:9;:14;28411:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28569:19;:17;:19::i;:::-;;14309:14290;5643:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5643:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5643:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26220:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26220:141:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26220:141:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26220:141:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26220:141:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;26220:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;26220:141:0;;-1:-1:-1;26220:141:0;;-1:-1:-1;;;;;26220:141:0:i;18721:193::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18721:193:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18721:193:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25053:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25053:162:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25053:162:0;;:::i;:::-;;;;;;;;;;;;;;;;19510:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19510:136:0;;;:::i;6131:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6131:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5930:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5930:18:0;;;:::i;6426:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6426:26:0;;;:::i;9397:122::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9397:122:0;;;:::i;18034:217::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18034:217:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18034:217:0;;;;;;;;;;;;;;;;;;:::i;6028:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6028:25:0;;;:::i;7115:108::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7115:108:0;;;:::i;5839:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5839:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7230:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7230:31:0;;;:::i;22673:175::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22673:175:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22673:175:0;;;;:::i;26783:434::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26783:434:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26783:434:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26783:434:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26783:434:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;26783:434:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;26783:434:0;;-1:-1:-1;26783:434:0;;-1:-1:-1;;;;;26783:434:0:i;23616:129::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23616:129:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23616:129:0;;;;:::i;:::-;;24013:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24013:83:0;;;:::i;16146:638::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16146:638:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16146:638:0;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;16146:638:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;16146:638:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;16146:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;16146:638:0;;-1:-1:-1;16146:638:0;;-1:-1:-1;;;;;16146:638:0:i;21922:189::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21922:189:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;13534:29:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13534:29:0;;;:::i;6543:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6543:49:0;;;:::i;6335:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6335:27:0;;;:::i;9275:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9275:49:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9275:49:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24106:197;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24106:197:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24106:197:0;;;;;;;;;:::i;19654:226::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19654:226:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19654:226:0;;;;;;;;;;;;;;:::i;6232:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6232:23:0;;;:::i;9811:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9811:39:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9811:39:0;;;;:::i;5739:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5739:20:0;;;:::i;6974:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6974:25:0;;;:::i;6789:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6789:32:0;;;:::i;24311:264::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24311:264:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;24311:264:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;20410:301::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20410:301:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;20410:301:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21041:216::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21041:216:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21041:216:0;;;;;;;;;;;:::i;9613:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9613:117:0;;;:::i;6661:37::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6661:37:0;;;:::i;9136:70::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9136:70:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9136:70:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;27750:427;27840:14;;:37;;27796:12;;27822;;27840:14;;;;;27822:12;;27868:8;;27840:37;27822:12;27868:8;;27822:12;27840:37;1:33:-1;27840:37:0;;45:16:-1;;;-1:-1;27840:37:0;;-1:-1:-1;27840:37:0;;-1:-1:-1;;27840:37:0;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;27821:56:0;;;27940:4;27934:11;27991:14;27988:1;27974:12;27959:47;28029:7;28050:47;;;;28142:14;28128:12;28121:36;28050:47;28080:14;28066:12;28059:36;5643:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26220:141::-;26332:14;;26289:12;;26321:32;;26332:14;;26348:4;26321:10;:32::i;:::-;26314:39;26220:141;-1:-1:-1;;26220:141:0:o;18721:193::-;18832:4;18887:19;:17;:19::i;:::-;;18721:193;;;;:::o;25053:162::-;25141:7;25182:25;:23;:25::i;:::-;;25053:162;;;:::o;19510:136::-;19588:7;19613:25;:23;:25::i;:::-;;19510:136;:::o;6131:22::-;;;;;;:::o;5930:18::-;;;;;;;;;:::o;6426:26::-;;;;:::o;9397:122::-;9439:80;;;;;;;;;;;;;;;;;;9397:122;:::o;18034:217::-;18168:4;18224:19;:17;:19::i;:::-;;18034:217;;;;;:::o;6028:25::-;;;;;;:::o;7115:108::-;7157:66;7115:108;:::o;5839:21::-;;;;;;:::o;7230:31::-;;;;:::o;26783:434::-;26861:12;26887;26901:23;26936:4;26928:24;;27012:4;26953:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;26953:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26953:64:0;;;22:32:-1;26:21;;;22:32;6:49;;26953:64:0;;;49:4:-1;25:18;;61:17;;26953:64:0;182:15:-1;26953:64:0;179:29:-1;160:49;;26928:90:0;;;;26953:64;;-1:-1:-1;26928:90:0;-1:-1:-1;26928:90:0;;-1:-1:-1;25:18;26928:90:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;26928:90:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;26886:132:0;;;;27068:1;27059:7;27056:14;27053:2;;;27120:14;27113:4;27101:10;27097:21;27090:45;27053:2;27189:10;27178:31;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27178:31:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;27178:31:0;;420:4:-1;411:14;;;;27178:31:0;;;;;411:14:-1;27178:31:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;27178:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27171:38;;;;26783:434;;;:::o;23616:129::-;23718:19;:17;:19::i;:::-;;23616:129;:::o;24013:83::-;24069:19;:17;:19::i;:::-;;24013:83::o;16146:638::-;16296:3;;;;;;;16282:10;:17;16274:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16373:11;16369:120;;;16426:50;;;22:32:-1;6:49;;16426:50:0;;;;;;49:4:-1;25:18;;61:17;;16426:50:0;182:15:-1;16426:50:0;179:29:-1;160:49;;16401:76:0;;:24;:76::i;:::-;;16369:120;16529:14;;;;16554:32;;;;;;;;;;16624:81;;;;;;;;;;;;;;;;;16529:14;;;;;16599:107;;16680:24;;16624:81;;;;;;;;;;;;;;;;16501:25;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;16624:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16624:81:0;;;22:32:-1;26:21;;;22:32;6:49;;16624:81:0;;;49:4:-1;25:18;;61:17;;16624:81:0;182:15:-1;16624:81:0;179:29:-1;160:49;;16624:81:0;-1:-1:-1;16599:24:0;;-1:-1:-1;;16599:107:0:i;:::-;-1:-1:-1;16761:14:0;;16724:52;;;16761:14;16724:52;;;;;16761:14;;;16724:52;;;;;;;;;;;;;;;;16146:638;;;;:::o;13534:29::-;;;;;;:::o;6543:49::-;6586:6;6543:49;:::o;6335:27::-;;;;;;:::o;9275:49::-;;;;;;;;;;;;;;;:::o;24106:197::-;24214:7;24270:25;:23;:25::i;6232:23::-;;;;;;:::o;9811:39::-;;;;;;;;;;;;;:::o;5739:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6974:25;;;;:::o;6789:32::-;;;;:::o;24311:264::-;24548:19;:17;:19::i;:::-;;24311:264;;;;;;:::o;20410:301::-;20684:19;:17;:19::i;:::-;;20410:301;;;;;;;:::o;9613:117::-;9659:71;;;;;;;;;;;;;;;;;;9613:117;:::o;6661:37::-;6692:6;6661:37;:::o;9136:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25575:343::-;25648:12;25674;25688:23;25715:6;:19;;25735:4;25715:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;25715:25:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;25673:67:0;;;;25790:1;25781:7;25778:14;25775:2;;;25842:14;25835:4;25823:10;25819:21;25812:45;25775:2;25900:10;25575:343;-1:-1:-1;;;;25575:343:0:o;27225:517::-;27282:12;27308;27334:4;27326:24;;27410:8;;27351:68;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;27351:68:0;;;137:4:-1;117:14;;;133:9;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;27351:68:0;;;49:4:-1;25:18;;61:17;;27351:68:0;182:15:-1;27351:68:0;179:29:-1;160:49;;27326:94:0;;;;27351:68;;-1:-1:-1;27326:94:0;-1:-1:-1;27326:94:0;;-1:-1:-1;25:18;;-1:-1;27326:94:0;;-1:-1:-1;27326:94:0;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;27326:94:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;27307:113:0;;;27483:4;27477:11;27534:14;27531:1;27517:12;27502:47;27572:7;27593:47;;;;27716:4;27700:14;27696:25;27689:4;27675:12;27671:23;27664:58

Swarm Source

bzzr://6f52cedd33e61251daa0a6a320935f540020b9c01e1c491a5d0992c13a8d3dd0
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.