ETH Price: $3,103.00 (+0.70%)
Gas: 3 Gwei

Contract

0x7f9D2B2f5D4D9AdB5b1f5655A2806c93f05006A9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve201881972024-06-28 5:48:5912 days ago1719553739IN
0x7f9D2B2f...3f05006A9
0 ETH0.00006152.46385183
Claim Shares201511802024-06-23 1:40:5917 days ago1719106859IN
0x7f9D2B2f...3f05006A9
0 ETH0.000084522.02201351
Claim Shares200076382024-06-03 0:12:3537 days ago1717373555IN
0x7f9D2B2f...3f05006A9
0 ETH0.0004268910.21188059
Claim Shares199993702024-06-01 20:30:3538 days ago1717273835IN
0x7f9D2B2f...3f05006A9
0 ETH0.000376046.01636893
Approve194014432024-03-10 1:32:59122 days ago1710034379IN
0x7f9D2B2f...3f05006A9
0 ETH0.0026559956.21623655
Approve192365052024-02-15 23:08:47145 days ago1708038527IN
0x7f9D2B2f...3f05006A9
0 ETH0.0006818227.31457757
Approve192159342024-02-13 1:52:23148 days ago1707789143IN
0x7f9D2B2f...3f05006A9
0 ETH0.0010563542.31852294
Claim Shares191274062024-01-31 15:39:47160 days ago1706715587IN
0x7f9D2B2f...3f05006A9
0 ETH0.0015477337.02366248
Approve191270572024-01-31 14:28:11160 days ago1706711291IN
0x7f9D2B2f...3f05006A9
0 ETH0.0014035729.89002967
Claim Shares190753832024-01-24 8:44:23168 days ago1706085863IN
0x7f9D2B2f...3f05006A9
0 ETH0.000607969.72678043
Approve190604372024-01-22 6:16:47170 days ago1705904207IN
0x7f9D2B2f...3f05006A9
0 ETH0.0005740112.14948208
Approve190518422024-01-21 1:05:47171 days ago1705799147IN
0x7f9D2B2f...3f05006A9
0 ETH0.0002749711.01565096
Approve190246272024-01-17 5:50:11175 days ago1705470611IN
0x7f9D2B2f...3f05006A9
0 ETH0.0008031132.17333588
Claim Shares190244542024-01-17 5:15:23175 days ago1705468523IN
0x7f9D2B2f...3f05006A9
0 ETH0.0012870630.78798704
Claim Shares190242922024-01-17 4:42:59175 days ago1705466579IN
0x7f9D2B2f...3f05006A9
0 ETH0.0012004228.71561987
Claim Shares190237792024-01-17 2:59:23175 days ago1705460363IN
0x7f9D2B2f...3f05006A9
0 ETH0.0016380339.1836419
Approve190237722024-01-17 2:57:47175 days ago1705460267IN
0x7f9D2B2f...3f05006A9
0 ETH0.0018508639.41533204
Approve190184982024-01-16 9:16:59176 days ago1705396619IN
0x7f9D2B2f...3f05006A9
0 ETH0.0006440423.88696918
Claim Shares190184382024-01-16 9:04:59176 days ago1705395899IN
0x7f9D2B2f...3f05006A9
0 ETH0.0010723125.65095203
Claim Shares190184362024-01-16 9:04:35176 days ago1705395875IN
0x7f9D2B2f...3f05006A9
0 ETH0.0010616225.39538063
Approve190181362024-01-16 8:04:11176 days ago1705392251IN
0x7f9D2B2f...3f05006A9
0 ETH0.0010580722.39504037
Approve190173752024-01-16 5:31:35176 days ago1705383095IN
0x7f9D2B2f...3f05006A9
0 ETH0.0007605825.49387063
Approve190173662024-01-16 5:29:47176 days ago1705382987IN
0x7f9D2B2f...3f05006A9
0 ETH0.001165824.83929241
Claim Shares190173622024-01-16 5:28:59176 days ago1705382939IN
0x7f9D2B2f...3f05006A9
0 ETH0.0010644725.46341711
Approve190171232024-01-16 4:41:11176 days ago1705380071IN
0x7f9D2B2f...3f05006A9
0 ETH0.0012622426.71645458
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Kagami

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Kagami.sol
// SPDX-License-Identifier: MIT
// Archetype RewardToken
//
//        d8888                 888               888
//       d88888                 888               888
//      d88P888                 888               888
//     d88P 888 888d888 .d8888b 88888b.   .d88b.  888888 888  888 88888b.   .d88b.
//    d88P  888 888P"  d88P"    888 "88b d8P  Y8b 888    888  888 888 "88b d8P  Y8b
//   d88P   888 888    888      888  888 88888888 888    888  888 888  888 88888888
//  d8888888888 888    Y88b.    888  888 Y8b.     Y88b.  Y88b 888 888 d88P Y8b.
// d88P     888 888     "Y8888P 888  888  "Y8888   "Y888  "Y88888 88888P"   "Y8888
//                                                            888 888
//                                                       Y8b d88P 888
//                                                        "Y88P"  888

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IRewardToken.sol";
import "../interfaces/ISharesHolder.sol";


