ETH Price: $2,389.36 (-3.57%)

Token

Metric Revenue Share (xMETRIC)
 

Overview

Max Total Supply

41,267.417414046002693768 xMETRIC

Holders

31

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
98.183779741983183869 xMETRIC

Value
$0.00
0x6c1b687374069499e43f4029257cbe2924897672
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
RevenueShare

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : RevenueShare.sol
// SPDX-License-Identifier: MIT
// @author: https://github.com/SHA-2048

pragma solidity 0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * Contract logic borrowed from sushi's SushiBar
 * open source contract
 *
 * $TOKEN refers to any ERC20 used by the contract
 * as underlying asset
 *
 * The goal here is to share $TOKEN revenues with users
 * staking their $TOKEN in the contract
 *
 * Each stake mints $rsTOKEN shares. These shares
 * gain in value with time as the contract receives
 * more $TOKEN from trading fees.
 *
 * At leave, $rsTOKEN shares will be burned to unlock
 * underlying $TOKEN
 *
 * WARNING: If $rsTOKEN tokens are transferred to the
 * the contract, it is equivalent to a burn and
 * underlying $TOKEN tokens will get distributed
 * to existing $rsTOKEN holders
 */

contract RevenueShare is ERC20 {

    IERC20 public underlying;

    constructor(
        IERC20 _underlying,
        string memory _name,
        string memory _symbol
    ) ERC20(_name, _symbol) {
        underlying = _underlying;
    }

    function enter(uint _underlyingAmount) external {
        _mint(msg.sender, _shares(_underlyingAmount));
        underlying.transferFrom(msg.sender, address(this), _underlyingAmount);
    }

    function leave(uint _shareAmount) external {
        underlying.transfer(msg.sender, _underlyingOf(_shareAmount));
        _burn(msg.sender, _shareAmount);
    }

    function sharePrice() external view returns (uint) {
        uint shares = _totalSupply();
        if (shares == 0) {
            return 1e18;
        }

        return balanceUnderlying() * 1e18 / shares;
    }

    function balanceUnderlying() public view returns (uint) {
        return underlying.balanceOf(address(this));
    }

    function burnLockedShares() external {
        _burn(address(this), _lockedShares());
    }

    function _shares(uint _underlyingAmount) internal view returns (uint) {
        uint totalShares = _totalSupply();
        if (totalShares == 0) {
            return _underlyingAmount;
        }

        uint totalStaked = underlying.balanceOf(address(this));
        return _underlyingAmount * totalShares / totalStaked;
    }

    function _underlyingOf(uint _shareAmount) internal view returns (uint) {
        uint totalShares = _totalSupply();
        if (totalShares == 0) {
            return 0;
        }

        uint totalStaked = underlying.balanceOf(address(this));
        return _shareAmount * totalStaked / totalShares;
    }

    function _totalSupply() internal view returns(uint) {
        return totalSupply() - _lockedShares();
    }

    function _lockedShares() internal view returns(uint) {
        return balanceOf(address(this));
    }
}

