ERC-20
Overview
Max Total Supply
12,500,440.431076388888888855 CORP
Holders
16
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
190.774999999999999992 CORPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x347D2288...58F969994 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
CORP
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.0; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface iCorp { function ownerOf(uint256 tokenId) external view returns (address); function transferFrom( address _from, address _to, uint256 _tokenId ) external; } contract CORP is ERC20Burnable, Ownable { uint256 public _maxSupply = 45000000 ether; uint256 public _initialSupply = 12500000 ether; iCorp public Corp; address corpContract; uint256 public constant BASE_RATE = 5 ether; uint256 public START; bool rewardPaused = false; uint256 TIME_RATE = 86400; uint256 MINT_STAKE_BONUS = 20 ether; //Staking //addressStaked mapping(address => uint256[]) public addressStaked; //tokenStakeTime mapping(uint256 => uint256) public tokenStakeTime; //tokenStaker mapping(uint256 => address) public tokenStaker; //totalStakedTime mapping(uint256 => uint256) public totalTokenStakedTime; struct UserData { bool firstTimeStaker; bool bonusActive; uint256 mintAndStaked; } mapping(address => UserData) public userData; constructor(address CorpAddress) ERC20("Corp", "CORP") { _mint(msg.sender, _initialSupply); Corp = iCorp(CorpAddress); corpContract = CorpAddress; START = block.timestamp; } //New Functionalities function getStakedTokens() public view returns (uint256[] memory) { return addressStaked[msg.sender]; } function getStakedAmount(address _address) public view returns (uint256) { return addressStaked[_address].length; } function getStaker(uint256 tokenId) public view returns (address) { return tokenStaker[tokenId]; } function getAllRewards(address staker) public view returns (uint256) { uint256 totalRewards = 0; uint256[] memory tokens = addressStaked[staker]; for (uint256 i = 0; i < tokens.length; i++) { totalRewards += getPendingRewards(tokens[i]); } if (userData[staker].bonusActive) { totalRewards = totalRewards + ((totalRewards * 25000) / 100000); } if (userData[staker].mintAndStaked > 0) { totalRewards = totalRewards + (userData[staker].mintAndStaked * MINT_STAKE_BONUS); } return totalRewards; } function stakeByIds(uint256[] calldata tokenIds) external stakingEnabled { require(totalSupply() <= _maxSupply, "NO_MORE_MINTABLE_SUPPLY"); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; Corp.transferFrom(msg.sender, address(this), id); addressStaked[msg.sender].push(id); tokenStakeTime[id] = block.timestamp; tokenStaker[id] = msg.sender; } if (!userData[msg.sender].firstTimeStaker) { userData[msg.sender].firstTimeStaker = true; userData[msg.sender].bonusActive = true; } } function mintAndStake(address owner, uint256[] calldata tokenIds) external stakingEnabled { require(totalSupply() <= _maxSupply, "NO_MORE_MINTABLE_SUPPLY"); require(msg.sender == corpContract, "NFT_CONTRACT_ONLY"); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; Corp.transferFrom(owner, address(this), id); addressStaked[owner].push(id); tokenStakeTime[id] = block.timestamp; tokenStaker[id] = owner; userData[owner].mintAndStaked += 1; } if (!userData[owner].firstTimeStaker) { userData[owner].firstTimeStaker = true; userData[owner].bonusActive = true; } } function unstakeByIds(uint256[] calldata tokenIds) external { uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; require(tokenStaker[id] == msg.sender, "NEEDS_TO_BE_OWNER"); Corp.transferFrom(address(this), msg.sender, id); totalRewards += getPendingRewards(id); totalTokenStakedTime[id] += block.timestamp - tokenStakeTime[id]; removeTokenIdFromArray(addressStaked[msg.sender], id); tokenStaker[id] = address(0); } userData[msg.sender].bonusActive = false; if (totalSupply() <= _maxSupply) { _mint(msg.sender, totalRewards); } } function unstakeAll() external { require(totalSupply() <= _maxSupply, "NO_MORE_MINTABLE_SUPPLY"); require(getStakedAmount(msg.sender) > 0, "NO_TOKENS_STAKED"); uint256 totalRewards = 0; for (uint256 i = addressStaked[msg.sender].length; i > 0; i--) { uint256 id = addressStaked[msg.sender][i - 1]; Corp.transferFrom(address(this), msg.sender, id); totalRewards += getPendingRewards(id); totalTokenStakedTime[id] += block.timestamp - tokenStakeTime[id]; addressStaked[msg.sender].pop(); tokenStaker[id] = address(0); } userData[msg.sender].bonusActive = false; _mint(msg.sender, totalRewards); } function claimAll() external { require(totalSupply() <= _maxSupply, "NO_MORE_MINTABLE_SUPPLY"); uint256 totalRewards = 0; uint256[] memory tokens = addressStaked[msg.sender]; require(tokens.length > 0, "NO_TOKENS_STAKED"); for (uint256 i = 0; i < tokens.length; i++) { uint256 id = tokens[i]; totalRewards += getPendingRewards(id); tokenStakeTime[id] = block.timestamp; } if (userData[msg.sender].bonusActive) { totalRewards = totalRewards + ((totalRewards * 25000) / 100000); } if (userData[msg.sender].mintAndStaked > 0) { totalRewards = totalRewards + (userData[msg.sender].mintAndStaked * MINT_STAKE_BONUS); userData[msg.sender].mintAndStaked = 0; } _mint(msg.sender, totalRewards); } function removeTokenIdFromArray(uint256[] storage array, uint256 tokenId) internal { uint256 length = array.length; for (uint256 i = 0; i < length; i++) { if (array[i] == tokenId) { length--; if (i < length) { array[i] = array[length]; } array.pop(); break; } } } function purchaseBurn(address user, uint256 amount) external { require(tx.origin == user, "Only the user can purchase and burn"); _burn(user, amount); } function getPendingRewards(uint256 tokenId) public view returns (uint256) { return ((BASE_RATE) * (block.timestamp - tokenStakeTime[tokenId])) / TIME_RATE; } function toggleReward() public onlyOwner { rewardPaused = !rewardPaused; } modifier stakingEnabled() { require(!rewardPaused, "NOT_LIVE"); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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 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); }
// 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.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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, _allowances[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 = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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 Spend `amount` form the allowance of `owner` toward `spender`. * * 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 v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"CorpAddress","type":"address"}],"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":"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":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Corp","outputs":[{"internalType":"contract iCorp","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressStaked","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":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintAndStake","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchaseBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenStakeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTokenStakedTime","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"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userData","outputs":[{"internalType":"bool","name":"firstTimeStaker","type":"bool"},{"internalType":"bool","name":"bonusActive","type":"bool"},{"internalType":"uint256","name":"mintAndStaked","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526a25391ee35a05c54d0000006006556a0a56fa5b99019a5c800000600755600b805460ff1916905562015180600c556801158e460913d00000600d553480156200004d57600080fd5b50604051620023ac380380620023ac833981016040819052620000709162000272565b604051806040016040528060048152602001630436f72760e41b815250604051806040016040528060048152602001630434f52560e41b8152508160039081620000bb919062000348565b506004620000ca828262000348565b505050620000e7620000e16200012f60201b60201c565b62000133565b620000fb336007546200018560201b60201c565b600880546001600160a01b039092166001600160a01b031992831681179091556009805490921617905542600a556200043c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001e05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001f4919062000414565b90915550506001600160a01b038216600090815260208190526040812080548392906200022390849062000414565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b6000602082840312156200028557600080fd5b81516001600160a01b03811681146200029d57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002cf57607f821691505b602082108103620002f057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026d57600081815260208120601f850160051c810160208610156200031f5750805b601f850160051c820191505b8181101562000340578281556001016200032b565b505050505050565b81516001600160401b03811115620003645762000364620002a4565b6200037c81620003758454620002ba565b84620002f6565b602080601f831160018114620003b457600084156200039b5750858301515b600019600386901b1c1916600185901b17855562000340565b600085815260208120601f198616915b82811015620003e557888601518255948401946001909101908401620003c4565b5085821015620004045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200043657634e487b7160e01b600052601160045260246000fd5b92915050565b611f60806200044c6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806379cc679011610130578063cac020ae116100b8578063ee2231991161007c578063ee2231991461054e578063f2fde38b1461056e578063f55d890f14610581578063f78d6eda14610594578063f9f87c18146105a757600080fd5b8063cac020ae146104b1578063d1058e59146104d1578063d9ffad47146104d9578063dd62ed3e146104ec578063e3c998fe1461052557600080fd5b8063a9059cbb116100ff578063a9059cbb14610433578063ac8724cf14610446578063ba9a061a1461044e578063c3b2d33714610457578063c89109131461046057600080fd5b806379cc6790146103f45780638da5cb5b1461040757806395d89b4114610418578063a457c2d71461042057600080fd5b8063362a3fad116101be57806349aef7581161018257806349aef758146103465780634da6a55614610359578063694922ea1461038257806370a08231146103c3578063715018a6146103ec57600080fd5b8063362a3fad146102eb57806339509351146102fe57806341910f901461031157806342966c681461032057806348aa19361461033357600080fd5b806318160ddd1161020557806318160ddd146102ae57806322f4596f146102b657806323b872dd146102bf578063313ce567146102d257806335322f37146102e157600080fd5b806306fdde0314610237578063095ea7b3146102555780630e469a7c14610278578063102198c11461028d575b600080fd5b61023f6105ba565b60405161024c9190611b2c565b60405180910390f35b610268610263366004611b96565b61064c565b604051901515815260200161024c565b610280610666565b60405161024c9190611bc0565b6102a061029b366004611b96565b6106c6565b60405190815260200161024c565b6002546102a0565b6102a060065481565b6102686102cd366004611c04565b6106f7565b6040516012815260200161024c565b6102e961071b565b005b6102a06102f9366004611c40565b610929565b61026861030c366004611b96565b610a8a565b6102a0674563918244f4000081565b6102e961032e366004611c62565b610ac9565b6102e9610341366004611cc7565b610ad3565b6102e9610354366004611d09565b610c8e565b6102a0610367366004611c40565b6001600160a01b03166000908152600e602052604090205490565b6103ab610390366004611c62565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b6102a06103d1366004611c40565b6001600160a01b031660009081526020819052604090205490565b6102e9610ea1565b6102e9610402366004611b96565b610ed7565b6005546001600160a01b03166103ab565b61023f610ef0565b61026861042e366004611b96565b610eff565b610268610441366004611b96565b610f91565b6102e9610f9f565b6102a0600a5481565b6102a060075481565b61049461046e366004611c40565b6012602052600090815260409020805460019091015460ff808316926101009004169083565b60408051931515845291151560208401529082015260600161024c565b6102a06104bf366004611c62565b60116020526000908152604090205481565b6102e9610fdd565b6102e96104e7366004611cc7565b6111aa565b6102a06104fa366004611d5c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103ab610533366004611c62565b6000908152601060205260409020546001600160a01b031690565b6102a061055c366004611c62565b600f6020526000908152604090205481565b6102e961057c366004611c40565b611334565b6102e961058f366004611b96565b6113cc565b6008546103ab906001600160a01b031681565b6102a06105b5366004611c62565b611430565b6060600380546105c990611d8f565b80601f01602080910402602001604051908101604052809291908181526020018280546105f590611d8f565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b60003361065a81858561146b565b60019150505b92915050565b336000908152600e602090815260409182902080548351818402810184019094528084526060939283018282801561064257602002820191906000526020600020905b8154815260200190600101908083116106a9575050505050905090565b600e60205281600052604060002081815481106106e257600080fd5b90600052602060002001600091509150505481565b60003361070585828561158f565b610710858585611621565b506001949350505050565b60065460025411156107485760405162461bcd60e51b815260040161073f90611dc9565b60405180910390fd5b336000908152600e6020526040812054116107985760405162461bcd60e51b815260206004820152601060248201526f1393d7d513d2d15394d7d4d51052d15160821b604482015260640161073f565b336000908152600e60205260408120545b801561090357336000908152600e602052604081206107c9600184611e16565b815481106107d9576107d9611e29565b6000918252602090912001546008546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061081a90309033908690600401611e3f565b600060405180830381600087803b15801561083457600080fd5b505af1158015610848573d6000803e3d6000fd5b5050505061085581611430565b61085f9084611e63565b6000828152600f602052604090205490935061087b9042611e16565b60008281526011602052604081208054909190610899908490611e63565b9091555050336000908152600e602052604090208054806108bc576108bc611e76565b60008281526020808220830160001990810183905590920190925591815260109091526040902080546001600160a01b0319169055806108fb81611e8c565b9150506107a9565b50336000818152601260205260409020805461ff001916905561092690826117ef565b50565b6001600160a01b0381166000908152600e6020908152604080832080548251818502810185019093528083528493849392919083018282801561098b57602002820191906000526020600020905b815481526020019060010190808311610977575b5050505050905060005b81518110156109de576109c08282815181106109b3576109b3611e29565b6020026020010151611430565b6109ca9084611e63565b9250806109d681611ea3565b915050610995565b506001600160a01b038416600090815260126020526040902054610100900460ff1615610a2c57620186a0610a15836161a8611ebc565b610a1f9190611ed3565b610a299083611e63565b91505b6001600160a01b03841660009081526012602052604090206001015415610a8357600d546001600160a01b038516600090815260126020526040902060010154610a769190611ebc565b610a809083611e63565b91505b5092915050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061065a9082908690610ac4908790611e63565b61146b565b61092633826118ce565b6000805b82811015610c5b576000848483818110610af357610af3611e29565b6020908102929092013560008181526010909352604090922054919250506001600160a01b03163314610b5c5760405162461bcd60e51b81526020600482015260116024820152702722a2a229afaa27afa122afa7aba722a960791b604482015260640161073f565b6008546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610b9090309033908690600401611e3f565b600060405180830381600087803b158015610baa57600080fd5b505af1158015610bbe573d6000803e3d6000fd5b50505050610bcb81611430565b610bd59084611e63565b6000828152600f6020526040902054909350610bf19042611e16565b60008281526011602052604081208054909190610c0f908490611e63565b9091555050336000908152600e60205260409020610c2d9082611a1c565b600090815260106020526040902080546001600160a01b031916905580610c5381611ea3565b915050610ad7565b50336000908152601260205260409020805461ff001916905560065460025411610c8957610c8933826117ef565b505050565b600b5460ff1615610ccc5760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b604482015260640161073f565b6006546002541115610cf05760405162461bcd60e51b815260040161073f90611dc9565b6009546001600160a01b03163314610d3e5760405162461bcd60e51b81526020600482015260116024820152704e46545f434f4e54524143545f4f4e4c5960781b604482015260640161073f565b60005b81811015610e58576000838383818110610d5d57610d5d611e29565b6008546040516323b872dd60e01b81526020909202939093013593506001600160a01b03909216916323b872dd9150610d9e90889030908690600401611e3f565b600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b5050506001600160a01b0386166000818152600e6020908152604080832080546001818101835591855283852001879055868452600f83528184204290556010835281842080546001600160a01b03191686179055938352601290915281208201805492935091610e3e908490611e63565b90915550829150610e50905081611ea3565b915050610d41565b506001600160a01b03831660009081526012602052604090205460ff16610c895750506001600160a01b03166000908152601260205260409020805461ffff1916610101179055565b6005546001600160a01b03163314610ecb5760405162461bcd60e51b815260040161073f90611ef5565b610ed56000611ada565b565b610ee282338361158f565b610eec82826118ce565b5050565b6060600480546105c990611d8f565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161073f565b610710828686840361146b565b60003361065a818585611621565b6005546001600160a01b03163314610fc95760405162461bcd60e51b815260040161073f90611ef5565b600b805460ff19811660ff90911615179055565b60065460025411156110015760405162461bcd60e51b815260040161073f90611dc9565b336000908152600e602090815260408083208054825181850281018501909352808352849383018282801561105557602002820191906000526020600020905b815481526020019060010190808311611041575b5050505050905060008151116110a05760405162461bcd60e51b815260206004820152601060248201526f1393d7d513d2d15394d7d4d51052d15160821b604482015260640161073f565b60005b81518110156111035760008282815181106110c0576110c0611e29565b602002602001015190506110d381611430565b6110dd9085611e63565b6000918252600f60205260409091204290559250806110fb81611ea3565b9150506110a3565b5033600090815260126020526040902054610100900460ff161561114857620186a0611131836161a8611ebc565b61113b9190611ed3565b6111459083611e63565b91505b33600090815260126020526040902060010154156111a057600d54336000908152601260205260409020600101546111809190611ebc565b61118a9083611e63565b3360009081526012602052604081206001015591505b610eec33836117ef565b600b5460ff16156111e85760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b604482015260640161073f565b600654600254111561120c5760405162461bcd60e51b815260040161073f90611dc9565b60005b818110156112fc57600083838381811061122b5761122b611e29565b6008546040516323b872dd60e01b81526020909202939093013593506001600160a01b03909216916323b872dd915061126c90339030908690600401611e3f565b600060405180830381600087803b15801561128657600080fd5b505af115801561129a573d6000803e3d6000fd5b5050336000818152600e60209081526040808320805460018101825590845282842001879055958252600f8152858220429055601090529390932080546001600160a01b031916909317909255508190506112f481611ea3565b91505061120f565b503360009081526012602052604090205460ff16610eec575050336000908152601260205260409020805461ffff1916610101179055565b6005546001600160a01b0316331461135e5760405162461bcd60e51b815260040161073f90611ef5565b6001600160a01b0381166113c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073f565b61092681611ada565b326001600160a01b03831614610ee25760405162461bcd60e51b815260206004820152602360248201527f4f6e6c792074686520757365722063616e20707572636861736520616e6420626044820152623ab93760e91b606482015260840161073f565b600c546000828152600f602052604081205490919061144f9042611e16565b61146190674563918244f40000611ebc565b6106609190611ed3565b6001600160a01b0383166114cd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161073f565b6001600160a01b03821661152e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161073f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461161b578181101561160e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161073f565b61161b848484840361146b565b50505050565b6001600160a01b0383166116855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161073f565b6001600160a01b0382166116e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161073f565b6001600160a01b0383166000908152602081905260409020548181101561175f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161073f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611796908490611e63565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117e291815260200190565b60405180910390a361161b565b6001600160a01b0382166118455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161073f565b80600260008282546118579190611e63565b90915550506001600160a01b03821660009081526020819052604081208054839290611884908490611e63565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661192e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161073f565b6001600160a01b038216600090815260208190526040902054818110156119a25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161073f565b6001600160a01b03831660009081526020819052604081208383039055600280548492906119d1908490611e16565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b815460005b8181101561161b5782848281548110611a3c57611a3c611e29565b906000526020600020015403611ac85781611a5681611e8c565b92505081811015611a9d57838281548110611a7357611a73611e29565b9060005260206000200154848281548110611a9057611a90611e29565b6000918252602090912001555b83805480611aad57611aad611e76565b6001900381819060005260206000200160009055905561161b565b80611ad281611ea3565b915050611a21565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015611b5957858101830151858201604001528201611b3d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611b9157600080fd5b919050565b60008060408385031215611ba957600080fd5b611bb283611b7a565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b81811015611bf857835183529284019291840191600101611bdc565b50909695505050505050565b600080600060608486031215611c1957600080fd5b611c2284611b7a565b9250611c3060208501611b7a565b9150604084013590509250925092565b600060208284031215611c5257600080fd5b611c5b82611b7a565b9392505050565b600060208284031215611c7457600080fd5b5035919050565b60008083601f840112611c8d57600080fd5b50813567ffffffffffffffff811115611ca557600080fd5b6020830191508360208260051b8501011115611cc057600080fd5b9250929050565b60008060208385031215611cda57600080fd5b823567ffffffffffffffff811115611cf157600080fd5b611cfd85828601611c7b565b90969095509350505050565b600080600060408486031215611d1e57600080fd5b611d2784611b7a565b9250602084013567ffffffffffffffff811115611d4357600080fd5b611d4f86828701611c7b565b9497909650939450505050565b60008060408385031215611d6f57600080fd5b611d7883611b7a565b9150611d8660208401611b7a565b90509250929050565b600181811c90821680611da357607f821691505b602082108103611dc357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526017908201527f4e4f5f4d4f52455f4d494e5441424c455f535550504c59000000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561066057610660611e00565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b8082018082111561066057610660611e00565b634e487b7160e01b600052603160045260246000fd5b600081611e9b57611e9b611e00565b506000190190565b600060018201611eb557611eb5611e00565b5060010190565b808202811582820484141761066057610660611e00565b600082611ef057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220b71b0a48f19b2cc435dea4c662edb3e5651fa1f76f201f3215941549b9b5ef5e64736f6c6343000811003300000000000000000000000086258dc153a718dd6c7e9f376c45767122b82435
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c806379cc679011610130578063cac020ae116100b8578063ee2231991161007c578063ee2231991461054e578063f2fde38b1461056e578063f55d890f14610581578063f78d6eda14610594578063f9f87c18146105a757600080fd5b8063cac020ae146104b1578063d1058e59146104d1578063d9ffad47146104d9578063dd62ed3e146104ec578063e3c998fe1461052557600080fd5b8063a9059cbb116100ff578063a9059cbb14610433578063ac8724cf14610446578063ba9a061a1461044e578063c3b2d33714610457578063c89109131461046057600080fd5b806379cc6790146103f45780638da5cb5b1461040757806395d89b4114610418578063a457c2d71461042057600080fd5b8063362a3fad116101be57806349aef7581161018257806349aef758146103465780634da6a55614610359578063694922ea1461038257806370a08231146103c3578063715018a6146103ec57600080fd5b8063362a3fad146102eb57806339509351146102fe57806341910f901461031157806342966c681461032057806348aa19361461033357600080fd5b806318160ddd1161020557806318160ddd146102ae57806322f4596f146102b657806323b872dd146102bf578063313ce567146102d257806335322f37146102e157600080fd5b806306fdde0314610237578063095ea7b3146102555780630e469a7c14610278578063102198c11461028d575b600080fd5b61023f6105ba565b60405161024c9190611b2c565b60405180910390f35b610268610263366004611b96565b61064c565b604051901515815260200161024c565b610280610666565b60405161024c9190611bc0565b6102a061029b366004611b96565b6106c6565b60405190815260200161024c565b6002546102a0565b6102a060065481565b6102686102cd366004611c04565b6106f7565b6040516012815260200161024c565b6102e961071b565b005b6102a06102f9366004611c40565b610929565b61026861030c366004611b96565b610a8a565b6102a0674563918244f4000081565b6102e961032e366004611c62565b610ac9565b6102e9610341366004611cc7565b610ad3565b6102e9610354366004611d09565b610c8e565b6102a0610367366004611c40565b6001600160a01b03166000908152600e602052604090205490565b6103ab610390366004611c62565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b6102a06103d1366004611c40565b6001600160a01b031660009081526020819052604090205490565b6102e9610ea1565b6102e9610402366004611b96565b610ed7565b6005546001600160a01b03166103ab565b61023f610ef0565b61026861042e366004611b96565b610eff565b610268610441366004611b96565b610f91565b6102e9610f9f565b6102a0600a5481565b6102a060075481565b61049461046e366004611c40565b6012602052600090815260409020805460019091015460ff808316926101009004169083565b60408051931515845291151560208401529082015260600161024c565b6102a06104bf366004611c62565b60116020526000908152604090205481565b6102e9610fdd565b6102e96104e7366004611cc7565b6111aa565b6102a06104fa366004611d5c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103ab610533366004611c62565b6000908152601060205260409020546001600160a01b031690565b6102a061055c366004611c62565b600f6020526000908152604090205481565b6102e961057c366004611c40565b611334565b6102e961058f366004611b96565b6113cc565b6008546103ab906001600160a01b031681565b6102a06105b5366004611c62565b611430565b6060600380546105c990611d8f565b80601f01602080910402602001604051908101604052809291908181526020018280546105f590611d8f565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b60003361065a81858561146b565b60019150505b92915050565b336000908152600e602090815260409182902080548351818402810184019094528084526060939283018282801561064257602002820191906000526020600020905b8154815260200190600101908083116106a9575050505050905090565b600e60205281600052604060002081815481106106e257600080fd5b90600052602060002001600091509150505481565b60003361070585828561158f565b610710858585611621565b506001949350505050565b60065460025411156107485760405162461bcd60e51b815260040161073f90611dc9565b60405180910390fd5b336000908152600e6020526040812054116107985760405162461bcd60e51b815260206004820152601060248201526f1393d7d513d2d15394d7d4d51052d15160821b604482015260640161073f565b336000908152600e60205260408120545b801561090357336000908152600e602052604081206107c9600184611e16565b815481106107d9576107d9611e29565b6000918252602090912001546008546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061081a90309033908690600401611e3f565b600060405180830381600087803b15801561083457600080fd5b505af1158015610848573d6000803e3d6000fd5b5050505061085581611430565b61085f9084611e63565b6000828152600f602052604090205490935061087b9042611e16565b60008281526011602052604081208054909190610899908490611e63565b9091555050336000908152600e602052604090208054806108bc576108bc611e76565b60008281526020808220830160001990810183905590920190925591815260109091526040902080546001600160a01b0319169055806108fb81611e8c565b9150506107a9565b50336000818152601260205260409020805461ff001916905561092690826117ef565b50565b6001600160a01b0381166000908152600e6020908152604080832080548251818502810185019093528083528493849392919083018282801561098b57602002820191906000526020600020905b815481526020019060010190808311610977575b5050505050905060005b81518110156109de576109c08282815181106109b3576109b3611e29565b6020026020010151611430565b6109ca9084611e63565b9250806109d681611ea3565b915050610995565b506001600160a01b038416600090815260126020526040902054610100900460ff1615610a2c57620186a0610a15836161a8611ebc565b610a1f9190611ed3565b610a299083611e63565b91505b6001600160a01b03841660009081526012602052604090206001015415610a8357600d546001600160a01b038516600090815260126020526040902060010154610a769190611ebc565b610a809083611e63565b91505b5092915050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061065a9082908690610ac4908790611e63565b61146b565b61092633826118ce565b6000805b82811015610c5b576000848483818110610af357610af3611e29565b6020908102929092013560008181526010909352604090922054919250506001600160a01b03163314610b5c5760405162461bcd60e51b81526020600482015260116024820152702722a2a229afaa27afa122afa7aba722a960791b604482015260640161073f565b6008546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610b9090309033908690600401611e3f565b600060405180830381600087803b158015610baa57600080fd5b505af1158015610bbe573d6000803e3d6000fd5b50505050610bcb81611430565b610bd59084611e63565b6000828152600f6020526040902054909350610bf19042611e16565b60008281526011602052604081208054909190610c0f908490611e63565b9091555050336000908152600e60205260409020610c2d9082611a1c565b600090815260106020526040902080546001600160a01b031916905580610c5381611ea3565b915050610ad7565b50336000908152601260205260409020805461ff001916905560065460025411610c8957610c8933826117ef565b505050565b600b5460ff1615610ccc5760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b604482015260640161073f565b6006546002541115610cf05760405162461bcd60e51b815260040161073f90611dc9565b6009546001600160a01b03163314610d3e5760405162461bcd60e51b81526020600482015260116024820152704e46545f434f4e54524143545f4f4e4c5960781b604482015260640161073f565b60005b81811015610e58576000838383818110610d5d57610d5d611e29565b6008546040516323b872dd60e01b81526020909202939093013593506001600160a01b03909216916323b872dd9150610d9e90889030908690600401611e3f565b600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b5050506001600160a01b0386166000818152600e6020908152604080832080546001818101835591855283852001879055868452600f83528184204290556010835281842080546001600160a01b03191686179055938352601290915281208201805492935091610e3e908490611e63565b90915550829150610e50905081611ea3565b915050610d41565b506001600160a01b03831660009081526012602052604090205460ff16610c895750506001600160a01b03166000908152601260205260409020805461ffff1916610101179055565b6005546001600160a01b03163314610ecb5760405162461bcd60e51b815260040161073f90611ef5565b610ed56000611ada565b565b610ee282338361158f565b610eec82826118ce565b5050565b6060600480546105c990611d8f565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161073f565b610710828686840361146b565b60003361065a818585611621565b6005546001600160a01b03163314610fc95760405162461bcd60e51b815260040161073f90611ef5565b600b805460ff19811660ff90911615179055565b60065460025411156110015760405162461bcd60e51b815260040161073f90611dc9565b336000908152600e602090815260408083208054825181850281018501909352808352849383018282801561105557602002820191906000526020600020905b815481526020019060010190808311611041575b5050505050905060008151116110a05760405162461bcd60e51b815260206004820152601060248201526f1393d7d513d2d15394d7d4d51052d15160821b604482015260640161073f565b60005b81518110156111035760008282815181106110c0576110c0611e29565b602002602001015190506110d381611430565b6110dd9085611e63565b6000918252600f60205260409091204290559250806110fb81611ea3565b9150506110a3565b5033600090815260126020526040902054610100900460ff161561114857620186a0611131836161a8611ebc565b61113b9190611ed3565b6111459083611e63565b91505b33600090815260126020526040902060010154156111a057600d54336000908152601260205260409020600101546111809190611ebc565b61118a9083611e63565b3360009081526012602052604081206001015591505b610eec33836117ef565b600b5460ff16156111e85760405162461bcd60e51b81526020600482015260086024820152674e4f545f4c49564560c01b604482015260640161073f565b600654600254111561120c5760405162461bcd60e51b815260040161073f90611dc9565b60005b818110156112fc57600083838381811061122b5761122b611e29565b6008546040516323b872dd60e01b81526020909202939093013593506001600160a01b03909216916323b872dd915061126c90339030908690600401611e3f565b600060405180830381600087803b15801561128657600080fd5b505af115801561129a573d6000803e3d6000fd5b5050336000818152600e60209081526040808320805460018101825590845282842001879055958252600f8152858220429055601090529390932080546001600160a01b031916909317909255508190506112f481611ea3565b91505061120f565b503360009081526012602052604090205460ff16610eec575050336000908152601260205260409020805461ffff1916610101179055565b6005546001600160a01b0316331461135e5760405162461bcd60e51b815260040161073f90611ef5565b6001600160a01b0381166113c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073f565b61092681611ada565b326001600160a01b03831614610ee25760405162461bcd60e51b815260206004820152602360248201527f4f6e6c792074686520757365722063616e20707572636861736520616e6420626044820152623ab93760e91b606482015260840161073f565b600c546000828152600f602052604081205490919061144f9042611e16565b61146190674563918244f40000611ebc565b6106609190611ed3565b6001600160a01b0383166114cd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161073f565b6001600160a01b03821661152e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161073f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461161b578181101561160e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161073f565b61161b848484840361146b565b50505050565b6001600160a01b0383166116855760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161073f565b6001600160a01b0382166116e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161073f565b6001600160a01b0383166000908152602081905260409020548181101561175f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161073f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611796908490611e63565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117e291815260200190565b60405180910390a361161b565b6001600160a01b0382166118455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161073f565b80600260008282546118579190611e63565b90915550506001600160a01b03821660009081526020819052604081208054839290611884908490611e63565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03821661192e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161073f565b6001600160a01b038216600090815260208190526040902054818110156119a25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161073f565b6001600160a01b03831660009081526020819052604081208383039055600280548492906119d1908490611e16565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b815460005b8181101561161b5782848281548110611a3c57611a3c611e29565b906000526020600020015403611ac85781611a5681611e8c565b92505081811015611a9d57838281548110611a7357611a73611e29565b9060005260206000200154848281548110611a9057611a90611e29565b6000918252602090912001555b83805480611aad57611aad611e76565b6001900381819060005260206000200160009055905561161b565b80611ad281611ea3565b915050611a21565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015611b5957858101830151858201604001528201611b3d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611b9157600080fd5b919050565b60008060408385031215611ba957600080fd5b611bb283611b7a565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b81811015611bf857835183529284019291840191600101611bdc565b50909695505050505050565b600080600060608486031215611c1957600080fd5b611c2284611b7a565b9250611c3060208501611b7a565b9150604084013590509250925092565b600060208284031215611c5257600080fd5b611c5b82611b7a565b9392505050565b600060208284031215611c7457600080fd5b5035919050565b60008083601f840112611c8d57600080fd5b50813567ffffffffffffffff811115611ca557600080fd5b6020830191508360208260051b8501011115611cc057600080fd5b9250929050565b60008060208385031215611cda57600080fd5b823567ffffffffffffffff811115611cf157600080fd5b611cfd85828601611c7b565b90969095509350505050565b600080600060408486031215611d1e57600080fd5b611d2784611b7a565b9250602084013567ffffffffffffffff811115611d4357600080fd5b611d4f86828701611c7b565b9497909650939450505050565b60008060408385031215611d6f57600080fd5b611d7883611b7a565b9150611d8660208401611b7a565b90509250929050565b600181811c90821680611da357607f821691505b602082108103611dc357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526017908201527f4e4f5f4d4f52455f4d494e5441424c455f535550504c59000000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561066057610660611e00565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b8082018082111561066057610660611e00565b634e487b7160e01b600052603160045260246000fd5b600081611e9b57611e9b611e00565b506000190190565b600060018201611eb557611eb5611e00565b5060010190565b808202811582820484141761066057610660611e00565b600082611ef057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220b71b0a48f19b2cc435dea4c662edb3e5651fa1f76f201f3215941549b9b5ef5e64736f6c63430008110033
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.