ERC-20
Overview
Max Total Supply
1,678,262,772,171.72 PP
Holders
6,678
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,420,369 PPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PoorPleb
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract PoorPleb is ERC20, ERC20Burnable, Ownable { bytes32 public immutable merkleRoot; uint256 public immutable claimAmount; uint256 public immutable allowClaimAllDate; uint256 public immutable PAAmountPerClaim; uint256 public totalClaimedAmount; uint256 public claimCounter; address public PA; bool internal PAclaimed; mapping(address => bool) public claimed; event Claim(address indexed claimer, uint256 amount); // CONSTRUCTOR ------------------------------------------------------------------------------------------ constructor(bytes32 _merkleRoot) ERC20("PoorPleb", "PP") { _mint(msg.sender, 1666725026387720000000000000000); merkleRoot = _merkleRoot; claimAmount = 1420369000000000000000000; PAAmountPerClaim = 420369000000000000000000; totalClaimedAmount = 0; allowClaimAllDate = block.timestamp + 69 days; // 69 days of claim phase PAclaimed = false; } // CONTRACT FUNCTIONS ------------------------------------------------------------------------------------ function claim(bytes32[] calldata merkleProof) external { require(block.timestamp <= allowClaimAllDate, "claim period is over"); require( canClaim(msg.sender, merkleProof), "MerkleAirdrop: Address is not a candidate for claim" ); claimed[msg.sender] = true; _mint(msg.sender, claimAmount); totalClaimedAmount += claimAmount; claimCounter++; emit Claim(msg.sender, claimAmount); } function getPAClaimableAmount() external view returns (uint256) { return PAAmountPerClaim * claimCounter; } function setPA(address account) external onlyOwner { require(account != address(0), "PA address cannot be 0"); PA = account; } function claimPA() external { require(block.timestamp >= allowClaimAllDate, "cant claim yet"); require(PA != address(0), "set PA first"); require(!PAclaimed, "already claimed"); PAclaimed = true; _mint(PA, PAAmountPerClaim * claimCounter); emit Claim(PA, PAAmountPerClaim * claimCounter); } function canClaim(address claimer, bytes32[] calldata merkleProof) public view returns (bool) { return !claimed[claimer] && MerkleProof.verify( merkleProof, merkleRoot, keccak256(abi.encodePacked(claimer)) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ library MerkleProof { /** * @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} * * _Available since v4.7._ */ 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. * * _Available since v4.4._ */ 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} * * _Available since v4.7._ */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ 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} * * _Available since v4.7._ */ 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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } 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) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","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":[],"name":"PA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAAmountPerClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowClaimAllDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"claimer","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimPA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPAClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"address","name":"account","type":"address"}],"name":"setPA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","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"}]
Contract Creation Code
6101006040523480156200001257600080fd5b5060405162001a1238038062001a12833981016040819052620000359162000257565b604051806040016040528060088152602001672837b7b9283632b160c11b81525060405180604001604052806002815260200161050560f41b815250816003908162000082919062000315565b50600462000091828262000315565b505050620000ae620000a86200011460201b60201c565b62000118565b620000c7336c15097aa0d746bab534dbb400006200016a565b60808190526a012cc65b973e8326a4000060a0526959043fc8719585a4000060e0526000600655620000fd42625af780620003e1565b60c052506008805460ff60a01b1916905562000409565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001c55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001d99190620003e1565b90915550506001600160a01b0382166000908152602081905260408120805483929062000208908490620003e1565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b6000602082840312156200026a57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029c57607f821691505b602082108103620002bd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025257600081815260208120601f850160051c81016020861015620002ec5750805b601f850160051c820191505b818110156200030d57828155600101620002f8565b505050505050565b81516001600160401b0381111562000331576200033162000271565b620003498162000342845462000287565b84620002c3565b602080601f831160018114620003815760008415620003685750858301515b600019600386901b1c1916600185901b1785556200030d565b600085815260208120601f198616915b82811015620003b25788860151825594840194600190910190840162000391565b5085821015620003d15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200040357634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e05161159062000482600039600081816104170152818161076f015281816107d20152610ae40152600081816102880152818161064c015261091c01526000818161032c01528181610a1401528181610a3a0152610a89015260008181610252015261058101526115906000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80637d94502411610104578063a457c2d7116100a2578063c884ef8311610071578063c884ef83146103ef578063ca951c2014610412578063dd62ed3e14610439578063f2fde38b1461044c57600080fd5b8063a457c2d7146103ae578063a9059cbb146103c1578063b391c508146103d4578063bef68074146103e757600080fd5b80638da5cb5b116100de5780638da5cb5b146103795780639324af131461038a57806395d89b411461039d5780639661cb0d146103a557600080fd5b80637d9450241461031f578063830953ab146103275780638434d01a1461034e57600080fd5b806335fe86e9116101715780634efa8f171161014b5780634efa8f17146102d257806370a08231146102db578063715018a61461030457806379cc67901461030c57600080fd5b806335fe86e91461028357806339509351146102aa57806342966c68146102bd57600080fd5b806318894daf116101ad57806318894daf1461022757806323b872dd1461023a5780632eb4a7ab1461024d578063313ce5671461027457600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc61045f565b6040516101e99190611286565b60405180910390f35b6102056102003660046112f0565b6104f1565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611366565b61050b565b6102056102483660046113b9565b6105ca565b6102197f000000000000000000000000000000000000000000000000000000000000000081565b604051601281526020016101e9565b6102197f000000000000000000000000000000000000000000000000000000000000000081565b6102056102b83660046112f0565b6105ee565b6102d06102cb3660046113f5565b610610565b005b61021960075481565b6102196102e936600461140e565b6001600160a01b031660009081526020819052604090205490565b6102d061061d565b6102d061031a3660046112f0565b610631565b6102d061064a565b6102197f000000000000000000000000000000000000000000000000000000000000000081565b600854610361906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6005546001600160a01b0316610361565b6102d061039836600461140e565b610809565b6101dc610882565b61021960065481565b6102056103bc3660046112f0565b610891565b6102056103cf3660046112f0565b61090c565b6102d06103e2366004611429565b61091a565b610219610add565b6102056103fd36600461140e565b60096020526000908152604090205460ff1681565b6102197f000000000000000000000000000000000000000000000000000000000000000081565b61021961044736600461146b565b610b12565b6102d061045a36600461140e565b610b3d565b60606003805461046e9061149e565b80601f016020809104026020016040519081016040528092919081815260200182805461049a9061149e565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b6000336104ff818585610bb3565b60019150505b92915050565b6001600160a01b03831660009081526009602052604081205460ff161580156105c257506105c2838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff1960608a901b1660208201527f00000000000000000000000000000000000000000000000000000000000000009250603401905060405160208183030381529060405280519060200120610cd8565b949350505050565b6000336105d8858285610cee565b6105e3858585610d68565b506001949350505050565b6000336104ff8185856106018383610b12565b61060b91906114ee565b610bb3565b61061a3382610f36565b50565b61062561107c565b61062f60006110d6565b565b61063c823383610cee565b6106468282610f36565b5050565b7f00000000000000000000000000000000000000000000000000000000000000004210156106b05760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b60448201526064015b60405180910390fd5b6008546001600160a01b03166106f75760405162461bcd60e51b815260206004820152600c60248201526b1cd95d08141048199a5c9cdd60a21b60448201526064016106a7565b600854600160a01b900460ff16156107435760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064016106a7565b6008805460ff60a01b198116600160a01b17909155600754610798916001600160a01b031690610793907f0000000000000000000000000000000000000000000000000000000000000000611501565b611128565b6008546007546001600160a01b03909116907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4906107f6907f0000000000000000000000000000000000000000000000000000000000000000611501565b60405190815260200160405180910390a2565b61081161107c565b6001600160a01b0381166108605760405162461bcd60e51b81526020600482015260166024820152750504120616464726573732063616e6e6f7420626520360541b60448201526064016106a7565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461046e9061149e565b6000338161089f8286610b12565b9050838110156108ff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a7565b6105e38286868403610bb3565b6000336104ff818585610d68565b7f00000000000000000000000000000000000000000000000000000000000000004211156109815760405162461bcd60e51b815260206004820152601460248201527331b630b4b6903832b934b7b21034b99037bb32b960611b60448201526064016106a7565b61098c33838361050b565b6109f45760405162461bcd60e51b815260206004820152603360248201527f4d65726b6c6541697264726f703a2041646472657373206973206e6f7420612060448201527263616e64696461746520666f7220636c61696d60681b60648201526084016106a7565b336000818152600960205260409020805460ff19166001179055610a38907f0000000000000000000000000000000000000000000000000000000000000000611128565b7f000000000000000000000000000000000000000000000000000000000000000060066000828254610a6a91906114ee565b909155505060078054906000610a7f83611518565b90915550506040517f0000000000000000000000000000000000000000000000000000000000000000815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49060200160405180910390a25050565b60006007547f0000000000000000000000000000000000000000000000000000000000000000610b0d9190611501565b905090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b4561107c565b6001600160a01b038116610baa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a7565b61061a816110d6565b6001600160a01b038316610c155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a7565b6001600160a01b038216610c765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600082610ce58584611207565b14949350505050565b6000610cfa8484610b12565b90506000198114610d625781811015610d555760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a7565b610d628484848403610bb3565b50505050565b6001600160a01b038316610dcc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a7565b6001600160a01b038216610e2e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a7565b6001600160a01b03831660009081526020819052604090205481811015610ea65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610edd9084906114ee565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f2991815260200190565b60405180910390a3610d62565b6001600160a01b038216610f965760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106a7565b6001600160a01b0382166000908152602081905260409020548181101561100a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106a7565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611039908490611531565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ccb565b6005546001600160a01b0316331461062f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a7565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661117e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a7565b806002600082825461119091906114ee565b90915550506001600160a01b038216600090815260208190526040812080548392906111bd9084906114ee565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600081815b845181101561124c576112388286838151811061122b5761122b611544565b6020026020010151611254565b91508061124481611518565b91505061120c565b509392505050565b600081831061127057600082815260208490526040902061127f565b60008381526020839052604090205b9392505050565b600060208083528351808285015260005b818110156112b357858101830151858201604001528201611297565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112eb57600080fd5b919050565b6000806040838503121561130357600080fd5b61130c836112d4565b946020939093013593505050565b60008083601f84011261132c57600080fd5b50813567ffffffffffffffff81111561134457600080fd5b6020830191508360208260051b850101111561135f57600080fd5b9250929050565b60008060006040848603121561137b57600080fd5b611384846112d4565b9250602084013567ffffffffffffffff8111156113a057600080fd5b6113ac8682870161131a565b9497909650939450505050565b6000806000606084860312156113ce57600080fd5b6113d7846112d4565b92506113e5602085016112d4565b9150604084013590509250925092565b60006020828403121561140757600080fd5b5035919050565b60006020828403121561142057600080fd5b61127f826112d4565b6000806020838503121561143c57600080fd5b823567ffffffffffffffff81111561145357600080fd5b61145f8582860161131a565b90969095509350505050565b6000806040838503121561147e57600080fd5b611487836112d4565b9150611495602084016112d4565b90509250929050565b600181811c908216806114b257607f821691505b6020821081036114d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610505576105056114d8565b8082028115828204841417610505576105056114d8565b60006001820161152a5761152a6114d8565b5060010190565b81810381811115610505576105056114d8565b634e487b7160e01b600052603260045260246000fdfea264697066735822122045f0f1818d710cad0189778128df010a8959256a69a2129c7b087953c1548e3864736f6c634300081100336e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e275
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80637d94502411610104578063a457c2d7116100a2578063c884ef8311610071578063c884ef83146103ef578063ca951c2014610412578063dd62ed3e14610439578063f2fde38b1461044c57600080fd5b8063a457c2d7146103ae578063a9059cbb146103c1578063b391c508146103d4578063bef68074146103e757600080fd5b80638da5cb5b116100de5780638da5cb5b146103795780639324af131461038a57806395d89b411461039d5780639661cb0d146103a557600080fd5b80637d9450241461031f578063830953ab146103275780638434d01a1461034e57600080fd5b806335fe86e9116101715780634efa8f171161014b5780634efa8f17146102d257806370a08231146102db578063715018a61461030457806379cc67901461030c57600080fd5b806335fe86e91461028357806339509351146102aa57806342966c68146102bd57600080fd5b806318894daf116101ad57806318894daf1461022757806323b872dd1461023a5780632eb4a7ab1461024d578063313ce5671461027457600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc61045f565b6040516101e99190611286565b60405180910390f35b6102056102003660046112f0565b6104f1565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611366565b61050b565b6102056102483660046113b9565b6105ca565b6102197f6e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e27581565b604051601281526020016101e9565b6102197f0000000000000000000000000000000000000000000000000000000063ba08ff81565b6102056102b83660046112f0565b6105ee565b6102d06102cb3660046113f5565b610610565b005b61021960075481565b6102196102e936600461140e565b6001600160a01b031660009081526020819052604090205490565b6102d061061d565b6102d061031a3660046112f0565b610631565b6102d061064a565b6102197f000000000000000000000000000000000000000000012cc65b973e8326a4000081565b600854610361906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6005546001600160a01b0316610361565b6102d061039836600461140e565b610809565b6101dc610882565b61021960065481565b6102056103bc3660046112f0565b610891565b6102056103cf3660046112f0565b61090c565b6102d06103e2366004611429565b61091a565b610219610add565b6102056103fd36600461140e565b60096020526000908152604090205460ff1681565b6102197f0000000000000000000000000000000000000000000059043fc8719585a4000081565b61021961044736600461146b565b610b12565b6102d061045a36600461140e565b610b3d565b60606003805461046e9061149e565b80601f016020809104026020016040519081016040528092919081815260200182805461049a9061149e565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b6000336104ff818585610bb3565b60019150505b92915050565b6001600160a01b03831660009081526009602052604081205460ff161580156105c257506105c2838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff1960608a901b1660208201527f6e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e2759250603401905060405160208183030381529060405280519060200120610cd8565b949350505050565b6000336105d8858285610cee565b6105e3858585610d68565b506001949350505050565b6000336104ff8185856106018383610b12565b61060b91906114ee565b610bb3565b61061a3382610f36565b50565b61062561107c565b61062f60006110d6565b565b61063c823383610cee565b6106468282610f36565b5050565b7f0000000000000000000000000000000000000000000000000000000063ba08ff4210156106b05760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b60448201526064015b60405180910390fd5b6008546001600160a01b03166106f75760405162461bcd60e51b815260206004820152600c60248201526b1cd95d08141048199a5c9cdd60a21b60448201526064016106a7565b600854600160a01b900460ff16156107435760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064016106a7565b6008805460ff60a01b198116600160a01b17909155600754610798916001600160a01b031690610793907f0000000000000000000000000000000000000000000059043fc8719585a40000611501565b611128565b6008546007546001600160a01b03909116907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4906107f6907f0000000000000000000000000000000000000000000059043fc8719585a40000611501565b60405190815260200160405180910390a2565b61081161107c565b6001600160a01b0381166108605760405162461bcd60e51b81526020600482015260166024820152750504120616464726573732063616e6e6f7420626520360541b60448201526064016106a7565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461046e9061149e565b6000338161089f8286610b12565b9050838110156108ff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106a7565b6105e38286868403610bb3565b6000336104ff818585610d68565b7f0000000000000000000000000000000000000000000000000000000063ba08ff4211156109815760405162461bcd60e51b815260206004820152601460248201527331b630b4b6903832b934b7b21034b99037bb32b960611b60448201526064016106a7565b61098c33838361050b565b6109f45760405162461bcd60e51b815260206004820152603360248201527f4d65726b6c6541697264726f703a2041646472657373206973206e6f7420612060448201527263616e64696461746520666f7220636c61696d60681b60648201526084016106a7565b336000818152600960205260409020805460ff19166001179055610a38907f000000000000000000000000000000000000000000012cc65b973e8326a40000611128565b7f000000000000000000000000000000000000000000012cc65b973e8326a4000060066000828254610a6a91906114ee565b909155505060078054906000610a7f83611518565b90915550506040517f000000000000000000000000000000000000000000012cc65b973e8326a40000815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49060200160405180910390a25050565b60006007547f0000000000000000000000000000000000000000000059043fc8719585a40000610b0d9190611501565b905090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b4561107c565b6001600160a01b038116610baa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a7565b61061a816110d6565b6001600160a01b038316610c155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a7565b6001600160a01b038216610c765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600082610ce58584611207565b14949350505050565b6000610cfa8484610b12565b90506000198114610d625781811015610d555760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106a7565b610d628484848403610bb3565b50505050565b6001600160a01b038316610dcc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a7565b6001600160a01b038216610e2e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a7565b6001600160a01b03831660009081526020819052604090205481811015610ea65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106a7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610edd9084906114ee565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f2991815260200190565b60405180910390a3610d62565b6001600160a01b038216610f965760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106a7565b6001600160a01b0382166000908152602081905260409020548181101561100a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106a7565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611039908490611531565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ccb565b6005546001600160a01b0316331461062f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a7565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661117e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106a7565b806002600082825461119091906114ee565b90915550506001600160a01b038216600090815260208190526040812080548392906111bd9084906114ee565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600081815b845181101561124c576112388286838151811061122b5761122b611544565b6020026020010151611254565b91508061124481611518565b91505061120c565b509392505050565b600081831061127057600082815260208490526040902061127f565b60008381526020839052604090205b9392505050565b600060208083528351808285015260005b818110156112b357858101830151858201604001528201611297565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112eb57600080fd5b919050565b6000806040838503121561130357600080fd5b61130c836112d4565b946020939093013593505050565b60008083601f84011261132c57600080fd5b50813567ffffffffffffffff81111561134457600080fd5b6020830191508360208260051b850101111561135f57600080fd5b9250929050565b60008060006040848603121561137b57600080fd5b611384846112d4565b9250602084013567ffffffffffffffff8111156113a057600080fd5b6113ac8682870161131a565b9497909650939450505050565b6000806000606084860312156113ce57600080fd5b6113d7846112d4565b92506113e5602085016112d4565b9150604084013590509250925092565b60006020828403121561140757600080fd5b5035919050565b60006020828403121561142057600080fd5b61127f826112d4565b6000806020838503121561143c57600080fd5b823567ffffffffffffffff81111561145357600080fd5b61145f8582860161131a565b90969095509350505050565b6000806040838503121561147e57600080fd5b611487836112d4565b9150611495602084016112d4565b90509250929050565b600181811c908216806114b257607f821691505b6020821081036114d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610505576105056114d8565b8082028115828204841417610505576105056114d8565b60006001820161152a5761152a6114d8565b5060010190565b81810381811115610505576105056114d8565b634e487b7160e01b600052603260045260246000fdfea264697066735822122045f0f1818d710cad0189778128df010a8959256a69a2129c7b087953c1548e3864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
6e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e275
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x6e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e275
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 6e6d92db256ad1423cd19ba49aa5cc644a05658a441c8a6863d2dffe7988e275
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.