ETH Price: $3,306.12 (-3.32%)
Gas: 16 Gwei

Token

Den Token (DEN)
 

Overview

Max Total Supply

18,950 DEN

Holders

149

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
world420.eth
Balance
40 DEN

Value
$0.00
0xeafb33a7864d0166ae77d4223c5b87d5ee58b1fd
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:
DenToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : DenToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC20Capped.sol";
import "./IWolfPack.sol";
import "./Ownable.sol";

contract DenToken is Ownable, ERC20Capped {

    // total den tokens released (that were deposited to this contract)
    uint private _totalReleased;

    // wolf Id => last claim timestamp
    mapping(uint16 => uint64) private _lastClaimTimestamp; // seconds in 24 hours: 86400

    // wolf Id => amount minted per wolf
    mapping(uint16 => uint) private mintedPerWolf;

    // wolf ID => released amount
    mapping(uint16 => uint) private _released;
    
    // implementing the Wolf Pack genesis tokens contract:
    IWolfPack wolfPackContract;

    constructor() ERC20("Den Token", "DEN") ERC20Capped(62_050_000e18) { }

    /**
     * @dev sets the Wolf Pack contract address (genesis wolfs)
     */
    function setWolfPackContractAddress(address _contractAddress) public onlyOwner {
        wolfPackContract = IWolfPack(_contractAddress);
    }

    /**
     * @dev getter function to get the last claim timestamp for a specific wolf ID
     */
    function getLastClaimTimestampForWolf(uint16 wolfId) external view returns(uint64) {
        return _lastClaimTimestamp[wolfId];
    }

    function claimDen(uint16 wolfId) external {
        address wolfOwner = wolfPackContract.ownerOf(wolfId);
        require(wolfOwner == msg.sender, "Only the owner of the wolf can call this function");

        (uint amountToClaim, uint denAvalibleToRelease) = availableDenForWolf(wolfId);

        if (mintedPerWolf[wolfId] < 36_500e18) { // 36500 den  // if there are tokens avalible to mint for that specific wolf so:
            require(amountToClaim != 0, "No tokens avalible to claim!");
            if (denAvalibleToRelease >= amountToClaim) { // if there are more tokens to release than the amount to claim so release the amount to claim
                _released[wolfId] += amountToClaim;
                _totalReleased += amountToClaim;
                _lastClaimTimestamp[1] = uint16(block.timestamp);
                bool success = transfer(wolfOwner, amountToClaim);
                require(success, "Payment didn't go through!");
            } else { // if the there are less tokens to release than the amount to claim:
                if (denAvalibleToRelease >= 10e18) { // if there are 10 or more tokens avalible to release:
                    // (amount to release) = (amount of 10 den avalible to release)
                    uint denAmountToRelease = (denAvalibleToRelease - (denAvalibleToRelease % 10e18));
                    // (amount to mint) = (amount to claim) - (amount of 10 den avalible to release)
                    uint amountToMint = amountToClaim - denAmountToRelease;
                    /**
                     * this is calculated like this to prevent complications with minting less than 10 den tokens at a time
                     */

                    _mintDen(wolfOwner, amountToMint, wolfId); // mint the amount tokens required to mint
                    _released[wolfId] += denAmountToRelease;
                    _totalReleased += denAmountToRelease;
                    bool success = transfer(wolfOwner, denAmountToRelease);
                    require(success, "Payment didn't go through!");
                } else { // if there are no 10 den tokens avalible to release so mint them
                    _mintDen(wolfOwner, amountToClaim, wolfId);
                }
            }
        } else { // if all the tokens that can be minted for a wolf were minted so release the avalible tokens to release for that wolf
            require(denAvalibleToRelease != 0, "There is nothing to release");
            _released[wolfId] += denAvalibleToRelease;
            _totalReleased += denAvalibleToRelease;
            bool success = transfer(wolfOwner, denAvalibleToRelease);
            require(success, "Payment didn't go through!");
        }
    }

    function availableDenForWolf(uint16 _wolfId) public view returns(uint amountToClaim, uint denAvalibleToRelease) {
        uint totalReceived = balanceOf(address(this)) + _totalReleased;
        uint amountMinted = mintedPerWolf[_wolfId];
        denAvalibleToRelease = (totalReceived / 1700) - _released[_wolfId];

        if (amountMinted < 36_500e18) { // 36500 den  // if there are tokens avalible to mint for that specific wolf so:
            uint numberOfDays = uint((block.timestamp - _lastClaimTimestamp[_wolfId]) / 1 days); // *change to minutes for testing
            if (numberOfDays == block.timestamp / (1 days)) { // checks if nothing was claimed yet
                amountToClaim = 10e18; // 10 den
            } else {
                amountToClaim = numberOfDays * 10e18; // 10 den * days
                if (amountToClaim + amountMinted >= 36_500e18) { // if amountToClaim exeeds the amount a wolf can generate so it returns the correct amount
                    amountToClaim = 36_500e18 - mintedPerWolf[_wolfId];
                }
            }
            
            // gets the amount of full den tokens that can be released from the contract balance to that specific wolf \/\/\/
            denAvalibleToRelease = (denAvalibleToRelease - (denAvalibleToRelease % 1e18)); // full den tokens
        } // if there are no tokens to mint, so the amount of den that can be released to that specific wolf will be return what is calculated on the top
    }

    function _mintDen(address _address, uint _amount, uint16 _wolfId) private {
        _mint(_address, _amount);
        mintedPerWolf[_wolfId] += _amount;
        _lastClaimTimestamp[_wolfId] = uint64(block.timestamp);
    }

}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

