ETH Price: $3,703.64 (-3.77%)

Token

KickToken (KICK)
 

Overview

Max Total Supply

1,385,486,152.3976852611 KICK

Holders

6,774 (0.00%)

Market

Price

$0.01 @ 0.000004 ETH (-5.14%)

Onchain Market Cap

$20,690,293.92

Circulating Supply Market Cap

$22,304,124.99

Other Info

Token Contract (WITH 10 Decimals)

Filtered by Token Holder
303055.eth
Balance
0.001416433 KICK

Value
$0.00 ( ~0 Eth) [0.0000%]
0xd7a6f080c1a56ad7de0413ad5e7866b90ff8f859
Loading...
Loading
Loading...
Loading
Loading...
Loading

Market

Volume (24H):$2,809,953.72
Market Capitalization:$22,304,124.99
Circulating Supply:1,493,553,279.00 KICK
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KickToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : KickToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import "erc-payable-token/contracts/token/ERC1363/ERC1363.sol";

contract KickToken is ERC1363, ERC20Permit, Pausable, AccessControl {
    uint8 private _decimals;
    uint256 private _tTotal; // token total
    uint256 private _rTotal; // reflection total

    mapping(address => uint256) private _rOwned; // reflection balance

    // no burn and distribution if transfer to these addresses
    mapping(address => bool) private _isNoIncomeFee;
    uint256 private _distributionPercent;
    uint256 private _burnPercent;

    bytes32 public constant OWNER_ROLE = keccak256("OWNER_ROLE");
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bytes32 public constant UNPAUSED_ROLE = keccak256("UNPAUSED_ROLE");

    event DistributionPercentChanged(uint256 value);
    event BurnPercentChanged(uint256 value);
    event NoIncomeFeeRoleGranted(address indexed account);
    event NoIncomeFeeRoleRevoked(address indexed account);
    event Distribution(address indexed account, uint256 value);

    modifier notPaused() {
        if (paused()) {
            require(
                hasRole(UNPAUSED_ROLE, _msgSender()),
                "can't perform an action"
            );
        }
        _;
    }

    constructor(
        string memory name,
        string memory ticker,
        uint8 decimal,
        uint256 tTotal,
        uint256 dPercent,
        uint256 bPercent
    ) ERC20(name, ticker) ERC20Permit(name) {
        // init supply
        _decimals = decimal;
        _tTotal = tTotal * 10**decimal;
        _rTotal = (type(uint256).max - (type(uint256).max % _tTotal));

        // set fee percents
        require(10 <= dPercent && dPercent <= 100 && 10 <= bPercent && bPercent <= 100, 
            "incorrect fee percent"
        );
        _distributionPercent = dPercent;
        emit DistributionPercentChanged(dPercent);
        _burnPercent = bPercent;
        emit BurnPercentChanged(bPercent);

        // set roles
        _setRoleAdmin(ADMIN_ROLE, OWNER_ROLE);
        _setRoleAdmin(UNPAUSED_ROLE, ADMIN_ROLE);

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(OWNER_ROLE, _msgSender());
        _setupRole(ADMIN_ROLE, _msgSender());
        _setupRole(UNPAUSED_ROLE, _msgSender());

        // mint inital supply
        _rOwned[_msgSender()] = _rTotal;
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    // base logic -------------------------------------------------------------
    // ------------------------------------------------------------------------

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return tokenFromReflection(_rOwned[account]);
    }

    // transfer logic ---------------------------------------------------------
    // ------------------------------------------------------------------------

    function setDistributionPercent(uint256 percent) external onlyRole(OWNER_ROLE) {
        require(10 <= percent && percent <= 100, "incorrect fee percent"); // 1% <= percent <= 10%
        _distributionPercent = percent;
        emit DistributionPercentChanged(percent);
    }

    function setBurnPercent(uint256 percent) external onlyRole(OWNER_ROLE) {
        require(10 <= percent && percent <= 100, "incorrect fee percent"); // 1% <= percent <= 10%
        _burnPercent = percent;
        emit BurnPercentChanged(percent);
    }

    function distributionPercent() external view returns (uint256) {
        return _distributionPercent;
    }

    function burnPercent() external view returns (uint256) {
        return _burnPercent;
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) external view returns(uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rBurnAmount) = _getBurnValues(tAmount);
            (, uint256 rTransferAmount, , ) = _getValues(tAmount);
            return rTransferAmount - rBurnAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate = _getRate();
        return rAmount / currentRate;
    }

    function isNoIncomeFee(address account) external view returns (bool) {
        return _isNoIncomeFee[account];
    }

    function grantNoIncomeFee(address account) external onlyRole(ADMIN_ROLE) {
        require(!_isNoIncomeFee[account], "Account is already no income fee");
        _isNoIncomeFee[account] = true;
        emit NoIncomeFeeRoleGranted(account);
    }

    function revokeNoIncomeFee(address account) external onlyRole(ADMIN_ROLE) {
        require(_isNoIncomeFee[account], "Account is not no income fee");
        _isNoIncomeFee[account] = false;
        emit NoIncomeFeeRoleRevoked(account);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override(ERC20) notPaused {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        if (_isNoIncomeFee[recipient]) {
            _transferWithoutFee(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 tBurnAmount, uint256 rBurnAmount) = _getBurnValues(tAmount);
        _tTotal -= tBurnAmount;
        _rTotal -= rBurnAmount;

        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount) = _getValues(tAmount);
        _rOwned[sender] -= rAmount;
        _rOwned[recipient] += rTransferAmount - rBurnAmount;

        // distribute fee
        _rTotal -= rFee;

        emit Transfer(sender, recipient, tTransferAmount - tBurnAmount);
        emit Transfer(sender, address(0), tBurnAmount);
        emit Distribution(sender, tAmount - tTransferAmount);
    }

    function _transferWithoutFee(address sender, address recipient, uint256 tAmount) private {
        uint256 currentRate = _getRate();
        uint256 rAmount = tAmount * currentRate;
        _rOwned[sender] -= rAmount;
        _rOwned[recipient] += rAmount;
        emit Transfer(sender, recipient, tAmount);
    }

    function _getBurnValues(uint256 tAmount) private view returns (uint256, uint256) {
        uint256 tBurnAmount = (tAmount * _burnPercent) / 1000;
        uint256 currentRate = _getRate();
        uint256 rBurnAmount = tBurnAmount * currentRate;
        return (tBurnAmount, rBurnAmount);
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) {
        uint256 tFee = (tAmount * _distributionPercent) / 1000;
        uint256 tTransferAmount = tAmount - tFee;

        uint256 currentRate = _getRate();
        uint256 rAmount = tAmount * currentRate;
        uint256 rFee = tFee * currentRate;
        uint256 rTransferAmount = rAmount - rFee;

        return (rAmount, rTransferAmount, rFee, tTransferAmount);
    }

    function _getRate() private view returns (uint256) {
        return _rTotal / _tTotal;
    }

    function transferAll(address recipient) external returns (bool) {
        _transfer(_msgSender(), recipient, tokenFromReflection(_rOwned[_msgSender()]));
        return true;
    }

    function transferAllFrom(address account, address recipient) external returns (bool) {
        uint256 tAmount = tokenFromReflection(_rOwned[account]);
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= tAmount, "transfer amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - tAmount);
        _transfer(account, recipient, tAmount);
        return true;
    }

    // for initial token distribution (swap from old token)
    function multisend(
        address[] memory recipients,
        uint256[] memory tAmounts
    ) external onlyRole(OWNER_ROLE) {
        require(recipients.length <= 200, "More than 200 recipients");

        uint256 rTotal;
        uint256 rAmount;
        uint256 currentRate = _getRate();

        uint8 i = 0;
        for (i; i < recipients.length; i++) {
            rAmount = tAmounts[i] * currentRate;
            rTotal += rAmount;
            _rOwned[recipients[i]] += rAmount;
            emit Transfer(_msgSender(), recipients[i], tAmounts[i]);
        }

        _rOwned[_msgSender()] -= rTotal;
    }

    // burn logic -------------------------------------------------------------
    // ------------------------------------------------------------------------

    function _burn(address account, uint256 tAmount) internal notPaused override {
        require(account != address(0), "burn from the zero address");

        uint256 currentRate = _getRate();
        uint256 rAmount = tAmount * currentRate;
        _rOwned[account] -= rAmount;
        _rTotal -= rAmount;
        _tTotal -= tAmount;

        emit Transfer(account, address(0), tAmount);
    }

    function burn(uint256 tAmount) external {
        _burn(_msgSender(), tAmount);
    }

    function burnFrom(address account, uint256 tAmount) external {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= tAmount, "burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - tAmount);
        _burn(account, tAmount);
    }

    // distribute logic -------------------------------------------------------
    // ------------------------------------------------------------------------

    function _distribute(address account, uint256 tAmount) internal {
        (uint256 rAmount, , , ) = _getValues(tAmount);
        _rOwned[account] -= rAmount;
        _rTotal -= rAmount;
        emit Distribution(account, tAmount);
    }

    function distribute(uint256 tAmount) external {
        _distribute(_msgSender(), tAmount);
    }

    function distributeFrom(address account, uint256 tAmount) external {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= tAmount, "distribute amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - tAmount);
        _distribute(account, tAmount);
    }

    // denomination logic -----------------------------------------------------
    // ------------------------------------------------------------------------

    function denominate(uint256 rate) external onlyRole(OWNER_ROLE) {
        _tTotal /= rate;
    }

    // pause logic ------------------------------------------------------------
    // ------------------------------------------------------------------------

    function pauseTrigger() external onlyRole(OWNER_ROLE) {
        if (paused()) {
            _unpause();
        } else {
            _pause();
        }
    }

    // interface support ------------------------------------------------------
    // ------------------------------------------------------------------------

    function supportsInterface(
        bytes4 interfaceId
    ) public view override(AccessControl, ERC1363) returns (bool) {
        return AccessControl.supportsInterface(interfaceId) || ERC1363.supportsInterface(interfaceId);
    }

    // stuck funds ------------------------------------------------------------
    // ------------------------------------------------------------------------

    function stuckFundsTransfer(
        address token,
        address to,
        uint256 amount
    ) external onlyRole(OWNER_ROLE) returns (bool) {
        return IERC20(token).transfer(to, amount);
    }
}

