ETH Price: $2,600.52 (+0.26%)
Gas: 2 Gwei

Token

FortuneToken (FORTUNE)
 

Overview

Max Total Supply

14,042.227529166666666666 FORTUNE

Holders

3

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
getmao.eth
Balance
8,778.670633333333333333 FORTUNE

Value
$0.00
0xc9e566448337eba1eee1cf836332b9038d853357
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:
FortuneToken

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion
File 1 of 11 : FortuneToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "./IMao.sol";

contract FortuneToken is ERC20Burnable, ERC20Capped {
    uint256 public immutable tokenStart;
    uint256 public constant INITIAL_ALLOCATION = 888 ether;
    uint256 public constant SECONDS_PER_DAY = 86_400;

    mapping (uint256 => uint256) private _lastClaimed;
    address private immutable _maoAddress;

    constructor(uint256 _tokenStart, address maoAddress)
    ERC20("FortuneToken", "FORTUNE") 
    ERC20Capped(888_888_888 ether) {
        tokenStart = _tokenStart;
        _maoAddress = maoAddress;
    }

    function claim(uint256[] memory tokenIds) external {
        uint256 tokenIdsLength = tokenIds.length;
        require(tokenIdsLength < 8889, "Too many tokens");

        uint256 totalClaimAmount = 0;
        uint256 claimAmount;
        uint256 currentTokenId;

        for (uint i = 0; i < tokenIdsLength; i++) {

            currentTokenId = tokenIds[i];

            // Validate tokenId
            address tokenOwner = IMao(_maoAddress).ownerOf(currentTokenId);
            require(tokenOwner != address(0), "NFT not minted yet");
            require(tokenOwner == _msgSender(), "Sender is not owner");

            for (uint j = i + 1; j < tokenIdsLength; j++) {
                require(tokenIds[j] != currentTokenId, "Duplicate tokenId");
            }

            claimAmount = accumulated(currentTokenId);
            if (claimAmount > 0) {
                _lastClaimed[currentTokenId] = block.timestamp;
                totalClaimAmount += claimAmount;
            }
        }

        require(totalClaimAmount > 0, "Nothing to claim");
        _mint(_msgSender(), totalClaimAmount);
    }

    function getLastClaimedTimestamp(uint256 tokenId) private view returns (uint256) {
        return _lastClaimed[tokenId] != 0 ? _lastClaimed[tokenId] : tokenStart;
    }

    function accumulated(uint256 tokenId) public view returns (uint256) {
        uint256 tokenEarnAmount = IMao(_maoAddress).getTokenEarnAmount(tokenId);

        // Accumulation period
        uint256 lastClaimedTimestamp = getLastClaimedTimestamp(tokenId);
        uint256 timeElapsed = block.timestamp - lastClaimedTimestamp;
        uint256 accumulatedAmount = timeElapsed * tokenEarnAmount / SECONDS_PER_DAY;

        if (lastClaimedTimestamp == tokenStart) {
            accumulatedAmount += INITIAL_ALLOCATION;
        }

        return accumulatedAmount;
    }


    /**
     * Custom functions
     */

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        if (msg.sender != _maoAddress) {
            decreaseAllowance(msg.sender, amount);
        }

        return true;
    }

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

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual override {
        _burn(msg.sender, amount);
    }
}

File 2 of 11 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.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 {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}

File 3 of 11 : 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 immutable private _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 4 of 11 : IMao.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface IMao is IERC721Enumerable {
    function getTokenEarnAmount(uint256 tokenId) external view returns (uint256);
}

