ETH Price: $2,638.78 (+1.02%)

Token

Wrapped Bonk (WBONK)
 

Overview

Max Total Supply

10,000,000,530,000 WBONK

Holders

56

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 5 Decimals)

Filtered by Token Holder
Stephen Curry
Balance
10,000 WBONK

Value
$0.00
0x3becf83939f34311b6bee143197872d877501b11
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedBonk

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : Wrapped_bonk.sol
// SPDX-License-Identifier: none
pragma solidity ^0.8.17;

import "openzeppelin-contracts/token/ERC20/ERC20.sol";

contract WrappedBonk is ERC20 {
    address immutable multisig;
    address immutable worker;
    mapping(address => uint256) public toEth;
    mapping(address => uint256) public toSol;

    error NotEnoughBonk();
    error NotAuthorized();
    error NotAdmin();

    constructor(uint256 initialSupply, address a, address o) ERC20("Wrapped Bonk", "WBONK") {
        multisig = a;
        worker = o;
        _mint(a, initialSupply); // To initialize pool
    }

    function decimals() public pure override returns (uint8) {
        return 5;
    }

    // Mint wrapped bonk for user
    function mint(uint256 amount) public {
        if (amount > toEth[msg.sender]) revert NotEnoughBonk();
        toEth[msg.sender] = toEth[msg.sender] - amount;
        _mint(msg.sender, amount);
    }

    // Redeem wrapped bonk for user
    function redeem(uint256 amount) public {
        if (balanceOf(msg.sender) < amount) revert NotEnoughBonk();
        toSol[msg.sender] = toSol[msg.sender] + amount;
        _burn(msg.sender, amount);
    }

    // Called by worker
    function opsMint(address _to, uint256 amount) public {
        if (msg.sender != worker) revert NotAuthorized();
        _mint(_to, amount);
    }

    function opsMintBatch(address[] memory recipients, uint256 amount) public {
        if (msg.sender != worker) revert NotAuthorized();
        for (uint256 i = 0; i < recipients.length; i++) {
            _mint(recipients[i], amount);
        }
    }

    function opsCredit(address _to, uint256 amount) public {
        if (msg.sender != worker) revert NotAuthorized();
        toEth[_to] = toEth[_to] + amount;
    }

    function opsDebit(address _from, uint256 amount) public {
        if (msg.sender != worker) revert NotAuthorized();
        toSol[_from] = toSol[_from] - amount;
    }
}

File 2 of 5 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 3 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

