ETH Price: $3,526.51 (+5.13%)

Token

Meta (MTA)
 

Overview

Max Total Supply

87,634,640.910920349641665965 MTA

Holders

9,847 (0.00%)

Market

Price

$0.03 @ 0.000009 ETH (+5.79%)

Onchain Market Cap

$2,709,425.61

Circulating Supply Market Cap

$1,543,658.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
42.479139986402365718 MTA

Value
$1.31 ( ~0.000371471970058147 Eth) [0.0000%]
0x68fd09239e8fb711ea98ff9c15eba60285502b06
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

mStable is a protocol that unites stablecoins, lending, and swapping into one robust and easy to use standard.

Market

Volume (24H):$5,121.67
Market Capitalization:$1,543,658.00
Circulating Supply:49,953,229.00 MTA
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MetaToken

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2021-09-29
*/

pragma solidity 0.5.16;


contract ModuleKeys {

    // Governance
    // ===========
                                                // Phases
    // keccak256("Governance");                 // 2.x
    bytes32 internal constant KEY_GOVERNANCE = 0x9409903de1e6fd852dfc61c9dacb48196c48535b60e25abf92acc92dd689078d;
    //keccak256("Staking");                     // 1.2
    bytes32 internal constant KEY_STAKING = 0x1df41cd916959d1163dc8f0671a666ea8a3e434c13e40faef527133b5d167034;
    //keccak256("ProxyAdmin");                  // 1.0
    bytes32 internal constant KEY_PROXY_ADMIN = 0x96ed0203eb7e975a4cbcaa23951943fa35c5d8288117d50c12b3d48b0fab48d1;

    // mStable
    // =======
    // keccak256("OracleHub");                  // 1.2
    bytes32 internal constant KEY_ORACLE_HUB = 0x8ae3a082c61a7379e2280f3356a5131507d9829d222d853bfa7c9fe1200dd040;
    // keccak256("Manager");                    // 1.2
    bytes32 internal constant KEY_MANAGER = 0x6d439300980e333f0256d64be2c9f67e86f4493ce25f82498d6db7f4be3d9e6f;
    //keccak256("Recollateraliser");            // 2.x
    bytes32 internal constant KEY_RECOLLATERALISER = 0x39e3ed1fc335ce346a8cbe3e64dd525cf22b37f1e2104a755e761c3c1eb4734f;
    //keccak256("MetaToken");                   // 1.1
    bytes32 internal constant KEY_META_TOKEN = 0xea7469b14936af748ee93c53b2fe510b9928edbdccac3963321efca7eb1a57a2;
    // keccak256("SavingsManager");             // 1.0
    bytes32 internal constant KEY_SAVINGS_MANAGER = 0x12fe936c77a1e196473c4314f3bed8eeac1d757b319abb85bdda70df35511bf1;
}

interface INexus {
    function governor() external view returns (address);
    function getModule(bytes32 key) external view returns (address);

    function proposeModule(bytes32 _key, address _addr) external;
    function cancelProposedModule(bytes32 _key) external;
    function acceptProposedModule(bytes32 _key) external;
    function acceptProposedModules(bytes32[] calldata _keys) external;

    function requestLockModule(bytes32 _key) external;
    function cancelLockModule(bytes32 _key) external;
    function lockModule(bytes32 _key) external;
}

