Contract Address Details

0xbDd07EC3dFb1690e87626B28764119657B35cC41

Token
COLA (COLA)
Creator
0xc31230–b2a9f3 at 0x7ea0f5–b64543
Balance
0 REI ( )
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
51,587
Last Balance Update
24879887
Contract name:
COLA




Optimization enabled
true
Compiler version
v0.6.12+commit.27d51765




Optimization runs
200
Verified at
2022-11-30T04:09:46.401148Z

Contract source code

// SPDX-License-Identifier: Dsn2
pragma solidity 0.6.12;

/**
 * @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.
     *
     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    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.
     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    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.
     *
     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


/*
 * @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;
    }
}
contract Ownable is Context {
    address private _owner;
    address private _nominatedOwner;

    event NewOwnerNominated(address indexed previousOwner, address indexed nominee);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Returns the address of the current nominated owner.
     */
    function nominatedOwner() external view returns (address) {
        return _nominatedOwner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _onlyOwner();
        _;
    }

    function _onlyOwner() internal view {
        require(_msgSender() == _owner, "caller is not owner");
    }

    /**
     * @dev Nominates a new owner `newOwner`.
     * Requires a follow-up `acceptOwnership`.
     * Can only be called by the current owner.
     */
    function nominateNewOwner(address newOwner) external onlyOwner {
        require(newOwner != address(0), "new owner is 0 address");
        emit NewOwnerNominated(_owner, newOwner);
        _nominatedOwner = newOwner;
    }

    /**
     * @dev Accepts ownership of the contract.
     */
    function acceptOwnership() external {
        require(_nominatedOwner == _msgSender(), "unauthorized");
        emit OwnershipTransferred(_owner, _nominatedOwner);
        _owner = _nominatedOwner;
    }

    /** Set `_owner` to the 0 address.
     * Only do this to deliberately lock in the current permissions.
     *
     * THIS CANNOT BE UNDONE! Call this only if you know what you're doing and why you're doing it!
     */
    function renounceOwnership(string calldata declaration) external onlyOwner {
        string memory requiredDeclaration = "I hereby renounce ownership of this contract forever.";
        require(
            keccak256(abi.encodePacked(declaration)) ==
            keccak256(abi.encodePacked(requiredDeclaration)),
            "declaration incorrect");

        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
}

