ETH Price: $3,426.93 (-1.59%)
Gas: 7 Gwei

Token

Caduceus osCMP (osCMP)
 

Overview

Max Total Supply

70,920,206 osCMP

Holders

305

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
OSCMP

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : CAD_Stake.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IOSCMP is IERC20 {
    function verify(bytes32 _root, address _to, uint256 count, bytes32[] calldata proof) external view returns (bool);
    function claimedAmount(address user) external view returns(uint256);
    function claim(address to, uint256 amountAll, bytes32[] calldata proof) external;
    function claim(address[] calldata lstTo, uint256[] calldata lstAmount, bytes32[][] calldata lstProof) external;
    function claim(address to, uint256 amountAll, bytes32[] calldata proof, uint8 decimal) external;
    function claim(address[] calldata lstTo, uint256[] calldata lstAmount, bytes32[][] calldata lstProof, uint8 decimal) external;
}

interface ICADStake {
    function stake(uint256 value) external;
    function claim(address user) external;
    function getReward(address user) external view returns (uint256 _reward);
    function getData(address user) external view returns (uint256[] memory _balances, 
        uint256 _stake, uint256 _reward, uint256 _claim);
    event Stake(address user, uint256 value);
    event Claim(address operator, address user, uint256 value);
}

contract OSCMP is IOSCMP, ERC20, Ownable {
  bytes32 public merkleRoot;
  mapping(address => uint256) public claimedAmount;
  
  constructor() ERC20("Caduceus osCMP", "osCMP") Ownable(msg.sender) {
  }
  
  function setMerkleRoot(bytes32 _root) public onlyOwner {
    merkleRoot = _root;
  }

  function getEncodePacked(address _to, uint256 count) public pure virtual returns (bytes memory) {
    return abi.encode(_to, count);
  }

  function getHash(address _to, uint256 count) public view virtual returns (bytes32) {
    return keccak256(this.getEncodePacked(_to, count));
  }

  function getKeccak256(bytes memory _data) public pure virtual returns (bytes32) {
    return keccak256(_data);
  }

  function verify(bytes32 _root, address _to, uint256 count, bytes32[] calldata proof) public view override returns (bool) {
    return MerkleProof.verify(proof, _root, this.getHash(_to, count));
  }
  
  function claim(address to, uint256 amountAll, bytes32[] calldata proof) public override {
    claim(to, amountAll, proof, 0);
  }

  function claim(address[] calldata lstTo, uint256[] calldata lstAmount, bytes32[][] calldata lstProof) public override {
    claim(lstTo, lstAmount, lstProof, 0);
  }
  function claim(address to, uint256 amountAll, bytes32[] calldata proof, uint8 decimal) public override {
    uint256 amount = amountAll * 10 ** (18 - decimal);
    if (this.verify(merkleRoot, to, amountAll, proof)
        && claimedAmount[to] < amount) {
        uint256 amountToClaim = amount - claimedAmount[to];
        claimedAmount[to] += amountToClaim;
        _mint(to, amountToClaim);
    }
  }

  function claim(address[] calldata lstTo, uint256[] calldata lstAmount, bytes32[][] calldata lstProof, uint8 decimal) public override {
    for (uint256 i = 0; i < lstTo.length; i++) {
        claim(lstTo[i], lstAmount[i], lstProof[i], decimal);
    }
  }
}

