ERC-20
Overview
Max Total Supply
10,000,000 FLIES
Holders
405
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6.866666666666666666 FLIESValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FliesToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 20000 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/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./CollaborativeOwnable.sol"; import "./IFliesToken.sol"; contract FliesToken is ERC20Pausable, CollaborativeOwnable, IFliesToken { using SafeMath for uint256; using Address for address; using Strings for uint256; uint256[] __legendaryTokenIds = [85, 88, 102, 128, 132, 192, 196, 266, 284, 318, 324, 493, 585, 708, 709, 736, 862, 869, 870, 911, 972]; address public stakingContractAddress = address(0); struct WalletInfo { uint32 stakedPepeCount; uint32 stakedLegendaryCount; uint256 committedRewards; uint256 lastUpdate; } mapping(address => WalletInfo) public walletInfo; uint256 public constant interval = 86400; uint256 public tier1BaseRate = 5 ether; uint256 public tier2BaseRate = 7 ether; uint256 public tier3BaseRate = 10 ether; uint256 public legendaryRate = 15 ether; uint32 public legendaryMultiplier = 100; uint32 public tier2Requirement = 5; uint32 public tier3Requirement = 10; constructor() ERC20("FLIES", "FLIES") { _mint(address(this), 10_000_000 * 1e18); _transfer(address(this), 0xC1F6596B54B98E953276b77393680FC14797Af13, 100_000 * 1e18); _pause(); } // // Public / External // function availableRewards(address _address) public view returns(uint256) { WalletInfo memory wallet = walletInfo[_address]; return getPendingReward(_address) + wallet.committedRewards; } function claimRewards() public whenNotPaused { _claimRewardsForAddress(_msgSender()); } function dailyRate(address _address) external view returns (uint256) { WalletInfo memory wallet = walletInfo[_address]; uint256 pepeRate = getPepeRate(wallet.stakedPepeCount, wallet.stakedLegendaryCount); return (pepeRate * wallet.stakedPepeCount) + (legendaryRate * wallet.stakedLegendaryCount); } function legendaryTokenIds() external view returns(uint256[] memory) { uint256[] memory tokenIds = new uint256[](__legendaryTokenIds.length); for (uint256 i = 0; i < __legendaryTokenIds.length; i++) { tokenIds[i] = __legendaryTokenIds[i]; } return tokenIds; } // // External (contract events) // function onStakeEvent(address _address, uint256[] calldata _tokenIds) external { require(_msgSender() == stakingContractAddress, "sender"); WalletInfo storage wallet = walletInfo[_address]; wallet.committedRewards += getPendingReward(_address); for (uint256 i; i < _tokenIds.length; i++) { if (isTokenLegendary(_tokenIds[i])) { wallet.stakedLegendaryCount += 1; } else { wallet.stakedPepeCount += 1; } } wallet.lastUpdate = block.timestamp; } function onUnstakeEvent(address _address, uint256[] calldata _tokenIds) external { require(_msgSender() == stakingContractAddress, "sender"); WalletInfo storage wallet = walletInfo[_address]; wallet.committedRewards += getPendingReward(_address); for (uint256 i; i < _tokenIds.length; i++) { if (isTokenLegendary(_tokenIds[i])) { wallet.stakedLegendaryCount -= 1; } else { wallet.stakedPepeCount -= 1; } } wallet.lastUpdate = block.timestamp; } // // Internal // function getPepeRate(uint256 stakedPepeCount, uint256 stakedLegendaryCount) internal view returns (uint256) { uint256 pepeRate = tier1BaseRate; uint256 totalCount = stakedPepeCount + stakedLegendaryCount; if (totalCount >= tier3Requirement) { pepeRate = tier3BaseRate; } else if (totalCount >= tier2Requirement) { pepeRate = tier2BaseRate; } if (stakedLegendaryCount > 0) { pepeRate = pepeRate + (pepeRate.mul(legendaryMultiplier).div(100)); } return pepeRate; } function getPendingReward(address _address) internal view returns(uint256) { WalletInfo memory wallet = walletInfo[_address]; uint256 pepeRate = getPepeRate(wallet.stakedPepeCount, wallet.stakedLegendaryCount); uint256 pepeRewards = wallet.stakedPepeCount * pepeRate * (block.timestamp - wallet.lastUpdate) / interval; uint256 legendRewards = wallet.stakedLegendaryCount * legendaryRate * (block.timestamp - wallet.lastUpdate) / interval; return pepeRewards + legendRewards; } function _claimRewardsForAddress(address _address) internal { WalletInfo storage wallet = walletInfo[_address]; _transfer(address(this), _address, wallet.committedRewards + getPendingReward(_address)); wallet.committedRewards = 0; wallet.lastUpdate = block.timestamp; } function isTokenLegendary(uint256 _tokenId) internal view returns(bool) { for (uint256 i = 0; i < __legendaryTokenIds.length; i++) { if (_tokenId == __legendaryTokenIds[i]) { return true; } } return false; } // // Collaborator Access // function pause() public onlyCollaborator { _pause(); } function unpause() public onlyCollaborator { _unpause(); } function burn(address _address, uint256 _amount) external onlyCollaborator { require(_address != address(0), "zero"); _burn(_address, _amount); } function airDrop(address _address, uint256 _amount) external onlyCollaborator { require(_address != address(0), "zero"); _transfer(address(this), _address, _amount); } function setTier1BaseRate(uint256 _tier1BaseRate) external onlyCollaborator { tier1BaseRate = _tier1BaseRate; } function setTier2BaseRate(uint256 _tier2BaseRate) external onlyCollaborator { tier2BaseRate = _tier2BaseRate; } function setTier2Requirement(uint32 _tier2Requirement) external onlyCollaborator { tier2Requirement = _tier2Requirement; } function setTier3BaseRate(uint256 _tier3BaseRate) external onlyCollaborator { tier3BaseRate = _tier3BaseRate; } function setTier3Requirement(uint32 _tier3Requirement) external onlyCollaborator { tier3Requirement = _tier3Requirement; } function setLegendaryRate(uint256 _legendaryRate) external onlyCollaborator { legendaryRate = _legendaryRate; } function setLegendaryMultiplier(uint32 _legendaryMultiplier) external onlyCollaborator { legendaryMultiplier = _legendaryMultiplier; } function setStakingContractAddress(address _stakingContractAddress) external onlyCollaborator { stakingContractAddress = _stakingContractAddress; } function setLegendaryTokenIds(uint256[] calldata _legendaryTokenIds) external onlyCollaborator { __legendaryTokenIds = _legendaryTokenIds; } // // Owner Access // function updateWalletInfo( address addr, uint32 stakedPepeCount, uint32 stakedLegendaryCount, uint256 committedRewards, uint256 lastUpdate ) external onlyOwner { WalletInfo storage wallet = walletInfo[addr]; wallet.stakedPepeCount = stakedPepeCount; wallet.stakedLegendaryCount = stakedLegendaryCount; wallet.committedRewards = committedRewards; wallet.lastUpdate = lastUpdate; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IFliesToken { function onStakeEvent(address addr, uint256[] calldata tokenIds) external; function onUnstakeEvent(address addr, uint256[] calldata tokenIds) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract CollaborativeOwnable is Ownable { using Address for address; mapping(address => bool) private _collaborators; uint256 private _collaboratorCount; constructor() { } function isCollaborator(address collaboratorAddress) public view virtual returns (bool) { return _collaborators[collaboratorAddress]; } modifier onlyCollaborator() { require(owner() == _msgSender() || _collaborators[_msgSender()], "CO1"); _; } function addCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO2"); require(!_collaborators[collaboratorAddress], "CO3"); _collaborators[collaboratorAddress] = true; _collaboratorCount++; } function removeCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO4"); require(_collaborators[collaboratorAddress], "CO4"); require(_collaboratorCount > 1, "CO4"); _collaborators[collaboratorAddress] = false; _collaboratorCount--; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// 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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// 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 (last updated v4.6.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 `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 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 v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// 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": 20000 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"addCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","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":"_address","type":"address"}],"name":"availableRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"dailyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"isCollaborator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legendaryMultiplier","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legendaryRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legendaryTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"onStakeEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"onUnstakeEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"removeCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_legendaryMultiplier","type":"uint32"}],"name":"setLegendaryMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_legendaryRate","type":"uint256"}],"name":"setLegendaryRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_legendaryTokenIds","type":"uint256[]"}],"name":"setLegendaryTokenIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingContractAddress","type":"address"}],"name":"setStakingContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tier1BaseRate","type":"uint256"}],"name":"setTier1BaseRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tier2BaseRate","type":"uint256"}],"name":"setTier2BaseRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_tier2Requirement","type":"uint32"}],"name":"setTier2Requirement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tier3BaseRate","type":"uint256"}],"name":"setTier3BaseRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_tier3Requirement","type":"uint32"}],"name":"setTier3Requirement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier1BaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier2BaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier2Requirement","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier3BaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier3Requirement","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint32","name":"stakedPepeCount","type":"uint32"},{"internalType":"uint32","name":"stakedLegendaryCount","type":"uint32"},{"internalType":"uint256","name":"committedRewards","type":"uint256"},{"internalType":"uint256","name":"lastUpdate","type":"uint256"}],"name":"updateWalletInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletInfo","outputs":[{"internalType":"uint32","name":"stakedPepeCount","type":"uint32"},{"internalType":"uint32","name":"stakedLegendaryCount","type":"uint32"},{"internalType":"uint256","name":"committedRewards","type":"uint256"},{"internalType":"uint256","name":"lastUpdate","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
61032060405260556080908152605860a052606660c090815260e08290526084610100526101205260c46101405261010a6101605261011c6101805261013e6101a0526101446101c0526101ed6101e052610249610200526102c4610220526102c5610240526102e061026081905261035e610280526103656102a0526103666102c05261038f90526103cc610300526200009f906008906015620005fd565b50600980546001600160a01b0319169055674563918244f40000600b55676124fee993bc0000600c55678ac7230489e80000600d5567d02ab486cedc0000600e55600f80546001600160601b031916680a00000005000000641790553480156200010857600080fd5b50604080518082018252600580825264464c49455360d81b602080840182815285518087019096529285528401528151919291620001499160039162000653565b5080516200015f90600490602084019062000653565b50506005805460ff19169055506200017733620001c9565b6200018e306a084595161401484a00000062000223565b620001b93073c1f6596b54b98e953276b77393680fc14797af1369152d02c7e14af680000062000309565b620001c3620004dd565b6200074b565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200027f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200028d6000838362000578565b8060026000828254620002a19190620006e7565b90915550506001600160a01b03821660009081526020819052604081208054839290620002d0908490620006e7565b90915550506040518181526001600160a01b03831690600090600080516020620036598339815191529060200160405180910390a35050565b6001600160a01b0383166200036f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840162000276565b6001600160a01b038216620003d35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840162000276565b620003e083838362000578565b6001600160a01b038316600090815260208190526040902054818110156200045a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840162000276565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929062000493908490620006e7565b92505081905550826001600160a01b0316846001600160a01b03166000805160206200365983398151915284604051620004cf91815260200190565b60405180910390a350505050565b60055460ff1615620005255760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000276565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200055b3390565b6040516001600160a01b03909116815260200160405180910390a1565b62000590838383620005f860201b62001c601760201c565b60055460ff1615620005f85760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b606482015260840162000276565b505050565b82805482825590600052602060002090810192821562000641579160200282015b8281111562000641578251829061ffff169055916020019190600101906200061e565b506200064f929150620006d0565b5090565b82805462000661906200070e565b90600052602060002090601f01602090048101928262000685576000855562000641565b82601f10620006a057805160ff191683800117855562000641565b8280016001018555821562000641579182015b8281111562000641578251825591602001919060010190620006b3565b5b808211156200064f5760008155600101620006d1565b600082198211156200070957634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200072357607f821691505b602082108114156200074557634e487b7160e01b600052602260045260246000fd5b50919050565b612efe806200075b6000396000f3fe608060405234801561001057600080fd5b506004361061031f5760003560e01c8063715018a6116101a7578063c614c6fa116100ee578063ecd91f1411610097578063f2fde38b11610071578063f2fde38b1461075f578063f4687f6c14610772578063f854a27f1461077b57600080fd5b8063ecd91f1414610726578063eda24f3d14610739578063eebd6fed1461074c57600080fd5b8063d01df281116100c8578063d01df281146106b8578063dd62ed3e146106cd578063e1b201041461071357600080fd5b8063c614c6fa1461067f578063c68ad73114610692578063ccdbe6a6146106a557600080fd5b806395d89b4111610150578063a457c2d71161012a578063a457c2d714610646578063a9059cbb14610659578063b88582181461066c57600080fd5b806395d89b4114610618578063973bdd10146106205780639dc29fac1461063357600080fd5b80638da5cb5b116101815780638da5cb5b146105e2578063935cddc514610605578063947a36fb1461060e57600080fd5b8063715018a6146105c95780638456cb59146105d15780638d9a310c146105d957600080fd5b8063313ce5671161026b578063540027e6116102145780636af8c4e7116101ee5780636af8c4e7146105475780636dc48db21461058057806370a082311461059357600080fd5b8063540027e6146105165780635c975abb1461052957806365a2886a1461053457600080fd5b8063395093511161024557806339509351146104925780633f4ba83a146104a5578063500e68e9146104ad57600080fd5b8063313ce567146104365780633535f48b14610445578063372500ab1461048a57600080fd5b80631c1f8aa3116102cd5780632bc1f6bf116102a75780632bc1f6bf146103f7578063305413eb146104075780633109c19d1461042357600080fd5b80631c1f8aa3146103c85780631e6a89e9146103db57806323b872dd146103e457600080fd5b80630878a6c7116102fe5780630878a6c714610380578063095ea7b31461039357806318160ddd146103b657600080fd5b80628394e914610324578063045f78501461035657806306fdde031461036b575b600080fd5b600f5461033c90640100000000900463ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b6103696103643660046129a2565b61078e565b005b61037361088e565b60405161034d91906129cc565b61036961038e366004612a8b565b610920565b6103a66103a13660046129a2565b610ab4565b604051901515815260200161034d565b6002545b60405190815260200161034d565b6103696103d6366004612ade565b610acc565b6103ba600b5481565b6103a66103f2366004612af9565b610b9a565b600f5461033c9063ffffffff1681565b600f5461033c9068010000000000000000900463ffffffff1681565b610369610431366004612ade565b610bbe565b6040516012815260200161034d565b6009546104659073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161034d565b610369610dd0565b6103a66104a03660046129a2565b610e2e565b610369610e7a565b6104ee6104bb366004612ade565b600a6020526000908152604090208054600182015460029092015463ffffffff8083169364010000000090930416919084565b6040805163ffffffff958616815294909316602085015291830152606082015260800161034d565b6103ba610524366004612ade565b610f09565b60055460ff166103a6565b610369610542366004612b49565b610fb7565b6103a6610555366004612ade565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b61036961058e366004612b9e565b61109b565b6103ba6105a1366004612ade565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610369611127565b61036961119e565b6103ba600c5481565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16610465565b6103ba600e5481565b6103ba6201518081565b61037361122d565b61036961062e366004612bb7565b61123c565b6103696106413660046129a2565b6112fa565b6103a66106543660046129a2565b6113f0565b6103a66106673660046129a2565b6114a7565b61036961067a366004612b9e565b6114b5565b61036961068d366004612bb7565b611541565b6103696106a0366004612bb7565b611607565b6103696106b3366004612ade565b6116d1565b6106c061188d565b60405161034d9190612bd2565b6103ba6106db366004612c16565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b610369610721366004612b9e565b61193a565b610369610734366004612b9e565b6119c6565b610369610747366004612a8b565b611a52565b61036961075a366004612c49565b611bcd565b61036961076d366004612ade565b611c65565b6103ba600d5481565b6103ba610789366004612ade565b611d67565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806107c957503360009081526006602052604090205460ff165b61081a5760405162461bcd60e51b815260206004820152600360248201527f434f31000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661087f5760405162461bcd60e51b81526004016108119060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b61088a308383611de2565b5050565b60606003805461089d90612c8b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c990612c8b565b80156109165780601f106108eb57610100808354040283529160200191610916565b820191906000526020600020905b8154815290600101906020018083116108f957829003601f168201915b5050505050905090565b60095473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461099d5760405162461bcd60e51b815260206004820152600660248201527f73656e64657200000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090206109cb84612054565b8160010160008282546109de9190612d08565b90915550600090505b82811015610aa757610a10848483818110610a0457610a04612d20565b9050602002013561215d565b15610a5b5781546001908390600490610a38908490640100000000900463ffffffff16612d4f565b92506101000a81548163ffffffff021916908363ffffffff160217905550610a95565b81546001908390600090610a7690849063ffffffff16612d4f565b92506101000a81548163ffffffff021916908363ffffffff1602179055505b80610a9f81612d74565b9150506109e7565b5042600290910155505050565b600033610ac28185856121b4565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610b0757503360009081526006602052604090205460ff165b610b535760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600033610ba8858285612333565b610bb3858585611de2565b506001949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610bf957503360009081526006602052604090205460ff165b610c455760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116610ca85760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090205460ff16610d1d5760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b600160075411610d6f5760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556007805491610dc883612dad565b919050555050565b60055460ff1615610e235760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610811565b610e2c336123ea565b565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610ac29082908690610e75908790612d08565b6121b4565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610eb557503360009081526006602052604090205460ff165b610f015760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b610e2c612442565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff808216808452640100000000909204169482018590526001830154938201939093526002909101546060820152918391610f7991612509565b9050816020015163ffffffff16600e54610f939190612de2565b8251610fa59063ffffffff1683612de2565b610faf9190612d08565b949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146110245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff9094166000908152600a60205260409020805463ffffffff938416640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169390941692909217929092178155600181019190915560020155565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806110d657503360009081526006602052604090205460ff165b6111225760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600e55565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146111945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b610e2c600061259f565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806111d957503360009081526006602052604090205460ff165b6112255760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b610e2c61261d565b60606004805461089d90612c8b565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061127757503360009081526006602052604090205460ff165b6112c35760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061133557503360009081526006602052604090205460ff165b6113815760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff82166113e65760405162461bcd60e51b81526004016108119060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b61088a82826126c3565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561149a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610811565b610bb382868684036121b4565b600033610ac2818585611de2565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806114f057503360009081526006602052604090205460ff165b61153c5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600c55565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061157c57503360009081526006602052604090205460ff165b6115c85760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061164257503360009081526006602052604090205460ff165b61168e5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061170c57503360009081526006602052604090205460ff165b6117585760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff81166117bb5760405162461bcd60e51b815260206004820152600360248201527f434f3200000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090205460ff16156118315760405162461bcd60e51b815260206004820152600360248201527f434f3300000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556007805491610dc883612d74565b60085460609060009067ffffffffffffffff8111156118ae576118ae612e1f565b6040519080825280602002602001820160405280156118d7578160200160208202803683370190505b50905060005b60085481101561193457600881815481106118fa576118fa612d20565b906000526020600020015482828151811061191757611917612d20565b60209081029190910101528061192c81612d74565b9150506118dd565b50919050565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061197557503360009081526006602052604090205460ff165b6119c15760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600b55565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480611a0157503360009081526006602052604090205460ff165b611a4d5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600d55565b60095473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611acf5760405162461bcd60e51b815260206004820152600660248201527f73656e64657200000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260409020611afd84612054565b816001016000828254611b109190612d08565b90915550600090505b82811015610aa757611b36848483818110610a0457610a04612d20565b15611b815781546001908390600490611b5e908490640100000000900463ffffffff16612e4e565b92506101000a81548163ffffffff021916908363ffffffff160217905550611bbb565b81546001908390600090611b9c90849063ffffffff16612e4e565b92506101000a81548163ffffffff021916908363ffffffff1602179055505b80611bc581612d74565b915050611b19565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480611c0857503360009081526006602052604090205460ff165b611c545760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b611c6060088383612919565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611cd25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116611d5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610811565b611d648161259f565b50565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff808216835264010000000090910416938101939093526001810154918301829052600201546060830152611dd184612054565b611ddb9190612d08565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8316611e6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff8216611ef45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610811565b611eff838383612888565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611f9b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290611fdf908490612d08565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161204591815260200190565b60405180910390a35b50505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff8082168084526401000000009092041694820185905260018301549382019390935260029091015460608201529183916120c491612509565b90506000620151808360600151426120dc9190612e76565b84516120ef90859063ffffffff16612de2565b6120f99190612de2565b6121039190612e8d565b905060006201518084606001514261211b9190612e76565b600e54866020015163ffffffff166121339190612de2565b61213d9190612de2565b6121479190612e8d565b90506121538183612d08565b9695505050505050565b6000805b6008548110156121ab576008818154811061217e5761217e612d20565b90600052602060002001548314156121995750600192915050565b806121a381612d74565b915050612161565b50600092915050565b73ffffffffffffffffffffffffffffffffffffffff831661223c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff82166122c55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461204e57818110156123dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610811565b61204e84848484036121b4565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260409020612431308361241d81612054565b846001015461242c9190612d08565b611de2565b600060018201554260029091015550565b60055460ff166124945760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610811565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600b546000908161251a8486612d08565b600f5490915068010000000000000000900463ffffffff16811061254257600d54915061255f565b600f54640100000000900463ffffffff16811061255f57600c5491505b831561259757600f5461258a9060649061258490859063ffffffff9081169061290116565b9061290d565b6125949083612d08565b91505b509392505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff16156126705760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610811565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124df3390565b73ffffffffffffffffffffffffffffffffffffffff821661274c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610811565b61275882600083612888565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156127f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290612830908490612e76565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff1615611c605760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520706175736564000000000000000000000000000000000000000000006064820152608401610811565b6000611ddb8284612de2565b6000611ddb8284612e8d565b828054828255906000526020600020908101928215612954579160200282015b82811115612954578235825591602001919060010190612939565b50612960929150612964565b5090565b5b808211156129605760008155600101612965565b803573ffffffffffffffffffffffffffffffffffffffff8116811461299d57600080fd5b919050565b600080604083850312156129b557600080fd5b6129be83612979565b946020939093013593505050565b600060208083528351808285015260005b818110156129f9578581018301518582016040015282016129dd565b81811115612a0b576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008083601f840112612a5157600080fd5b50813567ffffffffffffffff811115612a6957600080fd5b6020830191508360208260051b8501011115612a8457600080fd5b9250929050565b600080600060408486031215612aa057600080fd5b612aa984612979565b9250602084013567ffffffffffffffff811115612ac557600080fd5b612ad186828701612a3f565b9497909650939450505050565b600060208284031215612af057600080fd5b611ddb82612979565b600080600060608486031215612b0e57600080fd5b612b1784612979565b9250612b2560208501612979565b9150604084013590509250925092565b803563ffffffff8116811461299d57600080fd5b600080600080600060a08688031215612b6157600080fd5b612b6a86612979565b9450612b7860208701612b35565b9350612b8660408701612b35565b94979396509394606081013594506080013592915050565b600060208284031215612bb057600080fd5b5035919050565b600060208284031215612bc957600080fd5b611ddb82612b35565b6020808252825182820181905260009190848201906040850190845b81811015612c0a57835183529284019291840191600101612bee565b50909695505050505050565b60008060408385031215612c2957600080fd5b612c3283612979565b9150612c4060208401612979565b90509250929050565b60008060208385031215612c5c57600080fd5b823567ffffffffffffffff811115612c7357600080fd5b612c7f85828601612a3f565b90969095509350505050565b600181811c90821680612c9f57607f821691505b60208210811415611934577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612d1b57612d1b612cd9565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600063ffffffff83811690831681811015612d6c57612d6c612cd9565b039392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612da657612da6612cd9565b5060010190565b600081612dbc57612dbc612cd9565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e1a57612e1a612cd9565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600063ffffffff808316818516808303821115612e6d57612e6d612cd9565b01949350505050565b600082821015612e8857612e88612cd9565b500390565b600082612ec3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea2646970667358221220cd1b08f885c05d462aac1be4b58710526888bf16fc87966ac40c7fcfeb7316c464736f6c634300080a0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061031f5760003560e01c8063715018a6116101a7578063c614c6fa116100ee578063ecd91f1411610097578063f2fde38b11610071578063f2fde38b1461075f578063f4687f6c14610772578063f854a27f1461077b57600080fd5b8063ecd91f1414610726578063eda24f3d14610739578063eebd6fed1461074c57600080fd5b8063d01df281116100c8578063d01df281146106b8578063dd62ed3e146106cd578063e1b201041461071357600080fd5b8063c614c6fa1461067f578063c68ad73114610692578063ccdbe6a6146106a557600080fd5b806395d89b4111610150578063a457c2d71161012a578063a457c2d714610646578063a9059cbb14610659578063b88582181461066c57600080fd5b806395d89b4114610618578063973bdd10146106205780639dc29fac1461063357600080fd5b80638da5cb5b116101815780638da5cb5b146105e2578063935cddc514610605578063947a36fb1461060e57600080fd5b8063715018a6146105c95780638456cb59146105d15780638d9a310c146105d957600080fd5b8063313ce5671161026b578063540027e6116102145780636af8c4e7116101ee5780636af8c4e7146105475780636dc48db21461058057806370a082311461059357600080fd5b8063540027e6146105165780635c975abb1461052957806365a2886a1461053457600080fd5b8063395093511161024557806339509351146104925780633f4ba83a146104a5578063500e68e9146104ad57600080fd5b8063313ce567146104365780633535f48b14610445578063372500ab1461048a57600080fd5b80631c1f8aa3116102cd5780632bc1f6bf116102a75780632bc1f6bf146103f7578063305413eb146104075780633109c19d1461042357600080fd5b80631c1f8aa3146103c85780631e6a89e9146103db57806323b872dd146103e457600080fd5b80630878a6c7116102fe5780630878a6c714610380578063095ea7b31461039357806318160ddd146103b657600080fd5b80628394e914610324578063045f78501461035657806306fdde031461036b575b600080fd5b600f5461033c90640100000000900463ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b6103696103643660046129a2565b61078e565b005b61037361088e565b60405161034d91906129cc565b61036961038e366004612a8b565b610920565b6103a66103a13660046129a2565b610ab4565b604051901515815260200161034d565b6002545b60405190815260200161034d565b6103696103d6366004612ade565b610acc565b6103ba600b5481565b6103a66103f2366004612af9565b610b9a565b600f5461033c9063ffffffff1681565b600f5461033c9068010000000000000000900463ffffffff1681565b610369610431366004612ade565b610bbe565b6040516012815260200161034d565b6009546104659073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161034d565b610369610dd0565b6103a66104a03660046129a2565b610e2e565b610369610e7a565b6104ee6104bb366004612ade565b600a6020526000908152604090208054600182015460029092015463ffffffff8083169364010000000090930416919084565b6040805163ffffffff958616815294909316602085015291830152606082015260800161034d565b6103ba610524366004612ade565b610f09565b60055460ff166103a6565b610369610542366004612b49565b610fb7565b6103a6610555366004612ade565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b61036961058e366004612b9e565b61109b565b6103ba6105a1366004612ade565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610369611127565b61036961119e565b6103ba600c5481565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16610465565b6103ba600e5481565b6103ba6201518081565b61037361122d565b61036961062e366004612bb7565b61123c565b6103696106413660046129a2565b6112fa565b6103a66106543660046129a2565b6113f0565b6103a66106673660046129a2565b6114a7565b61036961067a366004612b9e565b6114b5565b61036961068d366004612bb7565b611541565b6103696106a0366004612bb7565b611607565b6103696106b3366004612ade565b6116d1565b6106c061188d565b60405161034d9190612bd2565b6103ba6106db366004612c16565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b610369610721366004612b9e565b61193a565b610369610734366004612b9e565b6119c6565b610369610747366004612a8b565b611a52565b61036961075a366004612c49565b611bcd565b61036961076d366004612ade565b611c65565b6103ba600d5481565b6103ba610789366004612ade565b611d67565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806107c957503360009081526006602052604090205460ff165b61081a5760405162461bcd60e51b815260206004820152600360248201527f434f31000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821661087f5760405162461bcd60e51b81526004016108119060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b61088a308383611de2565b5050565b60606003805461089d90612c8b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c990612c8b565b80156109165780601f106108eb57610100808354040283529160200191610916565b820191906000526020600020905b8154815290600101906020018083116108f957829003601f168201915b5050505050905090565b60095473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461099d5760405162461bcd60e51b815260206004820152600660248201527f73656e64657200000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090206109cb84612054565b8160010160008282546109de9190612d08565b90915550600090505b82811015610aa757610a10848483818110610a0457610a04612d20565b9050602002013561215d565b15610a5b5781546001908390600490610a38908490640100000000900463ffffffff16612d4f565b92506101000a81548163ffffffff021916908363ffffffff160217905550610a95565b81546001908390600090610a7690849063ffffffff16612d4f565b92506101000a81548163ffffffff021916908363ffffffff1602179055505b80610a9f81612d74565b9150506109e7565b5042600290910155505050565b600033610ac28185856121b4565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610b0757503360009081526006602052604090205460ff165b610b535760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600033610ba8858285612333565b610bb3858585611de2565b506001949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610bf957503360009081526006602052604090205460ff165b610c455760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116610ca85760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090205460ff16610d1d5760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b600160075411610d6f5760405162461bcd60e51b815260206004820152600360248201527f434f3400000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556007805491610dc883612dad565b919050555050565b60055460ff1615610e235760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610811565b610e2c336123ea565b565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190610ac29082908690610e75908790612d08565b6121b4565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480610eb557503360009081526006602052604090205460ff165b610f015760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b610e2c612442565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff808216808452640100000000909204169482018590526001830154938201939093526002909101546060820152918391610f7991612509565b9050816020015163ffffffff16600e54610f939190612de2565b8251610fa59063ffffffff1683612de2565b610faf9190612d08565b949350505050565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146110245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff9094166000908152600a60205260409020805463ffffffff938416640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000009091169390941692909217929092178155600181019190915560020155565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806110d657503360009081526006602052604090205460ff165b6111225760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600e55565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633146111945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b610e2c600061259f565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806111d957503360009081526006602052604090205460ff165b6112255760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b610e2c61261d565b60606004805461089d90612c8b565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061127757503360009081526006602052604090205460ff165b6112c35760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061133557503360009081526006602052604090205460ff165b6113815760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff82166113e65760405162461bcd60e51b81526004016108119060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b61088a82826126c3565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561149a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610811565b610bb382868684036121b4565b600033610ac2818585611de2565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314806114f057503360009081526006602052604090205460ff165b61153c5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600c55565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061157c57503360009081526006602052604090205460ff165b6115c85760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061164257503360009081526006602052604090205460ff165b61168e5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600f805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff909216919091179055565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061170c57503360009081526006602052604090205460ff165b6117585760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff81166117bb5760405162461bcd60e51b815260206004820152600360248201527f434f3200000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602052604090205460ff16156118315760405162461bcd60e51b815260206004820152600360248201527f434f3300000000000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556007805491610dc883612d74565b60085460609060009067ffffffffffffffff8111156118ae576118ae612e1f565b6040519080825280602002602001820160405280156118d7578160200160208202803683370190505b50905060005b60085481101561193457600881815481106118fa576118fa612d20565b906000526020600020015482828151811061191757611917612d20565b60209081029190910101528061192c81612d74565b9150506118dd565b50919050565b60055473ffffffffffffffffffffffffffffffffffffffff6101009091041633148061197557503360009081526006602052604090205460ff165b6119c15760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600b55565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480611a0157503360009081526006602052604090205460ff165b611a4d5760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b600d55565b60095473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611acf5760405162461bcd60e51b815260206004820152600660248201527f73656e64657200000000000000000000000000000000000000000000000000006044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260409020611afd84612054565b816001016000828254611b109190612d08565b90915550600090505b82811015610aa757611b36848483818110610a0457610a04612d20565b15611b815781546001908390600490611b5e908490640100000000900463ffffffff16612e4e565b92506101000a81548163ffffffff021916908363ffffffff160217905550611bbb565b81546001908390600090611b9c90849063ffffffff16612e4e565b92506101000a81548163ffffffff021916908363ffffffff1602179055505b80611bc581612d74565b915050611b19565b60055473ffffffffffffffffffffffffffffffffffffffff61010090910416331480611c0857503360009081526006602052604090205460ff165b611c545760405162461bcd60e51b815260206004820152600360248201527f434f3100000000000000000000000000000000000000000000000000000000006044820152606401610811565b611c6060088383612919565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff610100909104163314611cd25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610811565b73ffffffffffffffffffffffffffffffffffffffff8116611d5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610811565b611d648161259f565b50565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff808216835264010000000090910416938101939093526001810154918301829052600201546060830152611dd184612054565b611ddb9190612d08565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8316611e6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff8216611ef45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610811565b611eff838383612888565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611f9b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290611fdf908490612d08565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161204591815260200190565b60405180910390a35b50505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a602090815260408083208151608081018352815463ffffffff8082168084526401000000009092041694820185905260018301549382019390935260029091015460608201529183916120c491612509565b90506000620151808360600151426120dc9190612e76565b84516120ef90859063ffffffff16612de2565b6120f99190612de2565b6121039190612e8d565b905060006201518084606001514261211b9190612e76565b600e54866020015163ffffffff166121339190612de2565b61213d9190612de2565b6121479190612e8d565b90506121538183612d08565b9695505050505050565b6000805b6008548110156121ab576008818154811061217e5761217e612d20565b90600052602060002001548314156121995750600192915050565b806121a381612d74565b915050612161565b50600092915050565b73ffffffffffffffffffffffffffffffffffffffff831661223c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff82166122c55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461204e57818110156123dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610811565b61204e84848484036121b4565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260409020612431308361241d81612054565b846001015461242c9190612d08565b611de2565b600060018201554260029091015550565b60055460ff166124945760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610811565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600b546000908161251a8486612d08565b600f5490915068010000000000000000900463ffffffff16811061254257600d54915061255f565b600f54640100000000900463ffffffff16811061255f57600c5491505b831561259757600f5461258a9060649061258490859063ffffffff9081169061290116565b9061290d565b6125949083612d08565b91505b509392505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60055460ff16156126705760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610811565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124df3390565b73ffffffffffffffffffffffffffffffffffffffff821661274c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610811565b61275882600083612888565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156127f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610811565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290612830908490612e76565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff1615611c605760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c6520706175736564000000000000000000000000000000000000000000006064820152608401610811565b6000611ddb8284612de2565b6000611ddb8284612e8d565b828054828255906000526020600020908101928215612954579160200282015b82811115612954578235825591602001919060010190612939565b50612960929150612964565b5090565b5b808211156129605760008155600101612965565b803573ffffffffffffffffffffffffffffffffffffffff8116811461299d57600080fd5b919050565b600080604083850312156129b557600080fd5b6129be83612979565b946020939093013593505050565b600060208083528351808285015260005b818110156129f9578581018301518582016040015282016129dd565b81811115612a0b576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008083601f840112612a5157600080fd5b50813567ffffffffffffffff811115612a6957600080fd5b6020830191508360208260051b8501011115612a8457600080fd5b9250929050565b600080600060408486031215612aa057600080fd5b612aa984612979565b9250602084013567ffffffffffffffff811115612ac557600080fd5b612ad186828701612a3f565b9497909650939450505050565b600060208284031215612af057600080fd5b611ddb82612979565b600080600060608486031215612b0e57600080fd5b612b1784612979565b9250612b2560208501612979565b9150604084013590509250925092565b803563ffffffff8116811461299d57600080fd5b600080600080600060a08688031215612b6157600080fd5b612b6a86612979565b9450612b7860208701612b35565b9350612b8660408701612b35565b94979396509394606081013594506080013592915050565b600060208284031215612bb057600080fd5b5035919050565b600060208284031215612bc957600080fd5b611ddb82612b35565b6020808252825182820181905260009190848201906040850190845b81811015612c0a57835183529284019291840191600101612bee565b50909695505050505050565b60008060408385031215612c2957600080fd5b612c3283612979565b9150612c4060208401612979565b90509250929050565b60008060208385031215612c5c57600080fd5b823567ffffffffffffffff811115612c7357600080fd5b612c7f85828601612a3f565b90969095509350505050565b600181811c90821680612c9f57607f821691505b60208210811415611934577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612d1b57612d1b612cd9565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600063ffffffff83811690831681811015612d6c57612d6c612cd9565b039392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612da657612da6612cd9565b5060010190565b600081612dbc57612dbc612cd9565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e1a57612e1a612cd9565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600063ffffffff808316818516808303821115612e6d57612e6d612cd9565b01949350505050565b600082821015612e8857612e88612cd9565b500390565b600082612ec3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea2646970667358221220cd1b08f885c05d462aac1be4b58710526888bf16fc87966ac40c7fcfeb7316c464736f6c634300080a0033
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.