contract Module is ModuleKeys {

    INexus public nexus;

    /**
     * @dev Initialises the Module by setting publisher addresses,
     *      and reading all available system module information
     */
    constructor(address _nexus) internal {
        require(_nexus != address(0), "Nexus is zero address");
        nexus = INexus(_nexus);
    }

    /**
     * @dev Modifier to allow function calls only from the Governor.
     */
    modifier onlyGovernor() {
        require(msg.sender == _governor(), "Only governor can execute");
        _;
    }

    /**
     * @dev Modifier to allow function calls only from the Governance.
     *      Governance is either Governor address or Governance address.
     */
    modifier onlyGovernance() {
        require(
            msg.sender == _governor() || msg.sender == _governance(),
            "Only governance can execute"
        );
        _;
    }

    /**
     * @dev Modifier to allow function calls only from the ProxyAdmin.
     */
    modifier onlyProxyAdmin() {
        require(
            msg.sender == _proxyAdmin(), "Only ProxyAdmin can execute"
        );
        _;
    }

    /**
     * @dev Modifier to allow function calls only from the Manager.
     */
    modifier onlyManager() {
        require(msg.sender == _manager(), "Only manager can execute");
        _;
    }

    /**
     * @dev Returns Governor address from the Nexus
     * @return Address of Governor Contract
     */
    function _governor() internal view returns (address) {
        return nexus.governor();
    }

    /**
     * @dev Returns Governance Module address from the Nexus
     * @return Address of the Governance (Phase 2)
     */
    function _governance() internal view returns (address) {
        return nexus.getModule(KEY_GOVERNANCE);
    }

    /**
     * @dev Return Staking Module address from the Nexus
     * @return Address of the Staking Module contract
     */
    function _staking() internal view returns (address) {
        return nexus.getModule(KEY_STAKING);
    }

    /**
     * @dev Return ProxyAdmin Module address from the Nexus
     * @return Address of the ProxyAdmin Module contract
     */
    function _proxyAdmin() internal view returns (address) {
        return nexus.getModule(KEY_PROXY_ADMIN);
    }

    /**
     * @dev Return MetaToken Module address from the Nexus
     * @return Address of the MetaToken Module contract
     */
    function _metaToken() internal view returns (address) {
        return nexus.getModule(KEY_META_TOKEN);
    }

    /**
     * @dev Return OracleHub Module address from the Nexus
     * @return Address of the OracleHub Module contract
     */
    function _oracleHub() internal view returns (address) {
        return nexus.getModule(KEY_ORACLE_HUB);
    }

    /**
     * @dev Return Manager Module address from the Nexus
     * @return Address of the Manager Module contract
     */
    function _manager() internal view returns (address) {
        return nexus.getModule(KEY_MANAGER);
    }

    /**
     * @dev Return SavingsManager Module address from the Nexus
     * @return Address of the SavingsManager Module contract
     */
    function _savingsManager() internal view returns (address) {
        return nexus.getModule(KEY_SAVINGS_MANAGER);
    }

    /**
     * @dev Return Recollateraliser Module address from the Nexus
     * @return  Address of the Recollateraliser Module contract (Phase 2)
     */
    function _recollateraliser() internal view returns (address) {
        return nexus.getModule(KEY_RECOLLATERALISER);
    }
}

/*
 * @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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public 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 returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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 returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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 returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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 {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(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 {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(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 {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is 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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

contract GovernedMinterRole is Module {

    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor(address _nexus) internal Module(_nexus) {
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender), "MinterRole: caller does not have the Minter role");
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyGovernor {
        _addMinter(account);
    }

    function removeMinter(address account) public onlyGovernor {
        _removeMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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.
     *
     * 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 returns (uint8) {
        return _decimals;
    }
}

/**
 * @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 {ERC20Mintable}.
 *
 * 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 ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) public {
        _burnFrom(account, amount);
    }
}

/**
 * @title  MetaToken
 * @dev    MetaToken is an ERC20 token, with mint privileges governed by mStable
 * governors
 */
