ETH Price: $2,629.49 (+1.97%)

Contract

0x633eE3fbE5ffc05bD44Ecd8240732fF9ef9Dee1d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer205841862024-08-22 12:36:3517 mins ago1724330195IN
PEAKDEFI: Old PEAK Token
0 ETH0.000218344.66180954
Approve203798602024-07-25 0:04:2328 days ago1721865863IN
PEAKDEFI: Old PEAK Token
0 ETH0.000139422.99793366
Transfer179273442023-08-16 12:18:47372 days ago1692188327IN
PEAKDEFI: Old PEAK Token
0 ETH0.0006158320.70862379
Transfer179272862023-08-16 12:07:11372 days ago1692187631IN
PEAKDEFI: Old PEAK Token
0 ETH0.001256126.8181259
Transfer179271402023-08-16 11:37:59372 days ago1692185879IN
PEAKDEFI: Old PEAK Token
0 ETH0.0009166219.57019393
Approve179269162023-08-16 10:52:59372 days ago1692183179IN
PEAKDEFI: Old PEAK Token
0 ETH0.0009484720.57519204
Approve157601822022-10-16 10:48:47676 days ago1665917327IN
PEAKDEFI: Old PEAK Token
0 ETH0.0002701811.15454863
Approve157601492022-10-16 10:42:11676 days ago1665916931IN
PEAKDEFI: Old PEAK Token
0 ETH0.000543111.76
Approve150217652022-06-25 3:48:00789 days ago1656128880IN
PEAKDEFI: Old PEAK Token
0 ETH0.0009989321.47959866
Transfer150001742022-06-21 3:16:21793 days ago1655781381IN
PEAKDEFI: Old PEAK Token
0 ETH0.003260469.64598814
Transfer134996372021-10-27 13:22:191029 days ago1635340939IN
PEAKDEFI: Old PEAK Token
0 ETH0.00321579108.13771323
Transfer132761402021-09-22 14:40:361064 days ago1632321636IN
PEAKDEFI: Old PEAK Token
0 ETH0.0021546762.45083471
Transfer132162402021-09-13 8:20:441074 days ago1631521244IN
PEAKDEFI: Old PEAK Token
0 ETH0.0031800967.89569488
Transfer131792372021-09-07 14:44:251079 days ago1631025865IN
PEAKDEFI: Old PEAK Token
0 ETH0.00833577177.9703831
Approve131784922021-09-07 12:01:001080 days ago1631016060IN
PEAKDEFI: Old PEAK Token
0 ETH0.0033041471.04778745
Transfer131317792021-08-31 6:35:321087 days ago1630391732IN
PEAKDEFI: Old PEAK Token
0 ETH0.0038656982.55449272
Approve131083012021-08-27 15:48:201090 days ago1630079300IN
PEAKDEFI: Old PEAK Token
0 ETH0.00315333120.25521797
Transfer130070022021-08-12 0:05:491106 days ago1628726749IN
PEAKDEFI: Old PEAK Token
0 ETH0.0014287253.06119267
Transfer129322992021-07-31 8:36:471118 days ago1627720607IN
PEAKDEFI: Old PEAK Token
0 ETH0.0007821822.655
Approve128504422021-07-18 11:52:251131 days ago1626609145IN
PEAKDEFI: Old PEAK Token
0 ETH0.0008323518
Transfer127282042021-06-29 9:33:351150 days ago1624959215IN
PEAKDEFI: Old PEAK Token
0 ETH0.0003096411.5
Transfer126049012021-06-10 5:38:471169 days ago1623303527IN
PEAKDEFI: Old PEAK Token
0 ETH0.0006711313
Approve125930032021-06-08 9:15:381171 days ago1623143738IN
PEAKDEFI: Old PEAK Token
0 ETH0.0005540812.001
Transfer125810142021-06-06 12:44:001173 days ago1622983440IN
PEAKDEFI: Old PEAK Token
0 ETH0.0002729611.00000145
Transfer125810142021-06-06 12:44:001173 days ago1622983440IN
PEAKDEFI: Old PEAK Token
0 ETH0.0003662610
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MBCT

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 11: MBCT.sol
pragma solidity ^0.5.0;

import "./ERC20.sol";
import "./ERC20Detailed.sol";
import "./ERC20Capped.sol";
import "./ERC20Burnable.sol";

contract MBCT is ERC20, ERC20Detailed, ERC20Capped, ERC20Burnable {
    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 cap
    ) ERC20Detailed(name, symbol, decimals) ERC20Capped(cap) public {}
}