File 5 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal 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");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal 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);
    }

    /**
     * @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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(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 to 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 { }
}

File 6 of 11 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 11 : 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 8 of 11 : 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 9 of 11 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 5000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_tokenStart","type":"uint256"},{"internalType":"address","name":"maoAddress","type":"address"}],"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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"INITIAL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_PER_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"accumulated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenStart","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":"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"}]

60e06040523480156200001157600080fd5b5060405162001881380380620018818339810160408190526200003491620001c7565b604080518082018252600c81526b2337b93a3ab732aa37b5b2b760a11b602080830191825283518085019094526007845266464f5254554e4560c81b9084015281516b02df458b2c635dcf55e00000939162000094916003919062000121565b508051620000aa90600490602084019062000121565b50505060008111620001025760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b60805260a09190915260601b6001600160601b03191660c05262000241565b8280546200012f9062000204565b90600052602060002090601f0160209004810192826200015357600085556200019e565b82601f106200016e57805160ff19168380011785556200019e565b828001600101855582156200019e579182015b828111156200019e57825182559160200191906001019062000181565b50620001ac929150620001b0565b5090565b5b80821115620001ac5760008155600101620001b1565b60008060408385031215620001da578182fd5b825160208401519092506001600160a01b0381168114620001f9578182fd5b809150509250929050565b600181811c908216806200021957607f821691505b602082108114156200023b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c6115e36200029e600039600081816103e70152818161051901526109660152600081816102b901528181610a1b01526110060152600081816101e101528181610f62015261104201526115e36000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c80636ba4c138116100cd578063a457c2d711610081578063b25c4b6d11610066578063b25c4b6d146102b4578063c607cde7146102db578063dd62ed3e146102ee57610151565b8063a457c2d71461028e578063a9059cbb146102a157610151565b806374f0314f116100b257806374f0314f1461026957806379cc67901461027357806395d89b411461028657610151565b80636ba4c1381461022d57806370a082311461024057610151565b806323b872dd11610124578063355274ea11610109578063355274ea146101df578063395093511461020557806342966c681461021857610151565b806323b872dd146101bd578063313ce567146101d057610151565b806306fdde031461015657806307728f0f14610174578063095ea7b31461019257806318160ddd146101b5575b600080fd5b61015e610327565b60405161016b9190611397565b60405180910390f35b61018468302379bf2ca2e0000081565b60405190815260200161016b565b6101a56101a036600461125e565b6103b9565b604051901515815260200161016b565b600254610184565b6101a56101cb36600461121e565b6103cf565b6040516012815260200161016b565b7f0000000000000000000000000000000000000000000000000000000000000000610184565b6101a561021336600461125e565b610422565b61022b610226366004611367565b61045e565b005b61022b61023b366004611289565b61046b565b61018461024e3660046111a7565b6001600160a01b031660009081526020819052604090205490565b6101846201518081565b61022b61028136600461125e565b6107c4565b61015e610865565b6101a561029c36600461125e565b610874565b6101a56102af36600461125e565b61091d565b6101847f000000000000000000000000000000000000000000000000000000000000000081565b6101846102e9366004611367565b61092a565b6101846102fc3660046111e6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b606060038054610336906114ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610362906114ad565b80156103af5780601f10610384576101008083540402835291602001916103af565b820191906000526020600020905b81548152906001019060200180831161039257829003601f168201915b5050505050905090565b60006103c6338484610a60565b50600192915050565b60006103dc848484610bb9565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610418576104163383610874565b505b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103c6918590610459908690611408565b610a60565b6104683382610dda565b50565b80516122b981106104c35760405162461bcd60e51b815260206004820152600f60248201527f546f6f206d616e7920746f6b656e73000000000000000000000000000000000060448201526064015b60405180910390fd5b6000808060005b848110156107625785818151811061050b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e846040518263ffffffff1660e01b815260040161056591815260200190565b60206040518083038186803b15801561057d57600080fd5b505afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b591906111ca565b90506001600160a01b03811661060d5760405162461bcd60e51b815260206004820152601260248201527f4e4654206e6f74206d696e74656420796574000000000000000000000000000060448201526064016104ba565b6001600160a01b03811633146106655760405162461bcd60e51b815260206004820152601360248201527f53656e646572206973206e6f74206f776e65720000000000000000000000000060448201526064016104ba565b6000610672836001611408565b90505b8681101561071f57838882815181106106b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151141561070d5760405162461bcd60e51b815260206004820152601160248201527f4475706c696361746520746f6b656e496400000000000000000000000000000060448201526064016104ba565b8061071781611501565b915050610675565b506107298361092a565b9350831561074f57600083815260056020526040902042905561074c8486611408565b94505b508061075a81611501565b9150506104ca565b50600083116107b35760405162461bcd60e51b815260206004820152601060248201527f4e6f7468696e6720746f20636c61696d0000000000000000000000000000000060448201526064016104ba565b6107bd3384610f60565b5050505050565b60006107d083336102fc565b9050818110156108475760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104ba565b61085683336104598585611496565b6108608383610dda565b505050565b606060048054610336906114ad565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561090e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ba565b61041833856104598685611496565b60006103c6338484610bb9565b6040517f6e2200e70000000000000000000000000000000000000000000000000000000081526004810182905260009081906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636e2200e79060240160206040518083038186803b1580156109a857600080fd5b505afa1580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e0919061137f565b905060006109ed84610ff1565b905060006109fb8242611496565b9050600062015180610a0d8584611459565b610a179190611420565b90507f0000000000000000000000000000000000000000000000000000000000000000831415610a5757610a5468302379bf2ca2e0000082611408565b90505b95945050505050565b6001600160a01b038316610adb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b038216610b575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c355760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b03831660009081526020819052604090205481811015610d405760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ba565b610d4a8282611496565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610d80908490611408565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610dcc91815260200190565b60405180910390a350505050565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b03821660009081526020819052604090205481811015610ee55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b610eef8282611496565b6001600160a01b03841660009081526020819052604081209190915560028054849290610f1d908490611496565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bac565b7f000000000000000000000000000000000000000000000000000000000000000081610f8b60025490565b610f959190611408565b1115610fe35760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104ba565b610fed8282611040565b5050565b60008181526005602052604081205461102a577f000000000000000000000000000000000000000000000000000000000000000061103a565b6000828152600560205260409020545b92915050565b7f00000000000000000000000000000000000000000000000000000000000000008161106b60025490565b6110759190611408565b11156110c35760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104ba565b610fed82826001600160a01b03821661111e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ba565b80600260008282546111309190611408565b90915550506001600160a01b0382166000908152602081905260408120805483929061115d908490611408565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156111b8578081fd5b81356111c381611598565b9392505050565b6000602082840312156111db578081fd5b81516111c381611598565b600080604083850312156111f8578081fd5b823561120381611598565b9150602083013561121381611598565b809150509250929050565b600080600060608486031215611232578081fd5b833561123d81611598565b9250602084013561124d81611598565b929592945050506040919091013590565b60008060408385031215611270578182fd5b823561127b81611598565b946020939093013593505050565b6000602080838503121561129b578182fd5b823567ffffffffffffffff808211156112b2578384fd5b818501915085601f8301126112c5578384fd5b8135818111156112d7576112d7611569565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561131a5761131a611569565b604052828152858101935084860182860187018a1015611338578788fd5b8795505b8386101561135a57803585526001959095019493860193860161133c565b5098975050505050505050565b600060208284031215611378578081fd5b5035919050565b600060208284031215611390578081fd5b5051919050565b6000602080835283518082850152825b818110156113c3578581018301518582016040015282016113a7565b818111156113d45783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561141b5761141b61153a565b500190565b600082611454577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156114915761149161153a565b500290565b6000828210156114a8576114a861153a565b500390565b600181811c908216806114c157607f821691505b602082108114156114fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115335761153361153a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6001600160a01b038116811461046857600080fdfea26469706673582212200e81d8a8432b063994a3b133eacef36faad74369be0cd470aa20fdf320036dc764736f6c634300080300330000000000000000000000000000000000000000000000000000000060aa36650000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101515760003560e01c80636ba4c138116100cd578063a457c2d711610081578063b25c4b6d11610066578063b25c4b6d146102b4578063c607cde7146102db578063dd62ed3e146102ee57610151565b8063a457c2d71461028e578063a9059cbb146102a157610151565b806374f0314f116100b257806374f0314f1461026957806379cc67901461027357806395d89b411461028657610151565b80636ba4c1381461022d57806370a082311461024057610151565b806323b872dd11610124578063355274ea11610109578063355274ea146101df578063395093511461020557806342966c681461021857610151565b806323b872dd146101bd578063313ce567146101d057610151565b806306fdde031461015657806307728f0f14610174578063095ea7b31461019257806318160ddd146101b5575b600080fd5b61015e610327565b60405161016b9190611397565b60405180910390f35b61018468302379bf2ca2e0000081565b60405190815260200161016b565b6101a56101a036600461125e565b6103b9565b604051901515815260200161016b565b600254610184565b6101a56101cb36600461121e565b6103cf565b6040516012815260200161016b565b7f000000000000000000000000000000000000000002df458b2c635dcf55e00000610184565b6101a561021336600461125e565b610422565b61022b610226366004611367565b61045e565b005b61022b61023b366004611289565b61046b565b61018461024e3660046111a7565b6001600160a01b031660009081526020819052604090205490565b6101846201518081565b61022b61028136600461125e565b6107c4565b61015e610865565b6101a561029c36600461125e565b610874565b6101a56102af36600461125e565b61091d565b6101847f0000000000000000000000000000000000000000000000000000000060aa366581565b6101846102e9366004611367565b61092a565b6101846102fc3660046111e6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b606060038054610336906114ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610362906114ad565b80156103af5780601f10610384576101008083540402835291602001916103af565b820191906000526020600020905b81548152906001019060200180831161039257829003601f168201915b5050505050905090565b60006103c6338484610a60565b50600192915050565b60006103dc848484610bb9565b336001600160a01b037f0000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c1614610418576104163383610874565b505b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103c6918590610459908690611408565b610a60565b6104683382610dda565b50565b80516122b981106104c35760405162461bcd60e51b815260206004820152600f60248201527f546f6f206d616e7920746f6b656e73000000000000000000000000000000000060448201526064015b60405180910390fd5b6000808060005b848110156107625785818151811061050b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915060007f0000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c6001600160a01b0316636352211e846040518263ffffffff1660e01b815260040161056591815260200190565b60206040518083038186803b15801561057d57600080fd5b505afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b591906111ca565b90506001600160a01b03811661060d5760405162461bcd60e51b815260206004820152601260248201527f4e4654206e6f74206d696e74656420796574000000000000000000000000000060448201526064016104ba565b6001600160a01b03811633146106655760405162461bcd60e51b815260206004820152601360248201527f53656e646572206973206e6f74206f776e65720000000000000000000000000060448201526064016104ba565b6000610672836001611408565b90505b8681101561071f57838882815181106106b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151141561070d5760405162461bcd60e51b815260206004820152601160248201527f4475706c696361746520746f6b656e496400000000000000000000000000000060448201526064016104ba565b8061071781611501565b915050610675565b506107298361092a565b9350831561074f57600083815260056020526040902042905561074c8486611408565b94505b508061075a81611501565b9150506104ca565b50600083116107b35760405162461bcd60e51b815260206004820152601060248201527f4e6f7468696e6720746f20636c61696d0000000000000000000000000000000060448201526064016104ba565b6107bd3384610f60565b5050505050565b60006107d083336102fc565b9050818110156108475760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104ba565b61085683336104598585611496565b6108608383610dda565b505050565b606060048054610336906114ad565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561090e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ba565b61041833856104598685611496565b60006103c6338484610bb9565b6040517f6e2200e70000000000000000000000000000000000000000000000000000000081526004810182905260009081906001600160a01b037f0000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c1690636e2200e79060240160206040518083038186803b1580156109a857600080fd5b505afa1580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e0919061137f565b905060006109ed84610ff1565b905060006109fb8242611496565b9050600062015180610a0d8584611459565b610a179190611420565b90507f0000000000000000000000000000000000000000000000000000000060aa3665831415610a5757610a5468302379bf2ca2e0000082611408565b90505b95945050505050565b6001600160a01b038316610adb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b038216610b575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c355760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b038216610cb15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b03831660009081526020819052604090205481811015610d405760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ba565b610d4a8282611496565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610d80908490611408565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610dcc91815260200190565b60405180910390a350505050565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b6001600160a01b03821660009081526020819052604090205481811015610ee55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ba565b610eef8282611496565b6001600160a01b03841660009081526020819052604081209190915560028054849290610f1d908490611496565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bac565b7f000000000000000000000000000000000000000002df458b2c635dcf55e0000081610f8b60025490565b610f959190611408565b1115610fe35760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104ba565b610fed8282611040565b5050565b60008181526005602052604081205461102a577f0000000000000000000000000000000000000000000000000000000060aa366561103a565b6000828152600560205260409020545b92915050565b7f000000000000000000000000000000000000000002df458b2c635dcf55e000008161106b60025490565b6110759190611408565b11156110c35760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016104ba565b610fed82826001600160a01b03821661111e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ba565b80600260008282546111309190611408565b90915550506001600160a01b0382166000908152602081905260408120805483929061115d908490611408565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156111b8578081fd5b81356111c381611598565b9392505050565b6000602082840312156111db578081fd5b81516111c381611598565b600080604083850312156111f8578081fd5b823561120381611598565b9150602083013561121381611598565b809150509250929050565b600080600060608486031215611232578081fd5b833561123d81611598565b9250602084013561124d81611598565b929592945050506040919091013590565b60008060408385031215611270578182fd5b823561127b81611598565b946020939093013593505050565b6000602080838503121561129b578182fd5b823567ffffffffffffffff808211156112b2578384fd5b818501915085601f8301126112c5578384fd5b8135818111156112d7576112d7611569565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561131a5761131a611569565b604052828152858101935084860182860187018a1015611338578788fd5b8795505b8386101561135a57803585526001959095019493860193860161133c565b5098975050505050505050565b600060208284031215611378578081fd5b5035919050565b600060208284031215611390578081fd5b5051919050565b6000602080835283518082850152825b818110156113c3578581018301518582016040015282016113a7565b818111156113d45783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561141b5761141b61153a565b500190565b600082611454577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156114915761149161153a565b500290565b6000828210156114a8576114a861153a565b500390565b600181811c908216806114c157607f821691505b602082108114156114fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115335761153361153a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6001600160a01b038116811461046857600080fdfea26469706673582212200e81d8a8432b063994a3b133eacef36faad74369be0cd470aa20fdf320036dc764736f6c63430008030033

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

0000000000000000000000000000000000000000000000000000000060aa36650000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c

-----Decoded View---------------
Arg [0] : _tokenStart (uint256): 1621767781
Arg [1] : maoAddress (address): 0x3A062FC7eE9F28D19a4BC039D8C3D1fd2055035c

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000060aa3665
Arg [1] : 0000000000000000000000003a062fc7ee9f28d19a4bc039d8c3d1fd2055035c


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.