contract MetaToken is
    ERC20,
    GovernedMinterRole,
    ERC20Detailed,
    ERC20Burnable
{

    /**
     * @dev MetaToken simply implements a detailed ERC20 token,
     * and a governed list of minters
     */
    constructor(
        address _nexus,
        address _initialRecipient
    )
        public
        GovernedMinterRole(_nexus)
        ERC20Detailed(
            "Meta",
            "MTA",
            18
        )
    {
        // 100m initial supply
        _mint(_initialRecipient, 100000000 * (10 ** 18));
    }

    // Forked from @openzeppelin
    /**
     * @dev See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the {MinterRole}.
     */
    function mint(address account, uint256 amount) public onlyMinter returns (bool) {
        _mint(account, amount);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nexus","type":"address"},{"internalType":"address","name":"_initialRecipient","type":"address"}],"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":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","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"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"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":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","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":[],"name":"nexus","outputs":[{"internalType":"contract INexus","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"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":"recipient","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":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200164a3803806200164a833981810160405260408110156200003757600080fd5b50805160209182015160408051808201825260048152634d65746160e01b81860152815180830190925260038252624d544160e81b9482019490945291929091601284806001600160a01b038116620000d7576040805162461bcd60e51b815260206004820152601560248201527f4e65787573206973207a65726f20616464726573730000000000000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b03929092169190911790555082516200010d906005906020860190620002c1565b50815162000123906006906020850190620002c1565b506007805460ff191660ff9290921691909117905550620001529050816a52b7d2dcc80cd2e40000006200015a565b505062000366565b6001600160a01b038216620001b6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001d2816003546200025f60201b62000c481790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200020791839062000c486200025f821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082820183811015620002ba576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200030457805160ff191683800117855562000334565b8280016001018555821562000334579182015b828111156200033457825182559160200191906001019062000317565b506200034292915062000346565b5090565b6200036391905b808211156200034257600081556001016200034d565b90565b6112d480620003766000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a3f5c1d211610071578063a3f5c1d214610376578063a457c2d71461039a578063a9059cbb146103c6578063aa271e1a146103f2578063dd62ed3e1461041857610121565b806370a08231146102ee57806379cc67901461031457806395d89b4114610340578063983b2d5614610348578063986502751461036e57610121565b80633092afd5116100f45780633092afd514610233578063313ce5671461025b578063395093511461027957806340c10f19146102a557806342966c68146102d157610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e610446565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104dc565b604080519115158252519081900360200190f35b6101eb6104f9565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b038135811691602081013590911690604001356104ff565b6102596004803603602081101561024957600080fd5b50356001600160a01b031661058c565b005b610263610601565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561028f57600080fd5b506001600160a01b03813516906020013561060a565b6101cf600480360360408110156102bb57600080fd5b506001600160a01b03813516906020013561065e565b610259600480360360208110156102e757600080fd5b50356106ae565b6101eb6004803603602081101561030457600080fd5b50356001600160a01b03166106bf565b6102596004803603604081101561032a57600080fd5b506001600160a01b0381351690602001356106da565b61012e6106e8565b6102596004803603602081101561035e57600080fd5b50356001600160a01b0316610749565b6102596107bb565b61037e6107c6565b604080516001600160a01b039092168252519081900360200190f35b6101cf600480360360408110156103b057600080fd5b506001600160a01b0381351690602001356107d5565b6101cf600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610843565b6101cf6004803603602081101561040857600080fd5b50356001600160a01b0316610857565b6101eb6004803603604081101561042e57600080fd5b506001600160a01b0381358116916020013516610870565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d25780601f106104a7576101008083540402835291602001916104d2565b820191906000526020600020905b8154815290600101906020018083116104b557829003601f168201915b5050505050905090565b60006104f06104e961089b565b848461089f565b50600192915050565b60035490565b600061050c84848461098b565b6105828461051861089b565b61057d856040518060600160405280602881526020016111a3602891396001600160a01b038a1660009081526002602052604081209061055661089b565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ae916565b61089f565b5060019392505050565b610594610b80565b6001600160a01b0316336001600160a01b0316146105f5576040805162461bcd60e51b81526020600482015260196024820152784f6e6c7920676f7665726e6f722063616e206578656375746560381b604482015290519081900360640190fd5b6105fe81610c00565b50565b60075460ff1690565b60006104f061061761089b565b8461057d856002600061062861089b565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c4816565b600061066933610857565b6106a45760405162461bcd60e51b81526004018080602001828103825260308152602001806111526030913960400191505060405180910390fd5b6104f08383610ca9565b6105fe6106b961089b565b82610d9b565b6001600160a01b031660009081526001602052604090205490565b6106e48282610e97565b5050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d25780601f106104a7576101008083540402835291602001916104d2565b610751610b80565b6001600160a01b0316336001600160a01b0316146107b2576040805162461bcd60e51b81526020600482015260196024820152784f6e6c7920676f7665726e6f722063616e206578656375746560381b604482015290519081900360640190fd5b6105fe81610eeb565b6107c433610c00565b565b6000546001600160a01b031681565b60006104f06107e261089b565b8461057d8560405180606001604052806025815260200161127b602591396002600061080c61089b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ae916565b60006104f061085061089b565b848461098b565b600061086a60048363ffffffff610f3316565b92915050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108e45760405162461bcd60e51b81526004018080602001828103825260248152602001806112576024913960400191505060405180910390fd5b6001600160a01b0382166109295760405162461bcd60e51b815260040180806020018281038252602281526020018061110a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109d05760405162461bcd60e51b81526004018080602001828103825260258152602001806112326025913960400191505060405180910390fd5b6001600160a01b038216610a155760405162461bcd60e51b81526004018080602001828103825260238152602001806110c56023913960400191505060405180910390fd5b610a588160405180606001604052806026815260200161112c602691396001600160a01b038616600090815260016020526040902054919063ffffffff610ae916565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610a8d908263ffffffff610c4816565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610b785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b3d578181015183820152602001610b25565b50505050905090810190601f168015610b6a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060009054906101000a90046001600160a01b03166001600160a01b0316630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610bcf57600080fd5b505afa158015610be3573d6000803e3d6000fd5b505050506040513d6020811015610bf957600080fd5b5051905090565b610c1160048263ffffffff610f9a16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b600082820183811015610ca2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d04576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d17908263ffffffff610c4816565b6003556001600160a01b038216600090815260016020526040902054610d43908263ffffffff610c4816565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610de05760405162461bcd60e51b81526004018080602001828103825260218152602001806112116021913960400191505060405180910390fd5b610e23816040518060600160405280602281526020016110e8602291396001600160a01b038516600090815260016020526040902054919063ffffffff610ae916565b6001600160a01b038316600090815260016020526040902055600354610e4f908263ffffffff61100116565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610ea18282610d9b565b6106e482610ead61089b565b61057d846040518060600160405280602481526020016111ed602491396001600160a01b03881660009081526002602052604081209061055661089b565b610efc60048263ffffffff61104316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b60006001600160a01b038216610f7a5760405162461bcd60e51b81526004018080602001828103825260228152602001806111cb6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b610fa48282610f33565b610fdf5760405162461bcd60e51b81526004018080602001828103825260218152602001806111826021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6000610ca283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ae9565b61104d8282610f33565b1561109f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158205f452136b332eb8154c56b969385146fa5ee7de26f7049025c4a823eb7eb166364736f6c63430005100032000000000000000000000000afce80b19a8ce13dec0739a1aab7a028d6845eb300000000000000000000000019f12c947d25ff8a3b748829d8001ca09a28d46d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a3f5c1d211610071578063a3f5c1d214610376578063a457c2d71461039a578063a9059cbb146103c6578063aa271e1a146103f2578063dd62ed3e1461041857610121565b806370a08231146102ee57806379cc67901461031457806395d89b4114610340578063983b2d5614610348578063986502751461036e57610121565b80633092afd5116100f45780633092afd514610233578063313ce5671461025b578063395093511461027957806340c10f19146102a557806342966c68146102d157610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e610446565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104dc565b604080519115158252519081900360200190f35b6101eb6104f9565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b038135811691602081013590911690604001356104ff565b6102596004803603602081101561024957600080fd5b50356001600160a01b031661058c565b005b610263610601565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561028f57600080fd5b506001600160a01b03813516906020013561060a565b6101cf600480360360408110156102bb57600080fd5b506001600160a01b03813516906020013561065e565b610259600480360360208110156102e757600080fd5b50356106ae565b6101eb6004803603602081101561030457600080fd5b50356001600160a01b03166106bf565b6102596004803603604081101561032a57600080fd5b506001600160a01b0381351690602001356106da565b61012e6106e8565b6102596004803603602081101561035e57600080fd5b50356001600160a01b0316610749565b6102596107bb565b61037e6107c6565b604080516001600160a01b039092168252519081900360200190f35b6101cf600480360360408110156103b057600080fd5b506001600160a01b0381351690602001356107d5565b6101cf600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610843565b6101cf6004803603602081101561040857600080fd5b50356001600160a01b0316610857565b6101eb6004803603604081101561042e57600080fd5b506001600160a01b0381358116916020013516610870565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d25780601f106104a7576101008083540402835291602001916104d2565b820191906000526020600020905b8154815290600101906020018083116104b557829003601f168201915b5050505050905090565b60006104f06104e961089b565b848461089f565b50600192915050565b60035490565b600061050c84848461098b565b6105828461051861089b565b61057d856040518060600160405280602881526020016111a3602891396001600160a01b038a1660009081526002602052604081209061055661089b565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ae916565b61089f565b5060019392505050565b610594610b80565b6001600160a01b0316336001600160a01b0316146105f5576040805162461bcd60e51b81526020600482015260196024820152784f6e6c7920676f7665726e6f722063616e206578656375746560381b604482015290519081900360640190fd5b6105fe81610c00565b50565b60075460ff1690565b60006104f061061761089b565b8461057d856002600061062861089b565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c4816565b600061066933610857565b6106a45760405162461bcd60e51b81526004018080602001828103825260308152602001806111526030913960400191505060405180910390fd5b6104f08383610ca9565b6105fe6106b961089b565b82610d9b565b6001600160a01b031660009081526001602052604090205490565b6106e48282610e97565b5050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d25780601f106104a7576101008083540402835291602001916104d2565b610751610b80565b6001600160a01b0316336001600160a01b0316146107b2576040805162461bcd60e51b81526020600482015260196024820152784f6e6c7920676f7665726e6f722063616e206578656375746560381b604482015290519081900360640190fd5b6105fe81610eeb565b6107c433610c00565b565b6000546001600160a01b031681565b60006104f06107e261089b565b8461057d8560405180606001604052806025815260200161127b602591396002600061080c61089b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ae916565b60006104f061085061089b565b848461098b565b600061086a60048363ffffffff610f3316565b92915050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108e45760405162461bcd60e51b81526004018080602001828103825260248152602001806112576024913960400191505060405180910390fd5b6001600160a01b0382166109295760405162461bcd60e51b815260040180806020018281038252602281526020018061110a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109d05760405162461bcd60e51b81526004018080602001828103825260258152602001806112326025913960400191505060405180910390fd5b6001600160a01b038216610a155760405162461bcd60e51b81526004018080602001828103825260238152602001806110c56023913960400191505060405180910390fd5b610a588160405180606001604052806026815260200161112c602691396001600160a01b038616600090815260016020526040902054919063ffffffff610ae916565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610a8d908263ffffffff610c4816565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610b785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b3d578181015183820152602001610b25565b50505050905090810190601f168015610b6a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060009054906101000a90046001600160a01b03166001600160a01b0316630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b158015610bcf57600080fd5b505afa158015610be3573d6000803e3d6000fd5b505050506040513d6020811015610bf957600080fd5b5051905090565b610c1160048263ffffffff610f9a16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b600082820183811015610ca2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d04576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d17908263ffffffff610c4816565b6003556001600160a01b038216600090815260016020526040902054610d43908263ffffffff610c4816565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610de05760405162461bcd60e51b81526004018080602001828103825260218152602001806112116021913960400191505060405180910390fd5b610e23816040518060600160405280602281526020016110e8602291396001600160a01b038516600090815260016020526040902054919063ffffffff610ae916565b6001600160a01b038316600090815260016020526040902055600354610e4f908263ffffffff61100116565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610ea18282610d9b565b6106e482610ead61089b565b61057d846040518060600160405280602481526020016111ed602491396001600160a01b03881660009081526002602052604081209061055661089b565b610efc60048263ffffffff61104316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b60006001600160a01b038216610f7a5760405162461bcd60e51b81526004018080602001828103825260228152602001806111cb6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b610fa48282610f33565b610fdf5760405162461bcd60e51b81526004018080602001828103825260218152602001806111826021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6000610ca283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ae9565b61104d8282610f33565b1561109f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158205f452136b332eb8154c56b969385146fa5ee7de26f7049025c4a823eb7eb166364736f6c63430005100032

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

000000000000000000000000afce80b19a8ce13dec0739a1aab7a028d6845eb300000000000000000000000019f12c947d25ff8a3b748829d8001ca09a28d46d

-----Decoded View---------------
Arg [0] : _nexus (address): 0xAFcE80b19A8cE13DEc0739a1aaB7A028d6845Eb3
Arg [1] : _initialRecipient (address): 0x19F12C947D25Ff8a3b748829D8001cA09a28D46d

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000afce80b19a8ce13dec0739a1aab7a028d6845eb3
Arg [1] : 00000000000000000000000019f12c947d25ff8a3b748829d8001ca09a28d46d


Deployed Bytecode Sourcemap

27435:883:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27435:883:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24775:83;;;:::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;24775:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16462:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16462:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;15483:91;;;:::i;:::-;;;;;;;;;;;;;;;;17086:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17086:304:0;;;;;;;;;;;;;;;;;:::i;23761:100::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23761:100:0;-1:-1:-1;;;;;23761:100:0;;:::i;:::-;;25627:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17799:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17799:210:0;;;;;;;;:::i;28172:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28172:143:0;;;;;;;;:::i;27052:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27052:83:0;;:::i;15637:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15637:110:0;-1:-1:-1;;;;;15637:110:0;;:::i;27197:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27197:103:0;;;;;;;;:::i;24977:87::-;;;:::i;23659:94::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23659:94:0;-1:-1:-1;;;;;23659:94:0;;:::i;23869:77::-;;;:::i;2186:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2186:19:0;;;;;;;;;;;;;;18512:261;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18512:261:0;;;;;;;;:::i;15960:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15960:158:0;;;;;;;;:::i;23542:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23542:109:0;-1:-1:-1;;;;;23542:109:0;;:::i;16181:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16181:134:0;;;;;;;;;;:::i;24775:83::-;24845:5;24838:12;;;;;;;;-1:-1:-1;;24838:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24812:13;;24838:12;;24845:5;;24838:12;;24845:5;24838:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24775:83;:::o;16462:152::-;16528:4;16545:39;16554:12;:10;:12::i;:::-;16568:7;16577:6;16545:8;:39::i;:::-;-1:-1:-1;16602:4:0;16462:152;;;;:::o;15483:91::-;15554:12;;15483:91;:::o;17086:304::-;17175:4;17192:36;17202:6;17210:9;17221:6;17192:9;:36::i;:::-;17239:121;17248:6;17256:12;:10;:12::i;:::-;17270:89;17308:6;17270:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17270:19:0;;;;;;:11;:19;;;;;;17290:12;:10;:12::i;:::-;-1:-1:-1;;;;;17270:33:0;;;;;;;;;;;;-1:-1:-1;17270:33:0;;;:89;;:37;:89;:::i;:::-;17239:8;:121::i;:::-;-1:-1:-1;17378:4:0;17086:304;;;;;:::o;23761:100::-;2661:11;:9;:11::i;:::-;-1:-1:-1;;;;;2647:25:0;:10;-1:-1:-1;;;;;2647:25:0;;2639:63;;;;;-1:-1:-1;;;2639:63:0;;;;;;;;;;;;-1:-1:-1;;;2639:63:0;;;;;;;;;;;;;;;23831:22;23845:7;23831:13;:22::i;:::-;23761:100;:::o;25627:83::-;25693:9;;;;25627:83;:::o;17799:210::-;17879:4;17896:83;17905:12;:10;:12::i;:::-;17919:7;17928:50;17967:10;17928:11;:25;17940:12;:10;:12::i;:::-;-1:-1:-1;;;;;17928:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17928:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;28172:143::-;28246:4;23441:20;23450:10;23441:8;:20::i;:::-;23433:81;;;;-1:-1:-1;;;23433:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28263:22;28269:7;28278:6;28263:5;:22::i;27052:83::-;27100:27;27106:12;:10;:12::i;:::-;27120:6;27100:5;:27::i;15637:110::-;-1:-1:-1;;;;;15721:18:0;15694:7;15721:18;;;:9;:18;;;;;;;15637:110::o;27197:103::-;27266:26;27276:7;27285:6;27266:9;:26::i;:::-;27197:103;;:::o;24977:87::-;25049:7;25042:14;;;;;;;;-1:-1:-1;;25042:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25016:13;;25042:14;;25049:7;;25042:14;;25049:7;25042:14;;;;;;;;;;;;;;;;;;;;;;;;23659:94;2661:11;:9;:11::i;:::-;-1:-1:-1;;;;;2647:25:0;:10;-1:-1:-1;;;;;2647:25:0;;2639:63;;;;;-1:-1:-1;;;2639:63:0;;;;;;;;;;;;-1:-1:-1;;;2639:63:0;;;;;;;;;;;;;;;23726:19;23737:7;23726:10;:19::i;23869:77::-;23913:25;23927:10;23913:13;:25::i;:::-;23869:77::o;2186:19::-;;;-1:-1:-1;;;;;2186:19:0;;:::o;18512:261::-;18597:4;18614:129;18623:12;:10;:12::i;:::-;18637:7;18646:96;18685:15;18646:96;;;;;;;;;;;;;;;;;:11;:25;18658:12;:10;:12::i;:::-;-1:-1:-1;;;;;18646:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18646:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;15960:158::-;16029:4;16046:42;16056:12;:10;:12::i;:::-;16070:9;16081:6;16046:9;:42::i;23542:109::-;23598:4;23622:21;:8;23635:7;23622:21;:12;:21;:::i;:::-;23615:28;23542:109;-1:-1:-1;;23542:109:0:o;16181:134::-;-1:-1:-1;;;;;16280:18:0;;;16253:7;16280:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16181:134::o;6619:98::-;6699:10;6619:98;:::o;21443:338::-;-1:-1:-1;;;;;21537:19:0;;21529:68;;;;-1:-1:-1;;;21529:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21616:21:0;;21608:68;;;;-1:-1:-1;;;21608:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21689:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21741:32;;;;;;;;;;;;;;;;;21443:338;;;:::o;19263:471::-;-1:-1:-1;;;;;19361:20:0;;19353:70;;;;-1:-1:-1;;;19353:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19442:23:0;;19434:71;;;;-1:-1:-1;;;19434:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19538;19560:6;19538:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19538:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;19518:17:0;;;;;;;:9;:17;;;;;;:91;;;;19643:20;;;;;;;:32;;19668:6;19643:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;19620:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;19691:35;;;;;;;19620:20;;19691:35;;;;;;;;;;;;;19263:471;;;:::o;11512:192::-;11598:7;11634:12;11626:6;;;;11618:29;;;;-1:-1:-1;;;11618:29: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;11618:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11670:5:0;;;11512:192::o;3664:95::-;3708:7;3735:5;;;;;;;;;-1:-1:-1;;;;;3735:5:0;-1:-1:-1;;;;;3735:14:0;;:16;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3735:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3735:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3735:16:0;;-1:-1:-1;3664:95:0;:::o;24084:130::-;24144:24;:8;24160:7;24144:24;:15;:24;:::i;:::-;24184:22;;-1:-1:-1;;;;;24184:22:0;;;;;;;;24084:130;:::o;10583:181::-;10641:7;10673:5;;;10697:6;;;;10689:46;;;;;-1:-1:-1;;;10689:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10755:1;10583:181;-1:-1:-1;;;10583:181:0:o;20015:308::-;-1:-1:-1;;;;;20091:21:0;;20083:65;;;;;-1:-1:-1;;;20083:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20176:12;;:24;;20193:6;20176:24;:16;:24;:::i;:::-;20161:12;:39;-1:-1:-1;;;;;20232:18:0;;;;;;:9;:18;;;;;;:30;;20255:6;20232:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;20211:18:0;;;;;;:9;:18;;;;;;;;:51;;;;20278:37;;;;;;;20211:18;;;;20278:37;;;;;;;;;;20015:308;;:::o;20655:348::-;-1:-1:-1;;;;;20731:21:0;;20723:67;;;;-1:-1:-1;;;20723:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20824:68;20847:6;20824:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20824:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;20803:18:0;;;;;;:9;:18;;;;;:89;20918:12;;:24;;20935:6;20918:24;:16;:24;:::i;:::-;20903:12;:39;20958:37;;;;;;;;20984:1;;-1:-1:-1;;;;;20958:37:0;;;;;;;;;;;;20655:348;;:::o;21967:232::-;22039:22;22045:7;22054:6;22039:5;:22::i;:::-;22072:119;22081:7;22090:12;:10;:12::i;:::-;22104:86;22143:6;22104:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22104:20:0;;;;;;:11;:20;;;;;;22125:12;:10;:12::i;23954:122::-;24011:21;:8;24024:7;24011:21;:12;:21;:::i;:::-;24048:20;;-1:-1:-1;;;;;24048:20:0;;;;;;;;23954:122;:::o;22902:203::-;22974:4;-1:-1:-1;;;;;22999:21:0;;22991:68;;;;-1:-1:-1;;;22991:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23077:20:0;:11;:20;;;;;;;;;;;;;;;22902:203::o;22624:183::-;22704:18;22708:4;22714:7;22704:3;:18::i;:::-;22696:64;;;;-1:-1:-1;;;22696:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22771:20:0;22794:5;22771:20;;;;;;;;;;;:28;;-1:-1:-1;;22771:28:0;;;22624:183::o;11039:136::-;11097:7;11124:43;11128:1;11131;11124:43;;;;;;;;;;;;;;;;;:3;:43::i;22366:178::-;22444:18;22448:4;22454:7;22444:3;:18::i;:::-;22443:19;22435:63;;;;;-1:-1:-1;;;22435:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22509:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;22509:27:0;22532:4;22509:27;;;22366:178::o

Swarm Source

bzzr://5f452136b332eb8154c56b969385146fa5ee7de26f7049025c4a823eb7eb1663
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.