File 2 of 11: Context.sol
pragma solidity ^0.5.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 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;
    }
}

File 3 of 11: ERC20.sol
pragma solidity ^0.5.0;

import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.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 {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 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"));
    }
}

File 4 of 11: ERC20Burnable.sol
pragma solidity ^0.5.0;

import "./Context.sol";
import "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
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);
    }
}

File 5 of 11: ERC20Capped.sol
pragma solidity ^0.5.0;

import "./ERC20Mintable.sol";

/**
 * @dev Extension of {ERC20Mintable} that adds a cap to the supply of tokens.
 */
contract ERC20Capped is ERC20Mintable {
    uint256 private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap) public {
        require(cap > 0, "ERC20Capped: cap is 0");
        _cap = cap;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20Mintable-mint}.
     *
     * Requirements:
     *
     * - `value` must not cause the total supply to go over the cap.
     */
    function _mint(address account, uint256 value) internal {
        require(totalSupply().add(value) <= _cap, "ERC20Capped: cap exceeded");
        super._mint(account, value);
    }
}

File 6 of 11: ERC20Detailed.sol
pragma solidity ^0.5.0;

import "./IERC20.sol";

/**
 * @dev Optional functions from the ERC20 standard.
 */
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;
    }
}

File 7 of 11: ERC20Mintable.sol
pragma solidity ^0.5.0;

import "./ERC20.sol";
import "./MinterRole.sol";

/**
 * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole},
 * which have permission to mint (create) new tokens as they see fit.
 *
 * At construction, the deployer of the contract is the only minter.
 */