contract CADStake is ICADStake, Ownable {
    uint256 public stakeStartTime = 0;
    uint256 public stakeEndTime = 1745280000;
    uint256 public stakeLockTime = 365 days;
    uint256 public rewardRate = 20000; // 200%
    address public rewardToken;
    address[] private stakeTokens;
    uint256[] private stakeRates;
    
    mapping(address => uint256) public userClaimedAmount;
    mapping(address => uint256[]) public userStakeRecord;
    mapping(uint256 => uint256) public amountOfStakeRecord;
    mapping(uint256 => uint256) public startOfStakeRecord;
    
    uint256 public totalStake;
    uint256 constant TIME_ZONE = 0 hours;
    uint256 constant TIME_UNIT = 1 days;
    bool constant TIME_ZONE_WEST = false;
    uint256 constant RATE_PERCENT = 10000;
    
    constructor() Ownable(msg.sender) {
        stakeTokens = new address[](2);
        stakeRates = new uint256[](2);
        stakeTokens[0] = address(0xe60FbbEEd16445FA51004A4903ad579a5f74AF1F);
        stakeTokens[1] = address(0x4349929808E515936A68903F6085F5e2B143ff3d);
        stakeRates[0] = 10000;
        stakeRates[1] = 10000;
        rewardToken = stakeTokens[1];
    }

    function set(
        uint256 _stakeStartTime,
        uint256 _stakeEndTime,
        uint256 _stakeLockTime,
        address[] memory _stakeTokens,
        uint256[] memory _stakeRates,
        address _rewardToken,
        uint256 _rewardRate
    ) public onlyOwner {
        stakeStartTime = _stakeStartTime;
        stakeEndTime = _stakeEndTime;
        stakeLockTime = _stakeLockTime;

        stakeTokens = new address[](_stakeTokens.length);
        for (uint256 i = 0; i < _stakeTokens.length; i++) {
            stakeTokens[i] = _stakeTokens[i];
        }
        stakeRates = new uint256[](_stakeRates.length);
        for (uint256 i = 0; i < _stakeRates.length; i++) {
            stakeRates[i] = _stakeRates[i];
        }

        rewardToken = _rewardToken;
        rewardRate = _rewardRate;
    }

    function stake(uint256 value) public {
        require(block.timestamp >= stakeStartTime, "The stake pool hasn't started yet.");
        require(block.timestamp <= stakeEndTime, "The stake pool has ended yet.");

        for (uint256 i = 0; i < stakeTokens.length; i++) {
            IERC20(stakeTokens[i]).transferFrom(msg.sender, address(this), 
                value * stakeRates[i] / RATE_PERCENT);
        }
        _recordStake(msg.sender, value);
    }

    function claim(address user) public {
        uint256 amountReward = getReward(user);
        uint256 amountClaim = userClaimedAmount[user];
        if (amountClaim < amountReward) {
            uint256 amount = amountReward - amountClaim;
            userClaimedAmount[user] += amount;
            IERC20(rewardToken).transfer(user, amount);

            emit Claim(msg.sender, user, amount);
        }
    }

    function getStake(address user) public view returns (uint256 _stake) {
        uint256 amount = 0;
        for (uint256 i = 0; i < userStakeRecord[user].length; i++) {
            uint256 idx = userStakeRecord[user][i];
            amount += amountOfStakeRecord[idx];
        }
        return amount;
    }

    function getData(address user) public view returns (uint256[] memory _balances, 
        uint256 _stake, uint256 _reward, uint256 _claim) {
        uint256[] memory balances = new uint256[](stakeTokens.length);
        for (uint256 i = 0; i < stakeTokens.length; i++) {
            balances[i] = IERC20(stakeTokens[i]).balanceOf(user);
        }
        return (balances, getStake(user), getReward(user), userClaimedAmount[user]);
    }
    
    function getReward(address user) public view returns (uint256 _reward) {
        uint256 reward = 0;
        for (uint256 i = 0; i < userStakeRecord[user].length; i++) {
            uint256 idx = userStakeRecord[user][i];
            reward += getReward(idx);
        }
        return reward;
    }

    function getReward(uint256 idx) public view returns (uint256 _reward) {
        uint256 day = getStakeDays(idx);
        uint256 dayAll = stakeLockTime /  TIME_UNIT;
        if (day > dayAll) {
            day = dayAll;
        }
        return amountOfStakeRecord[idx] * rewardRate * day / (RATE_PERCENT * dayAll); 
    }

    function getStakeDays(uint256 idx) public view returns(uint256) {
        uint256 tStart = startOfStakeRecord[idx];
        uint256 t1 = max(stakeStartTime, tStart);
        uint256 t2 = min(block.timestamp, tStart + stakeLockTime);
        return t2 > t1 ? getDay(t2) - getDay(t1) : 0;
    }

    function getDay(uint256 t) public pure returns(uint256) {
        return (TIME_ZONE_WEST ? (t > TIME_ZONE ? (t - TIME_ZONE) : 0) : (t + TIME_ZONE)) / TIME_UNIT;
    }

    function max(uint256 x, uint256 y) public pure returns(uint256) {
        return x > y ? x : y;
    }

    function min(uint256 x, uint256 y) public pure returns(uint256) {
        return x < y ? x : y;
    }

    function _recordStake(address user, uint256 value) internal {
        amountOfStakeRecord[totalStake] = value;
        startOfStakeRecord[totalStake] = block.timestamp;
        userStakeRecord[user].push(totalStake);
        
        totalStake++;
        emit Stake(user, value);
    }
}

interface IStakeCADOnETHForMining {
    function stake(uint8 kind) external;
    function unstake() external;
    event Stake(address indexed user, uint8 kind);
    event Unstake(address indexed user);
}

contract StakeCADOnETHForMining is Ownable, IStakeCADOnETHForMining {
    IERC20 public tokenOfNeedStaking;
    uint256 public tokenPriceCAD;
    uint256 public tokenPriceUSD;
    uint256[] public amountOfSNeedStaking;
    mapping(address => uint256) public amountOfUserStaked;
    
    constructor() Ownable(msg.sender) {
    }

    function set(uint256 _tokenPriceCAD, uint256 _tokenPriceUSD) public onlyOwner {
        tokenPriceCAD = _tokenPriceCAD;
        tokenPriceUSD = _tokenPriceUSD;
    }

    function set(uint256[] calldata _amounts, uint8 decimal) public onlyOwner {
        uint256 scaler = 10 ** (18 - decimal);
        for (uint256 i = 0; i < _amounts.length; i++) {
            amountOfSNeedStaking[i] = _amounts[i] * scaler;
        }
    }

    function stake(uint8 kind) public {
        require(kind < amountOfSNeedStaking.length, "The staking type isn't exist.");
        
        uint256 amount = amountOfSNeedStaking[kind] * tokenPriceUSD / tokenPriceCAD;
        require(tokenOfNeedStaking.balanceOf(msg.sender) >= amount, "Your staking token isn't enough.");
        require(amountOfUserStaked[msg.sender] == 0, "You have already staked.");
        tokenOfNeedStaking.transferFrom(msg.sender, address(this), amount);
        amountOfUserStaked[msg.sender] += amount;
        
        emit Stake(msg.sender, kind);
    }

    function unstake() public {
        uint256 amount = amountOfUserStaked[msg.sender];
        require(amount > 0, "You haven't staked yet.");
        tokenOfNeedStaking.transfer(msg.sender, amount);
        amountOfUserStaked[msg.sender] -= amount;
        emit Unstake(msg.sender);
    }
}

