Address Details
contract
token

0x74d020b7855D71F39DA728323ECe5E12D9e67B3a

Token
Fitex (FEX)
Creator
0x31d97f–1684a0 at 0x772059–439517
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
5 Transactions
Transfers
0 Transfers
Gas Used
178,945
Last Balance Update
17535704
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CeloToken




Optimization enabled
false
Compiler version
v0.8.19+commit.7dd6d404




EVM Version
paris




Verified at
2023-05-01T12:58:23.109181Z

Token.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";


contract CeloToken is ERC20{
    address public owner;
    constructor() ERC20("Fitex", "FEX"){
        owner = msg.sender;
        _mint(msg.sender, (1000000 * 10**18));
    }

    function mint(address account, uint256 amount) external {
        require(msg.sender == owner, "Not Owner");
        _mint(account, (amount * 10**18));
    }
}
        

/_openzeppelin/contracts/token/ERC20/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 {}
}
          

/_openzeppelin/contracts/token/ERC20/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);
}
          

/_openzeppelin/contracts/token/ERC20/extensions/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);
}
          

/_openzeppelin/contracts/utils/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;
    }
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280600581526020017f46697465780000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f464558000000000000000000000000000000000000000000000000000000000081525081600390816200008f9190620004f8565b508060049081620000a19190620004f8565b50505033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001013369d3c21bcecceda10000006200010760201b60201c565b620006fa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001709062000640565b60405180910390fd5b6200018d600083836200027460201b60201c565b8060026000828254620001a1919062000691565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002549190620006dd565b60405180910390a362000270600083836200027960201b60201c565b5050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030057607f821691505b602082108103620003165762000315620002b8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000341565b6200038c868362000341565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003d9620003d3620003cd84620003a4565b620003ae565b620003a4565b9050919050565b6000819050919050565b620003f583620003b8565b6200040d6200040482620003e0565b8484546200034e565b825550505050565b600090565b6200042462000415565b62000431818484620003ea565b505050565b5b8181101562000459576200044d6000826200041a565b60018101905062000437565b5050565b601f821115620004a85762000472816200031c565b6200047d8462000331565b810160208510156200048d578190505b620004a56200049c8562000331565b83018262000436565b50505b505050565b600082821c905092915050565b6000620004cd60001984600802620004ad565b1980831691505092915050565b6000620004e88383620004ba565b9150826002028217905092915050565b62000503826200027e565b67ffffffffffffffff8111156200051f576200051e62000289565b5b6200052b8254620002e7565b620005388282856200045d565b600060209050601f8311600181146200057057600084156200055b578287015190505b620005678582620004da565b865550620005d7565b601f19841662000580866200031c565b60005b82811015620005aa5784890151825560018201915060208501945060208101905062000583565b86831015620005ca5784890151620005c6601f891682620004ba565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000628601f83620005df565b91506200063582620005f0565b602082019050919050565b600060208201905081810360008301526200065b8162000619565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200069e82620003a4565b9150620006ab83620003a4565b9250828201905080821115620006c657620006c562000662565b5b92915050565b620006d781620003a4565b82525050565b6000602082019050620006f46000830184620006cc565b92915050565b611600806200070a6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b4114610228578063a457c2d714610246578063a9059cbb14610276578063dd62ed3e146102a6576100cf565b806340c10f19146101be57806370a08231146101da5780638da5cb5b1461020a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce56714610170578063395093511461018e575b600080fd5b6100dc6102d6565b6040516100e99190610d99565b60405180910390f35b61010c60048036038101906101079190610e54565b610368565b6040516101199190610eaf565b60405180910390f35b61012a61038b565b6040516101379190610ed9565b60405180910390f35b61015a60048036038101906101559190610ef4565b610395565b6040516101679190610eaf565b60405180910390f35b6101786103c4565b6040516101859190610f63565b60405180910390f35b6101a860048036038101906101a39190610e54565b6103cd565b6040516101b59190610eaf565b60405180910390f35b6101d860048036038101906101d39190610e54565b610404565b005b6101f460048036038101906101ef9190610f7e565b6104b5565b6040516102019190610ed9565b60405180910390f35b6102126104fd565b60405161021f9190610fba565b60405180910390f35b610230610523565b60405161023d9190610d99565b60405180910390f35b610260600480360381019061025b9190610e54565b6105b5565b60405161026d9190610eaf565b60405180910390f35b610290600480360381019061028b9190610e54565b61062c565b60405161029d9190610eaf565b60405180910390f35b6102c060048036038101906102bb9190610fd5565b61064f565b6040516102cd9190610ed9565b60405180910390f35b6060600380546102e590611044565b80601f016020809104026020016040519081016040528092919081815260200182805461031190611044565b801561035e5780601f106103335761010080835404028352916020019161035e565b820191906000526020600020905b81548152906001019060200180831161034157829003601f168201915b5050505050905090565b6000806103736106d6565b90506103808185856106de565b600191505092915050565b6000600254905090565b6000806103a06106d6565b90506103ad8582856108a7565b6103b8858585610933565b60019150509392505050565b60006012905090565b6000806103d86106d6565b90506103f98185856103ea858961064f565b6103f491906110a4565b6106de565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048b90611124565b60405180910390fd5b6104b182670de0b6b3a7640000836104ac9190611144565b610ba9565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461053290611044565b80601f016020809104026020016040519081016040528092919081815260200182805461055e90611044565b80156105ab5780601f10610580576101008083540402835291602001916105ab565b820191906000526020600020905b81548152906001019060200180831161058e57829003601f168201915b5050505050905090565b6000806105c06106d6565b905060006105ce828661064f565b905083811015610613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060a906111f8565b60405180910390fd5b61062082868684036106de565b60019250505092915050565b6000806106376106d6565b9050610644818585610933565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361074d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107449061128a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b39061131c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161089a9190610ed9565b60405180910390a3505050565b60006108b3848461064f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461092d578181101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091690611388565b60405180910390fd5b61092c84848484036106de565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109999061141a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a08906114ac565b60405180910390fd5b610a1c838383610cff565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a999061153e565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b909190610ed9565b60405180910390a3610ba3848484610d04565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906115aa565b60405180910390fd5b610c2460008383610cff565b8060026000828254610c3691906110a4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ce79190610ed9565b60405180910390a3610cfb60008383610d04565b5050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d43578082015181840152602081019050610d28565b60008484015250505050565b6000601f19601f8301169050919050565b6000610d6b82610d09565b610d758185610d14565b9350610d85818560208601610d25565b610d8e81610d4f565b840191505092915050565b60006020820190508181036000830152610db38184610d60565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610deb82610dc0565b9050919050565b610dfb81610de0565b8114610e0657600080fd5b50565b600081359050610e1881610df2565b92915050565b6000819050919050565b610e3181610e1e565b8114610e3c57600080fd5b50565b600081359050610e4e81610e28565b92915050565b60008060408385031215610e6b57610e6a610dbb565b5b6000610e7985828601610e09565b9250506020610e8a85828601610e3f565b9150509250929050565b60008115159050919050565b610ea981610e94565b82525050565b6000602082019050610ec46000830184610ea0565b92915050565b610ed381610e1e565b82525050565b6000602082019050610eee6000830184610eca565b92915050565b600080600060608486031215610f0d57610f0c610dbb565b5b6000610f1b86828701610e09565b9350506020610f2c86828701610e09565b9250506040610f3d86828701610e3f565b9150509250925092565b600060ff82169050919050565b610f5d81610f47565b82525050565b6000602082019050610f786000830184610f54565b92915050565b600060208284031215610f9457610f93610dbb565b5b6000610fa284828501610e09565b91505092915050565b610fb481610de0565b82525050565b6000602082019050610fcf6000830184610fab565b92915050565b60008060408385031215610fec57610feb610dbb565b5b6000610ffa85828601610e09565b925050602061100b85828601610e09565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061105c57607f821691505b60208210810361106f5761106e611015565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006110af82610e1e565b91506110ba83610e1e565b92508282019050808211156110d2576110d1611075565b5b92915050565b7f4e6f74204f776e65720000000000000000000000000000000000000000000000600082015250565b600061110e600983610d14565b9150611119826110d8565b602082019050919050565b6000602082019050818103600083015261113d81611101565b9050919050565b600061114f82610e1e565b915061115a83610e1e565b925082820261116881610e1e565b9150828204841483151761117f5761117e611075565b5b5092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006111e2602583610d14565b91506111ed82611186565b604082019050919050565b60006020820190508181036000830152611211816111d5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611274602483610d14565b915061127f82611218565b604082019050919050565b600060208201905081810360008301526112a381611267565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611306602283610d14565b9150611311826112aa565b604082019050919050565b60006020820190508181036000830152611335816112f9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611372601d83610d14565b915061137d8261133c565b602082019050919050565b600060208201905081810360008301526113a181611365565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611404602583610d14565b915061140f826113a8565b604082019050919050565b60006020820190508181036000830152611433816113f7565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611496602383610d14565b91506114a18261143a565b604082019050919050565b600060208201905081810360008301526114c581611489565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611528602683610d14565b9150611533826114cc565b604082019050919050565b600060208201905081810360008301526115578161151b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611594601f83610d14565b915061159f8261155e565b602082019050919050565b600060208201905081810360008301526115c381611587565b905091905056fea2646970667358221220b5f2e4aae634b7b5c27cb396a256b7b410425b92aefb5844d957f7396ccb08e364736f6c63430008130033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806340c10f191161008c57806395d89b411161006657806395d89b4114610228578063a457c2d714610246578063a9059cbb14610276578063dd62ed3e146102a6576100cf565b806340c10f19146101be57806370a08231146101da5780638da5cb5b1461020a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461012257806323b872dd14610140578063313ce56714610170578063395093511461018e575b600080fd5b6100dc6102d6565b6040516100e99190610d99565b60405180910390f35b61010c60048036038101906101079190610e54565b610368565b6040516101199190610eaf565b60405180910390f35b61012a61038b565b6040516101379190610ed9565b60405180910390f35b61015a60048036038101906101559190610ef4565b610395565b6040516101679190610eaf565b60405180910390f35b6101786103c4565b6040516101859190610f63565b60405180910390f35b6101a860048036038101906101a39190610e54565b6103cd565b6040516101b59190610eaf565b60405180910390f35b6101d860048036038101906101d39190610e54565b610404565b005b6101f460048036038101906101ef9190610f7e565b6104b5565b6040516102019190610ed9565b60405180910390f35b6102126104fd565b60405161021f9190610fba565b60405180910390f35b610230610523565b60405161023d9190610d99565b60405180910390f35b610260600480360381019061025b9190610e54565b6105b5565b60405161026d9190610eaf565b60405180910390f35b610290600480360381019061028b9190610e54565b61062c565b60405161029d9190610eaf565b60405180910390f35b6102c060048036038101906102bb9190610fd5565b61064f565b6040516102cd9190610ed9565b60405180910390f35b6060600380546102e590611044565b80601f016020809104026020016040519081016040528092919081815260200182805461031190611044565b801561035e5780601f106103335761010080835404028352916020019161035e565b820191906000526020600020905b81548152906001019060200180831161034157829003601f168201915b5050505050905090565b6000806103736106d6565b90506103808185856106de565b600191505092915050565b6000600254905090565b6000806103a06106d6565b90506103ad8582856108a7565b6103b8858585610933565b60019150509392505050565b60006012905090565b6000806103d86106d6565b90506103f98185856103ea858961064f565b6103f491906110a4565b6106de565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048b90611124565b60405180910390fd5b6104b182670de0b6b3a7640000836104ac9190611144565b610ba9565b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461053290611044565b80601f016020809104026020016040519081016040528092919081815260200182805461055e90611044565b80156105ab5780601f10610580576101008083540402835291602001916105ab565b820191906000526020600020905b81548152906001019060200180831161058e57829003601f168201915b5050505050905090565b6000806105c06106d6565b905060006105ce828661064f565b905083811015610613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060a906111f8565b60405180910390fd5b61062082868684036106de565b60019250505092915050565b6000806106376106d6565b9050610644818585610933565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361074d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107449061128a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b39061131c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161089a9190610ed9565b60405180910390a3505050565b60006108b3848461064f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461092d578181101561091f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091690611388565b60405180910390fd5b61092c84848484036106de565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109999061141a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a08906114ac565b60405180910390fd5b610a1c838383610cff565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a999061153e565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b909190610ed9565b60405180910390a3610ba3848484610d04565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f906115aa565b60405180910390fd5b610c2460008383610cff565b8060026000828254610c3691906110a4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ce79190610ed9565b60405180910390a3610cfb60008383610d04565b5050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d43578082015181840152602081019050610d28565b60008484015250505050565b6000601f19601f8301169050919050565b6000610d6b82610d09565b610d758185610d14565b9350610d85818560208601610d25565b610d8e81610d4f565b840191505092915050565b60006020820190508181036000830152610db38184610d60565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610deb82610dc0565b9050919050565b610dfb81610de0565b8114610e0657600080fd5b50565b600081359050610e1881610df2565b92915050565b6000819050919050565b610e3181610e1e565b8114610e3c57600080fd5b50565b600081359050610e4e81610e28565b92915050565b60008060408385031215610e6b57610e6a610dbb565b5b6000610e7985828601610e09565b9250506020610e8a85828601610e3f565b9150509250929050565b60008115159050919050565b610ea981610e94565b82525050565b6000602082019050610ec46000830184610ea0565b92915050565b610ed381610e1e565b82525050565b6000602082019050610eee6000830184610eca565b92915050565b600080600060608486031215610f0d57610f0c610dbb565b5b6000610f1b86828701610e09565b9350506020610f2c86828701610e09565b9250506040610f3d86828701610e3f565b9150509250925092565b600060ff82169050919050565b610f5d81610f47565b82525050565b6000602082019050610f786000830184610f54565b92915050565b600060208284031215610f9457610f93610dbb565b5b6000610fa284828501610e09565b91505092915050565b610fb481610de0565b82525050565b6000602082019050610fcf6000830184610fab565b92915050565b60008060408385031215610fec57610feb610dbb565b5b6000610ffa85828601610e09565b925050602061100b85828601610e09565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061105c57607f821691505b60208210810361106f5761106e611015565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006110af82610e1e565b91506110ba83610e1e565b92508282019050808211156110d2576110d1611075565b5b92915050565b7f4e6f74204f776e65720000000000000000000000000000000000000000000000600082015250565b600061110e600983610d14565b9150611119826110d8565b602082019050919050565b6000602082019050818103600083015261113d81611101565b9050919050565b600061114f82610e1e565b915061115a83610e1e565b925082820261116881610e1e565b9150828204841483151761117f5761117e611075565b5b5092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006111e2602583610d14565b91506111ed82611186565b604082019050919050565b60006020820190508181036000830152611211816111d5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611274602483610d14565b915061127f82611218565b604082019050919050565b600060208201905081810360008301526112a381611267565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611306602283610d14565b9150611311826112aa565b604082019050919050565b60006020820190508181036000830152611335816112f9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611372601d83610d14565b915061137d8261133c565b602082019050919050565b600060208201905081810360008301526113a181611365565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611404602583610d14565b915061140f826113a8565b604082019050919050565b60006020820190508181036000830152611433816113f7565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611496602383610d14565b91506114a18261143a565b604082019050919050565b600060208201905081810360008301526114c581611489565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611528602683610d14565b9150611533826114cc565b604082019050919050565b600060208201905081810360008301526115578161151b565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611594601f83610d14565b915061159f8261155e565b602082019050919050565b600060208201905081810360008301526115c381611587565b905091905056fea2646970667358221220b5f2e4aae634b7b5c27cb396a256b7b410425b92aefb5844d957f7396ccb08e364736f6c63430008130033