contract ERC20Mintable is ERC20, MinterRole {
    /**
     * @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;
    }
}

File 8 of 11: IERC20.sol
pragma solidity ^0.5.0;

/**
 * @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);
}

File 9 of 11: MinterRole.sol
pragma solidity ^0.5.0;

import "./Context.sol";
import "./Roles.sol";

contract MinterRole is Context {
    using Roles for Roles.Role;

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

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(_msgSender());
    }

    modifier onlyMinter() {
        require(isMinter(_msgSender()), "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 onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(_msgSender());
    }

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

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

File 10 of 11: Roles.sol
pragma solidity ^0.5.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
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];
    }
}

File 11 of 11: SafeMath.sol
pragma solidity ^0.5.0;

/**
 * @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 Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"}],"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":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"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":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"}]

60806040523480156200001157600080fd5b506040516200168438038062001684833981810160405260808110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060409081526020828101519290910151865192945092508291869186918691620001c991600391860190620003c5565b508151620001df906004906020850190620003c5565b506005805460ff191660ff92909216919091179055506200021490506200020562000278565b6001600160e01b036200027d16565b600081116200026a576040805162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015290519081900360640190fd5b600755506200046792505050565b335b90565b62000298816006620002cf60201b62000ef31790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b620002e482826001600160e01b036200035c16565b1562000337576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216620003a55760405162461bcd60e51b8152600401808060200182810382526022815260200180620016626022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200040857805160ff191683800117855562000438565b8280016001018555821562000438579182015b82811115620004385782518255916020019190600101906200041b565b50620004469291506200044a565b5090565b6200027a91905b8082111562000446576000815560010162000451565b6111eb80620004776000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806398650275116100715780639865027514610345578063a457c2d71461034d578063a9059cbb14610379578063aa271e1a146103a5578063dd62ed3e146103cb57610116565b806370a08231146102c557806379cc6790146102eb57806395d89b4114610317578063983b2d561461031f57610116565b8063313ce567116100e9578063313ce56714610228578063355274ea14610246578063395093511461024e57806340c10f191461027a57806342966c68146102a657610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b6101236103f9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b03813516906020013561048f565b604080519115158252519081900360200190f35b6101e06104ac565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104b2565b61023061053f565b6040805160ff9092168252519081900360200190f35b6101e0610548565b6101c46004803603604081101561026457600080fd5b506001600160a01b03813516906020013561054e565b6101c46004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105a2565b6102c3600480360360208110156102bc57600080fd5b50356105f9565b005b6101e0600480360360208110156102db57600080fd5b50356001600160a01b031661060d565b6102c36004803603604081101561030157600080fd5b506001600160a01b038135169060200135610628565b610123610636565b6102c36004803603602081101561033557600080fd5b50356001600160a01b0316610697565b6102c36106e6565b6101c46004803603604081101561036357600080fd5b506001600160a01b0381351690602001356106f8565b6101c46004803603604081101561038f57600080fd5b506001600160a01b038135169060200135610766565b6101c4600480360360208110156103bb57600080fd5b50356001600160a01b031661077a565b6101e0600480360360408110156103e157600080fd5b506001600160a01b0381358116916020013516610793565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104855780601f1061045a57610100808354040283529160200191610485565b820191906000526020600020905b81548152906001019060200180831161046857829003601f168201915b5050505050905090565b60006104a361049c6107be565b84846107c2565b50600192915050565b60025490565b60006104bf8484846108ae565b610535846104cb6107be565b610530856040518060600160405280602881526020016110ba602891396001600160a01b038a166000908152600160205260408120906105096107be565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610a0a16565b6107c2565b5060019392505050565b60055460ff1690565b60075490565b60006104a361055b6107be565b84610530856001600061056c6107be565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610aa116565b60006105b46105af6107be565b61077a565b6105ef5760405162461bcd60e51b81526004018080602001828103825260308152602001806110696030913960400191505060405180910390fd5b6104a38383610b02565b61060a6106046107be565b82610b7a565b50565b6001600160a01b031660009081526020819052604090205490565b6106328282610c76565b5050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104855780601f1061045a57610100808354040283529160200191610485565b6106a26105af6107be565b6106dd5760405162461bcd60e51b81526004018080602001828103825260308152602001806110696030913960400191505060405180910390fd5b61060a81610cca565b6106f66106f16107be565b610d12565b565b60006104a36107056107be565b8461053085604051806060016040528060258152602001611192602591396001600061072f6107be565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610a0a16565b60006104a36107736107be565b84846108ae565b600061078d60068363ffffffff610d5a16565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108075760405162461bcd60e51b815260040180806020018281038252602481526020018061116e6024913960400191505060405180910390fd5b6001600160a01b03821661084c5760405162461bcd60e51b81526004018080602001828103825260228152602001806110216022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108f35760405162461bcd60e51b81526004018080602001828103825260258152602001806111496025913960400191505060405180910390fd5b6001600160a01b0382166109385760405162461bcd60e51b8152600401808060200182810382526023815260200180610fdc6023913960400191505060405180910390fd5b61097b81604051806060016040528060268152602001611043602691396001600160a01b038616600090815260208190526040902054919063ffffffff610a0a16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546109b0908263ffffffff610aa116565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a995760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a5e578181015183820152602001610a46565b50505050905090810190601f168015610a8b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610afb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754610b1d82610b116104ac565b9063ffffffff610aa116565b1115610b70576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6106328282610dc1565b6001600160a01b038216610bbf5760405162461bcd60e51b81526004018080602001828103825260218152602001806111286021913960400191505060405180910390fd5b610c0281604051806060016040528060228152602001610fff602291396001600160a01b038516600090815260208190526040902054919063ffffffff610a0a16565b6001600160a01b038316600090815260208190526040902055600254610c2e908263ffffffff610eb116565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610c808282610b7a565b61063282610c8c6107be565b61053084604051806060016040528060248152602001611104602491396001600160a01b0388166000908152600160205260408120906105096107be565b610cdb60068263ffffffff610ef316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610d2360068263ffffffff610f7416565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610da15760405162461bcd60e51b81526004018080602001828103825260228152602001806110e26022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038216610e1c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610e2f908263ffffffff610aa116565b6002556001600160a01b038216600090815260208190526040902054610e5b908263ffffffff610aa116565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610afb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a0a565b610efd8282610d5a565b15610f4f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b610f7e8282610d5a565b610fb95760405162461bcd60e51b81526004018080602001828103825260218152602001806110996021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158206e4e3af06fdf8ac8385c092e52e5f874d9994489da6a8304e669f267d1a2807264736f6c63430005100032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000a4d61726b65745065616b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045045414b00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806398650275116100715780639865027514610345578063a457c2d71461034d578063a9059cbb14610379578063aa271e1a146103a5578063dd62ed3e146103cb57610116565b806370a08231146102c557806379cc6790146102eb57806395d89b4114610317578063983b2d561461031f57610116565b8063313ce567116100e9578063313ce56714610228578063355274ea14610246578063395093511461024e57806340c10f191461027a57806342966c68146102a657610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b6101236103f9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b03813516906020013561048f565b604080519115158252519081900360200190f35b6101e06104ac565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104b2565b61023061053f565b6040805160ff9092168252519081900360200190f35b6101e0610548565b6101c46004803603604081101561026457600080fd5b506001600160a01b03813516906020013561054e565b6101c46004803603604081101561029057600080fd5b506001600160a01b0381351690602001356105a2565b6102c3600480360360208110156102bc57600080fd5b50356105f9565b005b6101e0600480360360208110156102db57600080fd5b50356001600160a01b031661060d565b6102c36004803603604081101561030157600080fd5b506001600160a01b038135169060200135610628565b610123610636565b6102c36004803603602081101561033557600080fd5b50356001600160a01b0316610697565b6102c36106e6565b6101c46004803603604081101561036357600080fd5b506001600160a01b0381351690602001356106f8565b6101c46004803603604081101561038f57600080fd5b506001600160a01b038135169060200135610766565b6101c4600480360360208110156103bb57600080fd5b50356001600160a01b031661077a565b6101e0600480360360408110156103e157600080fd5b506001600160a01b0381358116916020013516610793565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104855780601f1061045a57610100808354040283529160200191610485565b820191906000526020600020905b81548152906001019060200180831161046857829003601f168201915b5050505050905090565b60006104a361049c6107be565b84846107c2565b50600192915050565b60025490565b60006104bf8484846108ae565b610535846104cb6107be565b610530856040518060600160405280602881526020016110ba602891396001600160a01b038a166000908152600160205260408120906105096107be565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610a0a16565b6107c2565b5060019392505050565b60055460ff1690565b60075490565b60006104a361055b6107be565b84610530856001600061056c6107be565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610aa116565b60006105b46105af6107be565b61077a565b6105ef5760405162461bcd60e51b81526004018080602001828103825260308152602001806110696030913960400191505060405180910390fd5b6104a38383610b02565b61060a6106046107be565b82610b7a565b50565b6001600160a01b031660009081526020819052604090205490565b6106328282610c76565b5050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104855780601f1061045a57610100808354040283529160200191610485565b6106a26105af6107be565b6106dd5760405162461bcd60e51b81526004018080602001828103825260308152602001806110696030913960400191505060405180910390fd5b61060a81610cca565b6106f66106f16107be565b610d12565b565b60006104a36107056107be565b8461053085604051806060016040528060258152602001611192602591396001600061072f6107be565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610a0a16565b60006104a36107736107be565b84846108ae565b600061078d60068363ffffffff610d5a16565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108075760405162461bcd60e51b815260040180806020018281038252602481526020018061116e6024913960400191505060405180910390fd5b6001600160a01b03821661084c5760405162461bcd60e51b81526004018080602001828103825260228152602001806110216022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108f35760405162461bcd60e51b81526004018080602001828103825260258152602001806111496025913960400191505060405180910390fd5b6001600160a01b0382166109385760405162461bcd60e51b8152600401808060200182810382526023815260200180610fdc6023913960400191505060405180910390fd5b61097b81604051806060016040528060268152602001611043602691396001600160a01b038616600090815260208190526040902054919063ffffffff610a0a16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546109b0908263ffffffff610aa116565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a995760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a5e578181015183820152602001610a46565b50505050905090810190601f168015610a8b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610afb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754610b1d82610b116104ac565b9063ffffffff610aa116565b1115610b70576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6106328282610dc1565b6001600160a01b038216610bbf5760405162461bcd60e51b81526004018080602001828103825260218152602001806111286021913960400191505060405180910390fd5b610c0281604051806060016040528060228152602001610fff602291396001600160a01b038516600090815260208190526040902054919063ffffffff610a0a16565b6001600160a01b038316600090815260208190526040902055600254610c2e908263ffffffff610eb116565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610c808282610b7a565b61063282610c8c6107be565b61053084604051806060016040528060248152602001611104602491396001600160a01b0388166000908152600160205260408120906105096107be565b610cdb60068263ffffffff610ef316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610d2360068263ffffffff610f7416565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610da15760405162461bcd60e51b81526004018080602001828103825260228152602001806110e26022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038216610e1c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610e2f908263ffffffff610aa116565b6002556001600160a01b038216600090815260208190526040902054610e5b908263ffffffff610aa116565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610afb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a0a565b610efd8282610d5a565b15610f4f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b610f7e8282610d5a565b610fb95760405162461bcd60e51b81526004018080602001828103825260218152602001806110996021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158206e4e3af06fdf8ac8385c092e52e5f874d9994489da6a8304e669f267d1a2807264736f6c63430005100032

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000a4d61726b65745065616b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045045414b00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): MarketPeak
Arg [1] : symbol (string): PEAK
Arg [2] : decimals (uint8): 8
Arg [3] : cap (uint256): 1000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4d61726b65745065616b00000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5045414b00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

136:259:7:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;136:259:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;644:81:4;;;:::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;644:81:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2483:149:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2483:149:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1542:89;;;:::i;:::-;;;;;;;;;;;;;;;;3090:300;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3090:300:1;;;;;;;;;;;;;;;;;:::i;1472:81:4:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;537:73:3;;;:::i;3785:207:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3785:207:1;;;;;;;;:::i;485:140:5:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;485:140:5;;;;;;;;:::i;431:81:2:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;431:81:2;;:::i;:::-;;1689:108:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1689:108:1;-1:-1:-1;;;;;1689:108:1;;:::i;569:101:2:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;569:101:2;;;;;;;;:::i;838:85:4:-;;;:::i;598:90:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;598:90:8;-1:-1:-1;;;;;598:90:8;;:::i;694:77::-;;;:::i;4479:258:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4479:258:1;;;;;;;;:::i;2000:155::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2000:155:1;;;;;;;;:::i;485:107:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;485:107:8;-1:-1:-1;;;;;485:107:8;;:::i;2213:132:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2213:132:1;;;;;;;;;;:::i;644:81:4:-;713:5;706:12;;;;;;;;-1:-1:-1;;706:12:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;681:13;;706:12;;713:5;;706:12;;713:5;706:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;644:81;:::o;2483:149:1:-;2549:4;2565:39;2574:12;:10;:12::i;:::-;2588:7;2597:6;2565:8;:39::i;:::-;-1:-1:-1;2621:4:1;2483:149;;;;:::o;1542:89::-;1612:12;;1542:89;:::o;3090:300::-;3179:4;3195:36;3205:6;3213:9;3224:6;3195:9;:36::i;:::-;3241:121;3250:6;3258:12;:10;:12::i;:::-;3272:89;3310:6;3272:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3272:19:1;;;;;;:11;:19;;;;;;3292:12;:10;:12::i;:::-;-1:-1:-1;;;;;3272:33:1;;;;;;;;;;;;-1:-1:-1;3272:33:1;;;:89;;:37;:89;:::i;:::-;3241:8;:121::i;:::-;-1:-1:-1;3379:4:1;3090:300;;;;;:::o;1472:81:4:-;1537:9;;;;1472:81;:::o;537:73:3:-;599:4;;537:73;:::o;3785:207:1:-;3865:4;3881:83;3890:12;:10;:12::i;:::-;3904:7;3913:50;3952:10;3913:11;:25;3925:12;:10;:12::i;:::-;-1:-1:-1;;;;;3913:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;3913:25:1;;;:34;;;;;;;;;;;:50;:38;:50;:::i;485:140:5:-;559:4;386:22:8;395:12;:10;:12::i;:::-;386:8;:22::i;:::-;378:83;;;;-1:-1:-1;;;378:83:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:22:5;581:7;590:6;575:5;:22::i;431:81:2:-;478:27;484:12;:10;:12::i;:::-;498:6;478:5;:27::i;:::-;431:81;:::o;1689:108:1:-;-1:-1:-1;;;;;1772:18:1;1746:7;1772:18;;;;;;;;;;;;1689:108::o;569:101:2:-;637:26;647:7;656:6;637:9;:26::i;:::-;569:101;;:::o;838:85:4:-;909:7;902:14;;;;;;;;-1:-1:-1;;902:14:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;877:13;;902:14;;909:7;;902:14;;909:7;902:14;;;;;;;;;;;;;;;;;;;;;;;;598:90:8;386:22;395:12;:10;:12::i;386:22::-;378:83;;;;-1:-1:-1;;;378:83:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;662:19;673:7;662:10;:19::i;694:77::-;737:27;751:12;:10;:12::i;:::-;737:13;:27::i;:::-;694:77::o;4479:258:1:-;4564:4;4580:129;4589:12;:10;:12::i;:::-;4603:7;4612:96;4651:15;4612:96;;;;;;;;;;;;;;;;;:11;:25;4624:12;:10;:12::i;:::-;-1:-1:-1;;;;;4612:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;4612:25:1;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;2000:155::-;2069:4;2085:42;2095:12;:10;:12::i;:::-;2109:9;2120:6;2085:9;:42::i;485:107:8:-;541:4;564:21;:8;577:7;564:21;:12;:21;:::i;:::-;557:28;485:107;-1:-1:-1;;485:107:8:o;2213:132:1:-;-1:-1:-1;;;;;2311:18:1;;;2285:7;2311:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;2213:132::o;788:96:0:-;867:10;788:96;:::o;7334:332:1:-;-1:-1:-1;;;;;7427:19:1;;7419:68;;;;-1:-1:-1;;;7419:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7505:21:1;;7497:68;;;;-1:-1:-1;;;7497:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7576:18:1;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;7627:32;;;;;;;;;;;;;;;;;7334:332;;;:::o;5211:464::-;-1:-1:-1;;;;;5308:20:1;;5300:70;;;;-1:-1:-1;;;5300:70:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5388:23:1;;5380:71;;;;-1:-1:-1;;;5380:71:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5482;5504:6;5482:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5482:17:1;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;5462:17:1;;;:9;:17;;;;;;;;;;;:91;;;;5586:20;;;;;;;:32;;5611:6;5586:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;5563:20:1;;;:9;:20;;;;;;;;;;;;:55;;;;5633:35;;;;;;;5563:20;;5633:35;;;;;;;;;;;;;5211:464;;;:::o;1732:187:10:-;1818:7;1853:12;1845:6;;;;1837:29;;;;-1:-1:-1;;;1837:29:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1837:29:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1888:5:10;;;1732:187::o;834:176::-;892:7;923:5;;;946:6;;;;938:46;;;;;-1:-1:-1;;;938:46:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;1002:1;834:176;-1:-1:-1;;;834:176:10:o;774:180:3:-;876:4;;848:24;866:5;848:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;:::-;:32;;840:70;;;;;-1:-1:-1;;;840:70:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;920:27;932:7;941:5;920:11;:27::i;6567:342:1:-;-1:-1:-1;;;;;6642:21:1;;6634:67;;;;-1:-1:-1;;;6634:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6733:68;6756:6;6733:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6733:18:1;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;6712:18:1;;:9;:18;;;;;;;;;;:89;6826:12;;:24;;6843:6;6826:24;:16;:24;:::i;:::-;6811:12;:39;6865:37;;;;;;;;6891:1;;-1:-1:-1;;;;;6865:37:1;;;;;;;;;;;;6567:342;;:::o;7844:229::-;7915:22;7921:7;7930:6;7915:5;:22::i;:::-;7947:119;7956:7;7965:12;:10;:12::i;:::-;7979:86;8018:6;7979:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7979:20:1;;;;;;:11;:20;;;;;;8000:12;:10;:12::i;777:119:8:-;833:21;:8;846:7;833:21;:12;:21;:::i;:::-;869:20;;-1:-1:-1;;;;;869:20:8;;;;;;;;777:119;:::o;902:127::-;961:24;:8;977:7;961:24;:15;:24;:::i;:::-;1000:22;;-1:-1:-1;;;;;1000:22:8;;;;;;;;902:127;:::o;779:200:9:-;851:4;-1:-1:-1;;;;;875:21:9;;867:68;;;;-1:-1:-1;;;867:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;952:20:9;:11;:20;;;;;;;;;;;;;;;779:200::o;5945:302:1:-;-1:-1:-1;;;;;6020:21:1;;6012:65;;;;;-1:-1:-1;;;6012:65:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;6103:12;;:24;;6120:6;6103:24;:16;:24;:::i;:::-;6088:12;:39;-1:-1:-1;;;;;6158:18:1;;:9;:18;;;;;;;;;;;:30;;6181:6;6158:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;6137:18:1;;:9;:18;;;;;;;;;;;:51;;;;6203:37;;;;;;;6137:18;;:9;;6203:37;;;;;;;;;;5945:302;;:::o;1274:134:10:-;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;260:175:9:-;337:18;341:4;347:7;337:3;:18::i;:::-;336:19;328:63;;;;;-1:-1:-1;;;328:63:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;401:20:9;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;401:27:9;424:4;401:27;;;260:175::o;510:180::-;589:18;593:4;599:7;589:3;:18::i;:::-;581:64;;;;-1:-1:-1;;;581:64:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;655:20:9;678:5;655:20;;;;;;;;;;;:28;;-1:-1:-1;;655:28:9;;;510:180::o

Swarm Source

bzzr://6e4e3af06fdf8ac8385c092e52e5f874d9994489da6a8304e669f267d1a28072

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

MarketPeak token has been rebranded as PeakDefi and migrated to 0x630d98424efe0ea27fb1b3ab7741907dffeaad78.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.