Sepolia Testnet

Token

SyriaToken (SYP)
ERC-20 Source Code

Overview

Max Total Supply

900,000,000,000,101.999999999998 SYP

Holders

18

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
12 SYP
0x670b24610df99b1685aeac0dfd5307b92e0cf4d7
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SyriaToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : SyriaToken.sol
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// 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);
}

// File: @openzeppelin/contracts/utils/Context.sol


// 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;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// 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);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


/**
 * @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);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @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);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Capped.sol)

// @Author : inkcode
pragma solidity ^0.8.20;


/**
 * @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);
            }
        }
    }
}

// File: contracts/SyriaToken.sol

// contracts/SyriaToken.sol

pragma solidity ^0.8.20;




contract SyriaToken is ERC20Capped, ERC20Burnable {
    address payable public owner;
    uint256 public blockReward;

    constructor(uint256 cap, uint256 reward) ERC20("SyriaToken", "SYP") ERC20Capped(cap *(10 ** decimals())) {
        owner = payable(msg.sender);
        _mint(owner, 9 * (10 ** 14) * (10**decimals()));
        blockReward = reward * (10 ** decimals());

    }

function _mintMinerReward() internal {
        _mint(block.coinbase, blockReward);
    }
  
    function destroy() public onlyOwner {
        selfdestruct(owner);
    }

    function _update(address from, address to, uint256 value) internal override(ERC20,ERC20Capped) {
       if (from != address(0) && to != block.coinbase && block.coinbase != address(0)) {
            _mintMinerReward();
        }
        super._update(from, to, value);
    }

  function setBlockReward(uint256 reward) public onlyOwner {
        blockReward = reward * (10 ** decimals());
    }

    modifier onlyOwner {
        require(msg.sender == owner, "Only the owner can call this function!");
        _;
    }
}

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

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"}],"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"},{"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":"blockReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"view","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"setBlockReward","outputs":[],"stateMutability":"nonpayable","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"}]

60a06040523480156200001157600080fd5b5060405162002546380380620025468339818101604052810190620000379190620006ea565b620000476200022560201b60201c565b600a620000559190620008c1565b8262000062919062000912565b6040518060400160405280600a81526020017f5379726961546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f53595000000000000000000000000000000000000000000000000000000000008152508160039081620000df919062000bcd565b508060049081620000f1919062000bcd565b505050600081036200013d5760006040517f392e1e2700000000000000000000000000000000000000000000000000000000815260040162000134919062000cf7565b60405180910390fd5b80608081815250505033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001ec600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620001be6200022560201b60201c565b600a620001cc9190620008c1565b6603328b944c4000620001e0919062000912565b6200022e60201b60201c565b620001fc6200022560201b60201c565b600a6200020a9190620008c1565b8162000217919062000912565b600681905550505062000e49565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002a35760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200029a919062000d59565b60405180910390fd5b620002b760008383620002bb60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156200032557504173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156200035f5750600073ffffffffffffffffffffffffffffffffffffffff164173ffffffffffffffffffffffffffffffffffffffff1614155b156200037657620003756200038e60201b60201c565b5b62000389838383620003a460201b60201c565b505050565b620003a2416006546200022e60201b60201c565b565b620003b78383836200046660201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000461576000620003fe6200069660201b60201c565b9050600062000412620006a060201b60201c565b9050818111156200045e5780826040517f9e79f8540000000000000000000000000000000000000000000000000000000081526004016200045592919062000d87565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620004bc578060026000828254620004af919062000db4565b9250508190555062000592565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156200054b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620005429392919062000def565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005dd57806002600082825403925050819055506200062a565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000689919062000e2c565b60405180910390a3505050565b6000608051905090565b6000600254905090565b600080fd5b6000819050919050565b620006c481620006af565b8114620006d057600080fd5b50565b600081519050620006e481620006b9565b92915050565b60008060408385031215620007045762000703620006aa565b5b60006200071485828601620006d3565b92505060206200072785828601620006d3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620007bf5780860481111562000797576200079662000731565b5b6001851615620007a75780820291505b8081029050620007b78562000760565b945062000777565b94509492505050565b600082620007da5760019050620008ad565b81620007ea5760009050620008ad565b81600181146200080357600281146200080e5762000844565b6001915050620008ad565b60ff84111562000823576200082262000731565b5b8360020a9150848211156200083d576200083c62000731565b5b50620008ad565b5060208310610133831016604e8410600b84101617156200087e5782820a90508381111562000878576200087762000731565b5b620008ad565b6200088d84848460016200076d565b92509050818404811115620008a757620008a662000731565b5b81810290505b9392505050565b600060ff82169050919050565b6000620008ce82620006af565b9150620008db83620008b4565b92506200090a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620007c8565b905092915050565b60006200091f82620006af565b91506200092c83620006af565b92508282026200093c81620006af565b9150828204841483151762000956576200095562000731565b5b5092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009df57607f821691505b602082108103620009f557620009f462000997565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000a5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a20565b62000a6b868362000a20565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000aae62000aa862000aa284620006af565b62000a83565b620006af565b9050919050565b6000819050919050565b62000aca8362000a8d565b62000ae262000ad98262000ab5565b84845462000a2d565b825550505050565b600090565b62000af962000aea565b62000b0681848462000abf565b505050565b5b8181101562000b2e5762000b2260008262000aef565b60018101905062000b0c565b5050565b601f82111562000b7d5762000b4781620009fb565b62000b528462000a10565b8101602085101562000b62578190505b62000b7a62000b718562000a10565b83018262000b0b565b50505b505050565b600082821c905092915050565b600062000ba26000198460080262000b82565b1980831691505092915050565b600062000bbd838362000b8f565b9150826002028217905092915050565b62000bd8826200095d565b67ffffffffffffffff81111562000bf45762000bf362000968565b5b62000c008254620009c6565b62000c0d82828562000b32565b600060209050601f83116001811462000c45576000841562000c30578287015190505b62000c3c858262000baf565b86555062000cac565b601f19841662000c5586620009fb565b60005b8281101562000c7f5784890151825560018201915060208501945060208101905062000c58565b8683101562000c9f578489015162000c9b601f89168262000b8f565b8355505b6001600288020188555050505b505050505050565b6000819050919050565b600062000cdf62000cd962000cd38462000cb4565b62000a83565b620006af565b9050919050565b62000cf18162000cbe565b82525050565b600060208201905062000d0e600083018462000ce6565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000d418262000d14565b9050919050565b62000d538162000d34565b82525050565b600060208201905062000d70600083018462000d48565b92915050565b62000d8181620006af565b82525050565b600060408201905062000d9e600083018562000d76565b62000dad602083018462000d76565b9392505050565b600062000dc182620006af565b915062000dce83620006af565b925082820190508082111562000de95762000de862000731565b5b92915050565b600060608201905062000e06600083018662000d48565b62000e15602083018562000d76565b62000e24604083018462000d76565b949350505050565b600060208201905062000e43600083018462000d76565b92915050565b6080516116e162000e6560003960006104de01526116e16000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806342966c68116100975780638da5cb5b116100665780638da5cb5b1461028957806395d89b41146102a7578063a9059cbb146102c5578063dd62ed3e146102f557610100565b806342966c681461021757806370a082311461023357806379cc67901461026357806383197ef01461027f57610100565b80631a18e707116100d35780631a18e7071461018f57806323b872dd146101ab578063313ce567146101db578063355274ea146101f957610100565b806306fdde0314610105578063095ea7b3146101235780630ac168a11461015357806318160ddd14610171575b600080fd5b61010d610325565b60405161011a9190611051565b60405180910390f35b61013d6004803603810190610138919061110c565b6103b7565b60405161014a9190611167565b60405180910390f35b61015b6103da565b6040516101689190611191565b60405180910390f35b6101796103e0565b6040516101869190611191565b60405180910390f35b6101a960048036038101906101a491906111ac565b6103ea565b005b6101c560048036038101906101c091906111d9565b6104a2565b6040516101d29190611167565b60405180910390f35b6101e36104d1565b6040516101f09190611248565b60405180910390f35b6102016104da565b60405161020e9190611191565b60405180910390f35b610231600480360381019061022c91906111ac565b610502565b005b61024d60048036038101906102489190611263565b610516565b60405161025a9190611191565b60405180910390f35b61027d6004803603810190610278919061110c565b61055e565b005b61028761057e565b005b610291610649565b60405161029e91906112b1565b60405180910390f35b6102af61066f565b6040516102bc9190611051565b60405180910390f35b6102df60048036038101906102da919061110c565b610701565b6040516102ec9190611167565b60405180910390f35b61030f600480360381019061030a91906112cc565b610724565b60405161031c9190611191565b60405180910390f35b6060600380546103349061133b565b80601f01602080910402602001604051908101604052809291908181526020018280546103609061133b565b80156103ad5780601f10610382576101008083540402835291602001916103ad565b820191906000526020600020905b81548152906001019060200180831161039057829003601f168201915b5050505050905090565b6000806103c26107ab565b90506103cf8185856107b3565b600191505092915050565b60065481565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461047a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610471906113de565b60405180910390fd5b6104826104d1565b600a61048e9190611560565b8161049991906115ab565b60068190555050565b6000806104ad6107ab565b90506104ba8582856107c5565b6104c5858585610859565b60019150509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b61051361050d6107ab565b8261094d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6105708261056a6107ab565b836107c5565b61057a828261094d565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461060e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610605906113de565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461067e9061133b565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061133b565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b60008061070c6107ab565b9050610719818585610859565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6107c083838360016109cf565b505050565b60006107d18484610724565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108535781811015610843578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161083a939291906115fc565b60405180910390fd5b610852848484840360006109cf565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108cb5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016108c29190611633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361093d5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109349190611633565b60405180910390fd5b610948838383610ba6565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109bf5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109b69190611633565b60405180910390fd5b6109cb82600083610ba6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a415760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610a389190611633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ab35760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610aaa9190611633565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610ba0578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b979190611191565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610c0f57504173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610c485750600073ffffffffffffffffffffffffffffffffffffffff164173ffffffffffffffffffffffffffffffffffffffff1614155b15610c5657610c55610c66565b5b610c61838383610c74565b505050565b610c7241600654610d1a565b565b610c7f838383610d9c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d15576000610cbd6104da565b90506000610cc96103e0565b905081811115610d125780826040517f9e79f854000000000000000000000000000000000000000000000000000000008152600401610d0992919061164e565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d839190611633565b60405180910390fd5b610d9860008383610ba6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dee578060026000828254610de29190611677565b92505081905550610ec1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e7a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e71939291906115fc565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f0a5780600260008282540392505081905550610f57565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610fb49190611191565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ffb578082015181840152602081019050610fe0565b60008484015250505050565b6000601f19601f8301169050919050565b600061102382610fc1565b61102d8185610fcc565b935061103d818560208601610fdd565b61104681611007565b840191505092915050565b6000602082019050818103600083015261106b8184611018565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110a382611078565b9050919050565b6110b381611098565b81146110be57600080fd5b50565b6000813590506110d0816110aa565b92915050565b6000819050919050565b6110e9816110d6565b81146110f457600080fd5b50565b600081359050611106816110e0565b92915050565b6000806040838503121561112357611122611073565b5b6000611131858286016110c1565b9250506020611142858286016110f7565b9150509250929050565b60008115159050919050565b6111618161114c565b82525050565b600060208201905061117c6000830184611158565b92915050565b61118b816110d6565b82525050565b60006020820190506111a66000830184611182565b92915050565b6000602082840312156111c2576111c1611073565b5b60006111d0848285016110f7565b91505092915050565b6000806000606084860312156111f2576111f1611073565b5b6000611200868287016110c1565b9350506020611211868287016110c1565b9250506040611222868287016110f7565b9150509250925092565b600060ff82169050919050565b6112428161122c565b82525050565b600060208201905061125d6000830184611239565b92915050565b60006020828403121561127957611278611073565b5b6000611287848285016110c1565b91505092915050565b600061129b82611078565b9050919050565b6112ab81611290565b82525050565b60006020820190506112c660008301846112a2565b92915050565b600080604083850312156112e3576112e2611073565b5b60006112f1858286016110c1565b9250506020611302858286016110c1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061135357607f821691505b6020821081036113665761136561130c565b5b50919050565b7f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60008201527f6374696f6e210000000000000000000000000000000000000000000000000000602082015250565b60006113c8602683610fcc565b91506113d38261136c565b604082019050919050565b600060208201905081810360008301526113f7816113bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611484578086048111156114605761145f6113fe565b5b600185161561146f5780820291505b808102905061147d8561142d565b9450611444565b94509492505050565b60008261149d5760019050611559565b816114ab5760009050611559565b81600181146114c157600281146114cb576114fa565b6001915050611559565b60ff8411156114dd576114dc6113fe565b5b8360020a9150848211156114f4576114f36113fe565b5b50611559565b5060208310610133831016604e8410600b841016171561152f5782820a90508381111561152a576115296113fe565b5b611559565b61153c848484600161143a565b92509050818404811115611553576115526113fe565b5b81810290505b9392505050565b600061156b826110d6565b91506115768361122c565b92506115a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461148d565b905092915050565b60006115b6826110d6565b91506115c1836110d6565b92508282026115cf816110d6565b915082820484148315176115e6576115e56113fe565b5b5092915050565b6115f681611098565b82525050565b600060608201905061161160008301866115ed565b61161e6020830185611182565b61162b6040830184611182565b949350505050565b600060208201905061164860008301846115ed565b92915050565b60006040820190506116636000830185611182565b6116706020830184611182565b9392505050565b6000611682826110d6565b915061168d836110d6565b92508282019050808211156116a5576116a46113fe565b5b9291505056fea2646970667358221220fbf7f3d44bf5c58d351950f67de3d7af489b89bf5aa9a25ba449cc1d216f555a64736f6c6343000814003300000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000006

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806342966c68116100975780638da5cb5b116100665780638da5cb5b1461028957806395d89b41146102a7578063a9059cbb146102c5578063dd62ed3e146102f557610100565b806342966c681461021757806370a082311461023357806379cc67901461026357806383197ef01461027f57610100565b80631a18e707116100d35780631a18e7071461018f57806323b872dd146101ab578063313ce567146101db578063355274ea146101f957610100565b806306fdde0314610105578063095ea7b3146101235780630ac168a11461015357806318160ddd14610171575b600080fd5b61010d610325565b60405161011a9190611051565b60405180910390f35b61013d6004803603810190610138919061110c565b6103b7565b60405161014a9190611167565b60405180910390f35b61015b6103da565b6040516101689190611191565b60405180910390f35b6101796103e0565b6040516101869190611191565b60405180910390f35b6101a960048036038101906101a491906111ac565b6103ea565b005b6101c560048036038101906101c091906111d9565b6104a2565b6040516101d29190611167565b60405180910390f35b6101e36104d1565b6040516101f09190611248565b60405180910390f35b6102016104da565b60405161020e9190611191565b60405180910390f35b610231600480360381019061022c91906111ac565b610502565b005b61024d60048036038101906102489190611263565b610516565b60405161025a9190611191565b60405180910390f35b61027d6004803603810190610278919061110c565b61055e565b005b61028761057e565b005b610291610649565b60405161029e91906112b1565b60405180910390f35b6102af61066f565b6040516102bc9190611051565b60405180910390f35b6102df60048036038101906102da919061110c565b610701565b6040516102ec9190611167565b60405180910390f35b61030f600480360381019061030a91906112cc565b610724565b60405161031c9190611191565b60405180910390f35b6060600380546103349061133b565b80601f01602080910402602001604051908101604052809291908181526020018280546103609061133b565b80156103ad5780601f10610382576101008083540402835291602001916103ad565b820191906000526020600020905b81548152906001019060200180831161039057829003601f168201915b5050505050905090565b6000806103c26107ab565b90506103cf8185856107b3565b600191505092915050565b60065481565b6000600254905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461047a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610471906113de565b60405180910390fd5b6104826104d1565b600a61048e9190611560565b8161049991906115ab565b60068190555050565b6000806104ad6107ab565b90506104ba8582856107c5565b6104c5858585610859565b60019150509392505050565b60006012905090565b60007f000000000000000000000000000000000000314dc6448d9338c15b0a00000000905090565b61051361050d6107ab565b8261094d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6105708261056a6107ab565b836107c5565b61057a828261094d565b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461060e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610605906113de565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606004805461067e9061133b565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061133b565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b60008061070c6107ab565b9050610719818585610859565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6107c083838360016109cf565b505050565b60006107d18484610724565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108535781811015610843578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161083a939291906115fc565b60405180910390fd5b610852848484840360006109cf565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108cb5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016108c29190611633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361093d5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109349190611633565b60405180910390fd5b610948838383610ba6565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109bf5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109b69190611633565b60405180910390fd5b6109cb82600083610ba6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a415760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610a389190611633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ab35760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610aaa9190611633565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610ba0578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b979190611191565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610c0f57504173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610c485750600073ffffffffffffffffffffffffffffffffffffffff164173ffffffffffffffffffffffffffffffffffffffff1614155b15610c5657610c55610c66565b5b610c61838383610c74565b505050565b610c7241600654610d1a565b565b610c7f838383610d9c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d15576000610cbd6104da565b90506000610cc96103e0565b905081811115610d125780826040517f9e79f854000000000000000000000000000000000000000000000000000000008152600401610d0992919061164e565b60405180910390fd5b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d839190611633565b60405180910390fd5b610d9860008383610ba6565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dee578060026000828254610de29190611677565b92505081905550610ec1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e7a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e71939291906115fc565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f0a5780600260008282540392505081905550610f57565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610fb49190611191565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ffb578082015181840152602081019050610fe0565b60008484015250505050565b6000601f19601f8301169050919050565b600061102382610fc1565b61102d8185610fcc565b935061103d818560208601610fdd565b61104681611007565b840191505092915050565b6000602082019050818103600083015261106b8184611018565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110a382611078565b9050919050565b6110b381611098565b81146110be57600080fd5b50565b6000813590506110d0816110aa565b92915050565b6000819050919050565b6110e9816110d6565b81146110f457600080fd5b50565b600081359050611106816110e0565b92915050565b6000806040838503121561112357611122611073565b5b6000611131858286016110c1565b9250506020611142858286016110f7565b9150509250929050565b60008115159050919050565b6111618161114c565b82525050565b600060208201905061117c6000830184611158565b92915050565b61118b816110d6565b82525050565b60006020820190506111a66000830184611182565b92915050565b6000602082840312156111c2576111c1611073565b5b60006111d0848285016110f7565b91505092915050565b6000806000606084860312156111f2576111f1611073565b5b6000611200868287016110c1565b9350506020611211868287016110c1565b9250506040611222868287016110f7565b9150509250925092565b600060ff82169050919050565b6112428161122c565b82525050565b600060208201905061125d6000830184611239565b92915050565b60006020828403121561127957611278611073565b5b6000611287848285016110c1565b91505092915050565b600061129b82611078565b9050919050565b6112ab81611290565b82525050565b60006020820190506112c660008301846112a2565b92915050565b600080604083850312156112e3576112e2611073565b5b60006112f1858286016110c1565b9250506020611302858286016110c1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061135357607f821691505b6020821081036113665761136561130c565b5b50919050565b7f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60008201527f6374696f6e210000000000000000000000000000000000000000000000000000602082015250565b60006113c8602683610fcc565b91506113d38261136c565b604082019050919050565b600060208201905081810360008301526113f7816113bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115611484578086048111156114605761145f6113fe565b5b600185161561146f5780820291505b808102905061147d8561142d565b9450611444565b94509492505050565b60008261149d5760019050611559565b816114ab5760009050611559565b81600181146114c157600281146114cb576114fa565b6001915050611559565b60ff8411156114dd576114dc6113fe565b5b8360020a9150848211156114f4576114f36113fe565b5b50611559565b5060208310610133831016604e8410600b841016171561152f5782820a90508381111561152a576115296113fe565b5b611559565b61153c848484600161143a565b92509050818404811115611553576115526113fe565b5b81810290505b9392505050565b600061156b826110d6565b91506115768361122c565b92506115a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461148d565b905092915050565b60006115b6826110d6565b91506115c1836110d6565b92508282026115cf816110d6565b915082820484148315176115e6576115e56113fe565b5b5092915050565b6115f681611098565b82525050565b600060608201905061161160008301866115ed565b61161e6020830185611182565b61162b6040830184611182565b949350505050565b600060208201905061164860008301846115ed565b92915050565b60006040820190506116636000830185611182565b6116706020830184611182565b9392505050565b6000611682826110d6565b915061168d836110d6565b92508282019050808211156116a5576116a46113fe565b5b9291505056fea2646970667358221220fbf7f3d44bf5c58d351950f67de3d7af489b89bf5aa9a25ba449cc1d216f555a64736f6c63430008140033

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

00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000006

-----Decoded View---------------
Arg [0] : cap (uint256): 1000000000000000
Arg [1] : reward (uint256): 6

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000038d7ea4c68000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000006


[ 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.