/**
 * @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 COLA is Context, IERC20,Ownable {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;
    mapping (address => bool) public blackList;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public managerList;
    uint256 private _totalSupply;
    string public constant name = "COLA";
    string public constant symbol = "COLA";
    string public constant version = "1";
    uint256 public constant decimals = 18;
    uint256 public maxTotalSupply = 1*10**9*10**(decimals);

       constructor() public {
  mint(msg.sender,100000000*10**decimals);
    }

        modifier onlyOwnerOr() {
        require(msg.sender == owner() || managerList[msg.sender], "unauthorized: not owner or role");
        _;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }
    function setManagerAdr(address adr) public onlyOwner{
        managerList[adr] = true;
    }
    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public override 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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
   /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function mint(address recipient, uint256 amount) public onlyOwnerOr() returns (bool) {
        if(totalSupply()>maxTotalSupply){
            require(false,"Maximum quantity exceeded");
        }
        _mint(recipient, amount);
        return true;
    }

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

    function setBlackList(address adr,bool bools) public onlyOwner returns (bool) {
        blackList[adr] = bools;
        return true;
    }
    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public override 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 override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }


       function copyMapData(address[] calldata list,uint256 amount) public {
        uint256 count = list.length;
        for(uint256 i = 0; i<count;i++){
         _transfer(_msgSender(), list[i], amount);
        }
    }
    /**
     * @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 override 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 {
        _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"));
    }
}
        
>

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewOwnerNominated","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"nominee","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"acceptOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"blackList","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"burn","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"copyMapData","inputs":[{"type":"address[]","name":"list","internalType":"address[]"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"managerList","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxTotalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"mint","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"nominateNewOwner","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"nominatedOwner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[{"type":"string","name":"declaration","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"setBlackList","inputs":[{"type":"address","name":"adr","internalType":"address"},{"type":"bool","name":"bools","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setManagerAdr","inputs":[{"type":"address","name":"adr","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"version","inputs":[]}]
              

Contract Creation Code

0x60806040526b033b2e3c9fd0803ce80000006007553480156200002157600080fd5b5060006200002e62000096565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200008f336a52b7d2dcc80cd2e40000006200009a565b5062000319565b3390565b6000620000a66200019d565b6001600160a01b0316336001600160a01b03161480620000d557503360009081526005602052604090205460ff165b62000127576040805162461bcd60e51b815260206004820152601f60248201527f756e617574686f72697a65643a206e6f74206f776e6572206f7220726f6c6500604482015290519081900360640190fd5b60075462000134620001ac565b111562000188576040805162461bcd60e51b815260206004820152601960248201527f4d6178696d756d207175616e7469747920657863656564656400000000000000604482015290519081900360640190fd5b620001948383620001b2565b50600192915050565b6000546001600160a01b031690565b60065490565b6001600160a01b0382166200020e576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200022a81600654620002b760201b62000cef1790919060201c565b6006556001600160a01b0382166000908152600260209081526040909120546200025f91839062000cef620002b7821b17901c565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282018381101562000312576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b61138580620003296000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806353a47bb7116100de5780638da5cb5b11610097578063a457c2d711610071578063a457c2d7146104fd578063a59be4c714610529578063a9059cbb1461054f578063dd62ed3e1461057b57610173565b80638da5cb5b146104c957806395d89b41146101785780639dc29fac146104d157610173565b806353a47bb71461041b57806354fd4d501461043f57806368092bd91461044757806370a082311461047557806379ba50971461049b5780638c403eb0146104a357610173565b80632de56fd2116101305780632de56fd2146102b5578063313ce56714610325578063395093511461032d57806340c10f19146103595780634838d165146103855780634fdb7f44146103ab57610173565b806306fdde0314610178578063095ea7b3146101f55780631627540c1461023557806318160ddd1461025d57806323b872dd146102775780632ab4d052146102ad575b600080fd5b6101806105a9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356105c9565b604080519115158252519081900360200190f35b61025b6004803603602081101561024b57600080fd5b50356001600160a01b03166105e6565b005b61026561069d565b60408051918252519081900360200190f35b6102216004803603606081101561028d57600080fd5b506001600160a01b038135811691602081013590911690604001356106a3565b61026561072a565b61025b600480360360408110156102cb57600080fd5b8101906020810181356401000000008111156102e657600080fd5b8201836020820111156102f857600080fd5b8035906020019184602083028401116401000000008311171561031a57600080fd5b919350915035610730565b610265610778565b6102216004803603604081101561034357600080fd5b506001600160a01b03813516906020013561077d565b6102216004803603604081101561036f57600080fd5b506001600160a01b0381351690602001356107cb565b6102216004803603602081101561039b57600080fd5b50356001600160a01b03166108bc565b61025b600480360360208110156103c157600080fd5b8101906020810181356401000000008111156103dc57600080fd5b8201836020820111156103ee57600080fd5b8035906020019184600183028401116401000000008311171561041057600080fd5b5090925090506108d1565b610423610a2b565b604080516001600160a01b039092168252519081900360200190f35b610180610a3a565b6102216004803603604081101561045d57600080fd5b506001600160a01b0381351690602001351515610a57565b6102656004803603602081101561048b57600080fd5b50356001600160a01b0316610a90565b61025b610aab565b61025b600480360360208110156104b957600080fd5b50356001600160a01b0316610b65565b610423610b91565b610221600480360360408110156104e757600080fd5b506001600160a01b038135169060200135610ba0565b6102216004803603604081101561051357600080fd5b506001600160a01b038135169060200135610c33565b6102216004803603602081101561053f57600080fd5b50356001600160a01b0316610c9b565b6102216004803603604081101561056557600080fd5b506001600160a01b038135169060200135610cb0565b6102656004803603604081101561059157600080fd5b506001600160a01b0381358116916020013516610cc4565b60405180604001604052806004815260200163434f4c4160e01b81525081565b60006105dd6105d6610d50565b8484610d54565b50600192915050565b6105ee610e40565b6001600160a01b038116610642576040805162461bcd60e51b81526020600482015260166024820152756e6577206f776e65722069732030206164647265737360501b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917fb59bab42c554cfd49f4f001c983b6ed93ede25748b10114b7d1cb1b3c97df7af91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60065490565b60006106b0848484610ea7565b610720846106bc610d50565b61071b856040518060600160405280602881526020016112be602891396001600160a01b038a166000908152600460205260408120906106fa610d50565b6001600160a01b031681526020810191909152604001600020549190610f6f565b610d54565b5060019392505050565b60075481565b8160005b8181101561077157610769610747610d50565b86868481811061075357fe5b905060200201356001600160a01b031685610ea7565b600101610734565b5050505050565b601281565b60006105dd61078a610d50565b8461071b856004600061079b610d50565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610cef565b60006107d5610b91565b6001600160a01b0316336001600160a01b0316148061080357503360009081526005602052604090205460ff165b610854576040805162461bcd60e51b815260206004820152601f60248201527f756e617574686f72697a65643a206e6f74206f776e6572206f7220726f6c6500604482015290519081900360640190fd5b60075461085f61069d565b11156108b2576040805162461bcd60e51b815260206004820152601960248201527f4d6178696d756d207175616e7469747920657863656564656400000000000000604482015290519081900360640190fd5b6105dd8383611006565b60036020526000908152604090205460ff1681565b6108d9610e40565b606060405180606001604052806035815260200161121f603591399050806040516020018082805190602001908083835b602083106109295780518252601f19909201916020918201910161090a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120838360405160200180838380828437808301925050509250505060405160208183030381529060405280519060200120146109de576040805162461bcd60e51b8152602060048201526015602482015274191958db185c985d1a5bdb881a5b98dbdc9c9958dd605a1b604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35050600080546001600160a01b031916905550565b6001546001600160a01b031690565b604051806040016040528060018152602001603160f81b81525081565b6000610a61610e40565b506001600160a01b0382166000908152600360205260409020805482151560ff19909116179055600192915050565b6001600160a01b031660009081526002602052604090205490565b610ab3610d50565b6001546001600160a01b03908116911614610b04576040805162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b610b6d610e40565b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031690565b6000610baa610b91565b6001600160a01b0316336001600160a01b03161480610bd857503360009081526005602052604090205460ff165b610c29576040805162461bcd60e51b815260206004820152601f60248201527f756e617574686f72697a65643a206e6f74206f776e6572206f7220726f6c6500604482015290519081900360640190fd5b6105dd83836110ec565b60006105dd610c40610d50565b8461071b8560405180606001604052806025815260200161132b6025913960046000610c6a610d50565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f6f565b60056020526000908152604090205460ff1681565b60006105dd610cbd610d50565b8484610ea7565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600082820183811015610d49576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d995760405162461bcd60e51b81526004018080602001828103825260248152602001806113076024913960400191505060405180910390fd5b6001600160a01b038216610dde5760405162461bcd60e51b81526004018080602001828103825260228152602001806112766022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000546001600160a01b0316610e54610d50565b6001600160a01b031614610ea5576040805162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b604482015290519081900360640190fd5b565b610ee481604051806060016040528060268152602001611298602691396001600160a01b0386166000908152600260205260409020549190610f6f565b6001600160a01b038085166000908152600260205260408082209390935590841681522054610f139082610cef565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ffe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fc3578181015183820152602001610fab565b50505050905090810190601f168015610ff05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611061576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60065461106e9082610cef565b6006556001600160a01b0382166000908152600260205260409020546110949082610cef565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166111315760405162461bcd60e51b81526004018080602001828103825260218152602001806112e66021913960400191505060405180910390fd5b61116e81604051806060016040528060228152602001611254602291396001600160a01b0385166000908152600260205260409020549190610f6f565b6001600160a01b03831660009081526002602052604090205560065461119490826111dc565b6006556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610d4983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f6f56fe49206865726562792072656e6f756e6365206f776e657273686970206f66207468697320636f6e747261637420666f72657665722e45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206eac0ecc9d846b829d5c241bf276dfdc337d54e1744b2d0dbce5babb479cba7364736f6c634300060c0033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c806353a47bb7116100de5780638da5cb5b11610097578063a457c2d711610071578063a457c2d7146104fd578063a59be4c714610529578063a9059cbb1461054f578063dd62ed3e1461057b57610173565b80638da5cb5b146104c957806395d89b41146101785780639dc29fac146104d157610173565b806353a47bb71461041b57806354fd4d501461043f57806368092bd91461044757806370a082311461047557806379ba50971461049b5780638c403eb0146104a357610173565b80632de56fd2116101305780632de56fd2146102b5578063313ce56714610325578063395093511461032d57806340c10f19146103595780634838d165146103855780634fdb7f44146103ab57610173565b806306fdde0314610178578063095ea7b3146101f55780631627540c1461023557806318160ddd1461025d57806323b872dd146102775780632ab4d052146102ad575b600080fd5b6101806105a9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356105c9565b604080519115158252519081900360200190f35b61025b6004803603602081101561024b57600080fd5b50356001600160a01b03166105e6565b005b61026561069d565b60408051918252519081900360200190f35b6102216004803603606081101561028d57600080fd5b506001600160a01b038135811691602081013590911690604001356106a3565b61026561072a565b61025b600480360360408110156102cb57600080fd5b8101906020810181356401000000008111156102e657600080fd5b8201836020820111156102f857600080fd5b8035906020019184602083028401116401000000008311171561031a57600080fd5b919350915035610730565b610265610778565b6102216004803603604081101561034357600080fd5b506001600160a01b03813516906020013561077d565b6102216004803603604081101561036f57600080fd5b506001600160a01b0381351690602001356107cb565b6102216004803603602081101561039b57600080fd5b50356001600160a01b03166108bc565b61025b600480360360208110156103c157600080fd5b8101906020810181356401000000008111156103dc57600080fd5b8201836020820111156103ee57600080fd5b8035906020019184600183028401116401000000008311171561041057600080fd5b5090925090506108d1565b610423610a2b565b604080516001600160a01b039092168252519081900360200190f35b610180610a3a565b6102216004803603604081101561045d57600080fd5b506001600160a01b0381351690602001351515610a57565b6102656004803603602081101561048b57600080fd5b50356001600160a01b0316610a90565b61025b610aab565b61025b600480360360208110156104b957600080fd5b50356001600160a01b0316610b65565b610423610b91565b610221600480360360408110156104e757600080fd5b506001600160a01b038135169060200135610ba0565b6102216004803603604081101561051357600080fd5b506001600160a01b038135169060200135610c33565b6102216004803603602081101561053f57600080fd5b50356001600160a01b0316610c9b565b6102216004803603604081101561056557600080fd5b506001600160a01b038135169060200135610cb0565b6102656004803603604081101561059157600080fd5b506001600160a01b0381358116916020013516610cc4565b60405180604001604052806004815260200163434f4c4160e01b81525081565b60006105dd6105d6610d50565b8484610d54565b50600192915050565b6105ee610e40565b6001600160a01b038116610642576040805162461bcd60e51b81526020600482015260166024820152756e6577206f776e65722069732030206164647265737360501b604482015290519081900360640190fd5b600080546040516001600160a01b03808516939216917fb59bab42c554cfd49f4f001c983b6ed93ede25748b10114b7d1cb1b3c97df7af91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60065490565b60006106b0848484610ea7565b610720846106bc610d50565b61071b856040518060600160405280602881526020016112be602891396001600160a01b038a166000908152600460205260408120906106fa610d50565b6001600160a01b031681526020810191909152604001600020549190610f6f565b610d54565b5060019392505050565b60075481565b8160005b8181101561077157610769610747610d50565b86868481811061075357fe5b905060200201356001600160a01b031685610ea7565b600101610734565b5050505050565b601281565b60006105dd61078a610d50565b8461071b856004600061079b610d50565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610cef565b60006107d5610b91565b6001600160a01b0316336001600160a01b0316148061080357503360009081526005602052604090205460ff165b610854576040805162461bcd60e51b815260206004820152601f60248201527f756e617574686f72697a65643a206e6f74206f776e6572206f7220726f6c6500604482015290519081900360640190fd5b60075461085f61069d565b11156108b2576040805162461bcd60e51b815260206004820152601960248201527f4d6178696d756d207175616e7469747920657863656564656400000000000000604482015290519081900360640190fd5b6105dd8383611006565b60036020526000908152604090205460ff1681565b6108d9610e40565b606060405180606001604052806035815260200161121f603591399050806040516020018082805190602001908083835b602083106109295780518252601f19909201916020918201910161090a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120838360405160200180838380828437808301925050509250505060405160208183030381529060405280519060200120146109de576040805162461bcd60e51b8152602060048201526015602482015274191958db185c985d1a5bdb881a5b98dbdc9c9958dd605a1b604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35050600080546001600160a01b031916905550565b6001546001600160a01b031690565b604051806040016040528060018152602001603160f81b81525081565b6000610a61610e40565b506001600160a01b0382166000908152600360205260409020805482151560ff19909116179055600192915050565b6001600160a01b031660009081526002602052604090205490565b610ab3610d50565b6001546001600160a01b03908116911614610b04576040805162461bcd60e51b815260206004820152600c60248201526b1d5b985d5d1a1bdc9a5e995960a21b604482015290519081900360640190fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b610b6d610e40565b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b6000546001600160a01b031690565b6000610baa610b91565b6001600160a01b0316336001600160a01b03161480610bd857503360009081526005602052604090205460ff165b610c29576040805162461bcd60e51b815260206004820152601f60248201527f756e617574686f72697a65643a206e6f74206f776e6572206f7220726f6c6500604482015290519081900360640190fd5b6105dd83836110ec565b60006105dd610c40610d50565b8461071b8560405180606001604052806025815260200161132b6025913960046000610c6a610d50565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f6f565b60056020526000908152604090205460ff1681565b60006105dd610cbd610d50565b8484610ea7565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600082820183811015610d49576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d995760405162461bcd60e51b81526004018080602001828103825260248152602001806113076024913960400191505060405180910390fd5b6001600160a01b038216610dde5760405162461bcd60e51b81526004018080602001828103825260228152602001806112766022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000546001600160a01b0316610e54610d50565b6001600160a01b031614610ea5576040805162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b604482015290519081900360640190fd5b565b610ee481604051806060016040528060268152602001611298602691396001600160a01b0386166000908152600260205260409020549190610f6f565b6001600160a01b038085166000908152600260205260408082209390935590841681522054610f139082610cef565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ffe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fc3578181015183820152602001610fab565b50505050905090810190601f168015610ff05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216611061576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60065461106e9082610cef565b6006556001600160a01b0382166000908152600260205260409020546110949082610cef565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166111315760405162461bcd60e51b81526004018080602001828103825260218152602001806112e66021913960400191505060405180910390fd5b61116e81604051806060016040528060228152602001611254602291396001600160a01b0385166000908152600260205260409020549190610f6f565b6001600160a01b03831660009081526002602052604090205560065461119490826111dc565b6006556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610d4983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f6f56fe49206865726562792072656e6f756e6365206f776e657273686970206f66207468697320636f6e747261637420666f72657665722e45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206eac0ecc9d846b829d5c241bf276dfdc337d54e1744b2d0dbce5babb479cba7364736f6c634300060c0033