BNB Price: $616.19 (+2.73%)
 

Overview

Max Total Supply

22.165975BCAKE (CSupply: 22.164143)

Holders

1,007 (0.00%)

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
OKX 35
Balance
0.0015075 BCAKE

Value
$0.00
0x3b5a23f6207d87b423c6789d2625ea620423b32d
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

bCake.Finance is the first partial-multi-collateralized & auto-yield-farming stablecoin which is built and supported on BNB Chain. BCAKE (BNB Cake) is a stablecoin pegged around 1 CAKE, partially backed by multi collaterals: CAKE, BNB, and partially backed algorithmically by BCXS.


Update? Click here to update the token ICO / general information

Contract Source Code Verified (Exact Match)

Contract Name:
CakeStable

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2022-12-21
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
/**
 * @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);
}

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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);
}

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @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;
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.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 {}
}

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IDollar {
    function poolBurnFrom(address _address, uint256 _amount) external;

    function poolMint(address _address, uint256 m_amount) external;
}

interface ITreasury {
    function hasPool(address _address) external view returns (bool);

    function minting_fee() external view returns (uint256);

    function redemption_fee() external view returns (uint256);

    function reserve_farming_percent() external view returns (uint256);

    function collateralReserve() external view returns (address);

    function globalMainCollateralBalance() external view returns (uint256);

    function globalMainCollateralValue() external view returns (uint256);

    function globalSecondCollateralBalance() external view returns (uint256);

    function globalSecondCollateralValue() external view returns (uint256);

    function globalCollateralTotalValue() external view returns (uint256);

    function getEffectiveCollateralRatio() external view returns (uint256);

    function requestTransfer(address token, address receiver, uint256 amount) external;

    function reserveReceiveCollaterals(uint256 _mainCollateralAmount, uint256 _secondCollateralAmount) external;

    function info() external view returns (uint256, uint256, uint256, uint256, uint256, uint256);
}

contract CakeStable is IDollar, ERC20Burnable, Ownable, ReentrancyGuard {
    address public treasury;
    uint256 public totalBurned;

    /* ========== EVENTS ========== */

    event TreasuryUpdated(address indexed newTreasury);
    event AssetBurned(address indexed from, address indexed to, uint256 amount);
    event AssetMinted(address indexed from, address indexed to, uint256 amount);

    /* ========== Modifiers =============== */

    modifier onlyPool() {
        require(ITreasury(treasury).hasPool(msg.sender), "!pool");
        _;
    }

    /* ========== GOVERNANCE ========== */

    constructor(address _treasury, uint256 _genesis_supply) ERC20("BNB Cake", "BCAKE") {
        treasury = _treasury;
        if (_genesis_supply > 0) {
            _mint(msg.sender, _genesis_supply); // will be minted at genesis for liq pool seeding
        }
    }

    function setTreasuryAddress(address _treasury) public onlyOwner {
        require(_treasury != address(0), "zero");
        treasury = _treasury;
        emit TreasuryUpdated(_treasury);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function poolBurnFrom(address _address, uint256 _amount) external override onlyPool {
        super._burn(_address, _amount);
        unchecked {
            totalBurned += _amount;
        }
        emit AssetBurned(_address, msg.sender, _amount);
    }

    function poolMint(address _address, uint256 _amount) external override onlyPool {
        super._mint(_address, _amount);
        emit AssetMinted(msg.sender, _address, _amount);
    }

    /* ========== EMERGENCY ========== */

    function rescueStuckErc20(address _token) external onlyOwner {
        IERC20(_token).transfer(owner(), IERC20(_token).balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_genesis_supply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AssetBurned","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":"amount","type":"uint256"}],"name":"AssetMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryUpdated","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"poolBurnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"poolMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"rescueStuckErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001aac38038062001aac83398101604081905262000034916200020c565b60405180604001604052806008815260200167424e422043616b6560c01b815250604051806040016040528060058152602001644243414b4560d81b8152508160039081620000849190620002ec565b506004620000938282620002ec565b505050620000b0620000aa620000eb60201b60201c565b620000ef565b6001600655600780546001600160a01b0319166001600160a01b0384161790558015620000e357620000e3338262000141565b5050620003e0565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200019c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001b09190620003b8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600080604083850312156200022057600080fd5b82516001600160a01b03811681146200023857600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200027357607f821691505b6020821081036200029457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020757600081815260208120601f850160051c81016020861015620002c35750805b601f850160051c820191505b81811015620002e457828155600101620002cf565b505050505050565b81516001600160401b0381111562000308576200030862000248565b62000320816200031984546200025e565b846200029a565b602080601f8311600181146200035857600084156200033f5750858301515b600019600386901b1c1916600185901b178555620002e4565b600085815260208120601f198616915b82811015620003895788860151825594840194600190910190840162000368565b5085821015620003a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003da57634e487b7160e01b600052601160045260246000fd5b92915050565b6116bc80620003f06000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d857806395d89b411161008c578063d89135cd11610066578063d89135cd14610352578063dd62ed3e1461035b578063f2fde38b146103a157600080fd5b806395d89b4114610324578063a457c2d71461032c578063a9059cbb1461033f57600080fd5b806379cc6790116100bd57806379cc6790146102e057806381ca7eba146102f35780638da5cb5b1461030657600080fd5b806370a08231146102a2578063715018a6146102d857600080fd5b806323b872dd1161013a57806342966c681161011457806342966c681461023757806361d027b31461024a5780636605bfda1461028f57600080fd5b806323b872dd14610202578063313ce56714610215578063395093511461022457600080fd5b80630a0c165a1161016b5780630a0c165a146101c85780630c407d56146101dd57806318160ddd146101f057600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103b4565b60405161019c9190611455565b60405180910390f35b6101b86101b33660046114ea565b610446565b604051901515815260200161019c565b6101db6101d63660046114ea565b610460565b005b6101db6101eb3660046114ea565b6105c1565b6002545b60405190815260200161019c565b6101b8610210366004611514565b61070d565b6040516012815260200161019c565b6101b86102323660046114ea565b610731565b6101db610245366004611550565b61077d565b60075461026a9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019c565b6101db61029d366004611569565b61078a565b6101f46102b0366004611569565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101db610880565b6101db6102ee3660046114ea565b610894565b6101db610301366004611569565b6108ad565b60055473ffffffffffffffffffffffffffffffffffffffff1661026a565b61018f610a12565b6101b861033a3660046114ea565b610a21565b6101b861034d3660046114ea565b610af2565b6101f460085481565b6101f461036936600461158b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101db6103af366004611569565b610b00565b6060600380546103c3906115be565b80601f01602080910402602001604051908101604052809291908181526020018280546103ef906115be565b801561043c5780601f106104115761010080835404028352916020019161043c565b820191906000526020600020905b81548152906001019060200180831161041f57829003601f168201915b5050505050905090565b600033610454818585610bb4565b60019150505b92915050565b6007546040517f1246dbf500000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911690631246dbf590602401602060405180830381865afa1580156104ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f29190611611565b61055d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21706f6f6c00000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6105678282610d68565b6008805482019055604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907f33bf55e4ea7febd9c407794f1c8d5fc1dc744ad2a9e1c9789c5f58f3f3ac8c22906020015b60405180910390a35050565b6007546040517f1246dbf500000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911690631246dbf590602401602060405180830381865afa15801561062f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106539190611611565b6106b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21706f6f6c0000000000000000000000000000000000000000000000000000006044820152606401610554565b6106c38282610f24565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907f9f8f31349c47dec18bab6fd70c3f360209248439f904d89f5bd13bbc42b06807906020016105b5565b60003361071b858285611017565b6107268585856110ee565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104549082908690610778908790611633565b610bb4565b6107873382610d68565b50565b61079261135d565b73ffffffffffffffffffffffffffffffffffffffff8116610811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105549060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d190600090a250565b61088861135d565b61089260006113de565b565b61089f823383611017565b6108a98282610d68565b5050565b6108b561135d565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6108f060055473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa15801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e919061166d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af11580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a99190611611565b6060600480546103c3906115be565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610ae5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610554565b6107268286868403610bb4565b6000336104548185856110ee565b610b0861135d565b73ffffffffffffffffffffffffffffffffffffffff8116610bab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610554565b610787816113de565b73ffffffffffffffffffffffffffffffffffffffff8316610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8216610cf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610ec1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d5b565b73ffffffffffffffffffffffffffffffffffffffff8216610fa1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610554565b8060026000828254610fb39190611633565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110e857818110156110db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610554565b6110e88484848403610bb4565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8216611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156112ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110e8565b60055473ffffffffffffffffffffffffffffffffffffffff163314610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610554565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b8181101561148257858101830151858201604001528201611466565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146114e557600080fd5b919050565b600080604083850312156114fd57600080fd5b611506836114c1565b946020939093013593505050565b60008060006060848603121561152957600080fd5b611532846114c1565b9250611540602085016114c1565b9150604084013590509250925092565b60006020828403121561156257600080fd5b5035919050565b60006020828403121561157b57600080fd5b611584826114c1565b9392505050565b6000806040838503121561159e57600080fd5b6115a7836114c1565b91506115b5602084016114c1565b90509250929050565b600181811c908216806115d257607f821691505b60208210810361160b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561162357600080fd5b8151801515811461158457600080fd5b8082018082111561045a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006020828403121561167f57600080fd5b505191905056fea2646970667358221220d30bc21592a53ce7c739d1c0b5199fd9bfc36de14cf5ba7598f7f502ded367ae64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056bc75e2d63100000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101825760003560e01c806370a08231116100d857806395d89b411161008c578063d89135cd11610066578063d89135cd14610352578063dd62ed3e1461035b578063f2fde38b146103a157600080fd5b806395d89b4114610324578063a457c2d71461032c578063a9059cbb1461033f57600080fd5b806379cc6790116100bd57806379cc6790146102e057806381ca7eba146102f35780638da5cb5b1461030657600080fd5b806370a08231146102a2578063715018a6146102d857600080fd5b806323b872dd1161013a57806342966c681161011457806342966c681461023757806361d027b31461024a5780636605bfda1461028f57600080fd5b806323b872dd14610202578063313ce56714610215578063395093511461022457600080fd5b80630a0c165a1161016b5780630a0c165a146101c85780630c407d56146101dd57806318160ddd146101f057600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103b4565b60405161019c9190611455565b60405180910390f35b6101b86101b33660046114ea565b610446565b604051901515815260200161019c565b6101db6101d63660046114ea565b610460565b005b6101db6101eb3660046114ea565b6105c1565b6002545b60405190815260200161019c565b6101b8610210366004611514565b61070d565b6040516012815260200161019c565b6101b86102323660046114ea565b610731565b6101db610245366004611550565b61077d565b60075461026a9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019c565b6101db61029d366004611569565b61078a565b6101f46102b0366004611569565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101db610880565b6101db6102ee3660046114ea565b610894565b6101db610301366004611569565b6108ad565b60055473ffffffffffffffffffffffffffffffffffffffff1661026a565b61018f610a12565b6101b861033a3660046114ea565b610a21565b6101b861034d3660046114ea565b610af2565b6101f460085481565b6101f461036936600461158b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101db6103af366004611569565b610b00565b6060600380546103c3906115be565b80601f01602080910402602001604051908101604052809291908181526020018280546103ef906115be565b801561043c5780601f106104115761010080835404028352916020019161043c565b820191906000526020600020905b81548152906001019060200180831161041f57829003601f168201915b5050505050905090565b600033610454818585610bb4565b60019150505b92915050565b6007546040517f1246dbf500000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911690631246dbf590602401602060405180830381865afa1580156104ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f29190611611565b61055d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21706f6f6c00000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6105678282610d68565b6008805482019055604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907f33bf55e4ea7febd9c407794f1c8d5fc1dc744ad2a9e1c9789c5f58f3f3ac8c22906020015b60405180910390a35050565b6007546040517f1246dbf500000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff90911690631246dbf590602401602060405180830381865afa15801561062f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106539190611611565b6106b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21706f6f6c0000000000000000000000000000000000000000000000000000006044820152606401610554565b6106c38282610f24565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907f9f8f31349c47dec18bab6fd70c3f360209248439f904d89f5bd13bbc42b06807906020016105b5565b60003361071b858285611017565b6107268585856110ee565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104549082908690610778908790611633565b610bb4565b6107873382610d68565b50565b61079261135d565b73ffffffffffffffffffffffffffffffffffffffff8116610811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105549060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d190600090a250565b61088861135d565b61089260006113de565b565b61089f823383611017565b6108a98282610d68565b5050565b6108b561135d565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6108f060055473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa15801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e919061166d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af11580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a99190611611565b6060600480546103c3906115be565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610ae5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610554565b6107268286868403610bb4565b6000336104548185856110ee565b610b0861135d565b73ffffffffffffffffffffffffffffffffffffffff8116610bab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610554565b610787816113de565b73ffffffffffffffffffffffffffffffffffffffff8316610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8216610cf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216610e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610ec1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d5b565b73ffffffffffffffffffffffffffffffffffffffff8216610fa1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610554565b8060026000828254610fb39190611633565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146110e857818110156110db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610554565b6110e88484848403610bb4565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8216611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156112ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610554565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110e8565b60055473ffffffffffffffffffffffffffffffffffffffff163314610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610554565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b8181101561148257858101830151858201604001528201611466565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146114e557600080fd5b919050565b600080604083850312156114fd57600080fd5b611506836114c1565b946020939093013593505050565b60008060006060848603121561152957600080fd5b611532846114c1565b9250611540602085016114c1565b9150604084013590509250925092565b60006020828403121561156257600080fd5b5035919050565b60006020828403121561157b57600080fd5b611584826114c1565b9392505050565b6000806040838503121561159e57600080fd5b6115a7836114c1565b91506115b5602084016114c1565b90509250929050565b600181811c908216806115d257607f821691505b60208210810361160b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561162357600080fd5b8151801515811461158457600080fd5b8082018082111561045a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006020828403121561167f57600080fd5b505191905056fea2646970667358221220d30bc21592a53ce7c739d1c0b5199fd9bfc36de14cf5ba7598f7f502ded367ae64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056bc75e2d63100000

-----Decoded View---------------
Arg [0] : _treasury (address): 0x0000000000000000000000000000000000000000
Arg [1] : _genesis_supply (uint256): 100000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000056bc75e2d63100000


Deployed Bytecode Sourcemap

25117:1819:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6298:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8649:201;;;;;;:::i;:::-;;:::i;:::-;;;1251:14:1;;1244:22;1226:41;;1214:2;1199:18;8649:201:0;1086:187:1;26272:260:0;;;;;;:::i;:::-;;:::i;:::-;;26540:187;;;;;;:::i;:::-;;:::i;7418:108::-;7506:12;;7418:108;;;1424:25:1;;;1412:2;1397:18;7418:108:0;1278:177:1;9430:261:0;;;;;;:::i;:::-;;:::i;7260:93::-;;;7343:2;1935:36:1;;1923:2;1908:18;7260:93:0;1793:184:1;10100:238:0;;;;;;:::i;:::-;;:::i;17753:91::-;;;;;;:::i;:::-;;:::i;25196:23::-;;;;;;;;;;;;2343:42:1;2331:55;;;2313:74;;2301:2;2286:18;25196:23:0;2167:226:1;26014:196:0;;;;;;:::i;:::-;;:::i;7589:127::-;;;;;;:::i;:::-;7690:18;;7663:7;7690:18;;;;;;;;;;;;7589:127;22979:103;;;:::i;18163:164::-;;;;;;:::i;:::-;;:::i;26780:153::-;;;;;;:::i;:::-;;:::i;22331:87::-;22404:6;;;;22331:87;;6517:104;;;:::i;10841:436::-;;;;;;:::i;:::-;;:::i;7922:193::-;;;;;;:::i;:::-;;:::i;25226:26::-;;;;;;8178:151;;;;;;:::i;:::-;8294:18;;;;8267:7;8294:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8178:151;23237:201;;;;;;:::i;:::-;;:::i;6298:100::-;6352:13;6385:5;6378:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6298:100;:::o;8649:201::-;8732:4;4115:10;8788:32;4115:10;8804:7;8813:6;8788:8;:32::i;:::-;8838:4;8831:11;;;8649:201;;;;;:::o;26272:260::-;25625:8;;25615:39;;;;;25643:10;25615:39;;;2313:74:1;25625:8:0;;;;;25615:27;;2286:18:1;;25615:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25607:57;;;;;;;3780:2:1;25607:57:0;;;3762:21:1;3819:1;3799:18;;;3792:29;3857:7;3837:18;;;3830:35;3882:18;;25607:57:0;;;;;;;;;26367:30:::1;26379:8;26389:7;26367:11;:30::i;:::-;26433:11;:22:::0;;;::::1;::::0;;26482:42:::1;::::0;1424:25:1;;;26504:10:0::1;::::0;26482:42:::1;::::0;::::1;::::0;::::1;::::0;1412:2:1;1397:18;26482:42:0::1;;;;;;;;26272:260:::0;;:::o;26540:187::-;25625:8;;25615:39;;;;;25643:10;25615:39;;;2313:74:1;25625:8:0;;;;;25615:27;;2286:18:1;;25615:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25607:57;;;;;;;3780:2:1;25607:57:0;;;3762:21:1;3819:1;3799:18;;;3792:29;3857:7;3837:18;;;3830:35;3882:18;;25607:57:0;3578:328:1;25607:57:0;26631:30:::1;26643:8;26653:7;26631:11;:30::i;:::-;26677:42;::::0;1424:25:1;;;26677:42:0::1;::::0;::::1;::::0;26689:10:::1;::::0;26677:42:::1;::::0;1412:2:1;1397:18;26677:42:0::1;1278:177:1::0;9430:261:0;9527:4;4115:10;9585:38;9601:4;4115:10;9616:6;9585:15;:38::i;:::-;9634:27;9644:4;9650:2;9654:6;9634:9;:27::i;:::-;-1:-1:-1;9679:4:0;;9430:261;-1:-1:-1;;;;9430:261:0:o;10100:238::-;4115:10;10188:4;8294:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;10188:4;;4115:10;10244:64;;4115:10;;8294:27;;10269:38;;10297:10;;10269:38;:::i;:::-;10244:8;:64::i;17753:91::-;17809:27;4115:10;17829:6;17809:5;:27::i;:::-;17753:91;:::o;26014:196::-;22217:13;:11;:13::i;:::-;26097:23:::1;::::0;::::1;26089:40;;;;;;;;;;;4397:2:1::0;4379:21;;;4436:1;4416:18;;;4409:29;4474:6;4469:2;4454:18;;4447:34;4513:2;4498:18;;4195:327;26089:40:0::1;26140:8;:20:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;26176:26:::1;::::0;::::1;::::0;-1:-1:-1;;26176:26:0::1;26014:196:::0;:::o;22979:103::-;22217:13;:11;:13::i;:::-;23044:30:::1;23071:1;23044:18;:30::i;:::-;22979:103::o:0;18163:164::-;18240:46;18256:7;4115:10;18279:6;18240:15;:46::i;:::-;18297:22;18303:7;18312:6;18297:5;:22::i;:::-;18163:164;;:::o;26780:153::-;22217:13;:11;:13::i;:::-;26859:6:::1;26852:23;;;26876:7;22404:6:::0;;;;;22331:87;26876:7:::1;26885:39;::::0;;;;26918:4:::1;26885:39;::::0;::::1;2313:74:1::0;26885:24:0::1;::::0;::::1;::::0;::::1;::::0;2286:18:1;;26885:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26852:73;::::0;;::::1;::::0;;;;;;4920:42:1;4908:55;;;26852:73:0::1;::::0;::::1;4890:74:1::0;4980:18;;;4973:34;4863:18;;26852:73:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6517:104::-:0;6573:13;6606:7;6599:14;;;;;:::i;10841:436::-;4115:10;10934:4;8294:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;10934:4;;4115:10;11081:15;11061:16;:35;;11053:85;;;;;;;5220:2:1;11053:85:0;;;5202:21:1;5259:2;5239:18;;;5232:30;5298:34;5278:18;;;5271:62;5369:7;5349:18;;;5342:35;5394:19;;11053:85:0;5018:401:1;11053:85:0;11174:60;11183:5;11190:7;11218:15;11199:16;:34;11174:8;:60::i;7922:193::-;8001:4;4115:10;8057:28;4115:10;8074:2;8078:6;8057:9;:28::i;23237:201::-;22217:13;:11;:13::i;:::-;23326:22:::1;::::0;::::1;23318:73;;;::::0;::::1;::::0;;5626:2:1;23318:73:0::1;::::0;::::1;5608:21:1::0;5665:2;5645:18;;;5638:30;5704:34;5684:18;;;5677:62;5775:8;5755:18;;;5748:36;5801:19;;23318:73:0::1;5424:402:1::0;23318:73:0::1;23402:28;23421:8;23402:18;:28::i;14834:346::-:0;14936:19;;;14928:68;;;;;;;6033:2:1;14928:68:0;;;6015:21:1;6072:2;6052:18;;;6045:30;6111:34;6091:18;;;6084:62;6182:6;6162:18;;;6155:34;6206:19;;14928:68:0;5831:400:1;14928:68:0;15015:21;;;15007:68;;;;;;;6438:2:1;15007:68:0;;;6420:21:1;6477:2;6457:18;;;6450:30;6516:34;6496:18;;;6489:62;6587:4;6567:18;;;6560:32;6609:19;;15007:68:0;6236:398:1;15007:68:0;15088:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15140:32;;1424:25:1;;;15140:32:0;;1397:18:1;15140:32:0;;;;;;;;14834:346;;;:::o;13721:675::-;13805:21;;;13797:67;;;;;;;6841:2:1;13797:67:0;;;6823:21:1;6880:2;6860:18;;;6853:30;6919:34;6899:18;;;6892:62;6990:3;6970:18;;;6963:31;7011:19;;13797:67:0;6639:397:1;13797:67:0;13964:18;;;13939:22;13964:18;;;;;;;;;;;14001:24;;;;13993:71;;;;;;;7243:2:1;13993:71:0;;;7225:21:1;7282:2;7262:18;;;7255:30;7321:34;7301:18;;;7294:62;7392:4;7372:18;;;7365:32;7414:19;;13993:71:0;7041:398:1;13993:71:0;14100:18;;;:9;:18;;;;;;;;;;;14121:23;;;14100:44;;14239:12;:22;;;;;;;14290:37;1424:25:1;;;14100:9:0;;:18;14290:37;;1397:18:1;14290:37:0;1278:177:1;12840:548:0;12924:21;;;12916:65;;;;;;;7646:2:1;12916:65:0;;;7628:21:1;7685:2;7665:18;;;7658:30;7724:33;7704:18;;;7697:61;7775:18;;12916:65:0;7444:355:1;12916:65:0;13072:6;13056:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;13227:18:0;;;:9;:18;;;;;;;;;;;:28;;;;;;13282:37;1424:25:1;;;13282:37:0;;1397:18:1;13282:37:0;;;;;;;18163:164;;:::o;15471:419::-;8294:18;;;;15572:24;8294:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;15659:17;15639:37;;15635:248;;15721:6;15701:16;:26;;15693:68;;;;;;;8006:2:1;15693:68:0;;;7988:21:1;8045:2;8025:18;;;8018:30;8084:31;8064:18;;;8057:59;8133:18;;15693:68:0;7804:353:1;15693:68:0;15805:51;15814:5;15821:7;15849:6;15830:16;:25;15805:8;:51::i;:::-;15561:329;15471:419;;;:::o;11747:806::-;11844:18;;;11836:68;;;;;;;8364:2:1;11836:68:0;;;8346:21:1;8403:2;8383:18;;;8376:30;8442:34;8422:18;;;8415:62;8513:7;8493:18;;;8486:35;8538:19;;11836:68:0;8162:401:1;11836:68:0;11923:16;;;11915:64;;;;;;;8770:2:1;11915:64:0;;;8752:21:1;8809:2;8789:18;;;8782:30;8848:34;8828:18;;;8821:62;8919:5;8899:18;;;8892:33;8942:19;;11915:64:0;8568:399:1;11915:64:0;12065:15;;;12043:19;12065:15;;;;;;;;;;;12099:21;;;;12091:72;;;;;;;9174:2:1;12091:72:0;;;9156:21:1;9213:2;9193:18;;;9186:30;9252:34;9232:18;;;9225:62;9323:8;9303:18;;;9296:36;9349:19;;12091:72:0;8972:402:1;12091:72:0;12199:15;;;;:9;:15;;;;;;;;;;;12217:20;;;12199:38;;12417:13;;;;;;;;;;:23;;;;;;12469:26;;1424:25:1;;;12417:13:0;;12469:26;;1397:18:1;12469:26:0;;;;;;;12508:37;13721:675;22496:132;22404:6;;22560:23;22404:6;4115:10;22560:23;22552:68;;;;;;;9581:2:1;22552:68:0;;;9563:21:1;;;9600:18;;;9593:30;9659:34;9639:18;;;9632:62;9711:18;;22552:68:0;9379:356:1;23598:191:0;23691:6;;;;23708:17;;;;;;;;;;;23741:40;;23691:6;;;23708:17;23691:6;;23741:40;;23672:16;;23741:40;23661:128;23598:191;:::o;14:607:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;612:2;542:66;537:2;529:6;525:15;521:88;510:9;506:104;502:113;494:121;;;;14:607;;;;:::o;626:196::-;694:20;;754:42;743:54;;733:65;;723:93;;812:1;809;802:12;723:93;626:196;;;:::o;827:254::-;895:6;903;956:2;944:9;935:7;931:23;927:32;924:52;;;972:1;969;962:12;924:52;995:29;1014:9;995:29;:::i;:::-;985:39;1071:2;1056:18;;;;1043:32;;-1:-1:-1;;;827:254:1:o;1460:328::-;1537:6;1545;1553;1606:2;1594:9;1585:7;1581:23;1577:32;1574:52;;;1622:1;1619;1612:12;1574:52;1645:29;1664:9;1645:29;:::i;:::-;1635:39;;1693:38;1727:2;1716:9;1712:18;1693:38;:::i;:::-;1683:48;;1778:2;1767:9;1763:18;1750:32;1740:42;;1460:328;;;;;:::o;1982:180::-;2041:6;2094:2;2082:9;2073:7;2069:23;2065:32;2062:52;;;2110:1;2107;2100:12;2062:52;-1:-1:-1;2133:23:1;;1982:180;-1:-1:-1;1982:180:1:o;2398:186::-;2457:6;2510:2;2498:9;2489:7;2485:23;2481:32;2478:52;;;2526:1;2523;2516:12;2478:52;2549:29;2568:9;2549:29;:::i;:::-;2539:39;2398:186;-1:-1:-1;;;2398:186:1:o;2589:260::-;2657:6;2665;2718:2;2706:9;2697:7;2693:23;2689:32;2686:52;;;2734:1;2731;2724:12;2686:52;2757:29;2776:9;2757:29;:::i;:::-;2747:39;;2805:38;2839:2;2828:9;2824:18;2805:38;:::i;:::-;2795:48;;2589:260;;;;;:::o;2854:437::-;2933:1;2929:12;;;;2976;;;2997:61;;3051:4;3043:6;3039:17;3029:27;;2997:61;3104:2;3096:6;3093:14;3073:18;3070:38;3067:218;;3141:77;3138:1;3131:88;3242:4;3239:1;3232:15;3270:4;3267:1;3260:15;3067:218;;2854:437;;;:::o;3296:277::-;3363:6;3416:2;3404:9;3395:7;3391:23;3387:32;3384:52;;;3432:1;3429;3422:12;3384:52;3464:9;3458:16;3517:5;3510:13;3503:21;3496:5;3493:32;3483:60;;3539:1;3536;3529:12;3911:279;3976:9;;;3997:10;;;3994:190;;;4040:77;4037:1;4030:88;4141:4;4138:1;4131:15;4169:4;4166:1;4159:15;4527:184;4597:6;4650:2;4638:9;4629:7;4625:23;4621:32;4618:52;;;4666:1;4663;4656:12;4618:52;-1:-1:-1;4689:16:1;;4527:184;-1:-1:-1;4527:184:1:o

Swarm Source

ipfs://d30bc21592a53ce7c739d1c0b5199fd9bfc36de14cf5ba7598f7f502ded367ae
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.