error MintLocked();
error OwnerMintLocked();
error MaxSupplyLocked();
error SharesHolderLocked();
error NotAMinter(address triedToMint);
error MaxRewardsExceded();

struct KagamiConfig {
	uint256 maxSupply;
    address sharesHolder;
	bool mintLocked;
	bool ownerMintLocked;
    bool maxSupplyLocked;
    bool sharesHolderLocked;
}

contract Kagami is Ownable, ERC20, IRewardToken {
    
    KagamiConfig config;
    mapping (address => bool) private _isRewardsMinter;

	/*****************************************************\
	|* Contract Initialization And Configuration Methods *|
	\*****************************************************/
	constructor(string memory name, string memory symbol) ERC20(name, symbol) {}

	function setMaxSupply(uint256 maxSupply) external onlyOwner {
        if (config.maxSupplyLocked) revert MaxSupplyLocked();
        require(maxSupply >= totalSupply(), "Max supply can't be below current supply");
		config.maxSupply = maxSupply;
	}
	
	/********************\
	|* Minting  Methods *|
	\********************/
	function _mint(address account, uint256 amount) internal virtual override {
		if (config.mintLocked) revert MintLocked();
		super._mint(account, amount);
	}

	function ownerMint(address account, uint256 amount) external onlyOwner {
		if (config.ownerMintLocked) revert OwnerMintLocked();
        _mint(account, amount);
	}

    function ownerMint(address[] memory accounts, uint256 amount) external onlyOwner {
		if (config.ownerMintLocked) revert OwnerMintLocked();
		if (config.mintLocked) revert MintLocked();
        for (uint256 i = 0; i < accounts.length; i++)
            super._mint(accounts[i], amount);
    }

    function ownerMint(address[] memory accounts, uint256[] memory amounts) external onlyOwner {
		if (config.ownerMintLocked) revert OwnerMintLocked();
		if (config.mintLocked) revert MintLocked();
        require(accounts.length == amounts.length, "Wrong accounts/amounts sizes");
        for (uint256 i = 0; i < accounts.length; i++)
            super._mint(accounts[i], amounts[i]);
    }

	/*******************************\
	|* IRewardToken implementation *|
	\*******************************/
    function mintRewards(address account, uint256 amount) external {
        if (!_isRewardsMinter[msg.sender]) revert NotAMinter(msg.sender);
        if (amount > supplyLeft()) revert MaxRewardsExceded();
        _mint(account, amount);
    }

    function isRewardsMinter(address minter) external view returns (bool) {
        return _isRewardsMinter[minter];
    }

    function addRewardsMinter(address minter) external onlyOwner {
        _isRewardsMinter[minter] = true;
    }

    function removeRewardsMinter(address minter) external onlyOwner {
        _isRewardsMinter[minter] = false;
    }

    function supplyLeft() public view returns (uint256) {
        return totalSupply() > config.maxSupply ?
            0 : config.maxSupply - totalSupply();  
    }

    /**********************************\
    |* Simple auctioncore integration *|
    \**********************************/
    function setSharesHolder(address sharesHolder) external onlyOwner {
        if (config.sharesHolderLocked) revert SharesHolderLocked();
        config.sharesHolder = sharesHolder;
    }

    function claimShares() external {
        uint256 shares = ISharesHolder(config.sharesHolder).getAndClearSharesFor(msg.sender);
        if (shares > supplyLeft()) revert MaxRewardsExceded();
        _mint(msg.sender, shares);
    }

    /**************************\
    |* Contract configuration *|
    \**************************/
    function lockMintsForever() external onlyOwner {
        config.mintLocked = true; 
    }

    function lockOwnerMintsForever() external onlyOwner {
        config.ownerMintLocked = true; 
    }

    function lockMaxSupplyForever() external onlyOwner {
        config.maxSupplyLocked = true; 
    }

    function lockSharesHolderForever() external onlyOwner {
        config.sharesHolderLocked = true; 
    }

}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 8 : 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 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 6 of 8 : 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 8 : IRewardToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IRewardToken is IERC20 {
    /**
     * @dev External function so `msg.sender` can mint 
     * the token iff `isRewardsMinter(msg.sender)`.
     */
    function mintRewards(address account, uint256 amount) external;
    
    /**
     * @param minter Will be able to mint the token 
     * if it really is a minter.
     */
    function isRewardsMinter(address minter) external view returns (bool);
    
    /**
     * @dev On deployment, this function should be called so the
     * IRewardToken can actually mint rewards.
     */
    function addRewardsMinter(address minter) external;

    function removeRewardsMinter(address minter) external;

    /**
     * @dev View function so `minter` doesn't exced 
     * the allowed amount to mint.
     */
    function supplyLeft() external view returns (uint256);


    /**
     * @dev Simple auctioncore integration.
     */
    function claimShares() external;
}

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

