Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 639 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Care Packa... | 21541652 | 37 days ago | IN | 0 ETH | 0.00156295 | ||||
Claim Care Packa... | 21423571 | 54 days ago | IN | 0 ETH | 0.00650901 | ||||
Claim Care Packa... | 20937900 | 122 days ago | IN | 0 ETH | 0.0013337 | ||||
Claim Care Packa... | 20479126 | 186 days ago | IN | 0 ETH | 0.00124191 | ||||
Claim Care Packa... | 20355229 | 203 days ago | IN | 0 ETH | 0.00093132 | ||||
Claim Care Packa... | 19895373 | 267 days ago | IN | 0 ETH | 0.00120731 | ||||
Claim Care Packa... | 19747356 | 288 days ago | IN | 0 ETH | 0.00302373 | ||||
Claim Care Packa... | 19638994 | 303 days ago | IN | 0 ETH | 0.00192454 | ||||
Claim Care Packa... | 18414252 | 475 days ago | IN | 0 ETH | 0.0055599 | ||||
Claim Care Packa... | 18328982 | 487 days ago | IN | 0 ETH | 0.00156961 | ||||
Claim Care Packa... | 18236029 | 500 days ago | IN | 0 ETH | 0.00236975 | ||||
Claim Care Packa... | 17831811 | 556 days ago | IN | 0 ETH | 0.00404546 | ||||
Claim Care Packa... | 17645956 | 582 days ago | IN | 0 ETH | 0.00306949 | ||||
Claim Care Packa... | 17558373 | 595 days ago | IN | 0 ETH | 0.00248843 | ||||
Claim Care Packa... | 17479721 | 606 days ago | IN | 0 ETH | 0.01106302 | ||||
Claim Care Packa... | 17456487 | 609 days ago | IN | 0 ETH | 0.01046637 | ||||
Claim Care Packa... | 17410056 | 616 days ago | IN | 0 ETH | 0.00309952 | ||||
Claim Care Packa... | 17326248 | 627 days ago | IN | 0 ETH | 0.00583157 | ||||
Claim Care Packa... | 16975230 | 677 days ago | IN | 0 ETH | 0.00318325 | ||||
Claim Care Packa... | 16972734 | 677 days ago | IN | 0 ETH | 0.00260582 | ||||
Claim Care Packa... | 16971098 | 678 days ago | IN | 0 ETH | 0.00551015 | ||||
Claim Care Packa... | 16965129 | 679 days ago | IN | 0 ETH | 0.00699071 | ||||
Claim Care Packa... | 16964785 | 679 days ago | IN | 0 ETH | 0.00743902 | ||||
Claim Care Packa... | 16963530 | 679 days ago | IN | 0 ETH | 0.00358805 | ||||
Claim Care Packa... | 16963117 | 679 days ago | IN | 0 ETH | 0.01051445 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21541652 | 37 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
21423571 | 54 days ago | 0 ETH | |||||
20937900 | 122 days ago | 0 ETH | |||||
20937900 | 122 days ago | 0 ETH | |||||
20937900 | 122 days ago | 0 ETH | |||||
20937900 | 122 days ago | 0 ETH | |||||
20479126 | 186 days ago | 0 ETH | |||||
20479126 | 186 days ago | 0 ETH | |||||
20479126 | 186 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BOBLCarePackage
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface IMintableERC20 is IERC20 { function mint(address _to, uint256 _amount) external; function burn(address _from, uint256 _amount) external; } interface IStakingSystem { function getStakedTokens(address _owner) external view returns (uint16[] memory); } contract BOBLCarePackage is Ownable { IERC721 public erc721Token; IMintableERC20 public erc20Token; IStakingSystem public stakingSystem; // the number of weeks to claim tokens for uint256 public epochsToClaim = 16; // yield rate per week for each rarity uint256 public rowdyEpochYield = 1 ether; uint256 public ragingEpochYield = 3 ether; uint256 public royalEpochYield = 6 ether; // signer addresses address private rowdySigner; address private ragingSigner; address private royalSigner; // mapping points the token ID to claim boolean mapping(uint16 => uint8) claimed; // events event CarePackageClaimed(uint16 tokenId, address owner, uint256 reward); // constructor constructor(address _erc721Address, address _erc20Address, address _stakingAddress) { erc721Token = IERC721(_erc721Address); erc20Token = IMintableERC20(_erc20Address); stakingSystem = IStakingSystem(_stakingAddress); } // sets the genesis ERC721 contract address function setERC721Contract(address _erc721Address) external onlyOwner { erc721Token = IERC721(_erc721Address); } // sets the rewards token contract address function setERC20Contract(address _erc20Address) external onlyOwner { erc20Token = IMintableERC20(_erc20Address); } // sets the staking token contract address function setStakingContract(address _stakingAddress) external onlyOwner { stakingSystem = IStakingSystem(_stakingAddress); } // sets the signer addresses for rarity verification function setSigners(address[] calldata signers) public onlyOwner{ rowdySigner = signers[0]; ragingSigner = signers[1]; royalSigner = signers[2]; } // claims the care package for all ids function claimCarePackage(address _owner, uint16[] calldata _tokenIds, bytes32[] memory _hashes, bytes[] memory _signatures) external { require((_owner == msg.sender), "only owners approved"); uint256 reward; uint16[] memory stakedIds = stakingSystem.getStakedTokens(msg.sender); for (uint16 i = 0; i < _tokenIds.length; i++) { if(erc721Token.ownerOf(_tokenIds[i]) == msg.sender) { reward += _claimCarePackage(_owner, _tokenIds[i], _hashes[i], _signatures[i]); } else { require(_isStakedOwner(_tokenIds[i], stakedIds),"only owners approved"); reward += _claimCarePackage(_owner, _tokenIds[i], _hashes[i], _signatures[i]); } } if (reward != 0) { erc20Token.mint(msg.sender, reward); } } // verifies ownership of a staked token function _isStakedOwner(uint16 _tokenId, uint16[] memory _stakedIds) internal pure returns (bool){ for(uint16 i; i<_stakedIds.length; i++) { if(_stakedIds[i] == _tokenId) { return true; } } return false; } // stake the token function _claimCarePackage(address _owner, uint16 _tokenId, bytes32 _hash, bytes memory _signature) internal returns (uint256 reward) { require((isClaimed(_tokenId) == false), "care package has already been claimed for this token"); address signer = recoverSigner(_hash, _signature); uint8 rarity = 0; if(signer == rowdySigner){ rarity = 0; } else if(signer == ragingSigner){ rarity = 1; } else if(signer == royalSigner){ rarity = 2; } reward = epochsToClaim; if(rarity == 0) { reward *= rowdyEpochYield; } else if(rarity == 1) { reward *= ragingEpochYield; } else if(rarity == 2) { reward *= royalEpochYield; } claimed[_tokenId] = 1; emit CarePackageClaimed(_tokenId, _owner, reward); return reward; } // checks if the care package has been claimed for this token id function isClaimed(uint16 _tokenId) public view returns (bool){ if(claimed[_tokenId] == 1) { return true; } else { return false; } } // recovers the signer's address function recoverSigner(bytes32 _hash, bytes memory _signature) public pure returns (address) { bytes32 messageDigest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _hash)); return ECDSA.recover(messageDigest, _signature); } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// 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.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// 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); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_erc721Address","type":"address"},{"internalType":"address","name":"_erc20Address","type":"address"},{"internalType":"address","name":"_stakingAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"tokenId","type":"uint16"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"CarePackageClaimed","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"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"bytes32[]","name":"_hashes","type":"bytes32[]"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"claimCarePackage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"epochsToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Token","outputs":[{"internalType":"contract IMintableERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc721Token","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ragingEpochYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rowdyEpochYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royalEpochYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20Address","type":"address"}],"name":"setERC20Contract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc721Address","type":"address"}],"name":"setERC721Contract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"signers","type":"address[]"}],"name":"setSigners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingSystem","outputs":[{"internalType":"contract IStakingSystem","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526010600455670de0b6b3a76400006005556729a2241af62c00006006556753444835ec5800006007553480156200003a57600080fd5b5060405162002b8538038062002b8583398181016040528101906200006091906200022f565b62000080620000746200014c60201b60201c565b6200015460201b60201c565b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620002d3565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200022981620002b9565b92915050565b6000806000606084860312156200024557600080fd5b6000620002558682870162000218565b9350506020620002688682870162000218565b92505060406200027b8682870162000218565b9150509250925092565b6000620002928262000299565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002c48162000285565b8114620002d057600080fd5b50565b6128a280620002e36000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806399e9b8eb116100a2578063a2bb40a611610071578063a2bb40a614610282578063a3772662146102a0578063cac8d538146102bc578063e9654de0146102d8578063f2fde38b146102f65761010b565b806399e9b8eb1461020e5780639d7dce851461022a5780639dd373b9146102485780639feb6531146102645761010b565b806389f5be68116100de57806389f5be68146101865780638a13eea7146101a25780638da5cb5b146101c057806397aba7f9146101de5761010b565b8063355e71d8146101105780635f2d6bcd14610140578063715018a61461015e578063840780b814610168575b600080fd5b61012a60048036038101906101259190611e10565b610312565b604051610137919061208b565b60405180910390f35b61014861035b565b60405161015591906120eb565b60405180910390f35b610166610381565b005b610170610409565b60405161017d919061228e565b60405180910390f35b6101a0600480360381019061019b9190611c86565b61040f565b005b6101aa6109ac565b6040516101b79190612106565b60405180910390f35b6101c86109d2565b6040516101d59190612047565b60405180910390f35b6101f860048036038101906101f39190611dbc565b6109fb565b6040516102059190612047565b60405180910390f35b61022860048036038101906102239190611c34565b610a3a565b005b610232610afa565b60405161023f9190612121565b60405180910390f35b610262600480360381019061025d9190611c34565b610b20565b005b61026c610be0565b604051610279919061228e565b60405180910390f35b61028a610be6565b604051610297919061228e565b60405180910390f35b6102ba60048036038101906102b59190611d36565b610bec565b005b6102d660048036038101906102d19190611c34565b610e19565b005b6102e0610ed9565b6040516102ed919061228e565b60405180910390f35b610310600480360381019061030b9190611c34565b610edf565b005b60006001600b60008461ffff1661ffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156103515760019050610356565b600090505b919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610389610fd7565b73ffffffffffffffffffffffffffffffffffffffff166103a76109d2565b73ffffffffffffffffffffffffffffffffffffffff16146103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f4906121fc565b60405180910390fd5b6104076000610fdf565b565b60065481565b3373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461047d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610474906121bc565b60405180910390fd5b600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166363c28db1336040518263ffffffff1660e01b81526004016104db9190612047565b60006040518083038186803b1580156104f357600080fd5b505afa158015610507573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906105309190611d7b565b905060005b868690508161ffff16101561090a573373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e89898561ffff168181106105d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906105eb9190611e10565b6040518263ffffffff1660e01b8152600401610607919061223c565b60206040518083038186803b15801561061f57600080fd5b505afa158015610633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106579190611c5d565b73ffffffffffffffffffffffffffffffffffffffff16141561076a576107588888888461ffff168181106106b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906106c99190611e10565b878461ffff1681518110610706577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151878561ffff168151811061074b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110a3565b83610763919061239f565b92506108f7565b6107c587878361ffff168181106107aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906107bf9190611e10565b836112fe565b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb906121bc565b60405180910390fd5b6108e98888888461ffff16818110610845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061085a9190611e10565b878461ffff1681518110610897577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151878561ffff16815181106108dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110a3565b836108f4919061239f565b92505b80806109029061257a565b915050610535565b50600082146109a357600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b8152600401610970929190612062565b600060405180830381600087803b15801561098a57600080fd5b505af115801561099e573d6000803e3d6000fd5b505050505b50505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008083604051602001610a0f9190612021565b604051602081830303815290604052805190602001209050610a31818461138c565b91505092915050565b610a42610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610a606109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906121fc565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b28610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610b466109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b93906121fc565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b60075481565b610bf4610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610c126109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f906121fc565b60405180910390fd5b81816000818110610ca2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610cb79190611c34565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081816001818110610d31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d469190611c34565b600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081816002818110610dc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610dd59190611c34565b600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610e21610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610e3f6109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c906121fc565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b610ee7610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610f056109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f52906121fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc29061217c565b60405180910390fd5b610fd481610fdf565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008015156110b185610312565b1515146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea9061221c565b60405180910390fd5b60006110ff84846109fb565b90506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611162576000905061121e565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c1576001905061121d565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561121c57600290505b5b5b600454925060008160ff161415611244576005548361123d91906123f5565b9250611284565b60018160ff161415611265576006548361125e91906123f5565b9250611283565b60028160ff161415611282576007548361127f91906123f5565b92505b5b5b6001600b60008861ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055507f1d60f9d32cc885d635dcf1cdae7e2dc8e671c5acc1e08473066d3e0e102ee75f8688856040516112ec93929190612257565b60405180910390a15050949350505050565b6000805b82518161ffff161015611380578361ffff16838261ffff1681518110611351577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161ffff16141561136d576001915050611386565b80806113789061257a565b915050611302565b50600090505b92915050565b600080600061139b85856113b3565b915091506113a881611436565b819250505092915050565b6000806041835114156113f55760008060006020860151925060408601519150606086015160001a90506113e987828585611787565b9450945050505061142f565b60408351141561142657600080602085015191506040850151905061141b868383611894565b93509350505061142f565b60006002915091505b9250929050565b60006004811115611470577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156114a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156114b457611784565b600160048111156114ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611527577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061213c565b60405180910390fd5b600260048111156115a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156115db577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561161c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116139061215c565b60405180910390fd5b60036004811115611656577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561168f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c79061219c565b60405180910390fd5b600480811115611709577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611742577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a906121dc565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156117c257600060039150915061188b565b601b8560ff16141580156117da5750601c8560ff1614155b156117ec57600060049150915061188b565b60006001878787876040516000815260200160405260405161181194939291906120a6565b6020604051602081039080840390855afa158015611833573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118825760006001925092505061188b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6118d7919061239f565b90506118e587828885611787565b935093505050935093915050565b6000611906611901846122ce565b6122a9565b9050808382526020820190508285602086028201111561192557600080fd5b60005b85811015611955578161193b8882611bcb565b845260208401935060208301925050600181019050611928565b5050509392505050565b600061197261196d846122fa565b6122a9565b9050808382526020820190508285602086028201111561199157600080fd5b60005b858110156119db57813567ffffffffffffffff8111156119b357600080fd5b8086016119c08982611be0565b85526020850194506020840193505050600181019050611994565b5050509392505050565b60006119f86119f384612326565b6122a9565b90508083825260208201905082856020860282011115611a1757600080fd5b60005b85811015611a475781611a2d8882611c1f565b845260208401935060208301925050600181019050611a1a565b5050509392505050565b6000611a64611a5f84612352565b6122a9565b905082815260208101848484011115611a7c57600080fd5b611a8784828561253a565b509392505050565b600081359050611a9e81612827565b92915050565b600081519050611ab381612827565b92915050565b60008083601f840112611acb57600080fd5b8235905067ffffffffffffffff811115611ae457600080fd5b602083019150836020820283011115611afc57600080fd5b9250929050565b600082601f830112611b1457600080fd5b8135611b248482602086016118f3565b91505092915050565b600082601f830112611b3e57600080fd5b8135611b4e84826020860161195f565b91505092915050565b60008083601f840112611b6957600080fd5b8235905067ffffffffffffffff811115611b8257600080fd5b602083019150836020820283011115611b9a57600080fd5b9250929050565b600082601f830112611bb257600080fd5b8151611bc28482602086016119e5565b91505092915050565b600081359050611bda8161283e565b92915050565b600082601f830112611bf157600080fd5b8135611c01848260208601611a51565b91505092915050565b600081359050611c1981612855565b92915050565b600081519050611c2e81612855565b92915050565b600060208284031215611c4657600080fd5b6000611c5484828501611a8f565b91505092915050565b600060208284031215611c6f57600080fd5b6000611c7d84828501611aa4565b91505092915050565b600080600080600060808688031215611c9e57600080fd5b6000611cac88828901611a8f565b955050602086013567ffffffffffffffff811115611cc957600080fd5b611cd588828901611b57565b9450945050604086013567ffffffffffffffff811115611cf457600080fd5b611d0088828901611b03565b925050606086013567ffffffffffffffff811115611d1d57600080fd5b611d2988828901611b2d565b9150509295509295909350565b60008060208385031215611d4957600080fd5b600083013567ffffffffffffffff811115611d6357600080fd5b611d6f85828601611ab9565b92509250509250929050565b600060208284031215611d8d57600080fd5b600082015167ffffffffffffffff811115611da757600080fd5b611db384828501611ba1565b91505092915050565b60008060408385031215611dcf57600080fd5b6000611ddd85828601611bcb565b925050602083013567ffffffffffffffff811115611dfa57600080fd5b611e0685828601611be0565b9150509250929050565b600060208284031215611e2257600080fd5b6000611e3084828501611c0a565b91505092915050565b611e428161244f565b82525050565b611e5181612461565b82525050565b611e608161246d565b82525050565b611e77611e728261246d565b6125a5565b82525050565b611e86816124bc565b82525050565b611e95816124e0565b82525050565b611ea481612504565b82525050565b6000611eb7601883612383565b9150611ec28261261e565b602082019050919050565b6000611eda601f83612383565b9150611ee582612647565b602082019050919050565b6000611efd601c83612394565b9150611f0882612670565b601c82019050919050565b6000611f20602683612383565b9150611f2b82612699565b604082019050919050565b6000611f43602283612383565b9150611f4e826126e8565b604082019050919050565b6000611f66601483612383565b9150611f7182612737565b602082019050919050565b6000611f89602283612383565b9150611f9482612760565b604082019050919050565b6000611fac602083612383565b9150611fb7826127af565b602082019050919050565b6000611fcf603483612383565b9150611fda826127d8565b604082019050919050565b611fee81612477565b82525050565b611ffd81612528565b82525050565b61200c816124a5565b82525050565b61201b816124af565b82525050565b600061202c82611ef0565b91506120388284611e66565b60208201915081905092915050565b600060208201905061205c6000830184611e39565b92915050565b60006040820190506120776000830185611e39565b6120846020830184612003565b9392505050565b60006020820190506120a06000830184611e48565b92915050565b60006080820190506120bb6000830187611e57565b6120c86020830186612012565b6120d56040830185611e57565b6120e26060830184611e57565b95945050505050565b60006020820190506121006000830184611e7d565b92915050565b600060208201905061211b6000830184611e8c565b92915050565b60006020820190506121366000830184611e9b565b92915050565b6000602082019050818103600083015261215581611eaa565b9050919050565b6000602082019050818103600083015261217581611ecd565b9050919050565b6000602082019050818103600083015261219581611f13565b9050919050565b600060208201905081810360008301526121b581611f36565b9050919050565b600060208201905081810360008301526121d581611f59565b9050919050565b600060208201905081810360008301526121f581611f7c565b9050919050565b6000602082019050818103600083015261221581611f9f565b9050919050565b6000602082019050818103600083015261223581611fc2565b9050919050565b60006020820190506122516000830184611ff4565b92915050565b600060608201905061226c6000830186611fe5565b6122796020830185611e39565b6122866040830184612003565b949350505050565b60006020820190506122a36000830184612003565b92915050565b60006122b36122c4565b90506122bf8282612549565b919050565b6000604051905090565b600067ffffffffffffffff8211156122e9576122e86125de565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612315576123146125de565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612341576123406125de565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561236d5761236c6125de565b5b6123768261260d565b9050602081019050919050565b600082825260208201905092915050565b600081905092915050565b60006123aa826124a5565b91506123b5836124a5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156123ea576123e96125af565b5b828201905092915050565b6000612400826124a5565b915061240b836124a5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612444576124436125af565b5b828202905092915050565b600061245a82612485565b9050919050565b60008115159050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006124c7826124ce565b9050919050565b60006124d982612485565b9050919050565b60006124eb826124f2565b9050919050565b60006124fd82612485565b9050919050565b600061250f82612516565b9050919050565b600061252182612485565b9050919050565b600061253382612477565b9050919050565b82818337600083830152505050565b6125528261260d565b810181811067ffffffffffffffff82111715612571576125706125de565b5b80604052505050565b600061258582612477565b915061ffff82141561259a576125996125af565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6f6e6c79206f776e65727320617070726f766564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f63617265207061636b6167652068617320616c7265616479206265656e20636c60008201527f61696d656420666f72207468697320746f6b656e000000000000000000000000602082015250565b6128308161244f565b811461283b57600080fd5b50565b6128478161246d565b811461285257600080fd5b50565b61285e81612477565b811461286957600080fd5b5056fea2646970667358221220c07a8249f1497ae6f17b924cd204225cd1af50f294b21412a92c27f611b1d35064736f6c63430008040033000000000000000000000000ca49b939ad0b0b148fa61641d799e7777ad2e5db0000000000000000000000002af3cc814b0a10abed25c62b9bb679da667e4bda000000000000000000000000cc5ccdcbb9c4bc26e387052a94fa93b8890d5693
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806399e9b8eb116100a2578063a2bb40a611610071578063a2bb40a614610282578063a3772662146102a0578063cac8d538146102bc578063e9654de0146102d8578063f2fde38b146102f65761010b565b806399e9b8eb1461020e5780639d7dce851461022a5780639dd373b9146102485780639feb6531146102645761010b565b806389f5be68116100de57806389f5be68146101865780638a13eea7146101a25780638da5cb5b146101c057806397aba7f9146101de5761010b565b8063355e71d8146101105780635f2d6bcd14610140578063715018a61461015e578063840780b814610168575b600080fd5b61012a60048036038101906101259190611e10565b610312565b604051610137919061208b565b60405180910390f35b61014861035b565b60405161015591906120eb565b60405180910390f35b610166610381565b005b610170610409565b60405161017d919061228e565b60405180910390f35b6101a0600480360381019061019b9190611c86565b61040f565b005b6101aa6109ac565b6040516101b79190612106565b60405180910390f35b6101c86109d2565b6040516101d59190612047565b60405180910390f35b6101f860048036038101906101f39190611dbc565b6109fb565b6040516102059190612047565b60405180910390f35b61022860048036038101906102239190611c34565b610a3a565b005b610232610afa565b60405161023f9190612121565b60405180910390f35b610262600480360381019061025d9190611c34565b610b20565b005b61026c610be0565b604051610279919061228e565b60405180910390f35b61028a610be6565b604051610297919061228e565b60405180910390f35b6102ba60048036038101906102b59190611d36565b610bec565b005b6102d660048036038101906102d19190611c34565b610e19565b005b6102e0610ed9565b6040516102ed919061228e565b60405180910390f35b610310600480360381019061030b9190611c34565b610edf565b005b60006001600b60008461ffff1661ffff16815260200190815260200160002060009054906101000a900460ff1660ff1614156103515760019050610356565b600090505b919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610389610fd7565b73ffffffffffffffffffffffffffffffffffffffff166103a76109d2565b73ffffffffffffffffffffffffffffffffffffffff16146103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f4906121fc565b60405180910390fd5b6104076000610fdf565b565b60065481565b3373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461047d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610474906121bc565b60405180910390fd5b600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166363c28db1336040518263ffffffff1660e01b81526004016104db9190612047565b60006040518083038186803b1580156104f357600080fd5b505afa158015610507573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906105309190611d7b565b905060005b868690508161ffff16101561090a573373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e89898561ffff168181106105d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906105eb9190611e10565b6040518263ffffffff1660e01b8152600401610607919061223c565b60206040518083038186803b15801561061f57600080fd5b505afa158015610633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106579190611c5d565b73ffffffffffffffffffffffffffffffffffffffff16141561076a576107588888888461ffff168181106106b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906106c99190611e10565b878461ffff1681518110610706577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151878561ffff168151811061074b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110a3565b83610763919061239f565b92506108f7565b6107c587878361ffff168181106107aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906107bf9190611e10565b836112fe565b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb906121bc565b60405180910390fd5b6108e98888888461ffff16818110610845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061085a9190611e10565b878461ffff1681518110610897577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151878561ffff16815181106108dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110a3565b836108f4919061239f565b92505b80806109029061257a565b915050610535565b50600082146109a357600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b8152600401610970929190612062565b600060405180830381600087803b15801561098a57600080fd5b505af115801561099e573d6000803e3d6000fd5b505050505b50505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008083604051602001610a0f9190612021565b604051602081830303815290604052805190602001209050610a31818461138c565b91505092915050565b610a42610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610a606109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906121fc565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b28610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610b466109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b93906121fc565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b60075481565b610bf4610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610c126109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f906121fc565b60405180910390fd5b81816000818110610ca2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610cb79190611c34565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081816001818110610d31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d469190611c34565b600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081816002818110610dc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610dd59190611c34565b600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610e21610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610e3f6109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c906121fc565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b610ee7610fd7565b73ffffffffffffffffffffffffffffffffffffffff16610f056109d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f52906121fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc29061217c565b60405180910390fd5b610fd481610fdf565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008015156110b185610312565b1515146110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea9061221c565b60405180910390fd5b60006110ff84846109fb565b90506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611162576000905061121e565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c1576001905061121d565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561121c57600290505b5b5b600454925060008160ff161415611244576005548361123d91906123f5565b9250611284565b60018160ff161415611265576006548361125e91906123f5565b9250611283565b60028160ff161415611282576007548361127f91906123f5565b92505b5b5b6001600b60008861ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055507f1d60f9d32cc885d635dcf1cdae7e2dc8e671c5acc1e08473066d3e0e102ee75f8688856040516112ec93929190612257565b60405180910390a15050949350505050565b6000805b82518161ffff161015611380578361ffff16838261ffff1681518110611351577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161ffff16141561136d576001915050611386565b80806113789061257a565b915050611302565b50600090505b92915050565b600080600061139b85856113b3565b915091506113a881611436565b819250505092915050565b6000806041835114156113f55760008060006020860151925060408601519150606086015160001a90506113e987828585611787565b9450945050505061142f565b60408351141561142657600080602085015191506040850151905061141b868383611894565b93509350505061142f565b60006002915091505b9250929050565b60006004811115611470577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156114a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156114b457611784565b600160048111156114ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611527577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061213c565b60405180910390fd5b600260048111156115a2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156115db577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561161c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116139061215c565b60405180910390fd5b60036004811115611656577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561168f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c79061219c565b60405180910390fd5b600480811115611709577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611742577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a906121dc565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156117c257600060039150915061188b565b601b8560ff16141580156117da5750601c8560ff1614155b156117ec57600060049150915061188b565b60006001878787876040516000815260200160405260405161181194939291906120a6565b6020604051602081039080840390855afa158015611833573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118825760006001925092505061188b565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6118d7919061239f565b90506118e587828885611787565b935093505050935093915050565b6000611906611901846122ce565b6122a9565b9050808382526020820190508285602086028201111561192557600080fd5b60005b85811015611955578161193b8882611bcb565b845260208401935060208301925050600181019050611928565b5050509392505050565b600061197261196d846122fa565b6122a9565b9050808382526020820190508285602086028201111561199157600080fd5b60005b858110156119db57813567ffffffffffffffff8111156119b357600080fd5b8086016119c08982611be0565b85526020850194506020840193505050600181019050611994565b5050509392505050565b60006119f86119f384612326565b6122a9565b90508083825260208201905082856020860282011115611a1757600080fd5b60005b85811015611a475781611a2d8882611c1f565b845260208401935060208301925050600181019050611a1a565b5050509392505050565b6000611a64611a5f84612352565b6122a9565b905082815260208101848484011115611a7c57600080fd5b611a8784828561253a565b509392505050565b600081359050611a9e81612827565b92915050565b600081519050611ab381612827565b92915050565b60008083601f840112611acb57600080fd5b8235905067ffffffffffffffff811115611ae457600080fd5b602083019150836020820283011115611afc57600080fd5b9250929050565b600082601f830112611b1457600080fd5b8135611b248482602086016118f3565b91505092915050565b600082601f830112611b3e57600080fd5b8135611b4e84826020860161195f565b91505092915050565b60008083601f840112611b6957600080fd5b8235905067ffffffffffffffff811115611b8257600080fd5b602083019150836020820283011115611b9a57600080fd5b9250929050565b600082601f830112611bb257600080fd5b8151611bc28482602086016119e5565b91505092915050565b600081359050611bda8161283e565b92915050565b600082601f830112611bf157600080fd5b8135611c01848260208601611a51565b91505092915050565b600081359050611c1981612855565b92915050565b600081519050611c2e81612855565b92915050565b600060208284031215611c4657600080fd5b6000611c5484828501611a8f565b91505092915050565b600060208284031215611c6f57600080fd5b6000611c7d84828501611aa4565b91505092915050565b600080600080600060808688031215611c9e57600080fd5b6000611cac88828901611a8f565b955050602086013567ffffffffffffffff811115611cc957600080fd5b611cd588828901611b57565b9450945050604086013567ffffffffffffffff811115611cf457600080fd5b611d0088828901611b03565b925050606086013567ffffffffffffffff811115611d1d57600080fd5b611d2988828901611b2d565b9150509295509295909350565b60008060208385031215611d4957600080fd5b600083013567ffffffffffffffff811115611d6357600080fd5b611d6f85828601611ab9565b92509250509250929050565b600060208284031215611d8d57600080fd5b600082015167ffffffffffffffff811115611da757600080fd5b611db384828501611ba1565b91505092915050565b60008060408385031215611dcf57600080fd5b6000611ddd85828601611bcb565b925050602083013567ffffffffffffffff811115611dfa57600080fd5b611e0685828601611be0565b9150509250929050565b600060208284031215611e2257600080fd5b6000611e3084828501611c0a565b91505092915050565b611e428161244f565b82525050565b611e5181612461565b82525050565b611e608161246d565b82525050565b611e77611e728261246d565b6125a5565b82525050565b611e86816124bc565b82525050565b611e95816124e0565b82525050565b611ea481612504565b82525050565b6000611eb7601883612383565b9150611ec28261261e565b602082019050919050565b6000611eda601f83612383565b9150611ee582612647565b602082019050919050565b6000611efd601c83612394565b9150611f0882612670565b601c82019050919050565b6000611f20602683612383565b9150611f2b82612699565b604082019050919050565b6000611f43602283612383565b9150611f4e826126e8565b604082019050919050565b6000611f66601483612383565b9150611f7182612737565b602082019050919050565b6000611f89602283612383565b9150611f9482612760565b604082019050919050565b6000611fac602083612383565b9150611fb7826127af565b602082019050919050565b6000611fcf603483612383565b9150611fda826127d8565b604082019050919050565b611fee81612477565b82525050565b611ffd81612528565b82525050565b61200c816124a5565b82525050565b61201b816124af565b82525050565b600061202c82611ef0565b91506120388284611e66565b60208201915081905092915050565b600060208201905061205c6000830184611e39565b92915050565b60006040820190506120776000830185611e39565b6120846020830184612003565b9392505050565b60006020820190506120a06000830184611e48565b92915050565b60006080820190506120bb6000830187611e57565b6120c86020830186612012565b6120d56040830185611e57565b6120e26060830184611e57565b95945050505050565b60006020820190506121006000830184611e7d565b92915050565b600060208201905061211b6000830184611e8c565b92915050565b60006020820190506121366000830184611e9b565b92915050565b6000602082019050818103600083015261215581611eaa565b9050919050565b6000602082019050818103600083015261217581611ecd565b9050919050565b6000602082019050818103600083015261219581611f13565b9050919050565b600060208201905081810360008301526121b581611f36565b9050919050565b600060208201905081810360008301526121d581611f59565b9050919050565b600060208201905081810360008301526121f581611f7c565b9050919050565b6000602082019050818103600083015261221581611f9f565b9050919050565b6000602082019050818103600083015261223581611fc2565b9050919050565b60006020820190506122516000830184611ff4565b92915050565b600060608201905061226c6000830186611fe5565b6122796020830185611e39565b6122866040830184612003565b949350505050565b60006020820190506122a36000830184612003565b92915050565b60006122b36122c4565b90506122bf8282612549565b919050565b6000604051905090565b600067ffffffffffffffff8211156122e9576122e86125de565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612315576123146125de565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612341576123406125de565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561236d5761236c6125de565b5b6123768261260d565b9050602081019050919050565b600082825260208201905092915050565b600081905092915050565b60006123aa826124a5565b91506123b5836124a5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156123ea576123e96125af565b5b828201905092915050565b6000612400826124a5565b915061240b836124a5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612444576124436125af565b5b828202905092915050565b600061245a82612485565b9050919050565b60008115159050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006124c7826124ce565b9050919050565b60006124d982612485565b9050919050565b60006124eb826124f2565b9050919050565b60006124fd82612485565b9050919050565b600061250f82612516565b9050919050565b600061252182612485565b9050919050565b600061253382612477565b9050919050565b82818337600083830152505050565b6125528261260d565b810181811067ffffffffffffffff82111715612571576125706125de565b5b80604052505050565b600061258582612477565b915061ffff82141561259a576125996125af565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6f6e6c79206f776e65727320617070726f766564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f63617265207061636b6167652068617320616c7265616479206265656e20636c60008201527f61696d656420666f72207468697320746f6b656e000000000000000000000000602082015250565b6128308161244f565b811461283b57600080fd5b50565b6128478161246d565b811461285257600080fd5b50565b61285e81612477565b811461286957600080fd5b5056fea2646970667358221220c07a8249f1497ae6f17b924cd204225cd1af50f294b21412a92c27f611b1d35064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ca49b939ad0b0b148fa61641d799e7777ad2e5db0000000000000000000000002af3cc814b0a10abed25c62b9bb679da667e4bda000000000000000000000000cc5ccdcbb9c4bc26e387052a94fa93b8890d5693
-----Decoded View---------------
Arg [0] : _erc721Address (address): 0xcA49b939Ad0B0b148FA61641d799e7777Ad2e5db
Arg [1] : _erc20Address (address): 0x2Af3cc814B0a10ABeD25C62b9bB679Da667E4bda
Arg [2] : _stakingAddress (address): 0xcC5CcdcbB9C4bc26e387052a94FA93b8890D5693
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000ca49b939ad0b0b148fa61641d799e7777ad2e5db
Arg [1] : 0000000000000000000000002af3cc814b0a10abed25c62b9bb679da667e4bda
Arg [2] : 000000000000000000000000cc5ccdcbb9c4bc26e387052a94fa93b8890d5693
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.