ETH Price: $1,981.31 (-4.52%)
 

Overview

Max Total Supply

210,000,461.53 PLTL

Holders

4

Transfers

-
0

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Ploutos

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Ploutos is ERC20Capped, ReentrancyGuard {
    uint256 public constant maxSupply = 21000046153 * 10 ** 7;

    Distributor public distibutor;

    constructor(
        address _admin
    ) ERC20("PLOUTOS", "PLTL") ERC20Capped(maxSupply) {
        require(_admin != address(0), "Invalid admin address");
        distibutor = new Distributor(address(this), msg.sender, _admin);
        _mint(_admin, 70000000 * 10 ** 9);
        _mint(address(distibutor), 14000046153 * 10 ** 7);
    }

    function decimals() public pure override returns (uint8) {
        return 9;
    }
}

contract Distributor is ReentrancyGuard, Ownable {
    struct Allocation {
        uint256 totalAmount;
        uint256 claimedAmount;
        uint256 nextClaimTime;
    }

    uint256 public constant DAY30 = 30 days;
    uint256 public presaleRate; // PLTL per ETH
    uint256 public unclaimedAllocation;

    bool public presaleActive = true;
    
    address public admin;
    Ploutos public token;

    mapping(address => Allocation[]) public allocations;

    event AirdropClaimed(address indexed user, uint256 amount);
    event PresalePurchased(address indexed user, uint256 amount);
    event AllocationClaimed(address indexed user, uint256 amount);
    event PresaleRateChanged(uint256 newRate);
    event PresaleStatusChanged(bool isActive);
    event AllocationIncreased(address indexed user, uint256 amount);

    modifier isAdministrator() {
        require(msg.sender == admin || msg.sender == owner(), "ACCESS DENIED");
        _;
    }

    constructor(address _token, address _deployer, address _admin) Ownable(_deployer) {
        token = Ploutos(_token);
        admin = _admin;
    }

    function buyPrivateSale() external payable nonReentrant {
        require(presaleActive, "Private sale is not active");
        require(presaleRate > 0, "Private sale is not set");
        uint256 amount = (msg.value * presaleRate) / (1 ether);
        uint256 immediateAmount = amount / 100;

        require(
            token.balanceOf(address(this)) >=
                unclaimedAllocation + amount,
            "NOT ENOUGH TOKEN IN DISTRIBUTOR"
        );

        payable(admin).transfer(msg.value);

        allocations[msg.sender].push(
            Allocation({
                totalAmount: amount,
                claimedAmount: immediateAmount,
                nextClaimTime: block.timestamp + DAY30
            })
        );

        unclaimedAllocation += (amount - immediateAmount);

        token.transfer(msg.sender, immediateAmount);
        emit PresalePurchased(msg.sender, amount);
    }

    function claimAllocation(uint index) external nonReentrant {
        require(index < allocations[msg.sender].length, "Invalid index");
        Allocation storage allocation = allocations[msg.sender][index];
        require(
            block.timestamp >= allocation.nextClaimTime,
            "Claim not yet available"
        );

        uint256 periodsElapsed = 1 +
            ((block.timestamp - allocation.nextClaimTime) / DAY30);
        if (periodsElapsed > 0) {
            // Calculate the claimable amount based on the periods elapsed
            uint256 claimable = (allocation.totalAmount * periodsElapsed) / 100;
            if (
                claimable > (allocation.totalAmount - allocation.claimedAmount)
            ) {
                claimable = allocation.totalAmount - allocation.claimedAmount;
            }
            require(claimable > 0, "No claimable amount");

            allocation.claimedAmount += claimable;

            // Update the next claim time by adding the elapsed time (periods * DAY30)
            allocation.nextClaimTime += periodsElapsed * DAY30;

            token.transfer(msg.sender, claimable);
            unclaimedAllocation -= claimable;
            emit AllocationClaimed(msg.sender, claimable);
        } else {
            revert("No elapsed periods");
        }
    }

    function setPresaleRate(uint256 _rate) isAdministrator external {
        presaleRate = _rate;
        emit PresaleRateChanged(_rate);
    }

    function startStopPrivateSale(bool _status) isAdministrator external {
        presaleActive = _status;
        emit PresaleStatusChanged(_status);
    }

    function giveAllocation(address user, uint256 amount) isAdministrator external {
        require(
            token.balanceOf(address(this)) >= unclaimedAllocation + amount,
            "NOT ENOUGH TOKEN IN DISTRIBUTOR"
        );

        Allocation memory newAllocation = Allocation({
            totalAmount: amount,
            claimedAmount: 0,
            nextClaimTime: block.timestamp
        });

        unclaimedAllocation += amount;
        allocations[user].push(newAllocation);

        emit AllocationIncreased(user, amount);
    }

    function allocationLen(address user) external view returns (uint256) {
        return allocations[user].length;
    }

    function allocationInfo(
        address user,
        uint256 index
    )
        external
        view
        returns (
            uint256 totalAmount,
            uint256 claimedAmount,
            uint256 nextClaimTime
        )
    {
        totalAmount = allocations[user][index].totalAmount;
        claimedAmount = allocations[user][index].claimedAmount;
        nextClaimTime = allocations[user][index].nextClaimTime;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Capped.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Total supply cap has been exceeded.
     */
    error ERC20ExceededCap(uint256 increasedSupply, uint256 cap);

    /**
     * @dev The supplied cap is not a valid cap.
     */
    error ERC20InvalidCap(uint256 cap);

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        if (cap_ == 0) {
            revert ERC20InvalidCap(0);
        }
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_update}.
     */
    function _update(address from, address to, uint256 value) internal virtual override {
        super._update(from, to, value);

        if (from == address(0)) {
            uint256 maxSupply = cap();
            uint256 supply = totalSupply();
            if (supply > maxSupply) {
                revert ERC20ExceededCap(supply, maxSupply);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"increasedSupply","type":"uint256"},{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20ExceededCap","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20InvalidCap","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"distibutor","outputs":[{"internalType":"contract Distributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162003dbe38038062003dbe833981810160405281019062000037919062000682565b6702ea124ea029ea806040518060400160405280600781526020017f504c4f55544f53000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504c544c000000000000000000000000000000000000000000000000000000008152508160039081620000bd91906200092e565b508060049081620000cf91906200092e565b505050600081036200011b5760006040517f392e1e2700000000000000000000000000000000000000000000000000000000815260040162000112919062000a58565b60405180910390fd5b8060808181525050506001600581905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200019e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001959062000ad6565b60405180910390fd5b303382604051620001af906200060a565b620001bd9392919062000b09565b604051809103906000f080158015620001da573d6000803e3d6000fd5b50600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002348166f8b0a10e4700006200027760201b60201c565b62000270600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166701f161ad91e2ea806200027760201b60201c565b5062000c65565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002ec5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002e3919062000b46565b60405180910390fd5b62000300600083836200030460201b60201c565b5050565b62000317838383620003c660201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003c15760006200035e620005f660201b60201c565b90506000620003726200060060201b60201c565b905081811115620003be5780826040517f9e79f854000000000000000000000000000000000000000000000000000000008152600401620003b592919062000b74565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200041c5780600260008282546200040f919062000bd0565b92505081905550620004f2565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620004ab578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620004a29392919062000c0b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200053d57806002600082825403925050819055506200058a565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005e9919062000c48565b60405180910390a3505050565b6000608051905090565b6000600254905090565b6120ca8062001cf483390190565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200064a826200061d565b9050919050565b6200065c816200063d565b81146200066857600080fd5b50565b6000815190506200067c8162000651565b92915050565b6000602082840312156200069b576200069a62000618565b5b6000620006ab848285016200066b565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200073657607f821691505b6020821081036200074c576200074b620006ee565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007b67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000777565b620007c2868362000777565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200080f620008096200080384620007da565b620007e4565b620007da565b9050919050565b6000819050919050565b6200082b83620007ee565b620008436200083a8262000816565b84845462000784565b825550505050565b600090565b6200085a6200084b565b6200086781848462000820565b505050565b5b818110156200088f576200088360008262000850565b6001810190506200086d565b5050565b601f821115620008de57620008a88162000752565b620008b38462000767565b81016020851015620008c3578190505b620008db620008d28562000767565b8301826200086c565b50505b505050565b600082821c905092915050565b60006200090360001984600802620008e3565b1980831691505092915050565b60006200091e8383620008f0565b9150826002028217905092915050565b6200093982620006b4565b67ffffffffffffffff811115620009555762000954620006bf565b5b6200096182546200071d565b6200096e82828562000893565b600060209050601f831160018114620009a6576000841562000991578287015190505b6200099d858262000910565b86555062000a0d565b601f198416620009b68662000752565b60005b82811015620009e057848901518255600182019150602085019450602081019050620009b9565b8683101562000a005784890151620009fc601f891682620008f0565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b600062000a4062000a3a62000a348462000a15565b620007e4565b620007da565b9050919050565b62000a528162000a1f565b82525050565b600060208201905062000a6f600083018462000a47565b92915050565b600082825260208201905092915050565b7f496e76616c69642061646d696e20616464726573730000000000000000000000600082015250565b600062000abe60158362000a75565b915062000acb8262000a86565b602082019050919050565b6000602082019050818103600083015262000af18162000aaf565b9050919050565b62000b03816200063d565b82525050565b600060608201905062000b20600083018662000af8565b62000b2f602083018562000af8565b62000b3e604083018462000af8565b949350505050565b600060208201905062000b5d600083018462000af8565b92915050565b62000b6e81620007da565b82525050565b600060408201905062000b8b600083018562000b63565b62000b9a602083018462000b63565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000bdd82620007da565b915062000bea83620007da565b925082820190508082111562000c055762000c0462000ba1565b5b92915050565b600060608201905062000c22600083018662000af8565b62000c31602083018562000b63565b62000c40604083018462000b63565b949350505050565b600060208201905062000c5f600083018462000b63565b92915050565b60805161107362000c81600039600061039c01526110736000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063355274ea11610071578063355274ea1461019157806370a08231146101af57806395d89b41146101df578063a9059cbb146101fd578063d5abeb011461022d578063dd62ed3e1461024b576100b4565b8063048f06ce146100b957806306fdde03146100d7578063095ea7b3146100f557806318160ddd1461012557806323b872dd14610143578063313ce56714610173575b600080fd5b6100c161027b565b6040516100ce9190610c13565b60405180910390f35b6100df6102a1565b6040516100ec9190610cbe565b60405180910390f35b61010f600480360381019061010a9190610d59565b610333565b60405161011c9190610db4565b60405180910390f35b61012d610356565b60405161013a9190610dde565b60405180910390f35b61015d60048036038101906101589190610df9565b610360565b60405161016a9190610db4565b60405180910390f35b61017b61038f565b6040516101889190610e68565b60405180910390f35b610199610398565b6040516101a69190610dde565b60405180910390f35b6101c960048036038101906101c49190610e83565b6103c0565b6040516101d69190610dde565b60405180910390f35b6101e7610408565b6040516101f49190610cbe565b60405180910390f35b61021760048036038101906102129190610d59565b61049a565b6040516102249190610db4565b60405180910390f35b6102356104bd565b6040516102429190610dde565b60405180910390f35b61026560048036038101906102609190610eb0565b6104c9565b6040516102729190610dde565b60405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546102b090610f1f565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc90610f1f565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b5050505050905090565b60008061033e610550565b905061034b818585610558565b600191505092915050565b6000600254905090565b60008061036b610550565b905061037885828561056a565b6103838585856105fe565b60019150509392505050565b60006009905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461041790610f1f565b80601f016020809104026020016040519081016040528092919081815260200182805461044390610f1f565b80156104905780601f1061046557610100808354040283529160200191610490565b820191906000526020600020905b81548152906001019060200180831161047357829003601f168201915b5050505050905090565b6000806104a5610550565b90506104b28185856105fe565b600191505092915050565b6702ea124ea029ea8081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b61056583838360016106f2565b505050565b600061057684846104c9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105f857818110156105e8578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016105df93929190610f5f565b60405180910390fd5b6105f7848484840360006106f2565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106705760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106679190610f96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106e25760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106d99190610f96565b60405180910390fd5b6106ed8383836108c9565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107645760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161075b9190610f96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107d65760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107cd9190610f96565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108c3578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108ba9190610dde565b60405180910390a35b50505050565b6108d483838361096f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361096a576000610912610398565b9050600061091e610356565b9050818111156109675780826040517f9e79f85400000000000000000000000000000000000000000000000000000000815260040161095e929190610fb1565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c15780600260008282546109b59190611009565b92505081905550610a94565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a4d578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610a4493929190610f5f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610add5780600260008282540392505081905550610b2a565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b879190610dde565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610bd9610bd4610bcf84610b94565b610bb4565b610b94565b9050919050565b6000610beb82610bbe565b9050919050565b6000610bfd82610be0565b9050919050565b610c0d81610bf2565b82525050565b6000602082019050610c286000830184610c04565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610c68578082015181840152602081019050610c4d565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c9082610c2e565b610c9a8185610c39565b9350610caa818560208601610c4a565b610cb381610c74565b840191505092915050565b60006020820190508181036000830152610cd88184610c85565b905092915050565b600080fd5b6000610cf082610b94565b9050919050565b610d0081610ce5565b8114610d0b57600080fd5b50565b600081359050610d1d81610cf7565b92915050565b6000819050919050565b610d3681610d23565b8114610d4157600080fd5b50565b600081359050610d5381610d2d565b92915050565b60008060408385031215610d7057610d6f610ce0565b5b6000610d7e85828601610d0e565b9250506020610d8f85828601610d44565b9150509250929050565b60008115159050919050565b610dae81610d99565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b610dd881610d23565b82525050565b6000602082019050610df36000830184610dcf565b92915050565b600080600060608486031215610e1257610e11610ce0565b5b6000610e2086828701610d0e565b9350506020610e3186828701610d0e565b9250506040610e4286828701610d44565b9150509250925092565b600060ff82169050919050565b610e6281610e4c565b82525050565b6000602082019050610e7d6000830184610e59565b92915050565b600060208284031215610e9957610e98610ce0565b5b6000610ea784828501610d0e565b91505092915050565b60008060408385031215610ec757610ec6610ce0565b5b6000610ed585828601610d0e565b9250506020610ee685828601610d0e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610f3757607f821691505b602082108103610f4a57610f49610ef0565b5b50919050565b610f5981610ce5565b82525050565b6000606082019050610f746000830186610f50565b610f816020830185610dcf565b610f8e6040830184610dcf565b949350505050565b6000602082019050610fab6000830184610f50565b92915050565b6000604082019050610fc66000830185610dcf565b610fd36020830184610dcf565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061101482610d23565b915061101f83610d23565b925082820190508082111561103757611036610fda565b5b9291505056fea2646970667358221220d03dd0e631eeec08dda61006b228c86e3b954ee593e290f0cd63e0d5fd4bca6e64736f6c6343000818003360806040526001600460006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620020ca380380620020ca83398181016040528101906200005291906200029d565b816001600081905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000d05760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000c791906200030a565b60405180910390fd5b620000e1816200016d60201b60201c565b5082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000327565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002658262000238565b9050919050565b620002778162000258565b81146200028357600080fd5b50565b60008151905062000297816200026c565b92915050565b600080600060608486031215620002b957620002b862000233565b5b6000620002c98682870162000286565b9350506020620002dc8682870162000286565b9250506040620002ef8682870162000286565b9150509250925092565b620003048162000258565b82525050565b6000602082019050620003216000830184620002f9565b92915050565b611d9380620003376000396000f3fe6080604052600436106100fe5760003560e01c80637c4c668511610095578063e887eec711610064578063e887eec714610308578063f2fde38b14610331578063f449ffe41461035a578063f851a44014610383578063fc0c546a146103ae576100fe565b80637c4c66851461026b578063814a2317146102755780638da5cb5b146102a0578063e7dd4753146102cb576100fe565b806345d0c755116100d157806345d0c755146101d557806353135ca0146101fe578063715018a6146102295780637817151e14610240576100fe565b8063010bc33c146101035780630495525a14610142578063398f46c61461016b57806342f39381146101aa575b600080fd5b34801561010f57600080fd5b5061012a600480360381019061012591906115a9565b6103d9565b604051610139939291906115f8565b60405180910390f35b34801561014e57600080fd5b5061016960048036038101906101649190611667565b610420565b005b34801561017757600080fd5b50610192600480360381019061018d91906115a9565b610541565b6040516101a1939291906115f8565b60405180910390f35b3480156101b657600080fd5b506101bf61067c565b6040516101cc9190611694565b60405180910390f35b3480156101e157600080fd5b506101fc60048036038101906101f791906116af565b610682565b005b34801561020a57600080fd5b50610213610a1e565b60405161022091906116eb565b60405180910390f35b34801561023557600080fd5b5061023e610a31565b005b34801561024c57600080fd5b50610255610a45565b6040516102629190611694565b60405180910390f35b610273610a4c565b005b34801561028157600080fd5b5061028a610e42565b6040516102979190611694565b60405180910390f35b3480156102ac57600080fd5b506102b5610e48565b6040516102c29190611715565b60405180910390f35b3480156102d757600080fd5b506102f260048036038101906102ed9190611730565b610e72565b6040516102ff9190611694565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a91906115a9565b610ebe565b005b34801561033d57600080fd5b5061035860048036038101906103539190611730565b61118b565b005b34801561036657600080fd5b50610381600480360381019061037c91906116af565b611211565b005b34801561038f57600080fd5b5061039861131f565b6040516103a59190611715565b60405180910390f35b3480156103ba57600080fd5b506103c3611345565b6040516103d091906117bc565b60405180910390f35b600660205281600052604060002081815481106103f557600080fd5b9060005260206000209060030201600091509150508060000154908060010154908060020154905083565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104ae575061047f610e48565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6104ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e490611834565b60405180910390fd5b80600460006101000a81548160ff0219169083151502179055507f1f1a6b0fcc71315f2c3aeddbd1f6d527595d21eea9b73160e78d6fa49b7897a68160405161053691906116eb565b60405180910390a150565b6000806000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061059757610596611854565b5b9060005260206000209060030201600001549250600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106105fc576105fb611854565b5b9060005260206000209060030201600101549150600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061066157610660611854565b5b90600052602060002090600302016002015490509250925092565b60025481565b61068a61136b565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061070e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610705906118cf565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061076157610760611854565b5b9060005260206000209060030201905080600201544210156107b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107af9061193b565b60405180910390fd5b600062278d008260020154426107ce919061198a565b6107d891906119ed565b60016107e49190611a1e565b905060008111156109d657600060648284600001546108039190611a52565b61080d91906119ed565b905082600101548360000154610823919061198a565b811115610841578260010154836000015461083e919061198a565b90505b60008111610884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087b90611ae0565b60405180910390fd5b808360010160008282546108989190611a1e565b9250508190555062278d00826108ae9190611a52565b8360020160008282546108c19190611a1e565b92505081905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610925929190611b00565b6020604051808303816000875af1158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109689190611b3e565b50806003600082825461097b919061198a565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f1747857504b94e5be51b1fe4b467e5d2daa63a0d21577089a13fa99f9414dcc8826040516109c89190611694565b60405180910390a250610a11565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0890611bb7565b60405180910390fd5b5050610a1b6113b1565b50565b600460009054906101000a900460ff1681565b610a396113bb565b610a436000611442565b565b62278d0081565b610a5461136b565b600460009054906101000a900460ff16610aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9a90611c23565b60405180910390fd5b600060025411610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90611c8f565b60405180910390fd5b6000670de0b6b3a764000060025434610b019190611a52565b610b0b91906119ed565b90506000606482610b1c91906119ed565b905081600354610b2c9190611a1e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b879190611715565b602060405180830381865afa158015610ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc89190611cc4565b1015610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0090611d3d565b60405180910390fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610c71573d6000803e3d6000fd5b50600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806060016040528084815260200183815260200162278d0042610cd79190611a1e565b815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000155602082015181600101556040820151816002015550508082610d2f919061198a565b60036000828254610d409190611a1e565b92505081905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610da4929190611b00565b6020604051808303816000875af1158015610dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de79190611b3e565b503373ffffffffffffffffffffffffffffffffffffffff167fb24c04ceb37e2bcfd2e872bdd0ee58c2352aac1adb65262c06ddc47a716b890383604051610e2e9190611694565b60405180910390a25050610e406113b1565b565b60035481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f4c5750610f1d610e48565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8290611834565b60405180910390fd5b80600354610f999190611a1e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ff49190611715565b602060405180830381865afa158015611011573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110359190611cc4565b1015611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90611d3d565b60405180910390fd5b600060405180606001604052808381526020016000815260200142815250905081600360008282546110a89190611a1e565b92505081905550600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000155602082015181600101556040820151816002015550508273ffffffffffffffffffffffffffffffffffffffff167fcddfbeca0b87c7d6c37255d733eb9d5ec52b4513bcd358b48c9390a12b25cf948360405161117e9190611694565b60405180910390a2505050565b6111936113bb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112055760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016111fc9190611715565b60405180910390fd5b61120e81611442565b50565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061129f5750611270610e48565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d590611834565b60405180910390fd5b806002819055507f87f928b7f95d10a3858fee9ccb7a0ae74f74ffe117f944d693b2dd4b8c8dc1ce816040516113149190611694565b60405180910390a150565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600054036113a7576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600081905550565b6001600081905550565b6113c3611508565b73ffffffffffffffffffffffffffffffffffffffff166113e1610e48565b73ffffffffffffffffffffffffffffffffffffffff161461144057611404611508565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016114379190611715565b60405180910390fd5b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061154082611515565b9050919050565b61155081611535565b811461155b57600080fd5b50565b60008135905061156d81611547565b92915050565b6000819050919050565b61158681611573565b811461159157600080fd5b50565b6000813590506115a38161157d565b92915050565b600080604083850312156115c0576115bf611510565b5b60006115ce8582860161155e565b92505060206115df85828601611594565b9150509250929050565b6115f281611573565b82525050565b600060608201905061160d60008301866115e9565b61161a60208301856115e9565b61162760408301846115e9565b949350505050565b60008115159050919050565b6116448161162f565b811461164f57600080fd5b50565b6000813590506116618161163b565b92915050565b60006020828403121561167d5761167c611510565b5b600061168b84828501611652565b91505092915050565b60006020820190506116a960008301846115e9565b92915050565b6000602082840312156116c5576116c4611510565b5b60006116d384828501611594565b91505092915050565b6116e58161162f565b82525050565b600060208201905061170060008301846116dc565b92915050565b61170f81611535565b82525050565b600060208201905061172a6000830184611706565b92915050565b60006020828403121561174657611745611510565b5b60006117548482850161155e565b91505092915050565b6000819050919050565b600061178261177d61177884611515565b61175d565b611515565b9050919050565b600061179482611767565b9050919050565b60006117a682611789565b9050919050565b6117b68161179b565b82525050565b60006020820190506117d160008301846117ad565b92915050565b600082825260208201905092915050565b7f4143434553532044454e49454400000000000000000000000000000000000000600082015250565b600061181e600d836117d7565b9150611829826117e8565b602082019050919050565b6000602082019050818103600083015261184d81611811565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420696e64657800000000000000000000000000000000000000600082015250565b60006118b9600d836117d7565b91506118c482611883565b602082019050919050565b600060208201905081810360008301526118e8816118ac565b9050919050565b7f436c61696d206e6f742079657420617661696c61626c65000000000000000000600082015250565b60006119256017836117d7565b9150611930826118ef565b602082019050919050565b6000602082019050818103600083015261195481611918565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061199582611573565b91506119a083611573565b92508282039050818111156119b8576119b761195b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006119f882611573565b9150611a0383611573565b925082611a1357611a126119be565b5b828204905092915050565b6000611a2982611573565b9150611a3483611573565b9250828201905080821115611a4c57611a4b61195b565b5b92915050565b6000611a5d82611573565b9150611a6883611573565b9250828202611a7681611573565b91508282048414831517611a8d57611a8c61195b565b5b5092915050565b7f4e6f20636c61696d61626c6520616d6f756e7400000000000000000000000000600082015250565b6000611aca6013836117d7565b9150611ad582611a94565b602082019050919050565b60006020820190508181036000830152611af981611abd565b9050919050565b6000604082019050611b156000830185611706565b611b2260208301846115e9565b9392505050565b600081519050611b388161163b565b92915050565b600060208284031215611b5457611b53611510565b5b6000611b6284828501611b29565b91505092915050565b7f4e6f20656c617073656420706572696f64730000000000000000000000000000600082015250565b6000611ba16012836117d7565b9150611bac82611b6b565b602082019050919050565b60006020820190508181036000830152611bd081611b94565b9050919050565b7f507269766174652073616c65206973206e6f7420616374697665000000000000600082015250565b6000611c0d601a836117d7565b9150611c1882611bd7565b602082019050919050565b60006020820190508181036000830152611c3c81611c00565b9050919050565b7f507269766174652073616c65206973206e6f7420736574000000000000000000600082015250565b6000611c796017836117d7565b9150611c8482611c43565b602082019050919050565b60006020820190508181036000830152611ca881611c6c565b9050919050565b600081519050611cbe8161157d565b92915050565b600060208284031215611cda57611cd9611510565b5b6000611ce884828501611caf565b91505092915050565b7f4e4f5420454e4f55474820544f4b454e20494e204449535452494255544f5200600082015250565b6000611d27601f836117d7565b9150611d3282611cf1565b602082019050919050565b60006020820190508181036000830152611d5681611d1a565b905091905056fea264697066735822122093fb036ab6986c625d6dfe1c3ffbae83a5ebbdb9d0f06458d802df913362779764736f6c634300081800330000000000000000000000003d7342942d9cac4c063705b53cf764fab4f2847a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063355274ea11610071578063355274ea1461019157806370a08231146101af57806395d89b41146101df578063a9059cbb146101fd578063d5abeb011461022d578063dd62ed3e1461024b576100b4565b8063048f06ce146100b957806306fdde03146100d7578063095ea7b3146100f557806318160ddd1461012557806323b872dd14610143578063313ce56714610173575b600080fd5b6100c161027b565b6040516100ce9190610c13565b60405180910390f35b6100df6102a1565b6040516100ec9190610cbe565b60405180910390f35b61010f600480360381019061010a9190610d59565b610333565b60405161011c9190610db4565b60405180910390f35b61012d610356565b60405161013a9190610dde565b60405180910390f35b61015d60048036038101906101589190610df9565b610360565b60405161016a9190610db4565b60405180910390f35b61017b61038f565b6040516101889190610e68565b60405180910390f35b610199610398565b6040516101a69190610dde565b60405180910390f35b6101c960048036038101906101c49190610e83565b6103c0565b6040516101d69190610dde565b60405180910390f35b6101e7610408565b6040516101f49190610cbe565b60405180910390f35b61021760048036038101906102129190610d59565b61049a565b6040516102249190610db4565b60405180910390f35b6102356104bd565b6040516102429190610dde565b60405180910390f35b61026560048036038101906102609190610eb0565b6104c9565b6040516102729190610dde565b60405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546102b090610f1f565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc90610f1f565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b5050505050905090565b60008061033e610550565b905061034b818585610558565b600191505092915050565b6000600254905090565b60008061036b610550565b905061037885828561056a565b6103838585856105fe565b60019150509392505050565b60006009905090565b60007f00000000000000000000000000000000000000000000000002ea124ea029ea80905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461041790610f1f565b80601f016020809104026020016040519081016040528092919081815260200182805461044390610f1f565b80156104905780601f1061046557610100808354040283529160200191610490565b820191906000526020600020905b81548152906001019060200180831161047357829003601f168201915b5050505050905090565b6000806104a5610550565b90506104b28185856105fe565b600191505092915050565b6702ea124ea029ea8081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b61056583838360016106f2565b505050565b600061057684846104c9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105f857818110156105e8578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016105df93929190610f5f565b60405180910390fd5b6105f7848484840360006106f2565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106705760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106679190610f96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106e25760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106d99190610f96565b60405180910390fd5b6106ed8383836108c9565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107645760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161075b9190610f96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107d65760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107cd9190610f96565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108c3578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108ba9190610dde565b60405180910390a35b50505050565b6108d483838361096f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361096a576000610912610398565b9050600061091e610356565b9050818111156109675780826040517f9e79f85400000000000000000000000000000000000000000000000000000000815260040161095e929190610fb1565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c15780600260008282546109b59190611009565b92505081905550610a94565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a4d578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610a4493929190610f5f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610add5780600260008282540392505081905550610b2a565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b879190610dde565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610bd9610bd4610bcf84610b94565b610bb4565b610b94565b9050919050565b6000610beb82610bbe565b9050919050565b6000610bfd82610be0565b9050919050565b610c0d81610bf2565b82525050565b6000602082019050610c286000830184610c04565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610c68578082015181840152602081019050610c4d565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c9082610c2e565b610c9a8185610c39565b9350610caa818560208601610c4a565b610cb381610c74565b840191505092915050565b60006020820190508181036000830152610cd88184610c85565b905092915050565b600080fd5b6000610cf082610b94565b9050919050565b610d0081610ce5565b8114610d0b57600080fd5b50565b600081359050610d1d81610cf7565b92915050565b6000819050919050565b610d3681610d23565b8114610d4157600080fd5b50565b600081359050610d5381610d2d565b92915050565b60008060408385031215610d7057610d6f610ce0565b5b6000610d7e85828601610d0e565b9250506020610d8f85828601610d44565b9150509250929050565b60008115159050919050565b610dae81610d99565b82525050565b6000602082019050610dc96000830184610da5565b92915050565b610dd881610d23565b82525050565b6000602082019050610df36000830184610dcf565b92915050565b600080600060608486031215610e1257610e11610ce0565b5b6000610e2086828701610d0e565b9350506020610e3186828701610d0e565b9250506040610e4286828701610d44565b9150509250925092565b600060ff82169050919050565b610e6281610e4c565b82525050565b6000602082019050610e7d6000830184610e59565b92915050565b600060208284031215610e9957610e98610ce0565b5b6000610ea784828501610d0e565b91505092915050565b60008060408385031215610ec757610ec6610ce0565b5b6000610ed585828601610d0e565b9250506020610ee685828601610d0e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610f3757607f821691505b602082108103610f4a57610f49610ef0565b5b50919050565b610f5981610ce5565b82525050565b6000606082019050610f746000830186610f50565b610f816020830185610dcf565b610f8e6040830184610dcf565b949350505050565b6000602082019050610fab6000830184610f50565b92915050565b6000604082019050610fc66000830185610dcf565b610fd36020830184610dcf565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061101482610d23565b915061101f83610d23565b925082820190508082111561103757611036610fda565b5b9291505056fea2646970667358221220d03dd0e631eeec08dda61006b228c86e3b954ee593e290f0cd63e0d5fd4bca6e64736f6c63430008180033

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

0000000000000000000000003d7342942d9cac4c063705b53cf764fab4f2847a

-----Decoded View---------------
Arg [0] : _admin (address): 0x3D7342942d9CAC4C063705b53CF764FaB4F2847A

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003d7342942d9cac4c063705b53cf764fab4f2847a


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.