More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,554 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 21405383 | 9 days ago | IN | 0 ETH | 0.00099457 | ||||
Withdraw | 20655034 | 113 days ago | IN | 0 ETH | 0.00003884 | ||||
Withdraw | 20655024 | 113 days ago | IN | 0 ETH | 0.00003712 | ||||
Withdraw | 20616984 | 119 days ago | IN | 0 ETH | 0.00009901 | ||||
Withdraw | 20615159 | 119 days ago | IN | 0 ETH | 0.00005647 | ||||
Withdraw | 20615148 | 119 days ago | IN | 0 ETH | 0.00003977 | ||||
Withdraw | 20598017 | 121 days ago | IN | 0 ETH | 0.00002603 | ||||
Withdraw | 20598000 | 121 days ago | IN | 0 ETH | 0.00003245 | ||||
Withdraw | 20592848 | 122 days ago | IN | 0 ETH | 0.00007681 | ||||
Deposit | 20586306 | 123 days ago | IN | 0 ETH | 0.00038749 | ||||
Withdraw | 20095400 | 191 days ago | IN | 0 ETH | 0.00047111 | ||||
Deposit | 19794809 | 233 days ago | IN | 0 ETH | 0.00159616 | ||||
Withdraw | 19133191 | 326 days ago | IN | 0 ETH | 0.00184662 | ||||
Withdraw | 19056261 | 337 days ago | IN | 0 ETH | 0.00170015 | ||||
Withdraw | 18988775 | 346 days ago | IN | 0 ETH | 0.00358577 | ||||
Withdraw | 18973677 | 349 days ago | IN | 0 ETH | 0.00352669 | ||||
Withdraw | 18298696 | 443 days ago | IN | 0 ETH | 0.00080696 | ||||
Deposit | 18145797 | 465 days ago | IN | 0 ETH | 0.00425356 | ||||
Withdraw | 17531925 | 551 days ago | IN | 0 ETH | 0.00437015 | ||||
Withdraw | 16986357 | 628 days ago | IN | 0 ETH | 0.01287344 | ||||
Withdraw | 16924027 | 636 days ago | IN | 0 ETH | 0.0082886 | ||||
Withdraw | 16904012 | 639 days ago | IN | 0 ETH | 0.0207806 | ||||
Withdraw | 16812792 | 652 days ago | IN | 0 ETH | 0.00233583 | ||||
Withdraw | 16762814 | 659 days ago | IN | 0 ETH | 0.0110123 | ||||
Withdraw | 16742811 | 662 days ago | IN | 0 ETH | 0.00323002 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TheCrypt
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ▒███████▒ ▒█████ ███▄ ▄███▓ ▄▄▄▄ ██▓█████ ▒ ▒ ▒ ▄▀░▒██▒ ██▒ ▓██▒▀█▀ ██▒ ▓█████▄ ▒▓██▓█ ▀ ░ ▒ ▄▀▒░ ▒██░ ██▒ ▓██ ▓██░ ▒██▒ ▄██░▒██▒███ ▄▀▒ ░▒██ ██░ ▒██ ▒██ ▒██░█▀ ░██▒▓█ ▄ ▒███████▒░ ████▓▒░▒▒██▒ ░██▒▒░▓█ ▀█▓ ░██░▒████ ░▒▒ ▓░▒░▒░ ▒░▒░▒░ ░░ ▒░ ░ ░░░▒▓███▀▒ ░▓ ░░ ▒░ ░ ▒ ▒ ░ ▒ ░ ▒ ▒░ ░░ ░ ░░▒░▒ ░ ▒ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▄████▄ ██▀███ ▓██ ██▓ ██▓███ ▄▄▄█████▓ ▒██▀ ▀█ ▓██ ▒ ██▒ ▒██ ██▒▓██░ ██ ▓ ██▒ ▓▒ ▒▓█ ▄▓██ ░▄█ ▒ ▒██ ██░▓██░ ██▓▒▒ ▓██░ ▒░ ▒▓▓▄ ▄██▒██▀▀█▄ ░ ▐██▓░▒██▄█▓▒ ▒░ ▓██▓ ░ ▒ ▓███▀ ░██▓ ▒██▒ ░ ██▒▓░▒██▒ ░ ░ ▒██▒ ░ ░ ░▒ ▒ ░ ▒▓ ░▒▓░ ██▒▒▒ ▒▓▒░ ░ ░ ▒ ░░ ░ ▒ ░▒ ░ ▒░ ▓██ ░▒░ ░▒ ░ ░ ░ ░ ░ ▒ ▒ ░░ ░░ ░ ░ ░ ░ ░ ░ ░ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; contract TheCrypt is Ownable, IERC721Receiver, ReentrancyGuard, Pausable { using EnumerableSet for EnumerableSet.UintSet; // Vault and $FLESH addresses address public zombiezAddress; address public fleshAddress; // $FLESH rewards expiration uint256 public expiration; // Rate governs how often you receive $FLESH uint256 public rewardRate; // Track staked zombiez and last reward date mapping(address => EnumerableSet.UintSet) private _deposits; mapping(address => mapping(uint256 => uint256)) public _lastClaimBlocks; constructor(address _zombiezAddress, address _fleshAddress, uint256 _rewardRate, uint256 _expiration) { zombiezAddress = _zombiezAddress; fleshAddress = _fleshAddress; rewardRate = _rewardRate; expiration = block.number + _expiration; _pause(); } // List staked Zombiez function depositsOf(address account) external view returns (uint256[] memory) { EnumerableSet.UintSet storage depositSet = _deposits[account]; uint256[] memory tokenIds = new uint256[] (depositSet.length()); for (uint256 i; i < depositSet.length(); i++) { tokenIds[i] = depositSet.at(i); } return tokenIds; } // Calculate reward for all staked Zombiez function calculateRewards(address account, uint256[] memory tokenIds) public view returns (uint256[] memory rewards) { rewards = new uint256[](tokenIds.length); for (uint256 i; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; rewards[i] = rewardRate * (_deposits[account].contains(tokenId) ? 1 : 0) * (Math.min(block.number, expiration) - _lastClaimBlocks[account][tokenId]); } return rewards; } // Calculate reward for specific Zombiez function calculateReward(address account, uint256 tokenId) public view returns (uint256) { require(Math.min(block.number, expiration) > _lastClaimBlocks[account][tokenId], "staking rewards have ended"); return rewardRate * (_deposits[account].contains(tokenId) ? 1 : 0) * (Math.min(block.number, expiration) - _lastClaimBlocks[account][tokenId]); } // Claim rewards for all staked Zombiez function claimRewards(uint256[] calldata tokenIds) public whenNotPaused { uint256 reward; uint256 blockCur = Math.min(block.number, expiration); for (uint256 i; i < tokenIds.length; i++) { reward += calculateReward(msg.sender, tokenIds[i]); _lastClaimBlocks[msg.sender][tokenIds[i]] = blockCur; } if (reward > 0) { IERC20(fleshAddress).transfer(msg.sender, reward); } } // Stake Zombiez (deposit ERD721) function deposit(uint256[] calldata tokenIds) external whenNotPaused { require(msg.sender != zombiezAddress, "invalid address for staking"); claimRewards(tokenIds); for (uint256 i; i < tokenIds.length; i++) { IERC721(zombiezAddress).safeTransferFrom(msg.sender, address(this), tokenIds[i], ""); _deposits[msg.sender].add(tokenIds[i]); } } // Unstake Zombiez (withdrawal ERC721) function withdraw(uint256[] calldata tokenIds) external whenNotPaused nonReentrant() { claimRewards(tokenIds); for (uint256 i; i < tokenIds.length; i++) { require( _deposits[msg.sender].contains(tokenIds[i]), "zombie not staked or not owned"); _deposits[msg.sender].remove(tokenIds[i]); IERC721(zombiezAddress).safeTransferFrom(address(this), msg.sender, tokenIds[i], ""); } } // (Owner) Withdrawal FLESH function withdrawTokens() external onlyOwner { uint256 tokenSupply = IERC20(fleshAddress).balanceOf(address(this)); IERC20(fleshAddress).transfer(msg.sender, tokenSupply); } // (Owner) Set a multiplier for how many tokens to earn each time a block passes. function setRate(uint256 _rewardRate) public onlyOwner() { rewardRate = _rewardRate; } // (Owner) Set this to a block to disable the ability to continue accruing tokens past that block number. function setExpiration(uint256 _expiration) public onlyOwner() { expiration = block.number + _expiration; } // (Owner) Public accessor methods for pausing function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } // Support ERC721 transfer function onERC721Received(address, address, uint256, bytes calldata) external pure override returns (bytes4) { return IERC721Receiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT 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 no longer needed starting with Solidity 0.8. 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 substraction 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 pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT 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 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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_zombiezAddress","type":"address"},{"internalType":"address","name":"_fleshAddress","type":"address"},{"internalType":"uint256","name":"_rewardRate","type":"uint256"},{"internalType":"uint256","name":"_expiration","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_lastClaimBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"calculateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"calculateRewards","outputs":[{"internalType":"uint256[]","name":"rewards","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"depositsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expiration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fleshAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expiration","type":"uint256"}],"name":"setExpiration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardRate","type":"uint256"}],"name":"setRate","outputs":[],"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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zombiezAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001735380380620017358339810160408190526200003491620001b4565b6200003f33620000a9565b60018055600280546001600160a81b0319166101006001600160a01b038781169190910291909117909155600380546001600160a01b0319169185169190911790556005829055620000928143620001fc565b6004556200009f620000f9565b5050505062000223565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615620001445760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200017a3390565b6040516001600160a01b03909116815260200160405180910390a1565b80516001600160a01b0381168114620001af57600080fd5b919050565b60008060008060808587031215620001cb57600080fd5b620001d68562000197565b9350620001e66020860162000197565b6040860151606090960151949790965092505050565b600082198211156200021e57634e487b7160e01b600052601160045260246000fd5b500190565b61150280620002336000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635eac6239116100b85780638da5cb5b1161007c5780638da5cb5b1461027f578063983d95ce14610290578063deb35dd4146102a3578063e3a9db1a146102ce578063e9043d75146102e1578063f2fde38b146102f957600080fd5b80635eac62391461024b578063715018a61461025e5780637b0a47ee146102665780638456cb591461026f5780638d8f2adb1461027757600080fd5b80633f6dfc72116100ff5780633f6dfc72146101db5780634665096d14610206578063515a20ba1461020f578063598b8e71146102225780635c975abb1461023557600080fd5b8063068c526f1461013c578063150b7a02146101655780631852e8d91461019d57806334fcf437146101be5780633f4ba83a146101d3575b600080fd5b61014f61014a36600461119d565b61030c565b60405161015c9190611368565b60405180910390f35b610184610173366004611102565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161015c565b6101b06101ab366004611275565b61044d565b60405190815260200161015c565b6101d16101cc366004611336565b61055e565b005b6101d161058d565b6003546101ee906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101b060045481565b6101d161021d366004611336565b6105c1565b6101d161023036600461129f565b6105fb565b60025460ff16604051901515815260200161015c565b6101d161025936600461129f565b610785565b6101d16108d6565b6101b060055481565b6101d161090a565b6101d161093c565b6000546001600160a01b03166101ee565b6101d161029e36600461129f565b610a6b565b6101b06102b1366004611275565b600760209081526000928352604080842090915290825290205481565b61014f6102dc3660046110e7565b610c71565b6002546101ee9061010090046001600160a01b031681565b6101d16103073660046110e7565b610d2d565b6060815167ffffffffffffffff811115610328576103286114b6565b604051908082528060200260200182016040528015610351578160200160208202803683370190505b50905060005b8251811015610445576000838281518110610374576103746114a0565b6020026020010151905060076000866001600160a01b03166001600160a01b031681526020019081526020016000206000828152602001908152602001600020546103c143600454610dc8565b6103cb9190611442565b6001600160a01b03861660009081526006602052604090206103ed9083610dde565b6103f85760006103fb565b60015b60ff1660055461040b9190611423565b6104159190611423565b838381518110610427576104276114a0565b6020908102919091010152508061043d81611459565b915050610357565b505b92915050565b6001600160a01b038216600090815260076020908152604080832084845290915281205460045461047f904390610dc8565b116104d15760405162461bcd60e51b815260206004820152601a60248201527f7374616b696e672072657761726473206861766520656e64656400000000000060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600760209081526040808320858452909152902054600454610503904390610dc8565b61050d9190611442565b6001600160a01b038416600090815260066020526040902061052f9084610dde565b61053a57600061053d565b60015b60ff1660055461054d9190611423565b6105579190611423565b9392505050565b6000546001600160a01b031633146105885760405162461bcd60e51b81526004016104c8906113d6565b600555565b6000546001600160a01b031633146105b75760405162461bcd60e51b81526004016104c8906113d6565b6105bf610df6565b565b6000546001600160a01b031633146105eb5760405162461bcd60e51b81526004016104c8906113d6565b6105f5814361140b565b60045550565b60025460ff161561061e5760405162461bcd60e51b81526004016104c8906113ac565b60025461010090046001600160a01b031633141561067e5760405162461bcd60e51b815260206004820152601b60248201527f696e76616c6964206164647265737320666f72207374616b696e67000000000060448201526064016104c8565b6106888282610785565b60005b818110156107805760025461010090046001600160a01b031663b88d4fde33308686868181106106bd576106bd6114a0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b15801561072257600080fd5b505af1158015610736573d6000803e3d6000fd5b5050505061076d83838381811061074f5761074f6114a0565b33600090815260066020908152604090912093910201359050610e89565b508061077881611459565b91505061068b565b505050565b60025460ff16156107a85760405162461bcd60e51b81526004016104c8906113ac565b6000806107b743600454610dc8565b905060005b83811015610843576107e6338686848181106107da576107da6114a0565b9050602002013561044d565b6107f0908461140b565b336000908152600760205260408120919450839190878785818110610817576108176114a0565b90506020020135815260200190815260200160002081905550808061083b90611459565b9150506107bc565b5081156108d05760035460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561089657600080fd5b505af11580156108aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ce9190611314565b505b50505050565b6000546001600160a01b031633146109005760405162461bcd60e51b81526004016104c8906113d6565b6105bf6000610e95565b6000546001600160a01b031633146109345760405162461bcd60e51b81526004016104c8906113d6565b6105bf610ee5565b6000546001600160a01b031633146109665760405162461bcd60e51b81526004016104c8906113d6565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156109aa57600080fd5b505afa1580156109be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e2919061134f565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015610a2f57600080fd5b505af1158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611314565b5050565b60025460ff1615610a8e5760405162461bcd60e51b81526004016104c8906113ac565b60026001541415610ae15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104c8565b6002600155610af08282610785565b60005b81811015610c6857610b2e838383818110610b1057610b106114a0565b33600090815260066020908152604090912093910201359050610dde565b610b7a5760405162461bcd60e51b815260206004820152601e60248201527f7a6f6d626965206e6f74207374616b6564206f72206e6f74206f776e6564000060448201526064016104c8565b610bad838383818110610b8f57610b8f6114a0565b33600090815260066020908152604090912093910201359050610f3d565b5060025461010090046001600160a01b031663b88d4fde3033868686818110610bd857610bd86114a0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050508080610c6090611459565b915050610af3565b50506001805550565b6001600160a01b0381166000908152600660205260408120606091610c9582610f49565b67ffffffffffffffff811115610cad57610cad6114b6565b604051908082528060200260200182016040528015610cd6578160200160208202803683370190505b50905060005b610ce583610f49565b811015610d2557610cf68382610f53565b828281518110610d0857610d086114a0565b602090810291909101015280610d1d81611459565b915050610cdc565b509392505050565b6000546001600160a01b03163314610d575760405162461bcd60e51b81526004016104c8906113d6565b6001600160a01b038116610dbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c8565b610dc581610e95565b50565b6000818310610dd75781610557565b5090919050565b60008181526001830160205260408120541515610557565b60025460ff16610e3f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104c8565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006105578383610f5f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615610f085760405162461bcd60e51b81526004016104c8906113ac565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e6c3390565b60006105578383610fae565b6000610447825490565b600061055783836110a1565b6000818152600183016020526040812054610fa657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610447565b506000610447565b60008181526001830160205260408120548015611097576000610fd2600183611442565b8554909150600090610fe690600190611442565b905081811461104b576000866000018281548110611006576110066114a0565b9060005260206000200154905080876000018481548110611029576110296114a0565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061105c5761105c61148a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610447565b6000915050610447565b60008260000182815481106110b8576110b86114a0565b9060005260206000200154905092915050565b80356001600160a01b03811681146110e257600080fd5b919050565b6000602082840312156110f957600080fd5b610557826110cb565b60008060008060006080868803121561111a57600080fd5b611123866110cb565b9450611131602087016110cb565b935060408601359250606086013567ffffffffffffffff8082111561115557600080fd5b818801915088601f83011261116957600080fd5b81358181111561117857600080fd5b89602082850101111561118a57600080fd5b9699959850939650602001949392505050565b600080604083850312156111b057600080fd5b6111b9836110cb565b915060208084013567ffffffffffffffff808211156111d757600080fd5b818601915086601f8301126111eb57600080fd5b8135818111156111fd576111fd6114b6565b8060051b604051601f19603f83011681018181108582111715611222576112226114b6565b604052828152858101935084860182860187018b101561124157600080fd5b600095505b83861015611264578035855260019590950194938601938601611246565b508096505050505050509250929050565b6000806040838503121561128857600080fd5b611291836110cb565b946020939093013593505050565b600080602083850312156112b257600080fd5b823567ffffffffffffffff808211156112ca57600080fd5b818501915085601f8301126112de57600080fd5b8135818111156112ed57600080fd5b8660208260051b850101111561130257600080fd5b60209290920196919550909350505050565b60006020828403121561132657600080fd5b8151801515811461055757600080fd5b60006020828403121561134857600080fd5b5035919050565b60006020828403121561136157600080fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156113a057835183529284019291840191600101611384565b50909695505050505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561141e5761141e611474565b500190565b600081600019048311821515161561143d5761143d611474565b500290565b60008282101561145457611454611474565b500390565b600060001982141561146d5761146d611474565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220e9ac83b28286542aabbcc9fc15e25777da6c1456284ebee08d8c5261af18bae164736f6c634300080600330000000000000000000000002a5aef99cfa510f8bc57b99e22d97d92483d805300000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc50930000000000000000000000000000000000000000000000000005ebd312a02aaa0000000000000000000000000000000000000000000000000000000000057e40
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635eac6239116100b85780638da5cb5b1161007c5780638da5cb5b1461027f578063983d95ce14610290578063deb35dd4146102a3578063e3a9db1a146102ce578063e9043d75146102e1578063f2fde38b146102f957600080fd5b80635eac62391461024b578063715018a61461025e5780637b0a47ee146102665780638456cb591461026f5780638d8f2adb1461027757600080fd5b80633f6dfc72116100ff5780633f6dfc72146101db5780634665096d14610206578063515a20ba1461020f578063598b8e71146102225780635c975abb1461023557600080fd5b8063068c526f1461013c578063150b7a02146101655780631852e8d91461019d57806334fcf437146101be5780633f4ba83a146101d3575b600080fd5b61014f61014a36600461119d565b61030c565b60405161015c9190611368565b60405180910390f35b610184610173366004611102565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161015c565b6101b06101ab366004611275565b61044d565b60405190815260200161015c565b6101d16101cc366004611336565b61055e565b005b6101d161058d565b6003546101ee906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b6101b060045481565b6101d161021d366004611336565b6105c1565b6101d161023036600461129f565b6105fb565b60025460ff16604051901515815260200161015c565b6101d161025936600461129f565b610785565b6101d16108d6565b6101b060055481565b6101d161090a565b6101d161093c565b6000546001600160a01b03166101ee565b6101d161029e36600461129f565b610a6b565b6101b06102b1366004611275565b600760209081526000928352604080842090915290825290205481565b61014f6102dc3660046110e7565b610c71565b6002546101ee9061010090046001600160a01b031681565b6101d16103073660046110e7565b610d2d565b6060815167ffffffffffffffff811115610328576103286114b6565b604051908082528060200260200182016040528015610351578160200160208202803683370190505b50905060005b8251811015610445576000838281518110610374576103746114a0565b6020026020010151905060076000866001600160a01b03166001600160a01b031681526020019081526020016000206000828152602001908152602001600020546103c143600454610dc8565b6103cb9190611442565b6001600160a01b03861660009081526006602052604090206103ed9083610dde565b6103f85760006103fb565b60015b60ff1660055461040b9190611423565b6104159190611423565b838381518110610427576104276114a0565b6020908102919091010152508061043d81611459565b915050610357565b505b92915050565b6001600160a01b038216600090815260076020908152604080832084845290915281205460045461047f904390610dc8565b116104d15760405162461bcd60e51b815260206004820152601a60248201527f7374616b696e672072657761726473206861766520656e64656400000000000060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600760209081526040808320858452909152902054600454610503904390610dc8565b61050d9190611442565b6001600160a01b038416600090815260066020526040902061052f9084610dde565b61053a57600061053d565b60015b60ff1660055461054d9190611423565b6105579190611423565b9392505050565b6000546001600160a01b031633146105885760405162461bcd60e51b81526004016104c8906113d6565b600555565b6000546001600160a01b031633146105b75760405162461bcd60e51b81526004016104c8906113d6565b6105bf610df6565b565b6000546001600160a01b031633146105eb5760405162461bcd60e51b81526004016104c8906113d6565b6105f5814361140b565b60045550565b60025460ff161561061e5760405162461bcd60e51b81526004016104c8906113ac565b60025461010090046001600160a01b031633141561067e5760405162461bcd60e51b815260206004820152601b60248201527f696e76616c6964206164647265737320666f72207374616b696e67000000000060448201526064016104c8565b6106888282610785565b60005b818110156107805760025461010090046001600160a01b031663b88d4fde33308686868181106106bd576106bd6114a0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b15801561072257600080fd5b505af1158015610736573d6000803e3d6000fd5b5050505061076d83838381811061074f5761074f6114a0565b33600090815260066020908152604090912093910201359050610e89565b508061077881611459565b91505061068b565b505050565b60025460ff16156107a85760405162461bcd60e51b81526004016104c8906113ac565b6000806107b743600454610dc8565b905060005b83811015610843576107e6338686848181106107da576107da6114a0565b9050602002013561044d565b6107f0908461140b565b336000908152600760205260408120919450839190878785818110610817576108176114a0565b90506020020135815260200190815260200160002081905550808061083b90611459565b9150506107bc565b5081156108d05760035460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561089657600080fd5b505af11580156108aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ce9190611314565b505b50505050565b6000546001600160a01b031633146109005760405162461bcd60e51b81526004016104c8906113d6565b6105bf6000610e95565b6000546001600160a01b031633146109345760405162461bcd60e51b81526004016104c8906113d6565b6105bf610ee5565b6000546001600160a01b031633146109665760405162461bcd60e51b81526004016104c8906113d6565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156109aa57600080fd5b505afa1580156109be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e2919061134f565b60035460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015610a2f57600080fd5b505af1158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611314565b5050565b60025460ff1615610a8e5760405162461bcd60e51b81526004016104c8906113ac565b60026001541415610ae15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104c8565b6002600155610af08282610785565b60005b81811015610c6857610b2e838383818110610b1057610b106114a0565b33600090815260066020908152604090912093910201359050610dde565b610b7a5760405162461bcd60e51b815260206004820152601e60248201527f7a6f6d626965206e6f74207374616b6564206f72206e6f74206f776e6564000060448201526064016104c8565b610bad838383818110610b8f57610b8f6114a0565b33600090815260066020908152604090912093910201359050610f3d565b5060025461010090046001600160a01b031663b88d4fde3033868686818110610bd857610bd86114a0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b505050508080610c6090611459565b915050610af3565b50506001805550565b6001600160a01b0381166000908152600660205260408120606091610c9582610f49565b67ffffffffffffffff811115610cad57610cad6114b6565b604051908082528060200260200182016040528015610cd6578160200160208202803683370190505b50905060005b610ce583610f49565b811015610d2557610cf68382610f53565b828281518110610d0857610d086114a0565b602090810291909101015280610d1d81611459565b915050610cdc565b509392505050565b6000546001600160a01b03163314610d575760405162461bcd60e51b81526004016104c8906113d6565b6001600160a01b038116610dbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c8565b610dc581610e95565b50565b6000818310610dd75781610557565b5090919050565b60008181526001830160205260408120541515610557565b60025460ff16610e3f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104c8565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006105578383610f5f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615610f085760405162461bcd60e51b81526004016104c8906113ac565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e6c3390565b60006105578383610fae565b6000610447825490565b600061055783836110a1565b6000818152600183016020526040812054610fa657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610447565b506000610447565b60008181526001830160205260408120548015611097576000610fd2600183611442565b8554909150600090610fe690600190611442565b905081811461104b576000866000018281548110611006576110066114a0565b9060005260206000200154905080876000018481548110611029576110296114a0565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061105c5761105c61148a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610447565b6000915050610447565b60008260000182815481106110b8576110b86114a0565b9060005260206000200154905092915050565b80356001600160a01b03811681146110e257600080fd5b919050565b6000602082840312156110f957600080fd5b610557826110cb565b60008060008060006080868803121561111a57600080fd5b611123866110cb565b9450611131602087016110cb565b935060408601359250606086013567ffffffffffffffff8082111561115557600080fd5b818801915088601f83011261116957600080fd5b81358181111561117857600080fd5b89602082850101111561118a57600080fd5b9699959850939650602001949392505050565b600080604083850312156111b057600080fd5b6111b9836110cb565b915060208084013567ffffffffffffffff808211156111d757600080fd5b818601915086601f8301126111eb57600080fd5b8135818111156111fd576111fd6114b6565b8060051b604051601f19603f83011681018181108582111715611222576112226114b6565b604052828152858101935084860182860187018b101561124157600080fd5b600095505b83861015611264578035855260019590950194938601938601611246565b508096505050505050509250929050565b6000806040838503121561128857600080fd5b611291836110cb565b946020939093013593505050565b600080602083850312156112b257600080fd5b823567ffffffffffffffff808211156112ca57600080fd5b818501915085601f8301126112de57600080fd5b8135818111156112ed57600080fd5b8660208260051b850101111561130257600080fd5b60209290920196919550909350505050565b60006020828403121561132657600080fd5b8151801515811461055757600080fd5b60006020828403121561134857600080fd5b5035919050565b60006020828403121561136157600080fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156113a057835183529284019291840191600101611384565b50909695505050505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561141e5761141e611474565b500190565b600081600019048311821515161561143d5761143d611474565b500290565b60008282101561145457611454611474565b500390565b600060001982141561146d5761146d611474565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220e9ac83b28286542aabbcc9fc15e25777da6c1456284ebee08d8c5261af18bae164736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002a5aef99cfa510f8bc57b99e22d97d92483d805300000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc50930000000000000000000000000000000000000000000000000005ebd312a02aaa0000000000000000000000000000000000000000000000000000000000057e40
-----Decoded View---------------
Arg [0] : _zombiezAddress (address): 0x2a5AEf99CFa510f8bC57b99E22D97d92483D8053
Arg [1] : _fleshAddress (address): 0x25d4BFeeaE3360E68C466c65A5E8f8D5CEBc5093
Arg [2] : _rewardRate (uint256): 1666666666666666
Arg [3] : _expiration (uint256): 360000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000002a5aef99cfa510f8bc57b99e22d97d92483d8053
Arg [1] : 00000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc5093
Arg [2] : 0000000000000000000000000000000000000000000000000005ebd312a02aaa
Arg [3] : 0000000000000000000000000000000000000000000000000000000000057e40
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.