File 2 of 20 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.toHexString(uint256(role), 32)
            )));
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 20 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 20 : draft-ERC20Permit.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

File 5 of 20 : ERC1363.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

import "./IERC1363.sol";
import "./IERC1363Receiver.sol";
import "./IERC1363Spender.sol";

/**
 * @title ERC1363
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Implementation of an ERC1363 interface
 */
abstract contract ERC1363 is ERC20, IERC1363, ERC165 {
    using Address for address;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1363).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Transfer tokens to a specified address and then execute a callback on recipient.
     * @param recipient The address to transfer to.
     * @param amount The amount to be transferred.
     * @return A boolean that indicates if the operation was successful.
     */
    function transferAndCall(address recipient, uint256 amount) public virtual override returns (bool) {
        return transferAndCall(recipient, amount, "");
    }

    /**
     * @dev Transfer tokens to a specified address and then execute a callback on recipient.
     * @param recipient The address to transfer to
     * @param amount The amount to be transferred
     * @param data Additional data with no specified format
     * @return A boolean that indicates if the operation was successful.
     */
    function transferAndCall(address recipient, uint256 amount, bytes memory data) public virtual override returns (bool) {
        transfer(recipient, amount);
        require(_checkAndCallTransfer(_msgSender(), recipient, amount, data), "ERC1363: _checkAndCallTransfer reverts");
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another and then execute a callback on recipient.
     * @param sender The address which you want to send tokens from
     * @param recipient The address which you want to transfer to
     * @param amount The amount of tokens to be transferred
     * @return A boolean that indicates if the operation was successful.
     */
    function transferFromAndCall(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        return transferFromAndCall(sender, recipient, amount, "");
    }

    /**
     * @dev Transfer tokens from one address to another and then execute a callback on recipient.
     * @param sender The address which you want to send tokens from
     * @param recipient The address which you want to transfer to
     * @param amount The amount of tokens to be transferred
     * @param data Additional data with no specified format
     * @return A boolean that indicates if the operation was successful.
     */
    function transferFromAndCall(address sender, address recipient, uint256 amount, bytes memory data) public virtual override returns (bool) {
        transferFrom(sender, recipient, amount);
        require(_checkAndCallTransfer(sender, recipient, amount, data), "ERC1363: _checkAndCallTransfer reverts");
        return true;
    }

    /**
     * @dev Approve spender to transfer tokens and then execute a callback on recipient.
     * @param spender The address allowed to transfer to
     * @param amount The amount allowed to be transferred
     * @return A boolean that indicates if the operation was successful.
     */
    function approveAndCall(address spender, uint256 amount) public virtual override returns (bool) {
        return approveAndCall(spender, amount, "");
    }

    /**
     * @dev Approve spender to transfer tokens and then execute a callback on recipient.
     * @param spender The address allowed to transfer to.
     * @param amount The amount allowed to be transferred.
     * @param data Additional data with no specified format.
     * @return A boolean that indicates if the operation was successful.
     */
    function approveAndCall(address spender, uint256 amount, bytes memory data) public virtual override returns (bool) {
        approve(spender, amount);
        require(_checkAndCallApprove(spender, amount, data), "ERC1363: _checkAndCallApprove reverts");
        return true;
    }

    /**
     * @dev Internal function to invoke `onTransferReceived` on a target address
     *  The call is not executed if the target address is not a contract
     * @param sender address Representing the previous owner of the given token value
     * @param recipient address Target address that will receive the tokens
     * @param amount uint256 The amount mount of tokens to be transferred
     * @param data bytes Optional data to send along with the call
     * @return whether the call correctly returned the expected magic value
     */
    function _checkAndCallTransfer(address sender, address recipient, uint256 amount, bytes memory data) internal virtual returns (bool) {
        if (!recipient.isContract()) {
            return false;
        }
        bytes4 retval = IERC1363Receiver(recipient).onTransferReceived(
            _msgSender(), sender, amount, data
        );
        return (retval == IERC1363Receiver(recipient).onTransferReceived.selector);
    }

    /**
     * @dev Internal function to invoke `onApprovalReceived` on a target address
     *  The call is not executed if the target address is not a contract
     * @param spender address The address which will spend the funds
     * @param amount uint256 The amount of tokens to be spent
     * @param data bytes Optional data to send along with the call
     * @return whether the call correctly returned the expected magic value
     */
    function _checkAndCallApprove(address spender, uint256 amount, bytes memory data) internal virtual returns (bool) {
        if (!spender.isContract()) {
            return false;
        }
        bytes4 retval = IERC1363Spender(spender).onApprovalReceived(
            _msgSender(), amount, data
        );
        return (retval == IERC1363Spender(spender).onApprovalReceived.selector);
    }
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 20 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

File 10 of 20 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

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

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

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

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

File 12 of 20 : draft-EIP712.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 13 of 20 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 14 of 20 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

File 15 of 20 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 16 of 20 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 17 of 20 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 18 of 20 : IERC1363.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title IERC1363 Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for a Payable Token contract as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363 is IERC20, IERC165 {

    /**
     * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver
     * @param recipient address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @return true unless throwing
     */
    function transferAndCall(address recipient, uint256 amount) external returns (bool);

    /**
     * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver
     * @param recipient address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @param data bytes Additional data with no specified format, sent in call to `recipient`
     * @return true unless throwing
     */
    function transferAndCall(address recipient, uint256 amount, bytes calldata data) external returns (bool);

    /**
     * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver
     * @param sender address The address which you want to send tokens from
     * @param recipient address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @return true unless throwing
     */
    function transferFromAndCall(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver
     * @param sender address The address which you want to send tokens from
     * @param recipient address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @param data bytes Additional data with no specified format, sent in call to `recipient`
     * @return true unless throwing
     */
    function transferFromAndCall(address sender, address recipient, uint256 amount, bytes calldata data) external returns (bool);

    /**
     * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender
     * and then call `onApprovalReceived` on spender.
     * 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
     * @param spender address The address which will spend the funds
     * @param amount uint256 The amount of tokens to be spent
     */
    function approveAndCall(address spender, uint256 amount) external returns (bool);

    /**
     * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender
     * and then call `onApprovalReceived` on spender.
     * 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
     * @param spender address The address which will spend the funds
     * @param amount uint256 The amount of tokens to be spent
     * @param data bytes Additional data with no specified format, sent in call to `spender`
     */
    function approveAndCall(address spender, uint256 amount, bytes calldata data) external returns (bool);
}

File 19 of 20 : IERC1363Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title IERC1363Receiver Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for any contract that wants to support transferAndCall or transferFromAndCall
 *  from ERC1363 token contracts as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363Receiver {

    /**
     * @notice Handle the receipt of ERC1363 tokens
     * @dev Any ERC1363 smart contract calls this function on the recipient
     * after a `transfer` or a `transferFrom`. This function MAY throw to revert and reject the
     * transfer. Return of other than the magic value MUST result in the
     * transaction being reverted.
     * Note: the token contract address is always the message sender.
     * @param operator address The address which called `transferAndCall` or `transferFromAndCall` function
     * @param sender address The address which are token transferred from
     * @param amount uint256 The amount of tokens transferred
     * @param data bytes Additional data with no specified format
     * @return `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` unless throwing
     */
    function onTransferReceived(address operator, address sender, uint256 amount, bytes calldata data) external returns (bytes4);
}

File 20 of 20 : IERC1363Spender.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title IERC1363Spender Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for any contract that wants to support approveAndCall
 *  from ERC1363 token contracts as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363Spender {

    /**
     * @notice Handle the approval of ERC1363 tokens
     * @dev Any ERC1363 smart contract calls this function on the recipient
     * after an `approve`. This function MAY throw to revert and reject the
     * approval. Return of other than the magic value MUST result in the
     * transaction being reverted.
     * Note: the token contract address is always the message sender.
     * @param sender address The address which called `approveAndCall` function
     * @param amount uint256 The amount of tokens to be spent
     * @param data bytes Additional data with no specified format
     * @return `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` unless throwing
     */
    function onApprovalReceived(address sender, uint256 amount, bytes calldata data) external returns (bytes4);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"ticker","type":"string"},{"internalType":"uint8","name":"decimal","type":"uint8"},{"internalType":"uint256","name":"tTotal","type":"uint256"},{"internalType":"uint256","name":"dPercent","type":"uint256"},{"internalType":"uint256","name":"bPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BurnPercentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Distribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"DistributionPercentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"NoIncomeFeeRoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"NoIncomeFeeRoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNPAUSED_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"rate","type":"uint256"}],"name":"denominate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"distributeFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributionPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantNoIncomeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isNoIncomeFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tAmounts","type":"uint256[]"}],"name":"multisend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseTrigger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeNoIncomeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setBurnPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setDistributionPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stuckFundsTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"transferAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"transferAllFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFromAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040516200383e3803806200383e8339810160408190526200005a91620005fd565b8580604051806040016040528060018152602001603160f81b8152508888816003908051906020019062000090929190620004a4565b508051620000a6906004906020840190620004a4565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a018190528183019890985260608101959095526080808601939093523085830152805180860390920182529390920190925280519401939093209092526101005250506006805460ff199081169091556008805490911660ff86161790556200015b84600a620006e3565b620001679084620007af565b60098190556200017a9060001962000828565b6200018890600019620007d1565b600a90815582108015906200019e575060648211155b8015620001ac575080600a11155b8015620001ba575060648111155b6200020b5760405162461bcd60e51b815260206004820152601560248201527f696e636f7272656374206665652070657263656e740000000000000000000000604482015260640160405180910390fd5b600d8290556040518281527f1bb40e101b838ce86d0a4fd7b83314160e1541bf5a63792c18350394862075939060200160405180910390a1600e8190556040518181527f9c4d4a96ad61cc9806d0a9c6ca3f7cb937f84b6139ceb5e7e8b8fcd4cd75f72b9060200160405180910390a1620002a56000805160206200381e833981519152600080516020620037de83398151915262000389565b620002cf600080516020620037fe8339815191526000805160206200381e83398151915262000389565b620002dc600033620003dd565b620002f7600080516020620037de83398151915233620003dd565b620003126000805160206200381e83398151915233620003dd565b6200032d600080516020620037fe83398151915233620003dd565b600a54336000818152600b60209081526040808320949094556009549351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050505062000875565b600082815260076020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526007602052604090912060010155565b620003e98282620003ed565b5050565b620003f9828262000477565b620003e95760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004333390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b828054620004b290620007eb565b90600052602060002090601f016020900481019282620004d6576000855562000521565b82601f10620004f157805160ff191683800117855562000521565b8280016001018555821562000521579182015b828111156200052157825182559160200191906001019062000504565b506200052f92915062000533565b5090565b5b808211156200052f576000815560010162000534565b600082601f8301126200055b578081fd5b81516001600160401b03808211156200057857620005786200085f565b604051601f8301601f19908116603f01168101908282118183101715620005a357620005a36200085f565b81604052838152602092508683858801011115620005bf578485fd5b8491505b83821015620005e25785820183015181830184015290820190620005c3565b83821115620005f357848385830101525b9695505050505050565b60008060008060008060c0878903121562000616578182fd5b86516001600160401b03808211156200062d578384fd5b6200063b8a838b016200054a565b9750602089015191508082111562000651578384fd5b506200066089828a016200054a565b955050604087015160ff8116811462000677578283fd5b80945050606087015192506080870151915060a087015190509295509295509295565b600181815b80851115620006db578160001904821115620006bf57620006bf62000849565b80851615620006cd57918102915b93841c93908002906200069f565b509250929050565b6000620006f460ff841683620006fb565b9392505050565b6000826200070c575060016200049e565b816200071b575060006200049e565b81600181146200073457600281146200073f576200075f565b60019150506200049e565b60ff84111562000753576200075362000849565b50506001821b6200049e565b5060208310610133831016604e8410600b841016171562000784575081810a6200049e565b6200079083836200069a565b8060001904821115620007a757620007a762000849565b029392505050565b6000816000190483118215151615620007cc57620007cc62000849565b500290565b600082821015620007e657620007e662000849565b500390565b600181811c908216806200080057607f821691505b602082108114156200082257634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200084457634e487b7160e01b81526012600452602481fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e0516101005161012051612f19620008c5600039600061142b01526000611ba801526000611bf701526000611bd201526000611b5601526000611b7f0152612f196000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c806370a0823111610182578063aad41a41116100e9578063d505accf116100a2578063dceb67831161007c578063dceb678314610666578063dd62ed3e14610679578063e0f75878146106b2578063e58378bb146106c557600080fd5b8063d505accf1461062d578063d547741f14610640578063d8fbe9941461065357600080fd5b8063aad41a41146105a2578063bb1570da146105b5578063c0a54129146105c8578063c1718ebb146105f4578063c1d34b8914610607578063cae9ca511461061a57600080fd5b806391d148541161013b57806391d148541461054657806395d89b4114610559578063a217fddf14610561578063a3a7e7f314610569578063a457c2d71461057c578063a9059cbb1461058f57600080fd5b806370a08231146104c057806375b238fc146104d357806379cc6790146104fa5780637ecebe001461050d57806384d4b4101461052057806391c05b0b1461053357600080fd5b80632f2ff15d116102415780634000aea0116101fa5780634549b039116101d45780634549b0391461048757806348f2090b1461049a57806357d040ce146104a25780635c975abb146104b557600080fd5b80634000aea01461044e57806342966c681461046157806342abf5d81461047457600080fd5b80632f2ff15d146103e5578063313ce567146103f85780633177029f1461040d5780633644e5151461042057806336568abe14610428578063395093511461043b57600080fd5b80631296ee62116102935780631296ee621461036e57806318160ddd1461038157806323b872dd14610389578063248a9ca31461039c578063273a59bb146103bf5780632d838119146103d257600080fd5b806301ffc9a7146102db57806303807ee51461030357806306fdde0314610315578063075712b81461032a578063095ea7b314610351578063096a2e3214610364575b600080fd5b6102ee6102e9366004612b2f565b6106da565b60405190151581526020015b60405180910390f35b600e545b6040519081526020016102fa565b61031d6106fa565b6040516102fa9190612c9b565b6103077fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e81565b6102ee61035f36600461299a565b61078c565b61036c6107a2565b005b6102ee61037c36600461299a565b6107d9565b600954610307565b6102ee610397366004612888565b6107fc565b6103076103aa366004612af5565b60009081526007602052604090206001015490565b61036c6103cd36600461283c565b6108b2565b6103076103e0366004612af5565b61098f565b61036c6103f3366004612b0d565b610a0c565b60085460405160ff90911681526020016102fa565b6102ee61041b36600461299a565b610a37565b610307610a53565b61036c610436366004612b0d565b610a62565b6102ee61044936600461299a565b610ae0565b6102ee61045c3660046129c3565b610b17565b61036c61046f366004612af5565b610b56565b61036c61048236600461299a565b610b60565b610307610495366004612b67565b610be4565b600d54610307565b61036c6104b036600461283c565b610c88565b60065460ff166102ee565b6103076104ce36600461283c565b610d69565b6103077fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b61036c61050836600461299a565b610d8b565b61030761051b36600461283c565b610dfd565b6102ee61052e366004612856565b610e1b565b61036c610541366004612af5565b610ebe565b6102ee610554366004612b0d565b610ec8565b61031d610ef3565b610307600081565b6102ee61057736600461283c565b610f02565b6102ee61058a36600461299a565b610f30565b6102ee61059d36600461299a565b610fc1565b61036c6105b0366004612a18565b610fce565b61036c6105c3366004612af5565b6111d5565b6102ee6105d636600461283c565b6001600160a01b03166000908152600c602052604090205460ff1690565b6102ee610602366004612888565b611281565b6102ee6106153660046128c3565b611327565b6102ee6106283660046129c3565b611365565b61036c61063b366004612929565b6113d7565b61036c61064e366004612b0d565b61153b565b6102ee610661366004612888565b611561565b61036c610674366004612af5565b61157e565b610307610687366004612856565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61036c6106c0366004612af5565b6115b2565b610307600080516020612ea483398151915281565b60006106e582611656565b806106f457506106f482611677565b92915050565b60606003805461070990612dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461073590612dfe565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b60006107993384846116ac565b50600192915050565b600080516020612ea48339815191526107bb81336117d0565b60065460ff16156107d1576107ce611834565b50565b6107ce6118c7565b60006107f5838360405180602001604052806000815250610b17565b9392505050565b6000610809848484611942565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108935760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6108a785336108a28685612da0565b6116ac565b506001949350505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756108dd81336117d0565b6001600160a01b0382166000908152600c602052604090205460ff166109455760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e74206973206e6f74206e6f20696e636f6d652066656500000000604482015260640161088a565b6001600160a01b0382166000818152600c6020526040808220805460ff19169055517fac1698a655d2c3786e57c633244e8e395705a2e3d8d67d34f52c630b04c8f1909190a25050565b6000600a548211156109f65760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161088a565b6000610a00611aba565b90506107f58184612d61565b600082815260076020526040902060010154610a2881336117d0565b610a328383611acc565b505050565b60006107f5838360405180602001604052806000815250611365565b6000610a5d611b52565b905090565b6001600160a01b0381163314610ad25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161088a565b610adc8282611c45565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107999185906108a2908690612d49565b6000610b238484610fc1565b50610b3033858585611cac565b610b4c5760405162461bcd60e51b815260040161088a90612cae565b5060019392505050565b6107ce3382611d6a565b6000610b6c8333610687565b905081811015610bca5760405162461bcd60e51b815260206004820152602360248201527f6469737472696275746520616d6f756e74206578636565647320616c6c6f77616044820152626e636560e81b606482015260840161088a565b610bda83335b6108a28585612da0565b610a328383611eec565b6000600954831115610c385760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161088a565b81610c55576000610c4884611f88565b509193506106f492505050565b6000610c6084612002565b9150506000610c6e85611f88565b50509150508181610c7f9190612da0565b925050506106f4565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610cb381336117d0565b6001600160a01b0382166000908152600c602052604090205460ff1615610d1c5760405162461bcd60e51b815260206004820181905260248201527f4163636f756e7420697320616c7265616479206e6f20696e636f6d6520666565604482015260640161088a565b6001600160a01b0382166000818152600c6020526040808220805460ff19166001179055517ff584a6323656320dd07832ee936eaae1132fee373f93287ebc89138aa985e2289190a25050565b6001600160a01b0381166000908152600b60205260408120546106f49061098f565b6000610d978333610687565b905081811015610de95760405162461bcd60e51b815260206004820152601d60248201527f6275726e20616d6f756e74206578636565647320616c6c6f77616e6365000000604482015260640161088a565b610df38333610bd0565b610a328383611d6a565b6001600160a01b0381166000908152600560205260408120546106f4565b6001600160a01b0382166000908152600b60205260408120548190610e3f9061098f565b90506000610e4d8533610687565b905081811015610ea95760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b606482015260840161088a565b610eb38533610bd0565b6108a7858584611942565b6107ce3382611eec565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461070990612dfe565b336000818152600b60205260408120549091610f28918490610f239061098f565b611942565b506001919050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610fb25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161088a565b610b4c33856108a28685612da0565b6000610799338484611942565b600080516020612ea4833981519152610fe781336117d0565b60c8835111156110395760405162461bcd60e51b815260206004820152601860248201527f4d6f7265207468616e2032303020726563697069656e74730000000000000000604482015260640161088a565b6000806000611046611aba565b905060005b86518160ff1610156111a85781868260ff168151811061107b57634e487b7160e01b600052603260045260246000fd5b602002602001015161108d9190612d81565b92506110998385612d49565b935082600b6000898460ff16815181106110c357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546110fa9190612d49565b92505081905550868160ff168151811061112457634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031661113c3390565b6001600160a01b0316600080516020612ec4833981519152888460ff168151811061117757634e487b7160e01b600052603260045260246000fd5b602002602001015160405161118e91815260200190565b60405180910390a3806111a081612e33565b91505061104b565b336000908152600b6020526040812080548692906111c7908490612da0565b909155505050505050505050565b600080516020612ea48339815191526111ee81336117d0565b81600a11158015611200575060648211155b6112445760405162461bcd60e51b81526020600482015260156024820152741a5b98dbdc9c9958dd08199959481c195c98d95b9d605a1b604482015260640161088a565b600e8290556040518281527f9c4d4a96ad61cc9806d0a9c6ca3f7cb937f84b6139ceb5e7e8b8fcd4cd75f72b906020015b60405180910390a15050565b6000600080516020612ea483398151915261129c81336117d0565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb90604401602060405180830381600087803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131e9190612ad9565b95945050505050565b60006113348585856107fc565b5061134185858585611cac565b6108a75760405162461bcd60e51b815260040161088a90612cae565b949350505050565b6000611371848461078c565b5061137d848484612049565b610b4c5760405162461bcd60e51b815260206004820152602560248201527f455243313336333a205f636865636b416e6443616c6c417070726f7665207265604482015264766572747360d81b606482015260840161088a565b834211156114275760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161088a565b60007f00000000000000000000000000000000000000000000000000000000000000008888886114568c612104565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006114b18261212c565b905060006114c18287878761217a565b9050896001600160a01b0316816001600160a01b0316146115245760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161088a565b61152f8a8a8a6116ac565b50505050505050505050565b60008281526007602052604090206001015461155781336117d0565b610a328383611c45565b600061135d84848460405180602001604052806000815250611327565b600080516020612ea483398151915261159781336117d0565b81600960008282546115a99190612d61565b90915550505050565b600080516020612ea48339815191526115cb81336117d0565b81600a111580156115dd575060648211155b6116215760405162461bcd60e51b81526020600482015260156024820152741a5b98dbdc9c9958dd08199959481c195c98d95b9d605a1b604482015260640161088a565b600d8290556040518281527f1bb40e101b838ce86d0a4fd7b83314160e1541bf5a63792c183503948620759390602001611275565b60006001600160e01b03198216637965db0b60e01b14806106f457506106f4825b60006001600160e01b0319821663b0202a1160e01b14806106f457506301ffc9a760e01b6001600160e01b03198316146106f4565b6001600160a01b03831661170e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161088a565b6001600160a01b03821661176f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161088a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6117da8282610ec8565b610adc576117f2816001600160a01b0316601461231a565b6117fd83602061231a565b60405160200161180e929190612bc2565b60408051601f198184030181529082905262461bcd60e51b825261088a91600401612c9b565b60065460ff1661187d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161088a565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff161561190d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161088a565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118aa3390565b60065460ff16156119bd576119777fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e33610ec8565b6119bd5760405162461bcd60e51b815260206004820152601760248201527631b0b713ba103832b93337b9369030b71030b1ba34b7b760491b604482015260640161088a565b6001600160a01b038316611a215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161088a565b6001600160a01b038216611a835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161088a565b6001600160a01b0382166000908152600c602052604090205460ff1615611aaf57610a328383836124fc565b610a328383836125b7565b6000600954600a54610a5d9190612d61565b611ad68282610ec8565b610adc5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611b0e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415611ba157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b611c4f8282610ec8565b15610adc5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006001600160a01b0384163b611cc55750600061135d565b604051632229f29760e21b81526000906001600160a01b038616906388a7ca5c90611cfa9033908a9089908990600401612c37565b602060405180830381600087803b158015611d1457600080fd5b505af1158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612b4b565b6001600160e01b031916632229f29760e21b14915050949350505050565b60065460ff1615611de557611d9f7fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e33610ec8565b611de55760405162461bcd60e51b815260206004820152601760248201527631b0b713ba103832b93337b9369030b71030b1ba34b7b760491b604482015260640161088a565b6001600160a01b038216611e3b5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f2061646472657373000000000000604482015260640161088a565b6000611e45611aba565b90506000611e538284612d81565b6001600160a01b0385166000908152600b6020526040812080549293508392909190611e80908490612da0565b9250508190555080600a6000828254611e999190612da0565b925050819055508260096000828254611eb29190612da0565b90915550506040518381526000906001600160a01b03861690600080516020612ec48339815191529060200160405180910390a350505050565b6000611ef782611f88565b5050506001600160a01b0384166000908152600b6020526040812080549293508392909190611f27908490612da0565b9250508190555080600a6000828254611f409190612da0565b90915550506040518281526001600160a01b038416907f33ad5d6b2a46b5457e0d36286a2686a0390b0821dedbbdf8dcdcda64f4782c689060200160405180910390a2505050565b60008060008060006103e8600d5487611fa19190612d81565b611fab9190612d61565b90506000611fb98288612da0565b90506000611fc5611aba565b90506000611fd3828a612d81565b90506000611fe18386612d81565b90506000611fef8284612da0565b929b929a50909850929650945050505050565b60008060006103e8600e54856120189190612d81565b6120229190612d61565b9050600061202e611aba565b9050600061203c8284612d81565b9296929550919350505050565b60006001600160a01b0384163b612062575060006107f5565b6040516307b04a2d60e41b81526000906001600160a01b03861690637b04a2d09061209590339088908890600401612c74565b602060405180830381600087803b1580156120af57600080fd5b505af11580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e79190612b4b565b6001600160e01b0319166307b04a2d60e41b149150509392505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006106f4612139611b52565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156121f75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161088a565b8360ff16601b148061220c57508360ff16601c145b6122635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161088a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156122b7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661131e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161088a565b60606000612329836002612d81565b612334906002612d49565b67ffffffffffffffff81111561235a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612384576020820181803683370190505b509050600360fc1b816000815181106123ad57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123ea57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061240e846002612d81565b612419906001612d49565b90505b60018111156124ad576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061245b57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061247f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936124a681612de7565b905061241c565b5083156107f55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161088a565b6000612506611aba565b905060006125148284612d81565b6001600160a01b0386166000908152600b6020526040812080549293508392909190612541908490612da0565b90915550506001600160a01b0384166000908152600b60205260408120805483929061256e908490612d49565b92505081905550836001600160a01b0316856001600160a01b0316600080516020612ec4833981519152856040516125a891815260200190565b60405180910390a35050505050565b6000806125c383612002565b9150915081600960008282546125d99190612da0565b9250508190555080600a60008282546125f29190612da0565b909155506000905080808061260687611f88565b6001600160a01b038d166000908152600b60205260408120805495995093975091955093508692612638908490612da0565b9091555061264890508584612da0565b6001600160a01b0389166000908152600b602052604081208054909190612670908490612d49565b9250508190555081600a60008282546126899190612da0565b90915550506001600160a01b03808916908a16600080516020612ec48339815191526126b58985612da0565b60405190815260200160405180910390a36040518681526000906001600160a01b038b1690600080516020612ec48339815191529060200160405180910390a36001600160a01b0389167f33ad5d6b2a46b5457e0d36286a2686a0390b0821dedbbdf8dcdcda64f4782c6861272a838a612da0565b60405190815260200160405180910390a2505050505050505050565b80356001600160a01b038116811461275d57600080fd5b919050565b600082601f830112612772578081fd5b8135602061278761278283612d25565b612cf4565b80838252828201915082860187848660051b89010111156127a6578586fd5b855b858110156127c4578135845292840192908401906001016127a8565b5090979650505050505050565b600082601f8301126127e1578081fd5b813567ffffffffffffffff8111156127fb576127fb612e69565b61280e601f8201601f1916602001612cf4565b818152846020838601011115612822578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561284d578081fd5b6107f582612746565b60008060408385031215612868578081fd5b61287183612746565b915061287f60208401612746565b90509250929050565b60008060006060848603121561289c578081fd5b6128a584612746565b92506128b360208501612746565b9150604084013590509250925092565b600080600080608085870312156128d8578081fd5b6128e185612746565b93506128ef60208601612746565b925060408501359150606085013567ffffffffffffffff811115612911578182fd5b61291d878288016127d1565b91505092959194509250565b600080600080600080600060e0888a031215612943578283fd5b61294c88612746565b965061295a60208901612746565b95506040880135945060608801359350608088013560ff8116811461297d578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156129ac578182fd5b6129b583612746565b946020939093013593505050565b6000806000606084860312156129d7578283fd5b6129e084612746565b925060208401359150604084013567ffffffffffffffff811115612a02578182fd5b612a0e868287016127d1565b9150509250925092565b60008060408385031215612a2a578182fd5b823567ffffffffffffffff80821115612a41578384fd5b818501915085601f830112612a54578384fd5b81356020612a6461278283612d25565b8083825282820191508286018a848660051b8901011115612a83578889fd5b8896505b84871015612aac57612a9881612746565b835260019690960195918301918301612a87565b5096505086013592505080821115612ac2578283fd5b50612acf85828601612762565b9150509250929050565b600060208284031215612aea578081fd5b81516107f581612e7f565b600060208284031215612b06578081fd5b5035919050565b60008060408385031215612b1f578182fd5b8235915061287f60208401612746565b600060208284031215612b40578081fd5b81356107f581612e8d565b600060208284031215612b5c578081fd5b81516107f581612e8d565b60008060408385031215612b79578182fd5b823591506020830135612b8b81612e7f565b809150509250929050565b60008151808452612bae816020860160208601612db7565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612bfa816017850160208801612db7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c2b816028840160208801612db7565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c6a90830184612b96565b9695505050505050565b60018060a01b038416815282602082015260606040820152600061131e6060830184612b96565b6020815260006107f56020830184612b96565b60208082526026908201527f455243313336333a205f636865636b416e6443616c6c5472616e73666572207260408201526565766572747360d01b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d1d57612d1d612e69565b604052919050565b600067ffffffffffffffff821115612d3f57612d3f612e69565b5060051b60200190565b60008219821115612d5c57612d5c612e53565b500190565b600082612d7c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612d9b57612d9b612e53565b500290565b600082821015612db257612db2612e53565b500390565b60005b83811015612dd2578181015183820152602001612dba565b83811115612de1576000848401525b50505050565b600081612df657612df6612e53565b506000190190565b600181811c90821680612e1257607f821691505b6020821081141561212657634e487b7160e01b600052602260045260246000fd5b600060ff821660ff811415612e4a57612e4a612e53565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107ce57600080fd5b6001600160e01b0319811681146107ce57600080fdfeb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201e287bb0d0eb59e6c4a520ed2de33fc7c1e0f89526063869cc144541db67c28c64736f6c63430008040033b19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214ec24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05ea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177500000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000059682f000000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000094b69636b546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b49434b00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102d65760003560e01c806370a0823111610182578063aad41a41116100e9578063d505accf116100a2578063dceb67831161007c578063dceb678314610666578063dd62ed3e14610679578063e0f75878146106b2578063e58378bb146106c557600080fd5b8063d505accf1461062d578063d547741f14610640578063d8fbe9941461065357600080fd5b8063aad41a41146105a2578063bb1570da146105b5578063c0a54129146105c8578063c1718ebb146105f4578063c1d34b8914610607578063cae9ca511461061a57600080fd5b806391d148541161013b57806391d148541461054657806395d89b4114610559578063a217fddf14610561578063a3a7e7f314610569578063a457c2d71461057c578063a9059cbb1461058f57600080fd5b806370a08231146104c057806375b238fc146104d357806379cc6790146104fa5780637ecebe001461050d57806384d4b4101461052057806391c05b0b1461053357600080fd5b80632f2ff15d116102415780634000aea0116101fa5780634549b039116101d45780634549b0391461048757806348f2090b1461049a57806357d040ce146104a25780635c975abb146104b557600080fd5b80634000aea01461044e57806342966c681461046157806342abf5d81461047457600080fd5b80632f2ff15d146103e5578063313ce567146103f85780633177029f1461040d5780633644e5151461042057806336568abe14610428578063395093511461043b57600080fd5b80631296ee62116102935780631296ee621461036e57806318160ddd1461038157806323b872dd14610389578063248a9ca31461039c578063273a59bb146103bf5780632d838119146103d257600080fd5b806301ffc9a7146102db57806303807ee51461030357806306fdde0314610315578063075712b81461032a578063095ea7b314610351578063096a2e3214610364575b600080fd5b6102ee6102e9366004612b2f565b6106da565b60405190151581526020015b60405180910390f35b600e545b6040519081526020016102fa565b61031d6106fa565b6040516102fa9190612c9b565b6103077fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e81565b6102ee61035f36600461299a565b61078c565b61036c6107a2565b005b6102ee61037c36600461299a565b6107d9565b600954610307565b6102ee610397366004612888565b6107fc565b6103076103aa366004612af5565b60009081526007602052604090206001015490565b61036c6103cd36600461283c565b6108b2565b6103076103e0366004612af5565b61098f565b61036c6103f3366004612b0d565b610a0c565b60085460405160ff90911681526020016102fa565b6102ee61041b36600461299a565b610a37565b610307610a53565b61036c610436366004612b0d565b610a62565b6102ee61044936600461299a565b610ae0565b6102ee61045c3660046129c3565b610b17565b61036c61046f366004612af5565b610b56565b61036c61048236600461299a565b610b60565b610307610495366004612b67565b610be4565b600d54610307565b61036c6104b036600461283c565b610c88565b60065460ff166102ee565b6103076104ce36600461283c565b610d69565b6103077fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b61036c61050836600461299a565b610d8b565b61030761051b36600461283c565b610dfd565b6102ee61052e366004612856565b610e1b565b61036c610541366004612af5565b610ebe565b6102ee610554366004612b0d565b610ec8565b61031d610ef3565b610307600081565b6102ee61057736600461283c565b610f02565b6102ee61058a36600461299a565b610f30565b6102ee61059d36600461299a565b610fc1565b61036c6105b0366004612a18565b610fce565b61036c6105c3366004612af5565b6111d5565b6102ee6105d636600461283c565b6001600160a01b03166000908152600c602052604090205460ff1690565b6102ee610602366004612888565b611281565b6102ee6106153660046128c3565b611327565b6102ee6106283660046129c3565b611365565b61036c61063b366004612929565b6113d7565b61036c61064e366004612b0d565b61153b565b6102ee610661366004612888565b611561565b61036c610674366004612af5565b61157e565b610307610687366004612856565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61036c6106c0366004612af5565b6115b2565b610307600080516020612ea483398151915281565b60006106e582611656565b806106f457506106f482611677565b92915050565b60606003805461070990612dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461073590612dfe565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b60006107993384846116ac565b50600192915050565b600080516020612ea48339815191526107bb81336117d0565b60065460ff16156107d1576107ce611834565b50565b6107ce6118c7565b60006107f5838360405180602001604052806000815250610b17565b9392505050565b6000610809848484611942565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108935760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6108a785336108a28685612da0565b6116ac565b506001949350505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756108dd81336117d0565b6001600160a01b0382166000908152600c602052604090205460ff166109455760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e74206973206e6f74206e6f20696e636f6d652066656500000000604482015260640161088a565b6001600160a01b0382166000818152600c6020526040808220805460ff19169055517fac1698a655d2c3786e57c633244e8e395705a2e3d8d67d34f52c630b04c8f1909190a25050565b6000600a548211156109f65760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161088a565b6000610a00611aba565b90506107f58184612d61565b600082815260076020526040902060010154610a2881336117d0565b610a328383611acc565b505050565b60006107f5838360405180602001604052806000815250611365565b6000610a5d611b52565b905090565b6001600160a01b0381163314610ad25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161088a565b610adc8282611c45565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107999185906108a2908690612d49565b6000610b238484610fc1565b50610b3033858585611cac565b610b4c5760405162461bcd60e51b815260040161088a90612cae565b5060019392505050565b6107ce3382611d6a565b6000610b6c8333610687565b905081811015610bca5760405162461bcd60e51b815260206004820152602360248201527f6469737472696275746520616d6f756e74206578636565647320616c6c6f77616044820152626e636560e81b606482015260840161088a565b610bda83335b6108a28585612da0565b610a328383611eec565b6000600954831115610c385760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161088a565b81610c55576000610c4884611f88565b509193506106f492505050565b6000610c6084612002565b9150506000610c6e85611f88565b50509150508181610c7f9190612da0565b925050506106f4565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610cb381336117d0565b6001600160a01b0382166000908152600c602052604090205460ff1615610d1c5760405162461bcd60e51b815260206004820181905260248201527f4163636f756e7420697320616c7265616479206e6f20696e636f6d6520666565604482015260640161088a565b6001600160a01b0382166000818152600c6020526040808220805460ff19166001179055517ff584a6323656320dd07832ee936eaae1132fee373f93287ebc89138aa985e2289190a25050565b6001600160a01b0381166000908152600b60205260408120546106f49061098f565b6000610d978333610687565b905081811015610de95760405162461bcd60e51b815260206004820152601d60248201527f6275726e20616d6f756e74206578636565647320616c6c6f77616e6365000000604482015260640161088a565b610df38333610bd0565b610a328383611d6a565b6001600160a01b0381166000908152600560205260408120546106f4565b6001600160a01b0382166000908152600b60205260408120548190610e3f9061098f565b90506000610e4d8533610687565b905081811015610ea95760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b606482015260840161088a565b610eb38533610bd0565b6108a7858584611942565b6107ce3382611eec565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461070990612dfe565b336000818152600b60205260408120549091610f28918490610f239061098f565b611942565b506001919050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610fb25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161088a565b610b4c33856108a28685612da0565b6000610799338484611942565b600080516020612ea4833981519152610fe781336117d0565b60c8835111156110395760405162461bcd60e51b815260206004820152601860248201527f4d6f7265207468616e2032303020726563697069656e74730000000000000000604482015260640161088a565b6000806000611046611aba565b905060005b86518160ff1610156111a85781868260ff168151811061107b57634e487b7160e01b600052603260045260246000fd5b602002602001015161108d9190612d81565b92506110998385612d49565b935082600b6000898460ff16815181106110c357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546110fa9190612d49565b92505081905550868160ff168151811061112457634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031661113c3390565b6001600160a01b0316600080516020612ec4833981519152888460ff168151811061117757634e487b7160e01b600052603260045260246000fd5b602002602001015160405161118e91815260200190565b60405180910390a3806111a081612e33565b91505061104b565b336000908152600b6020526040812080548692906111c7908490612da0565b909155505050505050505050565b600080516020612ea48339815191526111ee81336117d0565b81600a11158015611200575060648211155b6112445760405162461bcd60e51b81526020600482015260156024820152741a5b98dbdc9c9958dd08199959481c195c98d95b9d605a1b604482015260640161088a565b600e8290556040518281527f9c4d4a96ad61cc9806d0a9c6ca3f7cb937f84b6139ceb5e7e8b8fcd4cd75f72b906020015b60405180910390a15050565b6000600080516020612ea483398151915261129c81336117d0565b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb90604401602060405180830381600087803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131e9190612ad9565b95945050505050565b60006113348585856107fc565b5061134185858585611cac565b6108a75760405162461bcd60e51b815260040161088a90612cae565b949350505050565b6000611371848461078c565b5061137d848484612049565b610b4c5760405162461bcd60e51b815260206004820152602560248201527f455243313336333a205f636865636b416e6443616c6c417070726f7665207265604482015264766572747360d81b606482015260840161088a565b834211156114275760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161088a565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114568c612104565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006114b18261212c565b905060006114c18287878761217a565b9050896001600160a01b0316816001600160a01b0316146115245760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161088a565b61152f8a8a8a6116ac565b50505050505050505050565b60008281526007602052604090206001015461155781336117d0565b610a328383611c45565b600061135d84848460405180602001604052806000815250611327565b600080516020612ea483398151915261159781336117d0565b81600960008282546115a99190612d61565b90915550505050565b600080516020612ea48339815191526115cb81336117d0565b81600a111580156115dd575060648211155b6116215760405162461bcd60e51b81526020600482015260156024820152741a5b98dbdc9c9958dd08199959481c195c98d95b9d605a1b604482015260640161088a565b600d8290556040518281527f1bb40e101b838ce86d0a4fd7b83314160e1541bf5a63792c183503948620759390602001611275565b60006001600160e01b03198216637965db0b60e01b14806106f457506106f4825b60006001600160e01b0319821663b0202a1160e01b14806106f457506301ffc9a760e01b6001600160e01b03198316146106f4565b6001600160a01b03831661170e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161088a565b6001600160a01b03821661176f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161088a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6117da8282610ec8565b610adc576117f2816001600160a01b0316601461231a565b6117fd83602061231a565b60405160200161180e929190612bc2565b60408051601f198184030181529082905262461bcd60e51b825261088a91600401612c9b565b60065460ff1661187d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161088a565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff161561190d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161088a565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118aa3390565b60065460ff16156119bd576119777fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e33610ec8565b6119bd5760405162461bcd60e51b815260206004820152601760248201527631b0b713ba103832b93337b9369030b71030b1ba34b7b760491b604482015260640161088a565b6001600160a01b038316611a215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161088a565b6001600160a01b038216611a835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161088a565b6001600160a01b0382166000908152600c602052604090205460ff1615611aaf57610a328383836124fc565b610a328383836125b7565b6000600954600a54610a5d9190612d61565b611ad68282610ec8565b610adc5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611b0e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415611ba157507f481fa90539aa0032eccd6d1931eabed3af96cf64b04ba375b3d846707e613e3690565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527ffb14d33ae284899b2df133157a90ef17fe329c7436a936ce10b67fcab462bd23828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b611c4f8282610ec8565b15610adc5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006001600160a01b0384163b611cc55750600061135d565b604051632229f29760e21b81526000906001600160a01b038616906388a7ca5c90611cfa9033908a9089908990600401612c37565b602060405180830381600087803b158015611d1457600080fd5b505af1158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612b4b565b6001600160e01b031916632229f29760e21b14915050949350505050565b60065460ff1615611de557611d9f7fc24cfa5314916b96e49dc74c6fac529da5396cc35793f132cc09dbaab140f05e33610ec8565b611de55760405162461bcd60e51b815260206004820152601760248201527631b0b713ba103832b93337b9369030b71030b1ba34b7b760491b604482015260640161088a565b6001600160a01b038216611e3b5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f2061646472657373000000000000604482015260640161088a565b6000611e45611aba565b90506000611e538284612d81565b6001600160a01b0385166000908152600b6020526040812080549293508392909190611e80908490612da0565b9250508190555080600a6000828254611e999190612da0565b925050819055508260096000828254611eb29190612da0565b90915550506040518381526000906001600160a01b03861690600080516020612ec48339815191529060200160405180910390a350505050565b6000611ef782611f88565b5050506001600160a01b0384166000908152600b6020526040812080549293508392909190611f27908490612da0565b9250508190555080600a6000828254611f409190612da0565b90915550506040518281526001600160a01b038416907f33ad5d6b2a46b5457e0d36286a2686a0390b0821dedbbdf8dcdcda64f4782c689060200160405180910390a2505050565b60008060008060006103e8600d5487611fa19190612d81565b611fab9190612d61565b90506000611fb98288612da0565b90506000611fc5611aba565b90506000611fd3828a612d81565b90506000611fe18386612d81565b90506000611fef8284612da0565b929b929a50909850929650945050505050565b60008060006103e8600e54856120189190612d81565b6120229190612d61565b9050600061202e611aba565b9050600061203c8284612d81565b9296929550919350505050565b60006001600160a01b0384163b612062575060006107f5565b6040516307b04a2d60e41b81526000906001600160a01b03861690637b04a2d09061209590339088908890600401612c74565b602060405180830381600087803b1580156120af57600080fd5b505af11580156120c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e79190612b4b565b6001600160e01b0319166307b04a2d60e41b149150509392505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b60006106f4612139611b52565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156121f75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161088a565b8360ff16601b148061220c57508360ff16601c145b6122635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161088a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156122b7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661131e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161088a565b60606000612329836002612d81565b612334906002612d49565b67ffffffffffffffff81111561235a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612384576020820181803683370190505b509050600360fc1b816000815181106123ad57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123ea57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061240e846002612d81565b612419906001612d49565b90505b60018111156124ad576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061245b57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061247f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936124a681612de7565b905061241c565b5083156107f55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161088a565b6000612506611aba565b905060006125148284612d81565b6001600160a01b0386166000908152600b6020526040812080549293508392909190612541908490612da0565b90915550506001600160a01b0384166000908152600b60205260408120805483929061256e908490612d49565b92505081905550836001600160a01b0316856001600160a01b0316600080516020612ec4833981519152856040516125a891815260200190565b60405180910390a35050505050565b6000806125c383612002565b9150915081600960008282546125d99190612da0565b9250508190555080600a60008282546125f29190612da0565b909155506000905080808061260687611f88565b6001600160a01b038d166000908152600b60205260408120805495995093975091955093508692612638908490612da0565b9091555061264890508584612da0565b6001600160a01b0389166000908152600b602052604081208054909190612670908490612d49565b9250508190555081600a60008282546126899190612da0565b90915550506001600160a01b03808916908a16600080516020612ec48339815191526126b58985612da0565b60405190815260200160405180910390a36040518681526000906001600160a01b038b1690600080516020612ec48339815191529060200160405180910390a36001600160a01b0389167f33ad5d6b2a46b5457e0d36286a2686a0390b0821dedbbdf8dcdcda64f4782c6861272a838a612da0565b60405190815260200160405180910390a2505050505050505050565b80356001600160a01b038116811461275d57600080fd5b919050565b600082601f830112612772578081fd5b8135602061278761278283612d25565b612cf4565b80838252828201915082860187848660051b89010111156127a6578586fd5b855b858110156127c4578135845292840192908401906001016127a8565b5090979650505050505050565b600082601f8301126127e1578081fd5b813567ffffffffffffffff8111156127fb576127fb612e69565b61280e601f8201601f1916602001612cf4565b818152846020838601011115612822578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561284d578081fd5b6107f582612746565b60008060408385031215612868578081fd5b61287183612746565b915061287f60208401612746565b90509250929050565b60008060006060848603121561289c578081fd5b6128a584612746565b92506128b360208501612746565b9150604084013590509250925092565b600080600080608085870312156128d8578081fd5b6128e185612746565b93506128ef60208601612746565b925060408501359150606085013567ffffffffffffffff811115612911578182fd5b61291d878288016127d1565b91505092959194509250565b600080600080600080600060e0888a031215612943578283fd5b61294c88612746565b965061295a60208901612746565b95506040880135945060608801359350608088013560ff8116811461297d578384fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156129ac578182fd5b6129b583612746565b946020939093013593505050565b6000806000606084860312156129d7578283fd5b6129e084612746565b925060208401359150604084013567ffffffffffffffff811115612a02578182fd5b612a0e868287016127d1565b9150509250925092565b60008060408385031215612a2a578182fd5b823567ffffffffffffffff80821115612a41578384fd5b818501915085601f830112612a54578384fd5b81356020612a6461278283612d25565b8083825282820191508286018a848660051b8901011115612a83578889fd5b8896505b84871015612aac57612a9881612746565b835260019690960195918301918301612a87565b5096505086013592505080821115612ac2578283fd5b50612acf85828601612762565b9150509250929050565b600060208284031215612aea578081fd5b81516107f581612e7f565b600060208284031215612b06578081fd5b5035919050565b60008060408385031215612b1f578182fd5b8235915061287f60208401612746565b600060208284031215612b40578081fd5b81356107f581612e8d565b600060208284031215612b5c578081fd5b81516107f581612e8d565b60008060408385031215612b79578182fd5b823591506020830135612b8b81612e7f565b809150509250929050565b60008151808452612bae816020860160208601612db7565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612bfa816017850160208801612db7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c2b816028840160208801612db7565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c6a90830184612b96565b9695505050505050565b60018060a01b038416815282602082015260606040820152600061131e6060830184612b96565b6020815260006107f56020830184612b96565b60208082526026908201527f455243313336333a205f636865636b416e6443616c6c5472616e73666572207260408201526565766572747360d01b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d1d57612d1d612e69565b604052919050565b600067ffffffffffffffff821115612d3f57612d3f612e69565b5060051b60200190565b60008219821115612d5c57612d5c612e53565b500190565b600082612d7c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612d9b57612d9b612e53565b500290565b600082821015612db257612db2612e53565b500390565b60005b83811015612dd2578181015183820152602001612dba565b83811115612de1576000848401525b50505050565b600081612df657612df6612e53565b506000190190565b600181811c90821680612e1257607f821691505b6020821081141561212657634e487b7160e01b600052602260045260246000fd5b600060ff821660ff811415612e4a57612e4a612e53565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107ce57600080fd5b6001600160e01b0319811681146107ce57600080fdfeb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201e287bb0d0eb59e6c4a520ed2de33fc7c1e0f89526063869cc144541db67c28c64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000059682f000000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000094b69636b546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044b49434b00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): KickToken
Arg [1] : ticker (string): KICK
Arg [2] : decimal (uint8): 10
Arg [3] : tTotal (uint256): 1500000000
Arg [4] : dPercent (uint256): 50
Arg [5] : bPercent (uint256): 50

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 0000000000000000000000000000000000000000000000000000000059682f00
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 4b69636b546f6b656e0000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4b49434b00000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.