File 2 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 5 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 4 of 5 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_underlying","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":"value","type":"uint256"}],"name":"Approval","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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","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":"amount","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":[],"name":"balanceUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnLockedShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shareAmount","type":"uint256"}],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sharePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002456380380620024568339818101604052810190620000379190620001f0565b8181816003908051906020019062000051929190620000b7565b5080600490805190602001906200006a929190620000b7565b50505082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200040b565b828054620000c5906200035d565b90600052602060002090601f016020900481019282620000e9576000855562000135565b82601f106200010457805160ff191683800117855562000135565b8280016001018555821562000135579182015b828111156200013457825182559160200191906001019062000117565b5b50905062000144919062000148565b5090565b5b808211156200016357600081600090555060010162000149565b5090565b60006200017e6200017884620002ac565b62000278565b9050828152602081018484840111156200019757600080fd5b620001a484828562000327565b509392505050565b600081519050620001bd81620003f1565b92915050565b600082601f830112620001d557600080fd5b8151620001e784826020860162000167565b91505092915050565b6000806000606084860312156200020657600080fd5b60006200021686828701620001ac565b935050602084015167ffffffffffffffff8111156200023457600080fd5b6200024286828701620001c3565b925050604084015167ffffffffffffffff8111156200026057600080fd5b6200026e86828701620001c3565b9150509250925092565b6000604051905081810181811067ffffffffffffffff82111715620002a257620002a1620003c2565b5b8060405250919050565b600067ffffffffffffffff821115620002ca57620002c9620003c2565b5b601f19601f8301169050602081019050919050565b6000620002ec8262000307565b9050919050565b60006200030082620002df565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620003475780820151818401526020810190506200032a565b8381111562000357576000848401525b50505050565b600060028204905060018216806200037657607f821691505b602082108114156200038d576200038c62000393565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003fc81620002f3565b81146200040857600080fd5b50565b61203b806200041b6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d7146102be578063a59f3e0c146102ee578063a9059cbb1461030a578063dd62ed3e1461033a578063ef12e66e1461036a5761010b565b806370a082311461023457806387269729146102645780638da876c91461028257806395d89b41146102a05761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca57806367dfd4c9146101fa5780636f307dc3146102165761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610374565b6040516101259190611b7b565b60405180910390f35b610148600480360381019061014391906115b9565b610406565b6040516101559190611b45565b60405180910390f35b610166610424565b6040516101739190611cdd565b60405180910390f35b6101966004803603810190610191919061156a565b61042e565b6040516101a39190611b45565b60405180910390f35b6101b461052f565b6040516101c19190611cf8565b60405180910390f35b6101e460048036038101906101df91906115b9565b610538565b6040516101f19190611b45565b60405180910390f35b610214600480360381019061020f919061161e565b6105e4565b005b61021e6106a9565b60405161022b9190611b60565b60405180910390f35b61024e60048036038101906102499190611505565b6106cf565b60405161025b9190611cdd565b60405180910390f35b61026c610717565b6040516102799190611cdd565b60405180910390f35b61028a61076b565b6040516102979190611cdd565b60405180910390f35b6102a861081d565b6040516102b59190611b7b565b60405180910390f35b6102d860048036038101906102d391906115b9565b6108af565b6040516102e59190611b45565b60405180910390f35b6103086004803603810190610303919061161e565b6109a3565b005b610324600480360381019061031f91906115b9565b610a6a565b6040516103319190611b45565b60405180910390f35b610354600480360381019061034f919061152e565b610a88565b6040516103619190611cdd565b60405180910390f35b610372610b0f565b005b60606003805461038390611ef0565b80601f01602080910402602001604051908101604052809291908181526020018280546103af90611ef0565b80156103fc5780601f106103d1576101008083540402835291602001916103fc565b820191906000526020600020905b8154815290600101906020018083116103df57829003601f168201915b5050505050905090565b600061041a610413610b22565b8484610b2a565b6001905092915050565b6000600254905090565b600061043b848484610cf5565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610486610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fd90611c1d565b60405180910390fd5b61052385610512610b22565b858461051e9190611e10565b610b2a565b60019150509392505050565b60006012905090565b60006105da610545610b22565b848460016000610553610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105d59190611d2f565b610b2a565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3361062c84610f74565b6040518363ffffffff1660e01b8152600401610649929190611b1c565b602060405180830381600087803b15801561066357600080fd5b505af1158015610677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069b91906115f5565b506106a63382611064565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610722611238565b9050600081141561073e57670de0b6b3a7640000915050610768565b80670de0b6b3a764000061075061076b565b61075a9190611db6565b6107649190611d85565b9150505b90565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107c89190611aca565b60206040518083038186803b1580156107e057600080fd5b505afa1580156107f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108189190611647565b905090565b60606004805461082c90611ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461085890611ef0565b80156108a55780601f1061087a576101008083540402835291602001916108a5565b820191906000526020600020905b81548152906001019060200180831161088857829003601f168201915b5050505050905090565b600080600160006108be610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561097b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290611c9d565b60405180910390fd5b610998610986610b22565b8585846109939190611e10565b610b2a565b600191505092915050565b6109b5336109b083611259565b611348565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610a1493929190611ae5565b602060405180830381600087803b158015610a2e57600080fd5b505af1158015610a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6691906115f5565b5050565b6000610a7e610a77610b22565b8484610cf5565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b2030610b1b61149c565b611064565b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9190611c7d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190611bdd565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610ce89190611cdd565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90611c5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90611b9d565b60405180910390fd5b610de08383836114ac565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90611bfd565b60405180910390fd5b8181610e729190611e10565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f029190611d2f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f669190611cdd565b60405180910390a350505050565b600080610f7f611238565b90506000811415610f9457600091505061105f565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ff19190611aca565b60206040518083038186803b15801561100957600080fd5b505afa15801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190611647565b90508181856110509190611db6565b61105a9190611d85565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90611c3d565b60405180910390fd5b6110e0826000836114ac565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90611bbd565b60405180910390fd5b81816111729190611e10565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546111c69190611e10565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161122b9190611cdd565b60405180910390a3505050565b600061124261149c565b61124a610424565b6112549190611e10565b905090565b600080611264611238565b905060008114156112785782915050611343565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112d59190611aca565b60206040518083038186803b1580156112ed57600080fd5b505afa158015611301573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113259190611647565b90508082856113349190611db6565b61133e9190611d85565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90611cbd565b60405180910390fd5b6113c4600083836114ac565b80600260008282546113d69190611d2f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461142b9190611d2f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114909190611cdd565b60405180910390a35050565b60006114a7306106cf565b905090565b505050565b6000813590506114c081611fc0565b92915050565b6000815190506114d581611fd7565b92915050565b6000813590506114ea81611fee565b92915050565b6000815190506114ff81611fee565b92915050565b60006020828403121561151757600080fd5b6000611525848285016114b1565b91505092915050565b6000806040838503121561154157600080fd5b600061154f858286016114b1565b9250506020611560858286016114b1565b9150509250929050565b60008060006060848603121561157f57600080fd5b600061158d868287016114b1565b935050602061159e868287016114b1565b92505060406115af868287016114db565b9150509250925092565b600080604083850312156115cc57600080fd5b60006115da858286016114b1565b92505060206115eb858286016114db565b9150509250929050565b60006020828403121561160757600080fd5b6000611615848285016114c6565b91505092915050565b60006020828403121561163057600080fd5b600061163e848285016114db565b91505092915050565b60006020828403121561165957600080fd5b6000611667848285016114f0565b91505092915050565b61167981611e44565b82525050565b61168881611e56565b82525050565b61169781611e99565b82525050565b60006116a882611d13565b6116b28185611d1e565b93506116c2818560208601611ebd565b6116cb81611faf565b840191505092915050565b60006116e3602383611d1e565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611749602283611d1e565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006117af602283611d1e565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611815602683611d1e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061187b602883611d1e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006118e1602183611d1e565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611947602583611d1e565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006119ad602483611d1e565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611a13602583611d1e565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611a79601f83611d1e565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b611ab581611e82565b82525050565b611ac481611e8c565b82525050565b6000602082019050611adf6000830184611670565b92915050565b6000606082019050611afa6000830186611670565b611b076020830185611670565b611b146040830184611aac565b949350505050565b6000604082019050611b316000830185611670565b611b3e6020830184611aac565b9392505050565b6000602082019050611b5a600083018461167f565b92915050565b6000602082019050611b75600083018461168e565b92915050565b60006020820190508181036000830152611b95818461169d565b905092915050565b60006020820190508181036000830152611bb6816116d6565b9050919050565b60006020820190508181036000830152611bd68161173c565b9050919050565b60006020820190508181036000830152611bf6816117a2565b9050919050565b60006020820190508181036000830152611c1681611808565b9050919050565b60006020820190508181036000830152611c368161186e565b9050919050565b60006020820190508181036000830152611c56816118d4565b9050919050565b60006020820190508181036000830152611c768161193a565b9050919050565b60006020820190508181036000830152611c96816119a0565b9050919050565b60006020820190508181036000830152611cb681611a06565b9050919050565b60006020820190508181036000830152611cd681611a6c565b9050919050565b6000602082019050611cf26000830184611aac565b92915050565b6000602082019050611d0d6000830184611abb565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611d3a82611e82565b9150611d4583611e82565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611d7a57611d79611f22565b5b828201905092915050565b6000611d9082611e82565b9150611d9b83611e82565b925082611dab57611daa611f51565b5b828204905092915050565b6000611dc182611e82565b9150611dcc83611e82565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611e0557611e04611f22565b5b828202905092915050565b6000611e1b82611e82565b9150611e2683611e82565b925082821015611e3957611e38611f22565b5b828203905092915050565b6000611e4f82611e62565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611ea482611eab565b9050919050565b6000611eb682611e62565b9050919050565b60005b83811015611edb578082015181840152602081019050611ec0565b83811115611eea576000848401525b50505050565b60006002820490506001821680611f0857607f821691505b60208210811415611f1c57611f1b611f80565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b611fc981611e44565b8114611fd457600080fd5b50565b611fe081611e56565b8114611feb57600080fd5b50565b611ff781611e82565b811461200257600080fd5b5056fea2646970667358221220f90cdb2cb318dd63ee40d143d38e6e8b08cbeb4a2f37049fe990560b6a45f0d564736f6c63430008000033000000000000000000000000efc1c73a3d8728dc4cf2a18ac5705fe93e5914ac000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000144d657472696320526576656e75652053686172650000000000000000000000000000000000000000000000000000000000000000000000000000000000000007784d455452494300000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d7146102be578063a59f3e0c146102ee578063a9059cbb1461030a578063dd62ed3e1461033a578063ef12e66e1461036a5761010b565b806370a082311461023457806387269729146102645780638da876c91461028257806395d89b41146102a05761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca57806367dfd4c9146101fa5780636f307dc3146102165761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610374565b6040516101259190611b7b565b60405180910390f35b610148600480360381019061014391906115b9565b610406565b6040516101559190611b45565b60405180910390f35b610166610424565b6040516101739190611cdd565b60405180910390f35b6101966004803603810190610191919061156a565b61042e565b6040516101a39190611b45565b60405180910390f35b6101b461052f565b6040516101c19190611cf8565b60405180910390f35b6101e460048036038101906101df91906115b9565b610538565b6040516101f19190611b45565b60405180910390f35b610214600480360381019061020f919061161e565b6105e4565b005b61021e6106a9565b60405161022b9190611b60565b60405180910390f35b61024e60048036038101906102499190611505565b6106cf565b60405161025b9190611cdd565b60405180910390f35b61026c610717565b6040516102799190611cdd565b60405180910390f35b61028a61076b565b6040516102979190611cdd565b60405180910390f35b6102a861081d565b6040516102b59190611b7b565b60405180910390f35b6102d860048036038101906102d391906115b9565b6108af565b6040516102e59190611b45565b60405180910390f35b6103086004803603810190610303919061161e565b6109a3565b005b610324600480360381019061031f91906115b9565b610a6a565b6040516103319190611b45565b60405180910390f35b610354600480360381019061034f919061152e565b610a88565b6040516103619190611cdd565b60405180910390f35b610372610b0f565b005b60606003805461038390611ef0565b80601f01602080910402602001604051908101604052809291908181526020018280546103af90611ef0565b80156103fc5780601f106103d1576101008083540402835291602001916103fc565b820191906000526020600020905b8154815290600101906020018083116103df57829003601f168201915b5050505050905090565b600061041a610413610b22565b8484610b2a565b6001905092915050565b6000600254905090565b600061043b848484610cf5565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610486610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fd90611c1d565b60405180910390fd5b61052385610512610b22565b858461051e9190611e10565b610b2a565b60019150509392505050565b60006012905090565b60006105da610545610b22565b848460016000610553610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105d59190611d2f565b610b2a565b6001905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3361062c84610f74565b6040518363ffffffff1660e01b8152600401610649929190611b1c565b602060405180830381600087803b15801561066357600080fd5b505af1158015610677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069b91906115f5565b506106a63382611064565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610722611238565b9050600081141561073e57670de0b6b3a7640000915050610768565b80670de0b6b3a764000061075061076b565b61075a9190611db6565b6107649190611d85565b9150505b90565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107c89190611aca565b60206040518083038186803b1580156107e057600080fd5b505afa1580156107f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108189190611647565b905090565b60606004805461082c90611ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461085890611ef0565b80156108a55780601f1061087a576101008083540402835291602001916108a5565b820191906000526020600020905b81548152906001019060200180831161088857829003601f168201915b5050505050905090565b600080600160006108be610b22565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561097b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097290611c9d565b60405180910390fd5b610998610986610b22565b8585846109939190611e10565b610b2a565b600191505092915050565b6109b5336109b083611259565b611348565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610a1493929190611ae5565b602060405180830381600087803b158015610a2e57600080fd5b505af1158015610a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6691906115f5565b5050565b6000610a7e610a77610b22565b8484610cf5565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b2030610b1b61149c565b611064565b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9190611c7d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190611bdd565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610ce89190611cdd565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90611c5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90611b9d565b60405180910390fd5b610de08383836114ac565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90611bfd565b60405180910390fd5b8181610e729190611e10565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f029190611d2f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f669190611cdd565b60405180910390a350505050565b600080610f7f611238565b90506000811415610f9457600091505061105f565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ff19190611aca565b60206040518083038186803b15801561100957600080fd5b505afa15801561101d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110419190611647565b90508181856110509190611db6565b61105a9190611d85565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90611c3d565b60405180910390fd5b6110e0826000836114ac565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115d90611bbd565b60405180910390fd5b81816111729190611e10565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546111c69190611e10565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161122b9190611cdd565b60405180910390a3505050565b600061124261149c565b61124a610424565b6112549190611e10565b905090565b600080611264611238565b905060008114156112785782915050611343565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112d59190611aca565b60206040518083038186803b1580156112ed57600080fd5b505afa158015611301573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113259190611647565b90508082856113349190611db6565b61133e9190611d85565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90611cbd565b60405180910390fd5b6113c4600083836114ac565b80600260008282546113d69190611d2f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461142b9190611d2f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114909190611cdd565b60405180910390a35050565b60006114a7306106cf565b905090565b505050565b6000813590506114c081611fc0565b92915050565b6000815190506114d581611fd7565b92915050565b6000813590506114ea81611fee565b92915050565b6000815190506114ff81611fee565b92915050565b60006020828403121561151757600080fd5b6000611525848285016114b1565b91505092915050565b6000806040838503121561154157600080fd5b600061154f858286016114b1565b9250506020611560858286016114b1565b9150509250929050565b60008060006060848603121561157f57600080fd5b600061158d868287016114b1565b935050602061159e868287016114b1565b92505060406115af868287016114db565b9150509250925092565b600080604083850312156115cc57600080fd5b60006115da858286016114b1565b92505060206115eb858286016114db565b9150509250929050565b60006020828403121561160757600080fd5b6000611615848285016114c6565b91505092915050565b60006020828403121561163057600080fd5b600061163e848285016114db565b91505092915050565b60006020828403121561165957600080fd5b6000611667848285016114f0565b91505092915050565b61167981611e44565b82525050565b61168881611e56565b82525050565b61169781611e99565b82525050565b60006116a882611d13565b6116b28185611d1e565b93506116c2818560208601611ebd565b6116cb81611faf565b840191505092915050565b60006116e3602383611d1e565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611749602283611d1e565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006117af602283611d1e565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611815602683611d1e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061187b602883611d1e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006118e1602183611d1e565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611947602583611d1e565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006119ad602483611d1e565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611a13602583611d1e565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611a79601f83611d1e565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b611ab581611e82565b82525050565b611ac481611e8c565b82525050565b6000602082019050611adf6000830184611670565b92915050565b6000606082019050611afa6000830186611670565b611b076020830185611670565b611b146040830184611aac565b949350505050565b6000604082019050611b316000830185611670565b611b3e6020830184611aac565b9392505050565b6000602082019050611b5a600083018461167f565b92915050565b6000602082019050611b75600083018461168e565b92915050565b60006020820190508181036000830152611b95818461169d565b905092915050565b60006020820190508181036000830152611bb6816116d6565b9050919050565b60006020820190508181036000830152611bd68161173c565b9050919050565b60006020820190508181036000830152611bf6816117a2565b9050919050565b60006020820190508181036000830152611c1681611808565b9050919050565b60006020820190508181036000830152611c368161186e565b9050919050565b60006020820190508181036000830152611c56816118d4565b9050919050565b60006020820190508181036000830152611c768161193a565b9050919050565b60006020820190508181036000830152611c96816119a0565b9050919050565b60006020820190508181036000830152611cb681611a06565b9050919050565b60006020820190508181036000830152611cd681611a6c565b9050919050565b6000602082019050611cf26000830184611aac565b92915050565b6000602082019050611d0d6000830184611abb565b92915050565b600081519050919050565b600082825260208201905092915050565b6000611d3a82611e82565b9150611d4583611e82565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611d7a57611d79611f22565b5b828201905092915050565b6000611d9082611e82565b9150611d9b83611e82565b925082611dab57611daa611f51565b5b828204905092915050565b6000611dc182611e82565b9150611dcc83611e82565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611e0557611e04611f22565b5b828202905092915050565b6000611e1b82611e82565b9150611e2683611e82565b925082821015611e3957611e38611f22565b5b828203905092915050565b6000611e4f82611e62565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611ea482611eab565b9050919050565b6000611eb682611e62565b9050919050565b60005b83811015611edb578082015181840152602081019050611ec0565b83811115611eea576000848401525b50505050565b60006002820490506001821680611f0857607f821691505b60208210811415611f1c57611f1b611f80565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b611fc981611e44565b8114611fd457600080fd5b50565b611fe081611e56565b8114611feb57600080fd5b50565b611ff781611e82565b811461200257600080fd5b5056fea2646970667358221220f90cdb2cb318dd63ee40d143d38e6e8b08cbeb4a2f37049fe990560b6a45f0d564736f6c63430008000033

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

000000000000000000000000efc1c73a3d8728dc4cf2a18ac5705fe93e5914ac000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000144d657472696320526576656e75652053686172650000000000000000000000000000000000000000000000000000000000000000000000000000000000000007784d455452494300000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _underlying (address): 0xEfc1C73A3D8728Dc4Cf2A18ac5705FE93E5914AC
Arg [1] : _name (string): Metric Revenue Share
Arg [2] : _symbol (string): xMETRIC

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000efc1c73a3d8728dc4cf2a18ac5705fe93e5914ac
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 4d657472696320526576656e7565205368617265000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 784d455452494300000000000000000000000000000000000000000000000000


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.