pragma solidity ^0.8.4;

interface ISharesHolder {

	/**
	 * @param updater Should be an IRewardClaimer.
	 */
	function addSharesUpdater(address updater) external;

	/**
	 * @dev An IRewardClaimer will use this function to calculate rewards for
	 * a bidder.
	 */
	function getAndClearSharesFor(address user) external returns (uint256);

	function getTokenShares(address user) external view returns (uint256);

	function getIsSharesUpdater(address updater) external view returns (bool);

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxRewardsExceded","type":"error"},{"inputs":[],"name":"MaxSupplyLocked","type":"error"},{"inputs":[],"name":"MintLocked","type":"error"},{"inputs":[{"internalType":"address","name":"triedToMint","type":"address"}],"name":"NotAMinter","type":"error"},{"inputs":[],"name":"OwnerMintLocked","type":"error"},{"inputs":[],"name":"SharesHolderLocked","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addRewardsMinter","outputs":[],"stateMutability":"nonpayable","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":[],"name":"claimShares","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":[{"internalType":"address","name":"minter","type":"address"}],"name":"isRewardsMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMaxSupplyForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockMintsForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockOwnerMintsForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockSharesHolderForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeRewardsMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sharesHolder","type":"address"}],"name":"setSharesHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]