// source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol

pragma solidity ^0.8.0;

import "./Context.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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : IWolfPack.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IWolfPack {

    function ownerOf(uint256 tokenId) external view returns (address);

}

File 4 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 8 : ERC20Capped.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC20.sol";

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

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

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

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

File 7 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./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.zeppelin.solutions/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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `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;
        _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;
        }
        _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 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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

// source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/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": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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"},{"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":"uint16","name":"_wolfId","type":"uint16"}],"name":"availableDenForWolf","outputs":[{"internalType":"uint256","name":"amountToClaim","type":"uint256"},{"internalType":"uint256","name":"denAvalibleToRelease","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"wolfId","type":"uint16"}],"name":"claimDen","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":"uint16","name":"wolfId","type":"uint16"}],"name":"getLastClaimTimestampForWolf","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"setWolfPackContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506a3353993d799232794000006040518060400160405280600981526020017f44656e20546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f44454e0000000000000000000000000000000000000000000000000000000000815250620000aa6200009e6200013360201b60201c565b6200013b60201b60201c565b8160049080519060200190620000c2929190620001ff565b508060059080519060200190620000db929190620001ff565b5050506000811162000124576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200011b90620002f1565b60405180910390fd5b80608081815250505062000389565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020d9062000324565b90600052602060002090601f0160209004810192826200023157600085556200027d565b82601f106200024c57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027c5782518255916020019190600101906200025f565b5b5090506200028c919062000290565b5090565b5b80821115620002ab57600081600090555060010162000291565b5090565b6000620002be60158362000313565b91507f45524332304361707065643a20636170206973203000000000000000000000006000830152602082019050919050565b600060208201905081810360008301526200030c81620002af565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200033d57607f821691505b602082108114156200035457620003536200035a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60805161266c620003a56000396000610a4d015261266c6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a457c2d711610071578063a457c2d714610321578063a9059cbb14610351578063dd62ed3e14610381578063f2fde38b146103b1578063f8812281146103cd57610121565b806370a082311461027a578063715018a6146102aa5780638da5cb5b146102b457806395d89b41146102d257806397d5404d146102f057610121565b806318160ddd116100f457806318160ddd146101c057806323b872dd146101de578063313ce5671461020e578063355274ea1461022c578063395093511461024a57610121565b80630609f9391461012657806306ab842b1461015657806306fdde0314610172578063095ea7b314610190575b600080fd5b610140600480360381019061013b9190611a64565b6103e9565b60405161014d91906122cd565b60405180910390f35b610170600480360381019061016b9190611a64565b610422565b005b61017a61088e565b604051610187919061206c565b60405180910390f35b6101aa60048036038101906101a59190611a28565b610920565b6040516101b79190612051565b60405180910390f35b6101c861093e565b6040516101d59190612289565b60405180910390f35b6101f860048036038101906101f391906119d9565b610948565b6040516102059190612051565b60405180910390f35b610216610a40565b60405161022391906122e8565b60405180910390f35b610234610a49565b6040516102419190612289565b60405180910390f35b610264600480360381019061025f9190611a28565b610a71565b6040516102719190612051565b60405180910390f35b610294600480360381019061028f919061194b565b610b1d565b6040516102a19190612289565b60405180910390f35b6102b2610b66565b005b6102bc610bee565b6040516102c99190612036565b60405180910390f35b6102da610c17565b6040516102e7919061206c565b60405180910390f35b61030a60048036038101906103059190611a64565b610ca9565b6040516103189291906122a4565b60405180910390f35b61033b60048036038101906103369190611a28565b610e3c565b6040516103489190612051565b60405180910390f35b61036b60048036038101906103669190611a28565b610f27565b6040516103789190612051565b60405180910390f35b61039b6004803603810190610396919061199d565b610f45565b6040516103a89190612289565b60405180910390f35b6103cb60048036038101906103c6919061194b565b610fcc565b005b6103e760048036038101906103e2919061194b565b6110c4565b005b6000600760008361ffff1661ffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161047f919061226e565b60206040518083038186803b15801561049757600080fd5b505afa1580156104ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cf9190611974565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461053f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610536906121ee565b60405180910390fd5b60008061054b84610ca9565b915091506907baab4146b63dd00000600860008661ffff1661ffff1681526020019081526020016000205410156107a95760008214156105c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b79061210e565b60405180910390fd5b8181106106a95781600960008661ffff1661ffff16815260200190815260200160002060008282546105f2919061231f565b92505081905550816006600082825461060b919061231f565b925050819055504261ffff1660076000600161ffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006106618484610f27565b9050806106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a906121ce565b60405180910390fd5b506107a4565b678ac7230489e800008110610797576000678ac7230489e80000826106ce9190612522565b826106d99190612400565b9050600081846106e99190612400565b90506106f6858288611184565b81600960008861ffff1661ffff1681526020019081526020016000206000828254610721919061231f565b92505081905550816006600082825461073a919061231f565b92505081905550600061074d8684610f27565b90508061078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906121ce565b60405180910390fd5b5050506107a3565b6107a2838386611184565b5b5b610888565b60008114156107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e49061212e565b60405180910390fd5b80600960008661ffff1661ffff1681526020019081526020016000206000828254610818919061231f565b925050819055508060066000828254610831919061231f565b9250508190555060006108448483610f27565b905080610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906121ce565b60405180910390fd5b505b50505050565b60606004805461089d906124f0565b80601f01602080910402602001604051908101604052809291908181526020018280546108c9906124f0565b80156109165780601f106108eb57610100808354040283529160200191610916565b820191906000526020600020905b8154815290600101906020018083116108f957829003601f168201915b5050505050905090565b600061093461092d611207565b848461120f565b6001905092915050565b6000600354905090565b60006109558484846113da565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109a0611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a179061214e565b60405180910390fd5b610a3485610a2c611207565b85840361120f565b60019150509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000610b13610a7e611207565b848460026000610a8c611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b0e919061231f565b61120f565b6001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6e611207565b73ffffffffffffffffffffffffffffffffffffffff16610b8c610bee565b73ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061216e565b60405180910390fd5b610bec600061165e565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610c26906124f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c52906124f0565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b5050505050905090565b6000806000600654610cba30610b1d565b610cc4919061231f565b90506000600860008661ffff1661ffff168152602001908152602001600020549050600960008661ffff1661ffff168152602001908152602001600020546106a483610d109190612375565b610d1a9190612400565b92506907baab4146b63dd00000811015610e3557600062015180600760008861ffff1661ffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1642610d799190612400565b610d839190612375565b90506201518042610d949190612375565b811415610dab57678ac7230489e800009450610e12565b678ac7230489e8000081610dbf91906123a6565b94506907baab4146b63dd000008286610dd8919061231f565b10610e1157600860008761ffff1661ffff168152602001908152602001600020546907baab4146b63dd00000610e0e9190612400565b94505b5b670de0b6b3a764000084610e269190612522565b84610e319190612400565b9350505b5050915091565b60008060026000610e4b611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eff9061222e565b60405180910390fd5b610f1c610f13611207565b8585840361120f565b600191505092915050565b6000610f3b610f34611207565b84846113da565b6001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fd4611207565b73ffffffffffffffffffffffffffffffffffffffff16610ff2610bee565b73ffffffffffffffffffffffffffffffffffffffff1614611048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103f9061216e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af906120ae565b60405180910390fd5b6110c18161165e565b50565b6110cc611207565b73ffffffffffffffffffffffffffffffffffffffff166110ea610bee565b73ffffffffffffffffffffffffffffffffffffffff1614611140576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111379061216e565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61118e8383611722565b81600860008361ffff1661ffff16815260200190815260200160002060008282546111b9919061231f565b9250508190555042600760008361ffff1661ffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561127f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112769061220e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e6906120ce565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113cd9190612289565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061218e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b19061208e565b60405180910390fd5b6114c583838361178c565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561154c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611543906120ee565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e1919061231f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116459190612289565b60405180910390a3611658848484611791565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61172a610a49565b8161173361093e565b61173d919061231f565b111561177e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611775906121ae565b60405180910390fd5b6117888282611796565b5050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd9061224e565b60405180910390fd5b6118126000838361178c565b8060036000828254611824919061231f565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187a919061231f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118df9190612289565b60405180910390a36118f360008383611791565b5050565b600081359050611906816125f1565b92915050565b60008151905061191b816125f1565b92915050565b60008135905061193081612608565b92915050565b6000813590506119458161261f565b92915050565b60006020828403121561195d57600080fd5b600061196b848285016118f7565b91505092915050565b60006020828403121561198657600080fd5b60006119948482850161190c565b91505092915050565b600080604083850312156119b057600080fd5b60006119be858286016118f7565b92505060206119cf858286016118f7565b9150509250929050565b6000806000606084860312156119ee57600080fd5b60006119fc868287016118f7565b9350506020611a0d868287016118f7565b9250506040611a1e86828701611936565b9150509250925092565b60008060408385031215611a3b57600080fd5b6000611a49858286016118f7565b9250506020611a5a85828601611936565b9150509250929050565b600060208284031215611a7657600080fd5b6000611a8484828501611921565b91505092915050565b611a9681612434565b82525050565b611aa581612446565b82525050565b6000611ab682612303565b611ac0818561230e565b9350611ad08185602086016124bd565b611ad9816125e0565b840191505092915050565b6000611af160238361230e565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611b5760268361230e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611bbd60228361230e565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611c2360268361230e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611c89601c8361230e565b91507f4e6f20746f6b656e73206176616c69626c6520746f20636c61696d21000000006000830152602082019050919050565b6000611cc9601b8361230e565b91507f5468657265206973206e6f7468696e6720746f2072656c6561736500000000006000830152602082019050919050565b6000611d0960288361230e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611d6f60208361230e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611daf60258361230e565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e1560198361230e565b91507f45524332304361707065643a20636170206578636565646564000000000000006000830152602082019050919050565b6000611e55601a8361230e565b91507f5061796d656e74206469646e277420676f207468726f756768210000000000006000830152602082019050919050565b6000611e9560318361230e565b91507f4f6e6c7920746865206f776e6572206f662074686520776f6c662063616e206360008301527f616c6c20746869732066756e6374696f6e0000000000000000000000000000006020830152604082019050919050565b6000611efb60248361230e565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f6160258361230e565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611fc7601f8361230e565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b612003816124ab565b82525050565b61201281612480565b82525050565b6120218161248a565b82525050565b6120308161249e565b82525050565b600060208201905061204b6000830184611a8d565b92915050565b60006020820190506120666000830184611a9c565b92915050565b600060208201905081810360008301526120868184611aab565b905092915050565b600060208201905081810360008301526120a781611ae4565b9050919050565b600060208201905081810360008301526120c781611b4a565b9050919050565b600060208201905081810360008301526120e781611bb0565b9050919050565b6000602082019050818103600083015261210781611c16565b9050919050565b6000602082019050818103600083015261212781611c7c565b9050919050565b6000602082019050818103600083015261214781611cbc565b9050919050565b6000602082019050818103600083015261216781611cfc565b9050919050565b6000602082019050818103600083015261218781611d62565b9050919050565b600060208201905081810360008301526121a781611da2565b9050919050565b600060208201905081810360008301526121c781611e08565b9050919050565b600060208201905081810360008301526121e781611e48565b9050919050565b6000602082019050818103600083015261220781611e88565b9050919050565b6000602082019050818103600083015261222781611eee565b9050919050565b6000602082019050818103600083015261224781611f54565b9050919050565b6000602082019050818103600083015261226781611fba565b9050919050565b60006020820190506122836000830184611ffa565b92915050565b600060208201905061229e6000830184612009565b92915050565b60006040820190506122b96000830185612009565b6122c66020830184612009565b9392505050565b60006020820190506122e26000830184612018565b92915050565b60006020820190506122fd6000830184612027565b92915050565b600081519050919050565b600082825260208201905092915050565b600061232a82612480565b915061233583612480565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561236a57612369612553565b5b828201905092915050565b600061238082612480565b915061238b83612480565b92508261239b5761239a612582565b5b828204905092915050565b60006123b182612480565b91506123bc83612480565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156123f5576123f4612553565b5b828202905092915050565b600061240b82612480565b915061241683612480565b92508282101561242957612428612553565b5b828203905092915050565b600061243f82612460565b9050919050565b60008115159050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60006124b682612452565b9050919050565b60005b838110156124db5780820151818401526020810190506124c0565b838111156124ea576000848401525b50505050565b6000600282049050600182168061250857607f821691505b6020821081141561251c5761251b6125b1565b5b50919050565b600061252d82612480565b915061253883612480565b92508261254857612547612582565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6125fa81612434565b811461260557600080fd5b50565b61261181612452565b811461261c57600080fd5b50565b61262881612480565b811461263357600080fd5b5056fea2646970667358221220d8119debafc1abc8de9e9e9491b1770e004c67557dd42e1ea5f8a619568b8ddd64736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a457c2d711610071578063a457c2d714610321578063a9059cbb14610351578063dd62ed3e14610381578063f2fde38b146103b1578063f8812281146103cd57610121565b806370a082311461027a578063715018a6146102aa5780638da5cb5b146102b457806395d89b41146102d257806397d5404d146102f057610121565b806318160ddd116100f457806318160ddd146101c057806323b872dd146101de578063313ce5671461020e578063355274ea1461022c578063395093511461024a57610121565b80630609f9391461012657806306ab842b1461015657806306fdde0314610172578063095ea7b314610190575b600080fd5b610140600480360381019061013b9190611a64565b6103e9565b60405161014d91906122cd565b60405180910390f35b610170600480360381019061016b9190611a64565b610422565b005b61017a61088e565b604051610187919061206c565b60405180910390f35b6101aa60048036038101906101a59190611a28565b610920565b6040516101b79190612051565b60405180910390f35b6101c861093e565b6040516101d59190612289565b60405180910390f35b6101f860048036038101906101f391906119d9565b610948565b6040516102059190612051565b60405180910390f35b610216610a40565b60405161022391906122e8565b60405180910390f35b610234610a49565b6040516102419190612289565b60405180910390f35b610264600480360381019061025f9190611a28565b610a71565b6040516102719190612051565b60405180910390f35b610294600480360381019061028f919061194b565b610b1d565b6040516102a19190612289565b60405180910390f35b6102b2610b66565b005b6102bc610bee565b6040516102c99190612036565b60405180910390f35b6102da610c17565b6040516102e7919061206c565b60405180910390f35b61030a60048036038101906103059190611a64565b610ca9565b6040516103189291906122a4565b60405180910390f35b61033b60048036038101906103369190611a28565b610e3c565b6040516103489190612051565b60405180910390f35b61036b60048036038101906103669190611a28565b610f27565b6040516103789190612051565b60405180910390f35b61039b6004803603810190610396919061199d565b610f45565b6040516103a89190612289565b60405180910390f35b6103cb60048036038101906103c6919061194b565b610fcc565b005b6103e760048036038101906103e2919061194b565b6110c4565b005b6000600760008361ffff1661ffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161047f919061226e565b60206040518083038186803b15801561049757600080fd5b505afa1580156104ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cf9190611974565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461053f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610536906121ee565b60405180910390fd5b60008061054b84610ca9565b915091506907baab4146b63dd00000600860008661ffff1661ffff1681526020019081526020016000205410156107a95760008214156105c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b79061210e565b60405180910390fd5b8181106106a95781600960008661ffff1661ffff16815260200190815260200160002060008282546105f2919061231f565b92505081905550816006600082825461060b919061231f565b925050819055504261ffff1660076000600161ffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006106618484610f27565b9050806106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a906121ce565b60405180910390fd5b506107a4565b678ac7230489e800008110610797576000678ac7230489e80000826106ce9190612522565b826106d99190612400565b9050600081846106e99190612400565b90506106f6858288611184565b81600960008861ffff1661ffff1681526020019081526020016000206000828254610721919061231f565b92505081905550816006600082825461073a919061231f565b92505081905550600061074d8684610f27565b90508061078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906121ce565b60405180910390fd5b5050506107a3565b6107a2838386611184565b5b5b610888565b60008114156107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e49061212e565b60405180910390fd5b80600960008661ffff1661ffff1681526020019081526020016000206000828254610818919061231f565b925050819055508060066000828254610831919061231f565b9250508190555060006108448483610f27565b905080610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906121ce565b60405180910390fd5b505b50505050565b60606004805461089d906124f0565b80601f01602080910402602001604051908101604052809291908181526020018280546108c9906124f0565b80156109165780601f106108eb57610100808354040283529160200191610916565b820191906000526020600020905b8154815290600101906020018083116108f957829003601f168201915b5050505050905090565b600061093461092d611207565b848461120f565b6001905092915050565b6000600354905090565b60006109558484846113da565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109a0611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a179061214e565b60405180910390fd5b610a3485610a2c611207565b85840361120f565b60019150509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000003353993d79923279400000905090565b6000610b13610a7e611207565b848460026000610a8c611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b0e919061231f565b61120f565b6001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6e611207565b73ffffffffffffffffffffffffffffffffffffffff16610b8c610bee565b73ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061216e565b60405180910390fd5b610bec600061165e565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054610c26906124f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c52906124f0565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b5050505050905090565b6000806000600654610cba30610b1d565b610cc4919061231f565b90506000600860008661ffff1661ffff168152602001908152602001600020549050600960008661ffff1661ffff168152602001908152602001600020546106a483610d109190612375565b610d1a9190612400565b92506907baab4146b63dd00000811015610e3557600062015180600760008861ffff1661ffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1642610d799190612400565b610d839190612375565b90506201518042610d949190612375565b811415610dab57678ac7230489e800009450610e12565b678ac7230489e8000081610dbf91906123a6565b94506907baab4146b63dd000008286610dd8919061231f565b10610e1157600860008761ffff1661ffff168152602001908152602001600020546907baab4146b63dd00000610e0e9190612400565b94505b5b670de0b6b3a764000084610e269190612522565b84610e319190612400565b9350505b5050915091565b60008060026000610e4b611207565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eff9061222e565b60405180910390fd5b610f1c610f13611207565b8585840361120f565b600191505092915050565b6000610f3b610f34611207565b84846113da565b6001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fd4611207565b73ffffffffffffffffffffffffffffffffffffffff16610ff2610bee565b73ffffffffffffffffffffffffffffffffffffffff1614611048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103f9061216e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af906120ae565b60405180910390fd5b6110c18161165e565b50565b6110cc611207565b73ffffffffffffffffffffffffffffffffffffffff166110ea610bee565b73ffffffffffffffffffffffffffffffffffffffff1614611140576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111379061216e565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61118e8383611722565b81600860008361ffff1661ffff16815260200190815260200160002060008282546111b9919061231f565b9250508190555042600760008361ffff1661ffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561127f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112769061220e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e6906120ce565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113cd9190612289565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061218e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b19061208e565b60405180910390fd5b6114c583838361178c565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561154c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611543906120ee565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115e1919061231f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116459190612289565b60405180910390a3611658848484611791565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61172a610a49565b8161173361093e565b61173d919061231f565b111561177e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611775906121ae565b60405180910390fd5b6117888282611796565b5050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd9061224e565b60405180910390fd5b6118126000838361178c565b8060036000828254611824919061231f565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187a919061231f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118df9190612289565b60405180910390a36118f360008383611791565b5050565b600081359050611906816125f1565b92915050565b60008151905061191b816125f1565b92915050565b60008135905061193081612608565b92915050565b6000813590506119458161261f565b92915050565b60006020828403121561195d57600080fd5b600061196b848285016118f7565b91505092915050565b60006020828403121561198657600080fd5b60006119948482850161190c565b91505092915050565b600080604083850312156119b057600080fd5b60006119be858286016118f7565b92505060206119cf858286016118f7565b9150509250929050565b6000806000606084860312156119ee57600080fd5b60006119fc868287016118f7565b9350506020611a0d868287016118f7565b9250506040611a1e86828701611936565b9150509250925092565b60008060408385031215611a3b57600080fd5b6000611a49858286016118f7565b9250506020611a5a85828601611936565b9150509250929050565b600060208284031215611a7657600080fd5b6000611a8484828501611921565b91505092915050565b611a9681612434565b82525050565b611aa581612446565b82525050565b6000611ab682612303565b611ac0818561230e565b9350611ad08185602086016124bd565b611ad9816125e0565b840191505092915050565b6000611af160238361230e565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611b5760268361230e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611bbd60228361230e565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611c2360268361230e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611c89601c8361230e565b91507f4e6f20746f6b656e73206176616c69626c6520746f20636c61696d21000000006000830152602082019050919050565b6000611cc9601b8361230e565b91507f5468657265206973206e6f7468696e6720746f2072656c6561736500000000006000830152602082019050919050565b6000611d0960288361230e565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611d6f60208361230e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611daf60258361230e565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e1560198361230e565b91507f45524332304361707065643a20636170206578636565646564000000000000006000830152602082019050919050565b6000611e55601a8361230e565b91507f5061796d656e74206469646e277420676f207468726f756768210000000000006000830152602082019050919050565b6000611e9560318361230e565b91507f4f6e6c7920746865206f776e6572206f662074686520776f6c662063616e206360008301527f616c6c20746869732066756e6374696f6e0000000000000000000000000000006020830152604082019050919050565b6000611efb60248361230e565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f6160258361230e565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611fc7601f8361230e565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b612003816124ab565b82525050565b61201281612480565b82525050565b6120218161248a565b82525050565b6120308161249e565b82525050565b600060208201905061204b6000830184611a8d565b92915050565b60006020820190506120666000830184611a9c565b92915050565b600060208201905081810360008301526120868184611aab565b905092915050565b600060208201905081810360008301526120a781611ae4565b9050919050565b600060208201905081810360008301526120c781611b4a565b9050919050565b600060208201905081810360008301526120e781611bb0565b9050919050565b6000602082019050818103600083015261210781611c16565b9050919050565b6000602082019050818103600083015261212781611c7c565b9050919050565b6000602082019050818103600083015261214781611cbc565b9050919050565b6000602082019050818103600083015261216781611cfc565b9050919050565b6000602082019050818103600083015261218781611d62565b9050919050565b600060208201905081810360008301526121a781611da2565b9050919050565b600060208201905081810360008301526121c781611e08565b9050919050565b600060208201905081810360008301526121e781611e48565b9050919050565b6000602082019050818103600083015261220781611e88565b9050919050565b6000602082019050818103600083015261222781611eee565b9050919050565b6000602082019050818103600083015261224781611f54565b9050919050565b6000602082019050818103600083015261226781611fba565b9050919050565b60006020820190506122836000830184611ffa565b92915050565b600060208201905061229e6000830184612009565b92915050565b60006040820190506122b96000830185612009565b6122c66020830184612009565b9392505050565b60006020820190506122e26000830184612018565b92915050565b60006020820190506122fd6000830184612027565b92915050565b600081519050919050565b600082825260208201905092915050565b600061232a82612480565b915061233583612480565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561236a57612369612553565b5b828201905092915050565b600061238082612480565b915061238b83612480565b92508261239b5761239a612582565b5b828204905092915050565b60006123b182612480565b91506123bc83612480565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156123f5576123f4612553565b5b828202905092915050565b600061240b82612480565b915061241683612480565b92508282101561242957612428612553565b5b828203905092915050565b600061243f82612460565b9050919050565b60008115159050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60006124b682612452565b9050919050565b60005b838110156124db5780820151818401526020810190506124c0565b838111156124ea576000848401525b50505050565b6000600282049050600182168061250857607f821691505b6020821081141561251c5761251b6125b1565b5b50919050565b600061252d82612480565b915061253883612480565b92508261254857612547612582565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6125fa81612434565b811461260557600080fd5b50565b61261181612452565b811461261c57600080fd5b50565b61262881612480565b811461263357600080fd5b5056fea2646970667358221220d8119debafc1abc8de9e9e9491b1770e004c67557dd42e1ea5f8a619568b8ddd64736f6c63430008000033

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.