File 4 of 5 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"address","name":"a","type":"address"},{"internalType":"address","name":"o","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotAdmin","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"NotEnoughBonk","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"opsCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"opsDebit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"opsMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"opsMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"toEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"toSol","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001345380380620013458339810160408190526200003491620001aa565b6040518060400160405280600c81526020016b5772617070656420426f6e6b60a01b8152506040518060400160405280600581526020016457424f4e4b60d81b81525081600390816200008891906200028f565b5060046200009782826200028f565b5050506001600160a01b03808316608052811660a052620000b98284620000c2565b50505062000383565b6001600160a01b0382166200011d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200013191906200035b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b80516001600160a01b0381168114620001a557600080fd5b919050565b600080600060608486031215620001c057600080fd5b83519250620001d2602085016200018d565b9150620001e2604085016200018d565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200021657607f821691505b6020821081036200023757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018857600081815260208120601f850160051c81016020861015620002665750805b601f850160051c820191505b81811015620002875782815560010162000272565b505050505050565b81516001600160401b03811115620002ab57620002ab620001eb565b620002c381620002bc845462000201565b846200023d565b602080601f831160018114620002fb5760008415620002e25750858301515b600019600386901b1c1916600185901b17855562000287565b600085815260208120601f198616915b828110156200032c578886015182559484019460019091019084016200030b565b50858210156200034b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200037d57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a051610f8a620003bb600039600081816103ab015281816104d4015281816105f1015261067e015260005050610f8a6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a9059cbb11610071578063a9059cbb14610271578063ab30b7f814610284578063b906198314610297578063db006a75146102aa578063dd62ed3e146102bd57600080fd5b806370a082311461020757806395d89b4114610230578063a0712d6814610238578063a24342251461024b578063a457c2d71461025e57600080fd5b806323b872dd116100f457806323b872dd1461019d5780632e3c9e3c146101b0578063313ce567146101c557806339509351146101d4578063522b1881146101e757600080fd5b806306fdde0314610126578063095ea7b31461014457806312c8b8931461016757806318160ddd14610195575b600080fd5b61012e6102d0565b60405161013b9190610c90565b60405180910390f35b610157610152366004610cfa565b610362565b604051901515815260200161013b565b610187610175366004610d24565b60056020526000908152604090205481565b60405190815260200161013b565b600254610187565b6101576101ab366004610d46565b61037c565b6101c36101be366004610cfa565b6103a0565b005b6040516005815260200161013b565b6101576101e2366004610cfa565b61042d565b6101876101f5366004610d24565b60066020526000908152604090205481565b610187610215366004610d24565b6001600160a01b031660009081526020819052604090205490565b61012e61044f565b6101c3610246366004610d82565b61045e565b6101c3610259366004610db1565b6104c9565b61015761026c366004610cfa565b610558565b61015761027f366004610cfa565b6105d8565b6101c3610292366004610cfa565b6105e6565b6101c36102a5366004610cfa565b610673565b6101c36102b8366004610d82565b6106ca565b6101876102cb366004610e7c565b610732565b6060600380546102df90610eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461030b90610eaf565b80156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b60003361037081858561075d565b60019150505b92915050565b60003361038a858285610881565b6103958585856108fb565b506001949350505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103e95760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b03821660009081526006602052604090205461040d908290610eff565b6001600160a01b0390921660009081526006602052604090209190915550565b6000336103708185856104408383610732565b61044a9190610f12565b61075d565b6060600480546102df90610eaf565b3360009081526005602052604090205481111561048e57604051631cd004d760e31b815260040160405180910390fd5b336000908152600560205260409020546104a9908290610eff565b336000818152600560205260409020919091556104c69082610a9f565b50565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105125760405163ea8e4eb560e01b815260040160405180910390fd5b60005b82518110156105535761054183828151811061053357610533610f25565b602002602001015183610a9f565b8061054b81610f3b565b915050610515565b505050565b600033816105668286610732565b9050838110156105cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610395828686840361075d565b6000336103708185856108fb565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461062f5760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b038216600090815260056020526040902054610653908290610f12565b6001600160a01b0390921660009081526005602052604090209190915550565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106bc5760405163ea8e4eb560e01b815260040160405180910390fd5b6106c68282610a9f565b5050565b336000908152602081905260409020548111156106fa57604051631cd004d760e31b815260040160405180910390fd5b33600090815260066020526040902054610715908290610f12565b336000818152600660205260409020919091556104c69082610b5e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166107bf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c2565b6001600160a01b0382166108205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061088d8484610732565b905060001981146108f557818110156108e85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c2565b6108f5848484840361075d565b50505050565b6001600160a01b03831661095f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c2565b6001600160a01b0382166109c15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c2565b6001600160a01b03831660009081526020819052604090205481811015610a395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108f5565b6001600160a01b038216610af55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c2565b8060026000828254610b079190610f12565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610bbe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c2565b6001600160a01b03821660009081526020819052604090205481811015610c325760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c2565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600060208083528351808285015260005b81811015610cbd57858101830151858201604001528201610ca1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cf557600080fd5b919050565b60008060408385031215610d0d57600080fd5b610d1683610cde565b946020939093013593505050565b600060208284031215610d3657600080fd5b610d3f82610cde565b9392505050565b600080600060608486031215610d5b57600080fd5b610d6484610cde565b9250610d7260208501610cde565b9150604084013590509250925092565b600060208284031215610d9457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215610dc457600080fd5b823567ffffffffffffffff80821115610ddc57600080fd5b818501915085601f830112610df057600080fd5b8135602082821115610e0457610e04610d9b565b8160051b604051601f19603f83011681018181108682111715610e2957610e29610d9b565b604052928352818301935084810182019289841115610e4757600080fd5b948201945b83861015610e6c57610e5d86610cde565b85529482019493820193610e4c565b9997909101359750505050505050565b60008060408385031215610e8f57600080fd5b610e9883610cde565b9150610ea660208401610cde565b90509250929050565b600181811c90821680610ec357607f821691505b602082108103610ee357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561037657610376610ee9565b8082018082111561037657610376610ee9565b634e487b7160e01b600052603260045260246000fd5b600060018201610f4d57610f4d610ee9565b506001019056fea26469706673582212209512ac6edd7e2d4ce5427b8c4d6e1c0c03a7e3348c2b4233f45d59d2a25e056464736f6c634300081100330000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000006d62f816b7f920dc87130c4facc836029b22311400000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc6

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a9059cbb11610071578063a9059cbb14610271578063ab30b7f814610284578063b906198314610297578063db006a75146102aa578063dd62ed3e146102bd57600080fd5b806370a082311461020757806395d89b4114610230578063a0712d6814610238578063a24342251461024b578063a457c2d71461025e57600080fd5b806323b872dd116100f457806323b872dd1461019d5780632e3c9e3c146101b0578063313ce567146101c557806339509351146101d4578063522b1881146101e757600080fd5b806306fdde0314610126578063095ea7b31461014457806312c8b8931461016757806318160ddd14610195575b600080fd5b61012e6102d0565b60405161013b9190610c90565b60405180910390f35b610157610152366004610cfa565b610362565b604051901515815260200161013b565b610187610175366004610d24565b60056020526000908152604090205481565b60405190815260200161013b565b600254610187565b6101576101ab366004610d46565b61037c565b6101c36101be366004610cfa565b6103a0565b005b6040516005815260200161013b565b6101576101e2366004610cfa565b61042d565b6101876101f5366004610d24565b60066020526000908152604090205481565b610187610215366004610d24565b6001600160a01b031660009081526020819052604090205490565b61012e61044f565b6101c3610246366004610d82565b61045e565b6101c3610259366004610db1565b6104c9565b61015761026c366004610cfa565b610558565b61015761027f366004610cfa565b6105d8565b6101c3610292366004610cfa565b6105e6565b6101c36102a5366004610cfa565b610673565b6101c36102b8366004610d82565b6106ca565b6101876102cb366004610e7c565b610732565b6060600380546102df90610eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461030b90610eaf565b80156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b60003361037081858561075d565b60019150505b92915050565b60003361038a858285610881565b6103958585856108fb565b506001949350505050565b336001600160a01b037f00000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc616146103e95760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b03821660009081526006602052604090205461040d908290610eff565b6001600160a01b0390921660009081526006602052604090209190915550565b6000336103708185856104408383610732565b61044a9190610f12565b61075d565b6060600480546102df90610eaf565b3360009081526005602052604090205481111561048e57604051631cd004d760e31b815260040160405180910390fd5b336000908152600560205260409020546104a9908290610eff565b336000818152600560205260409020919091556104c69082610a9f565b50565b336001600160a01b037f00000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc616146105125760405163ea8e4eb560e01b815260040160405180910390fd5b60005b82518110156105535761054183828151811061053357610533610f25565b602002602001015183610a9f565b8061054b81610f3b565b915050610515565b505050565b600033816105668286610732565b9050838110156105cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610395828686840361075d565b6000336103708185856108fb565b336001600160a01b037f00000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc6161461062f5760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b038216600090815260056020526040902054610653908290610f12565b6001600160a01b0390921660009081526005602052604090209190915550565b336001600160a01b037f00000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc616146106bc5760405163ea8e4eb560e01b815260040160405180910390fd5b6106c68282610a9f565b5050565b336000908152602081905260409020548111156106fa57604051631cd004d760e31b815260040160405180910390fd5b33600090815260066020526040902054610715908290610f12565b336000818152600660205260409020919091556104c69082610b5e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166107bf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c2565b6001600160a01b0382166108205760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c2565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061088d8484610732565b905060001981146108f557818110156108e85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c2565b6108f5848484840361075d565b50505050565b6001600160a01b03831661095f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c2565b6001600160a01b0382166109c15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c2565b6001600160a01b03831660009081526020819052604090205481811015610a395760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c2565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108f5565b6001600160a01b038216610af55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c2565b8060026000828254610b079190610f12565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610bbe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c2565b6001600160a01b03821660009081526020819052604090205481811015610c325760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c2565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600060208083528351808285015260005b81811015610cbd57858101830151858201604001528201610ca1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cf557600080fd5b919050565b60008060408385031215610d0d57600080fd5b610d1683610cde565b946020939093013593505050565b600060208284031215610d3657600080fd5b610d3f82610cde565b9392505050565b600080600060608486031215610d5b57600080fd5b610d6484610cde565b9250610d7260208501610cde565b9150604084013590509250925092565b600060208284031215610d9457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215610dc457600080fd5b823567ffffffffffffffff80821115610ddc57600080fd5b818501915085601f830112610df057600080fd5b8135602082821115610e0457610e04610d9b565b8160051b604051601f19603f83011681018181108682111715610e2957610e29610d9b565b604052928352818301935084810182019289841115610e4757600080fd5b948201945b83861015610e6c57610e5d86610cde565b85529482019493820193610e4c565b9997909101359750505050505050565b60008060408385031215610e8f57600080fd5b610e9883610cde565b9150610ea660208401610cde565b90509250929050565b600181811c90821680610ec357607f821691505b602082108103610ee357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561037657610376610ee9565b8082018082111561037657610376610ee9565b634e487b7160e01b600052603260045260246000fd5b600060018201610f4d57610f4d610ee9565b506001019056fea26469706673582212209512ac6edd7e2d4ce5427b8c4d6e1c0c03a7e3348c2b4233f45d59d2a25e056464736f6c63430008110033

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

0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000006d62f816b7f920dc87130c4facc836029b22311400000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc6

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1000000000000000000
Arg [1] : a (address): 0x6d62f816b7f920DC87130c4FACc836029b223114
Arg [2] : o (address): 0x56c7E0ad414d92e7c95490438EAd3600c855dCc6

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [1] : 0000000000000000000000006d62f816b7f920dc87130c4facc836029b223114
Arg [2] : 00000000000000000000000056c7e0ad414d92e7c95490438ead3600c855dcc6


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.