File 2 of 8 : Ownable.sol
// 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);
    }
}

File 3 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the Merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 8 : ERC20.sol
// 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);
            }
        }
    }
}

File 5 of 8 : draft-IERC6093.sol
// 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);
}

File 6 of 8 : Context.sol
// 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;
    }
}

File 7 of 8 : IERC20Metadata.sol
// 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);
}

File 8 of 8 : IERC20.sol
// 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountAll","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint8","name":"decimal","type":"uint8"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountAll","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"lstTo","type":"address[]"},{"internalType":"uint256[]","name":"lstAmount","type":"uint256[]"},{"internalType":"bytes32[][]","name":"lstProof","type":"bytes32[][]"},{"internalType":"uint8","name":"decimal","type":"uint8"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"lstTo","type":"address[]"},{"internalType":"uint256[]","name":"lstAmount","type":"uint256[]"},{"internalType":"bytes32[][]","name":"lstProof","type":"bytes32[][]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getEncodePacked","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"getKeccak256","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405234801561000f575f80fd5b50336040518060400160405280600e81526020017f4361647563657573206f73434d500000000000000000000000000000000000008152506040518060400160405280600581526020017f6f73434d50000000000000000000000000000000000000000000000000000000815250816003908161008c9190610421565b50806004908161009c9190610421565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361010f575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610106919061052f565b60405180910390fd5b61011e8161012460201b60201c565b50610548565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061026257607f821691505b6020821081036102755761027461021e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026102d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261029c565b6102e1868361029c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61032561032061031b846102f9565b610302565b6102f9565b9050919050565b5f819050919050565b61033e8361030b565b61035261034a8261032c565b8484546102a8565b825550505050565b5f90565b61036661035a565b610371818484610335565b505050565b5b81811015610394576103895f8261035e565b600181019050610377565b5050565b601f8211156103d9576103aa8161027b565b6103b38461028d565b810160208510156103c2578190505b6103d66103ce8561028d565b830182610376565b50505b505050565b5f82821c905092915050565b5f6103f95f19846008026103de565b1980831691505092915050565b5f61041183836103ea565b9150826002028217905092915050565b61042a826101e7565b67ffffffffffffffff811115610443576104426101f1565b5b61044d825461024b565b610458828285610398565b5f60209050601f831160018114610489575f8415610477578287015190505b6104818582610406565b8655506104e8565b601f1984166104978661027b565b5f5b828110156104be57848901518255600182019150602085019450602081019050610499565b868310156104db57848901516104d7601f8916826103ea565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610519826104f0565b9050919050565b6105298161050f565b82525050565b5f6020820190506105425f830184610520565b92915050565b6123ab806105555f395ff3fe608060405234801561000f575f80fd5b506004361061014b575f3560e01c806370a08231116100c1578063a9059cbb1161007a578063a9059cbb1461039d578063b73be3a5146103cd578063c946086b146103e9578063dd62ed3e14610419578063ed05582b14610449578063f2fde38b146104795761014b565b806370a08231146102db578063715018a61461030b5780637cb64759146103155780638da5cb5b1461033157806393730bbe1461034f57806395d89b411461037f5761014b565b806323b872dd1161011357806323b872dd1461021b57806326bd001d1461024b5780632eb4a7ab14610267578063313ce567146102855780633d13f874146102a357806368a2a437146102bf5761014b565b806304e869031461014f57806306fdde031461017f578063095ea7b31461019d57806318160ddd146101cd5780631d486411146101eb575b5f80fd5b61016960048036038101906101649190611444565b610495565b6040516101769190611487565b60405180910390f35b6101876104aa565b6040516101949190611510565b60405180910390f35b6101b760048036038101906101b2919061155a565b61053a565b6040516101c491906115b2565b60405180910390f35b6101d561055c565b6040516101e29190611487565b60405180910390f35b6102056004803603810190610200919061155a565b610565565b604051610212919061161d565b60405180910390f35b6102356004803603810190610230919061163d565b610591565b60405161024291906115b2565b60405180910390f35b61026560048036038101906102609190611724565b6105bf565b005b61026f610768565b60405161027c91906117c0565b60405180910390f35b61028d61076e565b60405161029a91906117e8565b60405180910390f35b6102bd60048036038101906102b89190611801565b610776565b005b6102d960048036038101906102d49190611971565b610789565b005b6102f560048036038101906102f09190611444565b61081d565b6040516103029190611487565b60405180910390f35b610313610862565b005b61032f600480360381019061032a9190611a5f565b610875565b005b610339610887565b6040516103469190611a99565b60405180910390f35b61036960048036038101906103649190611bda565b6108af565b60405161037691906117c0565b60405180910390f35b6103876108bf565b6040516103949190611510565b60405180910390f35b6103b760048036038101906103b2919061155a565b61094f565b6040516103c491906115b2565b60405180910390f35b6103e760048036038101906103e29190611c21565b610971565b005b61040360048036038101906103fe9190611cd1565b610988565b60405161041091906115b2565b60405180910390f35b610433600480360381019061042e9190611d55565b610a58565b6040516104409190611487565b60405180910390f35b610463600480360381019061045e919061155a565b610ada565b60405161047091906117c0565b60405180910390f35b610493600480360381019061048e9190611444565b610b67565b005b6007602052805f5260405f205f915090505481565b6060600380546104b990611dc0565b80601f01602080910402602001604051908101604052809291908181526020018280546104e590611dc0565b80156105305780601f1061050757610100808354040283529160200191610530565b820191905f5260205f20905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b5f80610544610beb565b9050610551818585610bf2565b600191505092915050565b5f600254905090565b6060828260405160200161057a929190611df0565b604051602081830303815290604052905092915050565b5f8061059b610beb565b90506105a8858285610c04565b6105b3858585610c96565b60019150509392505050565b5f8160126105cd9190611e44565b600a6105d99190611fa7565b856105e49190611ff1565b90503073ffffffffffffffffffffffffffffffffffffffff1663c946086b600654888888886040518663ffffffff1660e01b81526004016106299594939291906120aa565b602060405180830381865afa158015610644573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106689190612120565b80156106b057508060075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b15610760575f60075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054826106ff919061214b565b90508060075f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461074d919061217e565b9250508190555061075e8782610d86565b505b505050505050565b60065481565b5f6012905090565b610783848484845f6105bf565b50505050565b5f5b87879050811015610813576108068888838181106107ac576107ab6121b1565b5b90506020020160208101906107c19190611444565b8787848181106107d4576107d36121b1565b5b905060200201358686858181106107ee576107ed6121b1565b5b905060200281019061080091906121ea565b866105bf565b808060010191505061078b565b5050505050505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61086a610e05565b6108735f610e8c565b565b61087d610e05565b8060068190555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f81805190602001209050919050565b6060600480546108ce90611dc0565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa90611dc0565b80156109455780601f1061091c57610100808354040283529160200191610945565b820191905f5260205f20905b81548152906001019060200180831161092857829003601f168201915b5050505050905090565b5f80610959610beb565b9050610966818585610c96565b600191505092915050565b6109808686868686865f610789565b505050505050565b5f610a4d8383808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050873073ffffffffffffffffffffffffffffffffffffffff1663ed05582b89896040518363ffffffff1660e01b8152600401610a09929190611df0565b602060405180830381865afa158015610a24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a489190612260565b610f4f565b905095945050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f3073ffffffffffffffffffffffffffffffffffffffff16631d48641184846040518363ffffffff1660e01b8152600401610b16929190611df0565b5f60405180830381865afa158015610b30573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190610b5891906122f9565b80519060200120905092915050565b610b6f610e05565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bdf575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bd69190611a99565b60405180910390fd5b610be881610e8c565b50565b5f33905090565b610bff8383836001610f65565b505050565b5f610c0f8484610a58565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c905781811015610c81578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c7893929190612340565b60405180910390fd5b610c8f84848484035f610f65565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d06575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cfd9190611a99565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d76575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6d9190611a99565b60405180910390fd5b610d81838383611134565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610df6575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ded9190611a99565b60405180910390fd5b610e015f8383611134565b5050565b610e0d610beb565b73ffffffffffffffffffffffffffffffffffffffff16610e2b610887565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a57610e4e610beb565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610e819190611a99565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f82610f5b858461134d565b1490509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610fd5575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610fcc9190611a99565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611045575f6040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161103c9190611a99565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561112e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516111259190611487565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611184578060025f828254611178919061217e565b92505081905550611252565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561120d578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161120493929190612340565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611299578060025f82825403925050819055506112e3565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516113409190611487565b60405180910390a3505050565b5f808290505f5b84518110156113905761138182868381518110611374576113736121b1565b5b602002602001015161139b565b91508080600101915050611354565b508091505092915050565b5f8183106113b2576113ad82846113c5565b6113bd565b6113bc83836113c5565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611413826113ea565b9050919050565b61142381611409565b811461142d575f80fd5b50565b5f8135905061143e8161141a565b92915050565b5f60208284031215611459576114586113e2565b5b5f61146684828501611430565b91505092915050565b5f819050919050565b6114818161146f565b82525050565b5f60208201905061149a5f830184611478565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114e2826114a0565b6114ec81856114aa565b93506114fc8185602086016114ba565b611505816114c8565b840191505092915050565b5f6020820190508181035f83015261152881846114d8565b905092915050565b6115398161146f565b8114611543575f80fd5b50565b5f8135905061155481611530565b92915050565b5f80604083850312156115705761156f6113e2565b5b5f61157d85828601611430565b925050602061158e85828601611546565b9150509250929050565b5f8115159050919050565b6115ac81611598565b82525050565b5f6020820190506115c55f8301846115a3565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f6115ef826115cb565b6115f981856115d5565b93506116098185602086016114ba565b611612816114c8565b840191505092915050565b5f6020820190508181035f83015261163581846115e5565b905092915050565b5f805f60608486031215611654576116536113e2565b5b5f61166186828701611430565b935050602061167286828701611430565b925050604061168386828701611546565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126116ae576116ad61168d565b5b8235905067ffffffffffffffff8111156116cb576116ca611691565b5b6020830191508360208202830111156116e7576116e6611695565b5b9250929050565b5f60ff82169050919050565b611703816116ee565b811461170d575f80fd5b50565b5f8135905061171e816116fa565b92915050565b5f805f805f6080868803121561173d5761173c6113e2565b5b5f61174a88828901611430565b955050602061175b88828901611546565b945050604086013567ffffffffffffffff81111561177c5761177b6113e6565b5b61178888828901611699565b9350935050606061179b88828901611710565b9150509295509295909350565b5f819050919050565b6117ba816117a8565b82525050565b5f6020820190506117d35f8301846117b1565b92915050565b6117e2816116ee565b82525050565b5f6020820190506117fb5f8301846117d9565b92915050565b5f805f8060608587031215611819576118186113e2565b5b5f61182687828801611430565b945050602061183787828801611546565b935050604085013567ffffffffffffffff811115611858576118576113e6565b5b61186487828801611699565b925092505092959194509250565b5f8083601f8401126118875761188661168d565b5b8235905067ffffffffffffffff8111156118a4576118a3611691565b5b6020830191508360208202830111156118c0576118bf611695565b5b9250929050565b5f8083601f8401126118dc576118db61168d565b5b8235905067ffffffffffffffff8111156118f9576118f8611691565b5b60208301915083602082028301111561191557611914611695565b5b9250929050565b5f8083601f8401126119315761193061168d565b5b8235905067ffffffffffffffff81111561194e5761194d611691565b5b60208301915083602082028301111561196a57611969611695565b5b9250929050565b5f805f805f805f6080888a03121561198c5761198b6113e2565b5b5f88013567ffffffffffffffff8111156119a9576119a86113e6565b5b6119b58a828b01611872565b9750975050602088013567ffffffffffffffff8111156119d8576119d76113e6565b5b6119e48a828b016118c7565b9550955050604088013567ffffffffffffffff811115611a0757611a066113e6565b5b611a138a828b0161191c565b93509350506060611a268a828b01611710565b91505092959891949750929550565b611a3e816117a8565b8114611a48575f80fd5b50565b5f81359050611a5981611a35565b92915050565b5f60208284031215611a7457611a736113e2565b5b5f611a8184828501611a4b565b91505092915050565b611a9381611409565b82525050565b5f602082019050611aac5f830184611a8a565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611aec826114c8565b810181811067ffffffffffffffff82111715611b0b57611b0a611ab6565b5b80604052505050565b5f611b1d6113d9565b9050611b298282611ae3565b919050565b5f67ffffffffffffffff821115611b4857611b47611ab6565b5b611b51826114c8565b9050602081019050919050565b828183375f83830152505050565b5f611b7e611b7984611b2e565b611b14565b905082815260208101848484011115611b9a57611b99611ab2565b5b611ba5848285611b5e565b509392505050565b5f82601f830112611bc157611bc061168d565b5b8135611bd1848260208601611b6c565b91505092915050565b5f60208284031215611bef57611bee6113e2565b5b5f82013567ffffffffffffffff811115611c0c57611c0b6113e6565b5b611c1884828501611bad565b91505092915050565b5f805f805f8060608789031215611c3b57611c3a6113e2565b5b5f87013567ffffffffffffffff811115611c5857611c576113e6565b5b611c6489828a01611872565b9650965050602087013567ffffffffffffffff811115611c8757611c866113e6565b5b611c9389828a016118c7565b9450945050604087013567ffffffffffffffff811115611cb657611cb56113e6565b5b611cc289828a0161191c565b92509250509295509295509295565b5f805f805f60808688031215611cea57611ce96113e2565b5b5f611cf788828901611a4b565b9550506020611d0888828901611430565b9450506040611d1988828901611546565b935050606086013567ffffffffffffffff811115611d3a57611d396113e6565b5b611d4688828901611699565b92509250509295509295909350565b5f8060408385031215611d6b57611d6a6113e2565b5b5f611d7885828601611430565b9250506020611d8985828601611430565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611dd757607f821691505b602082108103611dea57611de9611d93565b5b50919050565b5f604082019050611e035f830185611a8a565b611e106020830184611478565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611e4e826116ee565b9150611e59836116ee565b9250828203905060ff811115611e7257611e71611e17565b5b92915050565b5f8160011c9050919050565b5f808291508390505b6001851115611ecd57808604811115611ea957611ea8611e17565b5b6001851615611eb85780820291505b8081029050611ec685611e78565b9450611e8d565b94509492505050565b5f82611ee55760019050611fa0565b81611ef2575f9050611fa0565b8160018114611f085760028114611f1257611f41565b6001915050611fa0565b60ff841115611f2457611f23611e17565b5b8360020a915084821115611f3b57611f3a611e17565b5b50611fa0565b5060208310610133831016604e8410600b8410161715611f765782820a905083811115611f7157611f70611e17565b5b611fa0565b611f838484846001611e84565b92509050818404811115611f9a57611f99611e17565b5b81810290505b9392505050565b5f611fb18261146f565b9150611fbc836116ee565b9250611fe97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611ed6565b905092915050565b5f611ffb8261146f565b91506120068361146f565b92508282026120148161146f565b9150828204841483151761202b5761202a611e17565b5b5092915050565b5f82825260208201905092915050565b5f80fd5b82818337505050565b5f61205a8385612032565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561208d5761208c612042565b5b60208302925061209e838584612046565b82840190509392505050565b5f6080820190506120bd5f8301886117b1565b6120ca6020830187611a8a565b6120d76040830186611478565b81810360608301526120ea81848661204f565b90509695505050505050565b6120ff81611598565b8114612109575f80fd5b50565b5f8151905061211a816120f6565b92915050565b5f60208284031215612135576121346113e2565b5b5f6121428482850161210c565b91505092915050565b5f6121558261146f565b91506121608361146f565b925082820390508181111561217857612177611e17565b5b92915050565b5f6121888261146f565b91506121938361146f565b92508282019050808211156121ab576121aa611e17565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f80fd5b5f80fd5b5f80fd5b5f8083356001602003843603038112612206576122056121de565b5b80840192508235915067ffffffffffffffff821115612228576122276121e2565b5b602083019250602082023603831315612244576122436121e6565b5b509250929050565b5f8151905061225a81611a35565b92915050565b5f60208284031215612275576122746113e2565b5b5f6122828482850161224c565b91505092915050565b5f61229d61229884611b2e565b611b14565b9050828152602081018484840111156122b9576122b8611ab2565b5b6122c48482856114ba565b509392505050565b5f82601f8301126122e0576122df61168d565b5b81516122f084826020860161228b565b91505092915050565b5f6020828403121561230e5761230d6113e2565b5b5f82015167ffffffffffffffff81111561232b5761232a6113e6565b5b612337848285016122cc565b91505092915050565b5f6060820190506123535f830186611a8a565b6123606020830185611478565b61236d6040830184611478565b94935050505056fea26469706673582212206eb7b94a05322443545defce0bf6f9b34b9c5295d8927fd4d281824f1f4f5ed564736f6c63430008190033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061014b575f3560e01c806370a08231116100c1578063a9059cbb1161007a578063a9059cbb1461039d578063b73be3a5146103cd578063c946086b146103e9578063dd62ed3e14610419578063ed05582b14610449578063f2fde38b146104795761014b565b806370a08231146102db578063715018a61461030b5780637cb64759146103155780638da5cb5b1461033157806393730bbe1461034f57806395d89b411461037f5761014b565b806323b872dd1161011357806323b872dd1461021b57806326bd001d1461024b5780632eb4a7ab14610267578063313ce567146102855780633d13f874146102a357806368a2a437146102bf5761014b565b806304e869031461014f57806306fdde031461017f578063095ea7b31461019d57806318160ddd146101cd5780631d486411146101eb575b5f80fd5b61016960048036038101906101649190611444565b610495565b6040516101769190611487565b60405180910390f35b6101876104aa565b6040516101949190611510565b60405180910390f35b6101b760048036038101906101b2919061155a565b61053a565b6040516101c491906115b2565b60405180910390f35b6101d561055c565b6040516101e29190611487565b60405180910390f35b6102056004803603810190610200919061155a565b610565565b604051610212919061161d565b60405180910390f35b6102356004803603810190610230919061163d565b610591565b60405161024291906115b2565b60405180910390f35b61026560048036038101906102609190611724565b6105bf565b005b61026f610768565b60405161027c91906117c0565b60405180910390f35b61028d61076e565b60405161029a91906117e8565b60405180910390f35b6102bd60048036038101906102b89190611801565b610776565b005b6102d960048036038101906102d49190611971565b610789565b005b6102f560048036038101906102f09190611444565b61081d565b6040516103029190611487565b60405180910390f35b610313610862565b005b61032f600480360381019061032a9190611a5f565b610875565b005b610339610887565b6040516103469190611a99565b60405180910390f35b61036960048036038101906103649190611bda565b6108af565b60405161037691906117c0565b60405180910390f35b6103876108bf565b6040516103949190611510565b60405180910390f35b6103b760048036038101906103b2919061155a565b61094f565b6040516103c491906115b2565b60405180910390f35b6103e760048036038101906103e29190611c21565b610971565b005b61040360048036038101906103fe9190611cd1565b610988565b60405161041091906115b2565b60405180910390f35b610433600480360381019061042e9190611d55565b610a58565b6040516104409190611487565b60405180910390f35b610463600480360381019061045e919061155a565b610ada565b60405161047091906117c0565b60405180910390f35b610493600480360381019061048e9190611444565b610b67565b005b6007602052805f5260405f205f915090505481565b6060600380546104b990611dc0565b80601f01602080910402602001604051908101604052809291908181526020018280546104e590611dc0565b80156105305780601f1061050757610100808354040283529160200191610530565b820191905f5260205f20905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b5f80610544610beb565b9050610551818585610bf2565b600191505092915050565b5f600254905090565b6060828260405160200161057a929190611df0565b604051602081830303815290604052905092915050565b5f8061059b610beb565b90506105a8858285610c04565b6105b3858585610c96565b60019150509392505050565b5f8160126105cd9190611e44565b600a6105d99190611fa7565b856105e49190611ff1565b90503073ffffffffffffffffffffffffffffffffffffffff1663c946086b600654888888886040518663ffffffff1660e01b81526004016106299594939291906120aa565b602060405180830381865afa158015610644573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106689190612120565b80156106b057508060075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b15610760575f60075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054826106ff919061214b565b90508060075f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461074d919061217e565b9250508190555061075e8782610d86565b505b505050505050565b60065481565b5f6012905090565b610783848484845f6105bf565b50505050565b5f5b87879050811015610813576108068888838181106107ac576107ab6121b1565b5b90506020020160208101906107c19190611444565b8787848181106107d4576107d36121b1565b5b905060200201358686858181106107ee576107ed6121b1565b5b905060200281019061080091906121ea565b866105bf565b808060010191505061078b565b5050505050505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61086a610e05565b6108735f610e8c565b565b61087d610e05565b8060068190555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f81805190602001209050919050565b6060600480546108ce90611dc0565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa90611dc0565b80156109455780601f1061091c57610100808354040283529160200191610945565b820191905f5260205f20905b81548152906001019060200180831161092857829003601f168201915b5050505050905090565b5f80610959610beb565b9050610966818585610c96565b600191505092915050565b6109808686868686865f610789565b505050505050565b5f610a4d8383808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050873073ffffffffffffffffffffffffffffffffffffffff1663ed05582b89896040518363ffffffff1660e01b8152600401610a09929190611df0565b602060405180830381865afa158015610a24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a489190612260565b610f4f565b905095945050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f3073ffffffffffffffffffffffffffffffffffffffff16631d48641184846040518363ffffffff1660e01b8152600401610b16929190611df0565b5f60405180830381865afa158015610b30573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190610b5891906122f9565b80519060200120905092915050565b610b6f610e05565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bdf575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bd69190611a99565b60405180910390fd5b610be881610e8c565b50565b5f33905090565b610bff8383836001610f65565b505050565b5f610c0f8484610a58565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c905781811015610c81578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c7893929190612340565b60405180910390fd5b610c8f84848484035f610f65565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d06575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cfd9190611a99565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d76575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6d9190611a99565b60405180910390fd5b610d81838383611134565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610df6575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ded9190611a99565b60405180910390fd5b610e015f8383611134565b5050565b610e0d610beb565b73ffffffffffffffffffffffffffffffffffffffff16610e2b610887565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a57610e4e610beb565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610e819190611a99565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f82610f5b858461134d565b1490509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610fd5575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610fcc9190611a99565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611045575f6040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161103c9190611a99565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561112e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516111259190611487565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611184578060025f828254611178919061217e565b92505081905550611252565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561120d578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161120493929190612340565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611299578060025f82825403925050819055506112e3565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516113409190611487565b60405180910390a3505050565b5f808290505f5b84518110156113905761138182868381518110611374576113736121b1565b5b602002602001015161139b565b91508080600101915050611354565b508091505092915050565b5f8183106113b2576113ad82846113c5565b6113bd565b6113bc83836113c5565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611413826113ea565b9050919050565b61142381611409565b811461142d575f80fd5b50565b5f8135905061143e8161141a565b92915050565b5f60208284031215611459576114586113e2565b5b5f61146684828501611430565b91505092915050565b5f819050919050565b6114818161146f565b82525050565b5f60208201905061149a5f830184611478565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6114e2826114a0565b6114ec81856114aa565b93506114fc8185602086016114ba565b611505816114c8565b840191505092915050565b5f6020820190508181035f83015261152881846114d8565b905092915050565b6115398161146f565b8114611543575f80fd5b50565b5f8135905061155481611530565b92915050565b5f80604083850312156115705761156f6113e2565b5b5f61157d85828601611430565b925050602061158e85828601611546565b9150509250929050565b5f8115159050919050565b6115ac81611598565b82525050565b5f6020820190506115c55f8301846115a3565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f6115ef826115cb565b6115f981856115d5565b93506116098185602086016114ba565b611612816114c8565b840191505092915050565b5f6020820190508181035f83015261163581846115e5565b905092915050565b5f805f60608486031215611654576116536113e2565b5b5f61166186828701611430565b935050602061167286828701611430565b925050604061168386828701611546565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126116ae576116ad61168d565b5b8235905067ffffffffffffffff8111156116cb576116ca611691565b5b6020830191508360208202830111156116e7576116e6611695565b5b9250929050565b5f60ff82169050919050565b611703816116ee565b811461170d575f80fd5b50565b5f8135905061171e816116fa565b92915050565b5f805f805f6080868803121561173d5761173c6113e2565b5b5f61174a88828901611430565b955050602061175b88828901611546565b945050604086013567ffffffffffffffff81111561177c5761177b6113e6565b5b61178888828901611699565b9350935050606061179b88828901611710565b9150509295509295909350565b5f819050919050565b6117ba816117a8565b82525050565b5f6020820190506117d35f8301846117b1565b92915050565b6117e2816116ee565b82525050565b5f6020820190506117fb5f8301846117d9565b92915050565b5f805f8060608587031215611819576118186113e2565b5b5f61182687828801611430565b945050602061183787828801611546565b935050604085013567ffffffffffffffff811115611858576118576113e6565b5b61186487828801611699565b925092505092959194509250565b5f8083601f8401126118875761188661168d565b5b8235905067ffffffffffffffff8111156118a4576118a3611691565b5b6020830191508360208202830111156118c0576118bf611695565b5b9250929050565b5f8083601f8401126118dc576118db61168d565b5b8235905067ffffffffffffffff8111156118f9576118f8611691565b5b60208301915083602082028301111561191557611914611695565b5b9250929050565b5f8083601f8401126119315761193061168d565b5b8235905067ffffffffffffffff81111561194e5761194d611691565b5b60208301915083602082028301111561196a57611969611695565b5b9250929050565b5f805f805f805f6080888a03121561198c5761198b6113e2565b5b5f88013567ffffffffffffffff8111156119a9576119a86113e6565b5b6119b58a828b01611872565b9750975050602088013567ffffffffffffffff8111156119d8576119d76113e6565b5b6119e48a828b016118c7565b9550955050604088013567ffffffffffffffff811115611a0757611a066113e6565b5b611a138a828b0161191c565b93509350506060611a268a828b01611710565b91505092959891949750929550565b611a3e816117a8565b8114611a48575f80fd5b50565b5f81359050611a5981611a35565b92915050565b5f60208284031215611a7457611a736113e2565b5b5f611a8184828501611a4b565b91505092915050565b611a9381611409565b82525050565b5f602082019050611aac5f830184611a8a565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611aec826114c8565b810181811067ffffffffffffffff82111715611b0b57611b0a611ab6565b5b80604052505050565b5f611b1d6113d9565b9050611b298282611ae3565b919050565b5f67ffffffffffffffff821115611b4857611b47611ab6565b5b611b51826114c8565b9050602081019050919050565b828183375f83830152505050565b5f611b7e611b7984611b2e565b611b14565b905082815260208101848484011115611b9a57611b99611ab2565b5b611ba5848285611b5e565b509392505050565b5f82601f830112611bc157611bc061168d565b5b8135611bd1848260208601611b6c565b91505092915050565b5f60208284031215611bef57611bee6113e2565b5b5f82013567ffffffffffffffff811115611c0c57611c0b6113e6565b5b611c1884828501611bad565b91505092915050565b5f805f805f8060608789031215611c3b57611c3a6113e2565b5b5f87013567ffffffffffffffff811115611c5857611c576113e6565b5b611c6489828a01611872565b9650965050602087013567ffffffffffffffff811115611c8757611c866113e6565b5b611c9389828a016118c7565b9450945050604087013567ffffffffffffffff811115611cb657611cb56113e6565b5b611cc289828a0161191c565b92509250509295509295509295565b5f805f805f60808688031215611cea57611ce96113e2565b5b5f611cf788828901611a4b565b9550506020611d0888828901611430565b9450506040611d1988828901611546565b935050606086013567ffffffffffffffff811115611d3a57611d396113e6565b5b611d4688828901611699565b92509250509295509295909350565b5f8060408385031215611d6b57611d6a6113e2565b5b5f611d7885828601611430565b9250506020611d8985828601611430565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611dd757607f821691505b602082108103611dea57611de9611d93565b5b50919050565b5f604082019050611e035f830185611a8a565b611e106020830184611478565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611e4e826116ee565b9150611e59836116ee565b9250828203905060ff811115611e7257611e71611e17565b5b92915050565b5f8160011c9050919050565b5f808291508390505b6001851115611ecd57808604811115611ea957611ea8611e17565b5b6001851615611eb85780820291505b8081029050611ec685611e78565b9450611e8d565b94509492505050565b5f82611ee55760019050611fa0565b81611ef2575f9050611fa0565b8160018114611f085760028114611f1257611f41565b6001915050611fa0565b60ff841115611f2457611f23611e17565b5b8360020a915084821115611f3b57611f3a611e17565b5b50611fa0565b5060208310610133831016604e8410600b8410161715611f765782820a905083811115611f7157611f70611e17565b5b611fa0565b611f838484846001611e84565b92509050818404811115611f9a57611f99611e17565b5b81810290505b9392505050565b5f611fb18261146f565b9150611fbc836116ee565b9250611fe97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611ed6565b905092915050565b5f611ffb8261146f565b91506120068361146f565b92508282026120148161146f565b9150828204841483151761202b5761202a611e17565b5b5092915050565b5f82825260208201905092915050565b5f80fd5b82818337505050565b5f61205a8385612032565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561208d5761208c612042565b5b60208302925061209e838584612046565b82840190509392505050565b5f6080820190506120bd5f8301886117b1565b6120ca6020830187611a8a565b6120d76040830186611478565b81810360608301526120ea81848661204f565b90509695505050505050565b6120ff81611598565b8114612109575f80fd5b50565b5f8151905061211a816120f6565b92915050565b5f60208284031215612135576121346113e2565b5b5f6121428482850161210c565b91505092915050565b5f6121558261146f565b91506121608361146f565b925082820390508181111561217857612177611e17565b5b92915050565b5f6121888261146f565b91506121938361146f565b92508282019050808211156121ab576121aa611e17565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f80fd5b5f80fd5b5f80fd5b5f8083356001602003843603038112612206576122056121de565b5b80840192508235915067ffffffffffffffff821115612228576122276121e2565b5b602083019250602082023603831315612244576122436121e6565b5b509250929050565b5f8151905061225a81611a35565b92915050565b5f60208284031215612275576122746113e2565b5b5f6122828482850161224c565b91505092915050565b5f61229d61229884611b2e565b611b14565b9050828152602081018484840111156122b9576122b8611ab2565b5b6122c48482856114ba565b509392505050565b5f82601f8301126122e0576122df61168d565b5b81516122f084826020860161228b565b91505092915050565b5f6020828403121561230e5761230d6113e2565b5b5f82015167ffffffffffffffff81111561232b5761232a6113e6565b5b612337848285016122cc565b91505092915050565b5f6060820190506123535f830186611a8a565b6123606020830185611478565b61236d6040830184611478565b94935050505056fea26469706673582212206eb7b94a05322443545defce0bf6f9b34b9c5295d8927fd4d281824f1f4f5ed564736f6c63430008190033

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.