60806040523480156200001157600080fd5b5060405162002d8338038062002d838339818101604052810190620000379190620002e6565b8181620000596200004d6200008760201b60201c565b6200008f60201b60201c565b81600490816200006a9190620005b6565b5080600590816200007c9190620005b6565b50505050506200069d565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620001bc8262000171565b810181811067ffffffffffffffff82111715620001de57620001dd62000182565b5b80604052505050565b6000620001f362000153565b9050620002018282620001b1565b919050565b600067ffffffffffffffff82111562000224576200022362000182565b5b6200022f8262000171565b9050602081019050919050565b60005b838110156200025c5780820151818401526020810190506200023f565b60008484015250505050565b60006200027f620002798462000206565b620001e7565b9050828152602081018484840111156200029e576200029d6200016c565b5b620002ab8482856200023c565b509392505050565b600082601f830112620002cb57620002ca62000167565b5b8151620002dd84826020860162000268565b91505092915050565b600080604083850312156200030057620002ff6200015d565b5b600083015167ffffffffffffffff81111562000321576200032062000162565b5b6200032f85828601620002b3565b925050602083015167ffffffffffffffff81111562000353576200035262000162565b5b6200036185828601620002b3565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003be57607f821691505b602082108103620003d457620003d362000376565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200043e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003ff565b6200044a8683620003ff565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000497620004916200048b8462000462565b6200046c565b62000462565b9050919050565b6000819050919050565b620004b38362000476565b620004cb620004c2826200049e565b8484546200040c565b825550505050565b600090565b620004e2620004d3565b620004ef818484620004a8565b505050565b5b8181101562000517576200050b600082620004d8565b600181019050620004f5565b5050565b601f82111562000566576200053081620003da565b6200053b84620003ef565b810160208510156200054b578190505b620005636200055a85620003ef565b830182620004f4565b50505b505050565b600082821c905092915050565b60006200058b600019846008026200056b565b1980831691505092915050565b6000620005a6838362000578565b9150826002028217905092915050565b620005c1826200036b565b67ffffffffffffffff811115620005dd57620005dc62000182565b5b620005e98254620003a5565b620005f68282856200051b565b600060209050601f8311600181146200062e576000841562000619578287015190505b62000625858262000598565b86555062000695565b601f1984166200063e86620003da565b60005b82811015620006685784890151825560018201915060208501945060208101905062000641565b8683101562000688578489015162000684601f89168262000578565b8355505b6001600288020188555050505b505050505050565b6126d680620006ad6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636f8b44b01161010457806395d89b41116100a2578063dd62ed3e11610071578063dd62ed3e146104ba578063ecade8d8146104ea578063f2fde38b14610506578063fdcf9d0714610522576101cf565b806395d89b4114610420578063a457c2d71461043e578063a9059cbb1461046e578063d045096f1461049e576101cf565b80637dc6af24116100de5780637dc6af24146103d257806388782c77146103dc5780638da5cb5b146103f857806394bb76e014610416576101cf565b80636f8b44b01461037c57806370a0823114610398578063715018a6146103c8576101cf565b806347793f7411610171578063593d8e431161014b578063593d8e431461030a57806365f7eb171461031457806369f7d2f2146103445780636a20de9214610360576101cf565b806347793f74146102c8578063484b973c146102d25780634a3399e2146102ee576101cf565b80631d41648d116101ad5780631d41648d1461024057806323b872dd1461024a578063313ce5671461027a5780633950935114610298576101cf565b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610222575b600080fd5b6101dc610540565b6040516101e99190611919565b60405180910390f35b61020c600480360381019061020791906119e3565b6105d2565b6040516102199190611a3e565b60405180910390f35b61022a6105f5565b6040516102379190611a68565b60405180910390f35b6102486105ff565b005b610264600480360381019061025f9190611a83565b610627565b6040516102719190611a3e565b60405180910390f35b610282610656565b60405161028f9190611af2565b60405180910390f35b6102b260048036038101906102ad91906119e3565b61065f565b6040516102bf9190611a3e565b60405180910390f35b6102d0610696565b005b6102ec60048036038101906102e791906119e3565b6106be565b005b61030860048036038101906103039190611b0d565b61071e565b005b6103126107b7565b005b61032e60048036038101906103299190611b0d565b6108aa565b60405161033b9190611a3e565b60405180910390f35b61035e60048036038101906103599190611d45565b610900565b005b61037a600480360381019061037591906119e3565b610a42565b005b61039660048036038101906103919190611dbd565b610b1f565b005b6103b260048036038101906103ad9190611b0d565b610bc8565b6040516103bf9190611a68565b60405180910390f35b6103d0610c11565b005b6103da610c25565b005b6103f660048036038101906103f19190611b0d565b610c4d565b005b610400610cb0565b60405161040d9190611df9565b60405180910390f35b61041e610cd9565b005b610428610d01565b6040516104359190611919565b60405180910390f35b610458600480360381019061045391906119e3565b610d93565b6040516104659190611a3e565b60405180910390f35b610488600480360381019061048391906119e3565b610e0a565b6040516104959190611a3e565b60405180910390f35b6104b860048036038101906104b39190611b0d565b610e2d565b005b6104d460048036038101906104cf9190611e14565b610e90565b6040516104e19190611a68565b60405180910390f35b61050460048036038101906104ff9190611e54565b610f17565b005b610520600480360381019061051b9190611b0d565b610ffb565b005b61052a61107e565b6040516105379190611a68565b60405180910390f35b60606004805461054f90611edf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b90611edf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b6000806105dd6110b8565b90506105ea8185856110c0565b600191505092915050565b6000600354905090565b610607611289565b6001600660010160176101000a81548160ff021916908315150217905550565b6000806106326110b8565b905061063f858285611307565b61064a858585611393565b60019150509392505050565b60006012905090565b60008061066a6110b8565b905061068b81858561067c8589610e90565b6106869190611f3f565b6110c0565b600191505092915050565b61069e611289565b6001600660010160166101000a81548160ff021916908315150217905550565b6106c6611289565b600660010160159054906101000a900460ff1615610710576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61071a828261160c565b5050565b610726611289565b600660010160179054906101000a900460ff1615610770576040517fb09ef82c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e2c98cd336040518263ffffffff1660e01b81526004016108179190611df9565b6020604051808303816000875af1158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611f88565b905061086461107e565b81111561089d576040517f82df6e5200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108a7338261160c565b50565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610908611289565b600660010160159054906101000a900460ff1615610952576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660010160149054906101000a900460ff161561099c576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80518251146109e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d790612001565b60405180910390fd5b60005b8251811015610a3d57610a2a838281518110610a0257610a01612021565b5b6020026020010151838381518110610a1d57610a1c612021565b5b6020026020010151611664565b8080610a3590612050565b9150506109e3565b505050565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ad057336040517fd7111ade000000000000000000000000000000000000000000000000000000008152600401610ac79190611df9565b60405180910390fd5b610ad861107e565b811115610b11576040517f82df6e5200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1b828261160c565b5050565b610b27611289565b600660010160169054906101000a900460ff1615610b71576040517fde7c738300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b796105f5565b811015610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061210a565b60405180910390fd5b8060066000018190555050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c19611289565b610c2360006117bb565b565b610c2d611289565b6001600660010160146101000a81548160ff021916908315150217905550565b610c55611289565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610ce1611289565b6001600660010160156101000a81548160ff021916908315150217905550565b606060058054610d1090611edf565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3c90611edf565b8015610d895780601f10610d5e57610100808354040283529160200191610d89565b820191906000526020600020905b815481529060010190602001808311610d6c57829003601f168201915b5050505050905090565b600080610d9e6110b8565b90506000610dac8286610e90565b905083811015610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061219c565b60405180910390fd5b610dfe82868684036110c0565b60019250505092915050565b600080610e156110b8565b9050610e22818585611393565b600191505092915050565b610e35611289565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f1f611289565b600660010160159054906101000a900460ff1615610f69576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660010160149054906101000a900460ff1615610fb3576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610ff657610fe3838281518110610fd557610fd4612021565b5b602002602001015183611664565b8080610fee90612050565b915050610fb6565b505050565b611003611289565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110699061222e565b60405180910390fd5b61107b816117bb565b50565b600060066000015461108e6105f5565b116110b05761109b6105f5565b6006600001546110ab919061224e565b6110b3565b60005b905090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361112f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611126906122f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590612386565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161127c9190611a68565b60405180910390a3505050565b6112916110b8565b73ffffffffffffffffffffffffffffffffffffffff166112af610cb0565b73ffffffffffffffffffffffffffffffffffffffff1614611305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fc906123f2565b60405180910390fd5b565b60006113138484610e90565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461138d578181101561137f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113769061245e565b60405180910390fd5b61138c84848484036110c0565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f9906124f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146890612582565b60405180910390fd5b61147c83838361187f565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90612614565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115f39190611a68565b60405180910390a3611606848484611884565b50505050565b600660010160149054906101000a900460ff1615611656576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116608282611664565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90612680565b60405180910390fd5b6116df6000838361187f565b80600360008282546116f19190611f3f565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a39190611a68565b60405180910390a36117b760008383611884565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c35780820151818401526020810190506118a8565b60008484015250505050565b6000601f19601f8301169050919050565b60006118eb82611889565b6118f58185611894565b93506119058185602086016118a5565b61190e816118cf565b840191505092915050565b6000602082019050818103600083015261193381846118e0565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061197a8261194f565b9050919050565b61198a8161196f565b811461199557600080fd5b50565b6000813590506119a781611981565b92915050565b6000819050919050565b6119c0816119ad565b81146119cb57600080fd5b50565b6000813590506119dd816119b7565b92915050565b600080604083850312156119fa576119f9611945565b5b6000611a0885828601611998565b9250506020611a19858286016119ce565b9150509250929050565b60008115159050919050565b611a3881611a23565b82525050565b6000602082019050611a536000830184611a2f565b92915050565b611a62816119ad565b82525050565b6000602082019050611a7d6000830184611a59565b92915050565b600080600060608486031215611a9c57611a9b611945565b5b6000611aaa86828701611998565b9350506020611abb86828701611998565b9250506040611acc868287016119ce565b9150509250925092565b600060ff82169050919050565b611aec81611ad6565b82525050565b6000602082019050611b076000830184611ae3565b92915050565b600060208284031215611b2357611b22611945565b5b6000611b3184828501611998565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b77826118cf565b810181811067ffffffffffffffff82111715611b9657611b95611b3f565b5b80604052505050565b6000611ba961193b565b9050611bb58282611b6e565b919050565b600067ffffffffffffffff821115611bd557611bd4611b3f565b5b602082029050602081019050919050565b600080fd5b6000611bfe611bf984611bba565b611b9f565b90508083825260208201905060208402830185811115611c2157611c20611be6565b5b835b81811015611c4a5780611c368882611998565b845260208401935050602081019050611c23565b5050509392505050565b600082601f830112611c6957611c68611b3a565b5b8135611c79848260208601611beb565b91505092915050565b600067ffffffffffffffff821115611c9d57611c9c611b3f565b5b602082029050602081019050919050565b6000611cc1611cbc84611c82565b611b9f565b90508083825260208201905060208402830185811115611ce457611ce3611be6565b5b835b81811015611d0d5780611cf988826119ce565b845260208401935050602081019050611ce6565b5050509392505050565b600082601f830112611d2c57611d2b611b3a565b5b8135611d3c848260208601611cae565b91505092915050565b60008060408385031215611d5c57611d5b611945565b5b600083013567ffffffffffffffff811115611d7a57611d7961194a565b5b611d8685828601611c54565b925050602083013567ffffffffffffffff811115611da757611da661194a565b5b611db385828601611d17565b9150509250929050565b600060208284031215611dd357611dd2611945565b5b6000611de1848285016119ce565b91505092915050565b611df38161196f565b82525050565b6000602082019050611e0e6000830184611dea565b92915050565b60008060408385031215611e2b57611e2a611945565b5b6000611e3985828601611998565b9250506020611e4a85828601611998565b9150509250929050565b60008060408385031215611e6b57611e6a611945565b5b600083013567ffffffffffffffff811115611e8957611e8861194a565b5b611e9585828601611c54565b9250506020611ea6858286016119ce565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ef757607f821691505b602082108103611f0a57611f09611eb0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f4a826119ad565b9150611f55836119ad565b9250828201905080821115611f6d57611f6c611f10565b5b92915050565b600081519050611f82816119b7565b92915050565b600060208284031215611f9e57611f9d611945565b5b6000611fac84828501611f73565b91505092915050565b7f57726f6e67206163636f756e74732f616d6f756e74732073697a657300000000600082015250565b6000611feb601c83611894565b9150611ff682611fb5565b602082019050919050565b6000602082019050818103600083015261201a81611fde565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061205b826119ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361208d5761208c611f10565b5b600182019050919050565b7f4d617820737570706c792063616e27742062652062656c6f772063757272656e60008201527f7420737570706c79000000000000000000000000000000000000000000000000602082015250565b60006120f4602883611894565b91506120ff82612098565b604082019050919050565b60006020820190508181036000830152612123816120e7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612186602583611894565b91506121918261212a565b604082019050919050565b600060208201905081810360008301526121b581612179565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612218602683611894565b9150612223826121bc565b604082019050919050565b600060208201905081810360008301526122478161220b565b9050919050565b6000612259826119ad565b9150612264836119ad565b925082820390508181111561227c5761227b611f10565b5b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006122de602483611894565b91506122e982612282565b604082019050919050565b6000602082019050818103600083015261230d816122d1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612370602283611894565b915061237b82612314565b604082019050919050565b6000602082019050818103600083015261239f81612363565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006123dc602083611894565b91506123e7826123a6565b602082019050919050565b6000602082019050818103600083015261240b816123cf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612448601d83611894565b915061245382612412565b602082019050919050565b600060208201905081810360008301526124778161243b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006124da602583611894565b91506124e58261247e565b604082019050919050565b60006020820190508181036000830152612509816124cd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061256c602383611894565b915061257782612510565b604082019050919050565b6000602082019050818103600083015261259b8161255f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006125fe602683611894565b9150612609826125a2565b604082019050919050565b6000602082019050818103600083015261262d816125f1565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061266a601f83611894565b915061267582612634565b602082019050919050565b600060208201905081810360008301526126998161265d565b905091905056fea26469706673582212201f74da317ea7021cb7814f3488df6633897a7b75f06eb88438af6584e87cec8764736f6c634300081200330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064b6167616d69000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b4147414d490000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636f8b44b01161010457806395d89b41116100a2578063dd62ed3e11610071578063dd62ed3e146104ba578063ecade8d8146104ea578063f2fde38b14610506578063fdcf9d0714610522576101cf565b806395d89b4114610420578063a457c2d71461043e578063a9059cbb1461046e578063d045096f1461049e576101cf565b80637dc6af24116100de5780637dc6af24146103d257806388782c77146103dc5780638da5cb5b146103f857806394bb76e014610416576101cf565b80636f8b44b01461037c57806370a0823114610398578063715018a6146103c8576101cf565b806347793f7411610171578063593d8e431161014b578063593d8e431461030a57806365f7eb171461031457806369f7d2f2146103445780636a20de9214610360576101cf565b806347793f74146102c8578063484b973c146102d25780634a3399e2146102ee576101cf565b80631d41648d116101ad5780631d41648d1461024057806323b872dd1461024a578063313ce5671461027a5780633950935114610298576101cf565b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610222575b600080fd5b6101dc610540565b6040516101e99190611919565b60405180910390f35b61020c600480360381019061020791906119e3565b6105d2565b6040516102199190611a3e565b60405180910390f35b61022a6105f5565b6040516102379190611a68565b60405180910390f35b6102486105ff565b005b610264600480360381019061025f9190611a83565b610627565b6040516102719190611a3e565b60405180910390f35b610282610656565b60405161028f9190611af2565b60405180910390f35b6102b260048036038101906102ad91906119e3565b61065f565b6040516102bf9190611a3e565b60405180910390f35b6102d0610696565b005b6102ec60048036038101906102e791906119e3565b6106be565b005b61030860048036038101906103039190611b0d565b61071e565b005b6103126107b7565b005b61032e60048036038101906103299190611b0d565b6108aa565b60405161033b9190611a3e565b60405180910390f35b61035e60048036038101906103599190611d45565b610900565b005b61037a600480360381019061037591906119e3565b610a42565b005b61039660048036038101906103919190611dbd565b610b1f565b005b6103b260048036038101906103ad9190611b0d565b610bc8565b6040516103bf9190611a68565b60405180910390f35b6103d0610c11565b005b6103da610c25565b005b6103f660048036038101906103f19190611b0d565b610c4d565b005b610400610cb0565b60405161040d9190611df9565b60405180910390f35b61041e610cd9565b005b610428610d01565b6040516104359190611919565b60405180910390f35b610458600480360381019061045391906119e3565b610d93565b6040516104659190611a3e565b60405180910390f35b610488600480360381019061048391906119e3565b610e0a565b6040516104959190611a3e565b60405180910390f35b6104b860048036038101906104b39190611b0d565b610e2d565b005b6104d460048036038101906104cf9190611e14565b610e90565b6040516104e19190611a68565b60405180910390f35b61050460048036038101906104ff9190611e54565b610f17565b005b610520600480360381019061051b9190611b0d565b610ffb565b005b61052a61107e565b6040516105379190611a68565b60405180910390f35b60606004805461054f90611edf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b90611edf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b6000806105dd6110b8565b90506105ea8185856110c0565b600191505092915050565b6000600354905090565b610607611289565b6001600660010160176101000a81548160ff021916908315150217905550565b6000806106326110b8565b905061063f858285611307565b61064a858585611393565b60019150509392505050565b60006012905090565b60008061066a6110b8565b905061068b81858561067c8589610e90565b6106869190611f3f565b6110c0565b600191505092915050565b61069e611289565b6001600660010160166101000a81548160ff021916908315150217905550565b6106c6611289565b600660010160159054906101000a900460ff1615610710576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61071a828261160c565b5050565b610726611289565b600660010160179054906101000a900460ff1615610770576040517fb09ef82c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639e2c98cd336040518263ffffffff1660e01b81526004016108179190611df9565b6020604051808303816000875af1158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611f88565b905061086461107e565b81111561089d576040517f82df6e5200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108a7338261160c565b50565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610908611289565b600660010160159054906101000a900460ff1615610952576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660010160149054906101000a900460ff161561099c576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80518251146109e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d790612001565b60405180910390fd5b60005b8251811015610a3d57610a2a838281518110610a0257610a01612021565b5b6020026020010151838381518110610a1d57610a1c612021565b5b6020026020010151611664565b8080610a3590612050565b9150506109e3565b505050565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ad057336040517fd7111ade000000000000000000000000000000000000000000000000000000008152600401610ac79190611df9565b60405180910390fd5b610ad861107e565b811115610b11576040517f82df6e5200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b1b828261160c565b5050565b610b27611289565b600660010160169054906101000a900460ff1615610b71576040517fde7c738300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b796105f5565b811015610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061210a565b60405180910390fd5b8060066000018190555050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c19611289565b610c2360006117bb565b565b610c2d611289565b6001600660010160146101000a81548160ff021916908315150217905550565b610c55611289565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610ce1611289565b6001600660010160156101000a81548160ff021916908315150217905550565b606060058054610d1090611edf565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3c90611edf565b8015610d895780601f10610d5e57610100808354040283529160200191610d89565b820191906000526020600020905b815481529060010190602001808311610d6c57829003601f168201915b5050505050905090565b600080610d9e6110b8565b90506000610dac8286610e90565b905083811015610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061219c565b60405180910390fd5b610dfe82868684036110c0565b60019250505092915050565b600080610e156110b8565b9050610e22818585611393565b600191505092915050565b610e35611289565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f1f611289565b600660010160159054906101000a900460ff1615610f69576040517f4661d5f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660010160149054906101000a900460ff1615610fb3576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610ff657610fe3838281518110610fd557610fd4612021565b5b602002602001015183611664565b8080610fee90612050565b915050610fb6565b505050565b611003611289565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110699061222e565b60405180910390fd5b61107b816117bb565b50565b600060066000015461108e6105f5565b116110b05761109b6105f5565b6006600001546110ab919061224e565b6110b3565b60005b905090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361112f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611126906122f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590612386565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161127c9190611a68565b60405180910390a3505050565b6112916110b8565b73ffffffffffffffffffffffffffffffffffffffff166112af610cb0565b73ffffffffffffffffffffffffffffffffffffffff1614611305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fc906123f2565b60405180910390fd5b565b60006113138484610e90565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461138d578181101561137f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113769061245e565b60405180910390fd5b61138c84848484036110c0565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f9906124f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146890612582565b60405180910390fd5b61147c83838361187f565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa90612614565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115f39190611a68565b60405180910390a3611606848484611884565b50505050565b600660010160149054906101000a900460ff1615611656576040517faa71a6e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116608282611664565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90612680565b60405180910390fd5b6116df6000838361187f565b80600360008282546116f19190611f3f565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a39190611a68565b60405180910390a36117b760008383611884565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118c35780820151818401526020810190506118a8565b60008484015250505050565b6000601f19601f8301169050919050565b60006118eb82611889565b6118f58185611894565b93506119058185602086016118a5565b61190e816118cf565b840191505092915050565b6000602082019050818103600083015261193381846118e0565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061197a8261194f565b9050919050565b61198a8161196f565b811461199557600080fd5b50565b6000813590506119a781611981565b92915050565b6000819050919050565b6119c0816119ad565b81146119cb57600080fd5b50565b6000813590506119dd816119b7565b92915050565b600080604083850312156119fa576119f9611945565b5b6000611a0885828601611998565b9250506020611a19858286016119ce565b9150509250929050565b60008115159050919050565b611a3881611a23565b82525050565b6000602082019050611a536000830184611a2f565b92915050565b611a62816119ad565b82525050565b6000602082019050611a7d6000830184611a59565b92915050565b600080600060608486031215611a9c57611a9b611945565b5b6000611aaa86828701611998565b9350506020611abb86828701611998565b9250506040611acc868287016119ce565b9150509250925092565b600060ff82169050919050565b611aec81611ad6565b82525050565b6000602082019050611b076000830184611ae3565b92915050565b600060208284031215611b2357611b22611945565b5b6000611b3184828501611998565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b77826118cf565b810181811067ffffffffffffffff82111715611b9657611b95611b3f565b5b80604052505050565b6000611ba961193b565b9050611bb58282611b6e565b919050565b600067ffffffffffffffff821115611bd557611bd4611b3f565b5b602082029050602081019050919050565b600080fd5b6000611bfe611bf984611bba565b611b9f565b90508083825260208201905060208402830185811115611c2157611c20611be6565b5b835b81811015611c4a5780611c368882611998565b845260208401935050602081019050611c23565b5050509392505050565b600082601f830112611c6957611c68611b3a565b5b8135611c79848260208601611beb565b91505092915050565b600067ffffffffffffffff821115611c9d57611c9c611b3f565b5b602082029050602081019050919050565b6000611cc1611cbc84611c82565b611b9f565b90508083825260208201905060208402830185811115611ce457611ce3611be6565b5b835b81811015611d0d5780611cf988826119ce565b845260208401935050602081019050611ce6565b5050509392505050565b600082601f830112611d2c57611d2b611b3a565b5b8135611d3c848260208601611cae565b91505092915050565b60008060408385031215611d5c57611d5b611945565b5b600083013567ffffffffffffffff811115611d7a57611d7961194a565b5b611d8685828601611c54565b925050602083013567ffffffffffffffff811115611da757611da661194a565b5b611db385828601611d17565b9150509250929050565b600060208284031215611dd357611dd2611945565b5b6000611de1848285016119ce565b91505092915050565b611df38161196f565b82525050565b6000602082019050611e0e6000830184611dea565b92915050565b60008060408385031215611e2b57611e2a611945565b5b6000611e3985828601611998565b9250506020611e4a85828601611998565b9150509250929050565b60008060408385031215611e6b57611e6a611945565b5b600083013567ffffffffffffffff811115611e8957611e8861194a565b5b611e9585828601611c54565b9250506020611ea6858286016119ce565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ef757607f821691505b602082108103611f0a57611f09611eb0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f4a826119ad565b9150611f55836119ad565b9250828201905080821115611f6d57611f6c611f10565b5b92915050565b600081519050611f82816119b7565b92915050565b600060208284031215611f9e57611f9d611945565b5b6000611fac84828501611f73565b91505092915050565b7f57726f6e67206163636f756e74732f616d6f756e74732073697a657300000000600082015250565b6000611feb601c83611894565b9150611ff682611fb5565b602082019050919050565b6000602082019050818103600083015261201a81611fde565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061205b826119ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361208d5761208c611f10565b5b600182019050919050565b7f4d617820737570706c792063616e27742062652062656c6f772063757272656e60008201527f7420737570706c79000000000000000000000000000000000000000000000000602082015250565b60006120f4602883611894565b91506120ff82612098565b604082019050919050565b60006020820190508181036000830152612123816120e7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612186602583611894565b91506121918261212a565b604082019050919050565b600060208201905081810360008301526121b581612179565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612218602683611894565b9150612223826121bc565b604082019050919050565b600060208201905081810360008301526122478161220b565b9050919050565b6000612259826119ad565b9150612264836119ad565b925082820390508181111561227c5761227b611f10565b5b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006122de602483611894565b91506122e982612282565b604082019050919050565b6000602082019050818103600083015261230d816122d1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612370602283611894565b915061237b82612314565b604082019050919050565b6000602082019050818103600083015261239f81612363565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006123dc602083611894565b91506123e7826123a6565b602082019050919050565b6000602082019050818103600083015261240b816123cf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612448601d83611894565b915061245382612412565b602082019050919050565b600060208201905081810360008301526124778161243b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006124da602583611894565b91506124e58261247e565b604082019050919050565b60006020820190508181036000830152612509816124cd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061256c602383611894565b915061257782612510565b604082019050919050565b6000602082019050818103600083015261259b8161255f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006125fe602683611894565b9150612609826125a2565b604082019050919050565b6000602082019050818103600083015261262d816125f1565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600061266a601f83611894565b915061267582612634565b602082019050919050565b600060208201905081810360008301526126998161265d565b905091905056fea26469706673582212201f74da317ea7021cb7814f3488df6633897a7b75f06eb88438af6584e87cec8764736f6c63430008120033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064b6167616d69000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b4147414d490000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Kagami
Arg [1] : symbol (string): KAGAMI

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 4b6167616d690000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4b4147414d490000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.