Contract 0x055c517654d72a45b0d64dc8733f8a38e27fd49c

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xeb47e2ab50abfe13d13ce0e51a57419f9d80310c07fe8e42a08723eb4fb73b6dTransfer140243332024-05-20 13:30:061 min ago0x9668bdc97fb3fa22390a953dac5f3eba52a11e3b IN  EbisusBay: RYOSHI Token0 CRO0.260573886305 5,047.045
0xdbaa4c02bcf892c2300055634e21300979aa65ee0c2f1bf96fbcb4f40e24fddfApprove140240592024-05-20 13:03:5627 mins ago0xdf6032bae681a27a29a3df6970841baff9254803 IN  EbisusBay: RYOSHI Token0 CRO0.2471707350
0xcef23e6f0f66d0c32d711e6010e479e9f53b75cf3c0a9e98a0ea56012a1328d2Approve140239752024-05-20 12:55:5435 mins agoCronos ID Name evilqueer.cro IN  EbisusBay: RYOSHI Token0 CRO0.2341887 5,050
0x15641ab1c192c2c4f2720f67b7aae12fa03599a98940695d8799e7a6d6984545Transfer140239572024-05-20 12:54:1036 mins ago0x6e7376d3744abdc531409d38d9d44b5519739986 IN  EbisusBay: RYOSHI Token0 CRO0.258085 5,000
0x02c113fdfec1589e314f63b1f4b35d86387aa4cdd04c4415d2e39c3162ab65baTransfer140232562024-05-20 11:47:271 hr 43 mins ago0xdb1ba239aded729c38224f68002494e4b34319b8 IN  EbisusBay: RYOSHI Token0 CRO0.258085 5,000
0x05088e1eca1b2f2fb1510f557fffead2c21ef09eedfb782577e465b0fdce126fApprove140230302024-05-20 11:25:492 hrs 5 mins ago0x128b4d9a062d137710f362d2b5c0b81e2726cc40 IN  EbisusBay: RYOSHI Token0 CRO0.233755647 5,048.5
0xbf39978bf314ce2f78c1d8ec4bdce73d719676f69aec1140ab0182d889c988e8Approve140230022024-05-20 11:23:062 hrs 8 mins ago0xeb5c6b9f8119ca36a4b797299fb832673f3ab933 IN  EbisusBay: RYOSHI Token0 CRO0.23824689975 5,112.375
0x854135b7d838369cc60e70845fa74fb56da0235a55c9f84780e29cdfe7461ad6Approve140229822024-05-20 11:21:122 hrs 9 mins ago0x5e8374b8f586b8e314ecf12308c54765cc0e7549 IN  EbisusBay: RYOSHI Token0 CRO0.2471707350
0x70f298f046b922c3e85dec67b4343d043ebd3c2cf72e9c625e41091e3b3ed2dcApprove140229192024-05-20 11:15:092 hrs 15 mins ago0xf173b77e00a059591c5c8daa71e15fa757514509 IN  EbisusBay: RYOSHI Token0 CRO0.133453009355 5,047.7725
0x586d9621915f0facae6ffe3422cad0ba517f07d7477997d982e4d7f3c82f5875Approve140229182024-05-20 11:15:032 hrs 16 mins ago0xf173b77e00a059591c5c8daa71e15fa757514509 IN  EbisusBay: RYOSHI Token0 CRO0.233903682105 5,047.7725
0x7daf90fdce53249f637e57793afae4b058d1d662e58cec242dc6e3e9e34df3c3Transfer140229182024-05-20 11:15:032 hrs 16 mins ago0x12d9098f70d201675f6ca578c4b303974b0c3cf9 IN  EbisusBay: RYOSHI Token0 CRO0.3030
0xa4f55651f4b4543ba9189b4f35b26f3bdca28a525d408ddd9908e43febcbbccbTransfer140229162024-05-20 11:14:522 hrs 16 mins ago0x12d9098f70d201675f6ca578c4b303974b0c3cf9 IN  EbisusBay: RYOSHI Token0 CRO0.260787050
0xf74f5dc2b7836d91f86a915a2d77415bcec379478f21b361dda65a644cfe36a6Transfer140228822024-05-20 11:11:382 hrs 19 mins ago0x0b5c9b50824feaad28f5e08708e27abb5d950231 IN  EbisusBay: RYOSHI Token0 CRO0.2606490065 5,048.5
0xb3e2a3bd617332e0d8b6f65be58dd336fd96751ae264943fe8b2ff9e75d6e065Transfer140228552024-05-20 11:09:052 hrs 22 mins ago0x0f65160bc04ac824bc40fcd37105a1f1ec5a4518 IN  EbisusBay: RYOSHI Token0 CRO0.260787050
0x85c7846d64a92afc94c99eb25a4d51d51fb7af202d82551c39ea7866b1b9fd27Transfer140227952024-05-20 11:03:242 hrs 27 mins ago0x70829016fa4032ecadfaa26211337418b908c89c IN  EbisusBay: RYOSHI Token0 CRO0.2606490065 5,048.5
0x1764d361f6b49ea320a8fd7049d84804e45c49cc9a7bfe9019ecbd21c992a1feTransfer140227712024-05-20 11:01:082 hrs 30 mins ago0xcf29eb1355f247ed383988b0bf30314bea758204 IN  EbisusBay: RYOSHI Token0 CRO0.260787050
0x1fb6d7558a32eecdb1a627a6fee8ada909d5de17de16d1a75f1830402033bcb1Transfer140227082024-05-20 10:55:042 hrs 36 mins ago0xfc7d402869e0903e4ca793f7bd0d9acedcc18d2f IN  EbisusBay: RYOSHI Token0 CRO0.2606490065 5,048.5
0x9774612bb035c6743d806f514475262543d7560778d458865e670bc93fc6ebfbTransfer140226522024-05-20 10:49:452 hrs 41 mins ago0x48cb00d1403051c811159a637ea797db4b683f97 IN  EbisusBay: RYOSHI Token0 CRO0.260665850
0x009edaa928608f5abc65058f08e7c7e64aebbf774a8ea0d9521bca4561269562Transfer140226492024-05-20 10:49:282 hrs 41 mins ago0x9f2f176bf4a6b22038f1e90a16d34243352e7aad IN  EbisusBay: RYOSHI Token0 CRO0.2606490065 5,048.5
0x9f82da8153eb0271d527e32c31c57c810a0491dae7866c374eb430e5aff86543Transfer140226022024-05-20 10:45:012 hrs 46 mins ago0x4d570dc8dbd396b4b4806606e146b6c57f6a5bee IN  EbisusBay: RYOSHI Token0 CRO0.260787050
0x351db03337446e3296c30a8aed2c6fdfc4206f77671d8b4ffec7112321d38be4Transfer140225552024-05-20 10:40:332 hrs 50 mins ago0xbc9ee15ec4cb0516a74cbd270ca089f0b624bd0b IN  EbisusBay: RYOSHI Token0 CRO0.260665850
0x5249721cd3c9cc2d6b6108f1262dc486b6fffc23a73934771de7e0b5ab7230e3Transfer140225192024-05-20 10:37:032 hrs 54 mins ago0x96ff59bcca2c78ec0d7a79fa4f9ef6d8b9c041c5 IN  EbisusBay: RYOSHI Token0 CRO0.2606490065 5,048.5
0xc5991265f138e1ceeb41bafbdd9da41e28710621d4b3692bf625912eb1dcc799Transfer140224732024-05-20 10:32:422 hrs 58 mins ago0x520b265af576cba081608b41b82a59039544b839 IN  EbisusBay: RYOSHI Token0 CRO0.260726450
0x7fa92a024b277b9ca0ac423ad5f56bf6841070d4d5dde63e8536334d3890eefdTransfer140224182024-05-20 10:27:273 hrs 3 mins ago0x1cf2d3e04343ef50a86eb9c874ea4930fbdeb676 IN  EbisusBay: RYOSHI Token0 CRO0.2582224435 5,001.5
0xcb88312a28de0beba4736a96a07b396bd72b17800a29d3eb2071582460f4e1ecTransfer140223372024-05-20 10:19:453 hrs 11 mins ago0x4ba504c07dc427a1e7c573e3b8e1f9cffbec2391 IN  EbisusBay: RYOSHI Token0 CRO0.260726450
[ Download CSV Export 

OVERVIEW

Ebisu's Bay merges NFT trading with GameFi via Ryoshi Dynasties, where users join factions for market control.

Parent Txn Hash Block From To Value
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RyoshiWithKnife

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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() {
        _transferOwnership(_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 {
        _transferOwnership(address(0));
    }

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        _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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 3 of 7 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

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 {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

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

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

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

    /**
     * @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 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 7 : RyoshiWithKnife.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

    //         .-----.
    //       .'       `.
    //      :   U   U   :
    //      :     w     :
    //       `.___.....'    /
    //     ______|______  /
    //    [____________][]
    //        /     \
    //       /_______\
    //     |  ryoshi  |
    //     | with     |
    //     | knife    |
    //     `----------`

contract RyoshiWithKnife is ERC20Burnable, Ownable {

    uint256 public constant TOTAL_SUPPLY = (777777777777777 + 1) * (10 ** 18);
    uint256 public constant SALE_SUPPLY = TOTAL_SUPPLY / 2; 
    uint256 public constant MAX_CONTRIBUTION_GOBAL = 500000 * (10 ** 18);
    uint256 public constant MAX_CONTRIBUTION_PER_ADDRESS = 10000 * (10 ** 18);

    event ContributionUpdated(address indexed contributor, uint256 amountContributed, uint256 newTotalFRTNContributed);

    ERC20Burnable public fortune;
    uint256 public totalFRTNContributed = 0;
    mapping(address => uint256) public frtnContributions;

    uint256 public saleStartTimestamp;
    uint256 public saleEndTimestamp;
    bool public claimOpen = false;
    bool claimedLP = false;

    constructor(address _fortune) ERC20("ryoshi with knife", "RYOSHI") Ownable() {
        fortune = ERC20Burnable(_fortune);
        _mint(address(this), TOTAL_SUPPLY);
    }

    function setSalePeriod(uint256 _saleStartTimestamp, uint256 _saleEndTimestamp) public onlyOwner {
        if (_saleStartTimestamp >= _saleEndTimestamp) revert("Invalid sale period");
        saleStartTimestamp = _saleStartTimestamp;
        saleEndTimestamp = _saleEndTimestamp;
    }

    function setClaimOpen(bool _claimOpen) public onlyOwner {
        require(claimedLP, "LP not claimed");
        claimOpen = _claimOpen;
    }

    function withdrawForLP() public onlyOwner {
        require(!claimedLP, "Already claimed");
        _transfer(address(this), owner(), TOTAL_SUPPLY / 4);
        claimedLP = true;
    }

    function thankscrofam(address[] memory recipients, uint256[] memory amounts) public onlyOwner {
        if (recipients.length != amounts.length) revert("Invalid input");

        for (uint256 i = 0; i < recipients.length; i++) {
            _transfer(address(this), recipients[i], amounts[i]);
        }
    }

    function contribute(uint256 _amount) public {
        require(_amount > 0, "Invalid amount");
        require(saleStartTimestamp > 0, "Sale period not set");
        require(block.timestamp >= saleStartTimestamp, "Sale not started");
        require(block.timestamp < saleEndTimestamp, "Sale ended");
        require(totalFRTNContributed + _amount <= MAX_CONTRIBUTION_GOBAL, "Exceeds max contribution");
        require(frtnContributions[msg.sender] + _amount <= MAX_CONTRIBUTION_PER_ADDRESS, "Exceeds max contribution per address");
        fortune.burnFrom(msg.sender, _amount);
        frtnContributions[msg.sender] += _amount;
        totalFRTNContributed += _amount;
        emit ContributionUpdated(msg.sender, _amount, frtnContributions[msg.sender]);
    }

    function claim() public {
        require(claimOpen, "Claim not open");
        uint contributions = frtnContributions[msg.sender];
        require(contributions > 0, "No contribution");
        frtnContributions[msg.sender] = 0;
        uint claimAmount = (contributions * SALE_SUPPLY) / totalFRTNContributed;
        _transfer(address(this), msg.sender, claimAmount);
    }

}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_fortune","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":"contributor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountContributed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalFRTNContributed","type":"uint256"}],"name":"ContributionUpdated","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":[],"name":"MAX_CONTRIBUTION_GOBAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CONTRIBUTION_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","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":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"contribute","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":[],"name":"fortune","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"frtnContributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"saleEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimOpen","type":"bool"}],"name":"setClaimOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_saleEndTimestamp","type":"uint256"}],"name":"setSalePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"thankscrofam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalFRTNContributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawForLP","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600755600b805461ffff191690553480156200002157600080fd5b5060405162001ab438038062001ab48339810160408190526200004491620002ee565b604080518082018252601181527072796f7368692077697468206b6e69666560781b60208083019182528351808501909452600684526552594f53484960d01b9084015281519192916200009b9160039162000248565b508051620000b190600490602084019062000248565b505050620000ce620000c86200010a60201b60201c565b6200010e565b600680546001600160a01b0319166001600160a01b03831617905562000103306d2658ef8aa700bd72fda17a88000062000160565b5062000380565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001bb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001cf91906200031e565b90915550506001600160a01b03821660009081526020819052604081208054839290620001fe9084906200031e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002569062000343565b90600052602060002090601f0160209004810192826200027a5760008555620002c5565b82601f106200029557805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c5578251825591602001919060010190620002a8565b50620002d3929150620002d7565b5090565b5b80821115620002d35760008155600101620002d8565b60006020828403121562000300578081fd5b81516001600160a01b038116811462000317578182fd5b9392505050565b600082198211156200033e57634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200035857607f821691505b602082108114156200037a57634e487b7160e01b600052602260045260246000fd5b50919050565b61172480620003906000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063902d55a51161010f578063c222ba17116100a2578063dd62ed3e11610071578063dd62ed3e146103fb578063de9309ff14610434578063f2fde38b1461043c578063fd6e4efc1461044f57600080fd5b8063c222ba17146103d0578063c68deb7e146103e1578063cbf6fff9146103ea578063d3e26c6d146103f257600080fd5b8063a7a8101d116100de578063a7a8101d14610384578063a9059cbb14610397578063ba1c3b92146103aa578063c1cbbca7146103bd57600080fd5b8063902d55a514610343578063949ab95f1461035857806395d89b4114610369578063a457c2d71461037157600080fd5b806342966c6811610187578063715018a611610156578063715018a6146103045780637273df661461030c57806379cc67901461031f5780638da5cb5b1461033257600080fd5b806342966c68146102b15780634b8bcb58146102c65780634e71d92d146102d357806370a08231146102db57600080fd5b806323b872dd116101c357806323b872dd14610273578063313ce5671461028657806339509351146102955780633c276d86146102a857600080fd5b806306fdde03146101f5578063095ea7b314610213578063177de89c1461023657806318160ddd14610261575b600080fd5b6101fd61046f565b60405161020a9190611521565b60405180910390f35b6102266102213660046113de565b610501565b604051901515815260200161020a565b600654610249906001600160a01b031681565b6040516001600160a01b03909116815260200161020a565b6002545b60405190815260200161020a565b6102266102813660046113a3565b610519565b6040516012815260200161020a565b6102266102a33660046113de565b61053d565b61026560095481565b6102c46102bf3660046114e8565b61057c565b005b600b546102269060ff1681565b6102c4610589565b6102656102e9366004611350565b6001600160a01b031660009081526020819052604090205490565b6102c4610673565b6102c461031a3660046114c8565b6106a9565b6102c461032d3660046113de565b61072e565b6005546001600160a01b0316610249565b6102656d2658ef8aa700bd72fda17a88000081565b6102656969e10de76676d080000081565b6101fd610743565b61022661037f3660046113de565b610752565b6102c4610392366004611407565b6107e4565b6102266103a53660046113de565b6108cb565b6102c46103b8366004611500565b6108d9565b6102c46103cb3660046114e8565b610953565b61026569021e19e0c9bab240000081565b610265600a5481565b610265610c34565b61026560075481565b610265610409366004611371565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102c4610c50565b6102c461044a366004611350565b610d09565b61026561045d366004611350565b60086020526000908152604090205481565b60606003805461047e9061166c565b80601f01602080910402602001604051908101604052809291908181526020018280546104aa9061166c565b80156104f75780601f106104cc576101008083540402835291602001916104f7565b820191906000526020600020905b8154815290600101906020018083116104da57829003601f168201915b5050505050905090565b60003361050f818585610da1565b5060019392505050565b600033610527858285610ec5565b610532858585610f57565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061050f90829086906105779087906115fe565b610da1565b6105863382611125565b50565b600b5460ff166105d15760405162461bcd60e51b815260206004820152600e60248201526d21b630b4b6903737ba1037b832b760911b60448201526064015b60405180910390fd5b33600090815260086020526040902054806106205760405162461bcd60e51b815260206004820152600f60248201526e27379031b7b73a3934b13aba34b7b760891b60448201526064016105c8565b33600090815260086020526040812081905560075461064e60026d2658ef8aa700bd72fda17a880000611616565b6106589084611636565b6106629190611616565b905061066f303383610f57565b5050565b6005546001600160a01b0316331461069d5760405162461bcd60e51b81526004016105c890611574565b6106a76000611273565b565b6005546001600160a01b031633146106d35760405162461bcd60e51b81526004016105c890611574565b600b54610100900460ff1661071b5760405162461bcd60e51b815260206004820152600e60248201526d1314081b9bdd0818db185a5b595960921b60448201526064016105c8565b600b805460ff1916911515919091179055565b610739823383610ec5565b61066f8282611125565b60606004805461047e9061166c565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107d75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c8565b6105328286868403610da1565b6005546001600160a01b0316331461080e5760405162461bcd60e51b81526004016105c890611574565b805182511461084f5760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016105c8565b60005b82518110156108c6576108b43084838151811061087f57634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106108a757634e487b7160e01b600052603260045260246000fd5b6020026020010151610f57565b806108be816116a7565b915050610852565b505050565b60003361050f818585610f57565b6005546001600160a01b031633146109035760405162461bcd60e51b81526004016105c890611574565b8082106109485760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b19481c195c9a5bd9606a1b60448201526064016105c8565b600991909155600a55565b600081116109945760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016105c8565b6000600954116109dc5760405162461bcd60e51b815260206004820152601360248201527214d85b19481c195c9a5bd9081b9bdd081cd95d606a1b60448201526064016105c8565b600954421015610a215760405162461bcd60e51b815260206004820152601060248201526f14d85b19481b9bdd081cdd185c9d195960821b60448201526064016105c8565b600a544210610a5f5760405162461bcd60e51b815260206004820152600a60248201526914d85b1948195b99195960b21b60448201526064016105c8565b6969e10de76676d080000081600754610a7891906115fe565b1115610ac65760405162461bcd60e51b815260206004820152601860248201527f45786365656473206d617820636f6e747269627574696f6e000000000000000060448201526064016105c8565b3360009081526008602052604090205469021e19e0c9bab240000090610aed9083906115fe565b1115610b475760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d617820636f6e747269627574696f6e20706572206164646044820152637265737360e01b60648201526084016105c8565b60065460405163079cc67960e41b8152336004820152602481018390526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50503360009081526008602052604081208054859450909250610bcb9084906115fe565b925050819055508060076000828254610be491906115fe565b909155505033600081815260086020908152604091829020548251858152918201527f36c7c98dfe7e045d8de3e3a8ef7280d623eeb82e7ac5f92d4854297dd0781305910160405180910390a250565b610c4d60026d2658ef8aa700bd72fda17a880000611616565b81565b6005546001600160a01b03163314610c7a5760405162461bcd60e51b81526004016105c890611574565b600b54610100900460ff1615610cc45760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016105c8565b610cf830610cda6005546001600160a01b031690565b610cf360046d2658ef8aa700bd72fda17a880000611616565b610f57565b600b805461ff001916610100179055565b6005546001600160a01b03163314610d335760405162461bcd60e51b81526004016105c890611574565b6001600160a01b038116610d985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c8565b61058681611273565b6001600160a01b038316610e035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c8565b6001600160a01b038216610e645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f515781811015610f445760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c8565b610f518484848403610da1565b50505050565b6001600160a01b038316610fbb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c8565b6001600160a01b03821661101d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c8565b6001600160a01b038316600090815260208190526040902054818110156110955760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c8565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110cc9084906115fe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161111891815260200190565b60405180910390a3610f51565b6001600160a01b0382166111855760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c8565b6001600160a01b038216600090815260208190526040902054818110156111f95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c8565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611228908490611655565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b03811681146112dc57600080fd5b919050565b600082601f8301126112f1578081fd5b81356020611306611301836115da565b6115a9565b80838252828201915082860187848660051b8901011115611325578586fd5b855b8581101561134357813584529284019290840190600101611327565b5090979650505050505050565b600060208284031215611361578081fd5b61136a826112c5565b9392505050565b60008060408385031215611383578081fd5b61138c836112c5565b915061139a602084016112c5565b90509250929050565b6000806000606084860312156113b7578081fd5b6113c0846112c5565b92506113ce602085016112c5565b9150604084013590509250925092565b600080604083850312156113f0578182fd5b6113f9836112c5565b946020939093013593505050565b60008060408385031215611419578182fd5b823567ffffffffffffffff80821115611430578384fd5b818501915085601f830112611443578384fd5b81356020611453611301836115da565b8083825282820191508286018a848660051b8901011115611472578889fd5b8896505b8487101561149b57611487816112c5565b835260019690960195918301918301611476565b50965050860135925050808211156114b1578283fd5b506114be858286016112e1565b9150509250929050565b6000602082840312156114d9578081fd5b8135801515811461136a578182fd5b6000602082840312156114f9578081fd5b5035919050565b60008060408385031215611512578182fd5b50508035926020909101359150565b6000602080835283518082850152825b8181101561154d57858101830151858201604001528201611531565b8181111561155e5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156115d2576115d26116d8565b604052919050565b600067ffffffffffffffff8211156115f4576115f46116d8565b5060051b60200190565b60008219821115611611576116116116c2565b500190565b60008261163157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611650576116506116c2565b500290565b600082821015611667576116676116c2565b500390565b600181811c9082168061168057607f821691505b602082108114156116a157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116bb576116bb6116c2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220ec70dc48ce21e5155f5d7a44f7bb9c53132bd6e524a4b32548a556e598e0141164736f6c63430008040033000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063902d55a51161010f578063c222ba17116100a2578063dd62ed3e11610071578063dd62ed3e146103fb578063de9309ff14610434578063f2fde38b1461043c578063fd6e4efc1461044f57600080fd5b8063c222ba17146103d0578063c68deb7e146103e1578063cbf6fff9146103ea578063d3e26c6d146103f257600080fd5b8063a7a8101d116100de578063a7a8101d14610384578063a9059cbb14610397578063ba1c3b92146103aa578063c1cbbca7146103bd57600080fd5b8063902d55a514610343578063949ab95f1461035857806395d89b4114610369578063a457c2d71461037157600080fd5b806342966c6811610187578063715018a611610156578063715018a6146103045780637273df661461030c57806379cc67901461031f5780638da5cb5b1461033257600080fd5b806342966c68146102b15780634b8bcb58146102c65780634e71d92d146102d357806370a08231146102db57600080fd5b806323b872dd116101c357806323b872dd14610273578063313ce5671461028657806339509351146102955780633c276d86146102a857600080fd5b806306fdde03146101f5578063095ea7b314610213578063177de89c1461023657806318160ddd14610261575b600080fd5b6101fd61046f565b60405161020a9190611521565b60405180910390f35b6102266102213660046113de565b610501565b604051901515815260200161020a565b600654610249906001600160a01b031681565b6040516001600160a01b03909116815260200161020a565b6002545b60405190815260200161020a565b6102266102813660046113a3565b610519565b6040516012815260200161020a565b6102266102a33660046113de565b61053d565b61026560095481565b6102c46102bf3660046114e8565b61057c565b005b600b546102269060ff1681565b6102c4610589565b6102656102e9366004611350565b6001600160a01b031660009081526020819052604090205490565b6102c4610673565b6102c461031a3660046114c8565b6106a9565b6102c461032d3660046113de565b61072e565b6005546001600160a01b0316610249565b6102656d2658ef8aa700bd72fda17a88000081565b6102656969e10de76676d080000081565b6101fd610743565b61022661037f3660046113de565b610752565b6102c4610392366004611407565b6107e4565b6102266103a53660046113de565b6108cb565b6102c46103b8366004611500565b6108d9565b6102c46103cb3660046114e8565b610953565b61026569021e19e0c9bab240000081565b610265600a5481565b610265610c34565b61026560075481565b610265610409366004611371565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102c4610c50565b6102c461044a366004611350565b610d09565b61026561045d366004611350565b60086020526000908152604090205481565b60606003805461047e9061166c565b80601f01602080910402602001604051908101604052809291908181526020018280546104aa9061166c565b80156104f75780601f106104cc576101008083540402835291602001916104f7565b820191906000526020600020905b8154815290600101906020018083116104da57829003601f168201915b5050505050905090565b60003361050f818585610da1565b5060019392505050565b600033610527858285610ec5565b610532858585610f57565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061050f90829086906105779087906115fe565b610da1565b6105863382611125565b50565b600b5460ff166105d15760405162461bcd60e51b815260206004820152600e60248201526d21b630b4b6903737ba1037b832b760911b60448201526064015b60405180910390fd5b33600090815260086020526040902054806106205760405162461bcd60e51b815260206004820152600f60248201526e27379031b7b73a3934b13aba34b7b760891b60448201526064016105c8565b33600090815260086020526040812081905560075461064e60026d2658ef8aa700bd72fda17a880000611616565b6106589084611636565b6106629190611616565b905061066f303383610f57565b5050565b6005546001600160a01b0316331461069d5760405162461bcd60e51b81526004016105c890611574565b6106a76000611273565b565b6005546001600160a01b031633146106d35760405162461bcd60e51b81526004016105c890611574565b600b54610100900460ff1661071b5760405162461bcd60e51b815260206004820152600e60248201526d1314081b9bdd0818db185a5b595960921b60448201526064016105c8565b600b805460ff1916911515919091179055565b610739823383610ec5565b61066f8282611125565b60606004805461047e9061166c565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107d75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c8565b6105328286868403610da1565b6005546001600160a01b0316331461080e5760405162461bcd60e51b81526004016105c890611574565b805182511461084f5760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016105c8565b60005b82518110156108c6576108b43084838151811061087f57634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106108a757634e487b7160e01b600052603260045260246000fd5b6020026020010151610f57565b806108be816116a7565b915050610852565b505050565b60003361050f818585610f57565b6005546001600160a01b031633146109035760405162461bcd60e51b81526004016105c890611574565b8082106109485760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b19481c195c9a5bd9606a1b60448201526064016105c8565b600991909155600a55565b600081116109945760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016105c8565b6000600954116109dc5760405162461bcd60e51b815260206004820152601360248201527214d85b19481c195c9a5bd9081b9bdd081cd95d606a1b60448201526064016105c8565b600954421015610a215760405162461bcd60e51b815260206004820152601060248201526f14d85b19481b9bdd081cdd185c9d195960821b60448201526064016105c8565b600a544210610a5f5760405162461bcd60e51b815260206004820152600a60248201526914d85b1948195b99195960b21b60448201526064016105c8565b6969e10de76676d080000081600754610a7891906115fe565b1115610ac65760405162461bcd60e51b815260206004820152601860248201527f45786365656473206d617820636f6e747269627574696f6e000000000000000060448201526064016105c8565b3360009081526008602052604090205469021e19e0c9bab240000090610aed9083906115fe565b1115610b475760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d617820636f6e747269627574696f6e20706572206164646044820152637265737360e01b60648201526084016105c8565b60065460405163079cc67960e41b8152336004820152602481018390526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50503360009081526008602052604081208054859450909250610bcb9084906115fe565b925050819055508060076000828254610be491906115fe565b909155505033600081815260086020908152604091829020548251858152918201527f36c7c98dfe7e045d8de3e3a8ef7280d623eeb82e7ac5f92d4854297dd0781305910160405180910390a250565b610c4d60026d2658ef8aa700bd72fda17a880000611616565b81565b6005546001600160a01b03163314610c7a5760405162461bcd60e51b81526004016105c890611574565b600b54610100900460ff1615610cc45760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016105c8565b610cf830610cda6005546001600160a01b031690565b610cf360046d2658ef8aa700bd72fda17a880000611616565b610f57565b600b805461ff001916610100179055565b6005546001600160a01b03163314610d335760405162461bcd60e51b81526004016105c890611574565b6001600160a01b038116610d985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c8565b61058681611273565b6001600160a01b038316610e035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c8565b6001600160a01b038216610e645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f515781811015610f445760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c8565b610f518484848403610da1565b50505050565b6001600160a01b038316610fbb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c8565b6001600160a01b03821661101d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c8565b6001600160a01b038316600090815260208190526040902054818110156110955760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c8565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110cc9084906115fe565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161111891815260200190565b60405180910390a3610f51565b6001600160a01b0382166111855760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c8565b6001600160a01b038216600090815260208190526040902054818110156111f95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c8565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611228908490611655565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b03811681146112dc57600080fd5b919050565b600082601f8301126112f1578081fd5b81356020611306611301836115da565b6115a9565b80838252828201915082860187848660051b8901011115611325578586fd5b855b8581101561134357813584529284019290840190600101611327565b5090979650505050505050565b600060208284031215611361578081fd5b61136a826112c5565b9392505050565b60008060408385031215611383578081fd5b61138c836112c5565b915061139a602084016112c5565b90509250929050565b6000806000606084860312156113b7578081fd5b6113c0846112c5565b92506113ce602085016112c5565b9150604084013590509250925092565b600080604083850312156113f0578182fd5b6113f9836112c5565b946020939093013593505050565b60008060408385031215611419578182fd5b823567ffffffffffffffff80821115611430578384fd5b818501915085601f830112611443578384fd5b81356020611453611301836115da565b8083825282820191508286018a848660051b8901011115611472578889fd5b8896505b8487101561149b57611487816112c5565b835260019690960195918301918301611476565b50965050860135925050808211156114b1578283fd5b506114be858286016112e1565b9150509250929050565b6000602082840312156114d9578081fd5b8135801515811461136a578182fd5b6000602082840312156114f9578081fd5b5035919050565b60008060408385031215611512578182fd5b50508035926020909101359150565b6000602080835283518082850152825b8181101561154d57858101830151858201604001528201611531565b8181111561155e5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156115d2576115d26116d8565b604052919050565b600067ffffffffffffffff8211156115f4576115f46116d8565b5060051b60200190565b60008219821115611611576116116116c2565b500190565b60008261163157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611650576116506116c2565b500290565b600082821015611667576116676116c2565b500390565b600181811c9082168061168057607f821691505b602082108114156116a157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116bb576116bb6116c2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220ec70dc48ce21e5155f5d7a44f7bb9c53132bd6e524a4b32548a556e598e0141164736f6c63430008040033

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

000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21

-----Decoded View---------------
Arg [0] : _fortune (address): 0xaf02d78f39c0002d14b95a3be272da02379aff21

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000af02d78f39c0002d14b95a3be272da02379aff21


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.