Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 307 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Rewards | 17465281 | 606 days ago | IN | 0 ETH | 0.01013551 | ||||
Claim Rewards | 16928472 | 682 days ago | IN | 0 ETH | 0.00204513 | ||||
Claim Rewards | 15635142 | 863 days ago | IN | 0 ETH | 0.00116786 | ||||
Claim Rewards | 15365652 | 904 days ago | IN | 0 ETH | 0.01031419 | ||||
Claim Rewards | 15337566 | 909 days ago | IN | 0 ETH | 0.00076601 | ||||
Claim Rewards | 15337531 | 909 days ago | IN | 0 ETH | 0.00062602 | ||||
Claim Rewards | 15268741 | 920 days ago | IN | 0 ETH | 0.00048574 | ||||
Claim Rewards | 15268727 | 920 days ago | IN | 0 ETH | 0.00046771 | ||||
Claim Rewards | 15268720 | 920 days ago | IN | 0 ETH | 0.00051233 | ||||
Claim Rewards | 14875123 | 984 days ago | IN | 0 ETH | 0.00388399 | ||||
Claim Rewards | 14875107 | 984 days ago | IN | 0 ETH | 0.00811238 | ||||
Claim Rewards | 14859758 | 987 days ago | IN | 0 ETH | 0.00094347 | ||||
Claim Rewards | 14859753 | 987 days ago | IN | 0 ETH | 0.00115294 | ||||
Claim Rewards | 14836707 | 990 days ago | IN | 0 ETH | 0.05140331 | ||||
Claim Rewards | 14832968 | 991 days ago | IN | 0 ETH | 0.00090664 | ||||
Claim Rewards | 14832950 | 991 days ago | IN | 0 ETH | 0.00599844 | ||||
Claim Rewards | 14823156 | 993 days ago | IN | 0 ETH | 0.00063967 | ||||
Claim Rewards | 14823156 | 993 days ago | IN | 0 ETH | 0.00063967 | ||||
Claim Rewards | 14823156 | 993 days ago | IN | 0 ETH | 0.00148271 | ||||
Claim Rewards | 14771435 | 1001 days ago | IN | 0 ETH | 0.00203989 | ||||
Claim Rewards | 14655646 | 1019 days ago | IN | 0 ETH | 0.00560233 | ||||
Claim Rewards | 14596388 | 1029 days ago | IN | 0 ETH | 0.00286688 | ||||
Claim Rewards | 14578938 | 1031 days ago | IN | 0 ETH | 0.03783527 | ||||
Claim Rewards | 14561989 | 1034 days ago | IN | 0 ETH | 0.00206601 | ||||
Claim Rewards | 14550975 | 1036 days ago | IN | 0 ETH | 0.00158512 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TunaRewards
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT LICENSE pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ITuna.sol"; contract TunaRewards is Ownable, Pausable, ReentrancyGuard { using Address for address payable; mapping(address => uint256) allowedNFTs; //contract - emissionRate mapping(bytes32 => uint256) public lastClaim; ITuna public tuna; constructor() {} /** * @dev You can only claim once per day */ function claim(uint256 _tokenId, address _nftContract) external nonReentrant { require(allowedNFTs[_nftContract] > 0, "contract not allowed"); require(IERC721(_nftContract).ownerOf(_tokenId) == msg.sender, "not owning the nft"); uint256 unclaimed = unclaimedRewards(_tokenId, _nftContract); bytes32 lastClaimKey = keccak256(abi.encode(_tokenId, _nftContract)); lastClaim[lastClaimKey] = block.timestamp; tuna.mint(msg.sender, unclaimed); } /** * @dev like claim, but for many tokens */ function claimRewards(uint256[] calldata _tokenIds, address[] memory _nftContracts) external nonReentrant { require(_tokenIds.length == _nftContracts.length, "invalid array lengths"); uint256 totalUnclaimedRewards = 0; for (uint256 i = 0; i < _tokenIds.length; i++) { require(allowedNFTs[_nftContracts[i]] > 0, "contract not allowed"); require(IERC721(_nftContracts[i]).ownerOf(_tokenIds[i]) == msg.sender, "not owning the nft"); uint256 unclaimed = unclaimedRewards(_tokenIds[i], _nftContracts[i]); bytes32 lastClaimKey = keccak256(abi.encode(_tokenIds[i], _nftContracts[i])); lastClaim[lastClaimKey] = block.timestamp; totalUnclaimedRewards = totalUnclaimedRewards + unclaimed; } tuna.mint(msg.sender, totalUnclaimedRewards); } //calculate unclaimed rewards for a token function unclaimedRewards(uint256 _tokenId, address _nftContract) public view returns (uint256) { uint256 lastClaimDate = getLastClaimedTime(_tokenId, _nftContract); uint256 emissionRate = allowedNFTs[_nftContract]; //initial issuance? if (lastClaimDate == uint256(0)) { return 3000000000000000000; // 3 $TUNA per day } //there was a claim require(block.timestamp > lastClaimDate, "must be smaller than block timestamp"); uint256 secondsElapsed = block.timestamp - lastClaimDate; uint256 accumulatedReward = (secondsElapsed * emissionRate) / 1 days; return accumulatedReward; } //calculate unclaimed rewards for more function unclaimedRewardsBulk(uint256[] calldata _tokenIds, address[] memory _nftContracts) public view returns (uint256) { uint256 accumulatedReward = 0; for (uint256 i = 0; i < _tokenIds.length; i++) { accumulatedReward = accumulatedReward + unclaimedRewards(_tokenIds[i], _nftContracts[i]); } return accumulatedReward; } /** * ============================== * ~~~~~~~ READ FUNCTIONS ~~~~~~ * ============================== **/ /** * @dev when did you last claim */ function getLastClaimedTime(uint256 _tokenId, address _contractAddress) public view returns (uint256) { bytes32 lastClaimKey = keccak256(abi.encode(_tokenId, _contractAddress)); return lastClaim[lastClaimKey]; } /** * ============================== * ~~~~~~~ ADMIN FUNCTIONS ~~~~~~ * ============================== **/ function setTunaToken(address _contract) external onlyOwner { tuna = ITuna(_contract); } //stake only from this tokens function setAllowedNFTs(address _contractAddress, uint256 _emissionRate) external onlyOwner { require(_emissionRate <= 3000000000000000000, "no more than 3 per day"); allowedNFTs[_contractAddress] = _emissionRate; } //blocks staking but doesn't block unstaking / claiming function setPaused(bool _setPaused) public onlyOwner { return (_setPaused) ? _pause() : _unpause(); } function reclaimERC20(IERC20 token, uint256 _amount) external onlyOwner { uint256 balance = token.balanceOf(address(this)); require(_amount <= balance, "incorrect amount"); token.transfer(msg.sender, _amount); } function reclaimERC721(IERC721 erc721Token, uint256 id) external onlyOwner { erc721Token.safeTransferFrom(address(this), msg.sender, id); } //owner can withdraw any ETH sent here //not used function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// 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; /** * @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; /** * @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; 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; 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 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 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.11; interface ITuna { function mint(address to, uint256 amount) external; function burn(address from, uint256 amount) external; function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); }
// 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; /** * @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":[],"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_nftContract","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"_nftContracts","type":"address[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"getLastClaimedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"lastClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"erc721Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_emissionRate","type":"uint256"}],"name":"setAllowedNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setTunaToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tuna","outputs":[{"internalType":"contract ITuna","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_nftContract","type":"address"}],"name":"unclaimedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"_nftContracts","type":"address[]"}],"name":"unclaimedRewardsBulk","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a33610030565b6000805460ff60a01b1916905560018055610080565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6112c88061008f6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80636835c461116100a25780638da5cb5b116100715780638da5cb5b14610222578063afdbd49914610233578063ddd5e1b214610246578063e53c97ee14610259578063f2fde38b1461026c57600080fd5b80636835c461146101d45780636b7d2470146101e75780636bac8de2146101fa578063715018a61461021a57600080fd5b80633ccfd60b116100de5780633ccfd60b1461018957806346f90748146101915780635111530b146101a45780635c975abb146101b757600080fd5b8063050be6ce1461011057806310bca5a01461012557806316c38b3c14610155578063381a478514610168575b600080fd5b61012361011e366004610f58565b61027f565b005b600454610138906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610123610163366004610f92565b61031f565b61017b610176366004610fcc565b610361565b60405190815260200161014c565b6101236103d0565b61017b61019f3660046110ed565b61042d565b6101236101b2366004610fcc565b6104fd565b600054600160a01b900460ff16604051901515815260200161014c565b61017b6101e23660046110ed565b610868565b6101236101f5366004610f58565b6108bd565b61017b61020836600461111d565b60036020526000908152604090205481565b610123610951565b6000546001600160a01b0316610138565b610123610241366004610f58565b610987565b6101236102543660046110ed565b610ad8565b610123610267366004611136565b610cda565b61012361027a366004611136565b610d26565b6000546001600160a01b031633146102b25760405162461bcd60e51b81526004016102a990611153565b60405180910390fd5b6729a2241af62c00008111156103035760405162461bcd60e51b81526020600482015260166024820152756e6f206d6f7265207468616e2033207065722064617960501b60448201526064016102a9565b6001600160a01b03909116600090815260026020526040902055565b6000546001600160a01b031633146103495760405162461bcd60e51b81526004016102a990611153565b8061035957610356610dbe565b50565b610356610e5b565b600080805b848110156103c7576103a986868381811061038357610383611188565b9050602002013585838151811061039c5761039c611188565b602002602001015161042d565b6103b390836111b4565b9150806103bf816111cc565b915050610366565b50949350505050565b6000546001600160a01b031633146103fa5760405162461bcd60e51b81526004016102a990611153565b6040514790339082156108fc029083906000818181858888f19350505050158015610429573d6000803e3d6000fd5b5050565b60008061043a8484610868565b6001600160a01b0384166000908152600260205260409020549091508161046d576729a2241af62c0000925050506104f7565b8142116104c85760405162461bcd60e51b8152602060048201526024808201527f6d75737420626520736d616c6c6572207468616e20626c6f636b2074696d6573604482015263074616d760e41b60648201526084016102a9565b60006104d483426111e7565b90506000620151806104e684846111fe565b6104f0919061121d565b9450505050505b92915050565b600260015414156105505760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102a9565b60026001558051821461059d5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206172726179206c656e6774687360581b60448201526064016102a9565b6000805b838110156107f7576000600260008584815181106105c1576105c1611188565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020541161062e5760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016102a9565b336001600160a01b031683828151811061064a5761064a611188565b60200260200101516001600160a01b0316636352211e87878581811061067257610672611188565b905060200201356040518263ffffffff1660e01b815260040161069791815260200190565b602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d8919061123f565b6001600160a01b0316146107235760405162461bcd60e51b81526020600482015260126024820152711b9bdd081bdddb9a5b99c81d1a19481b999d60721b60448201526064016102a9565b600061075386868481811061073a5761073a611188565b9050602002013585848151811061039c5761039c611188565b9050600086868481811061076957610769611188565b9050602002013585848151811061078257610782611188565b60200260200101516040516020016107ad9291909182526001600160a01b0316602082015260400190565b60408051601f19818403018152918152815160209283012060008181526003909352912042905590506107e082856111b4565b9350505080806107ef906111cc565b9150506105a1565b50600480546040516340c10f1960e01b81523392810192909252602482018390526001600160a01b0316906340c10f19906044015b600060405180830381600087803b15801561084657600080fd5b505af115801561085a573d6000803e3d6000fd5b505060018055505050505050565b60008083836040516020016108909291909182526001600160a01b0316602082015260400190565b60408051808303601f19018152918152815160209283012060009081526003909252902054949350505050565b6000546001600160a01b031633146108e75760405162461bcd60e51b81526004016102a990611153565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b15801561093557600080fd5b505af1158015610949573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461097b5760405162461bcd60e51b81526004016102a990611153565b6109856000610ee3565b565b6000546001600160a01b031633146109b15760405162461bcd60e51b81526004016102a990611153565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c919061125c565b905080821115610a615760405162461bcd60e51b815260206004820152601060248201526f1a5b98dbdc9c9958dd08185b5bdd5b9d60821b60448201526064016102a9565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0384169063a9059cbb906044016020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190611275565b50505050565b60026001541415610b2b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102a9565b600260018190556001600160a01b03821660009081526020919091526040902054610b8f5760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016102a9565b6040516331a9108f60e11b81526004810183905233906001600160a01b03831690636352211e90602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa919061123f565b6001600160a01b031614610c455760405162461bcd60e51b81526020600482015260126024820152711b9bdd081bdddb9a5b99c81d1a19481b999d60721b60448201526064016102a9565b6000610c51838361042d565b905060008383604051602001610c7a9291909182526001600160a01b0316602082015260400190565b60408051808303601f19018152828252805160209182012060008181526003909252919020429055600480546340c10f1960e01b84523391840191909152602483018590529092506001600160a01b0316906340c10f199060440161082c565b6000546001600160a01b03163314610d045760405162461bcd60e51b81526004016102a990611153565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d505760405162461bcd60e51b81526004016102a990611153565b6001600160a01b038116610db55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102a9565b61035681610ee3565b600054600160a01b900460ff16610e0e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102a9565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054600160a01b900460ff1615610ea85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a9565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e3e3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461035657600080fd5b8035610f5381610f33565b919050565b60008060408385031215610f6b57600080fd5b8235610f7681610f33565b946020939093013593505050565b801515811461035657600080fd5b600060208284031215610fa457600080fd5b8135610faf81610f84565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600080600060408486031215610fe157600080fd5b833567ffffffffffffffff80821115610ff957600080fd5b818601915086601f83011261100d57600080fd5b81358181111561101c57600080fd5b602088818360051b860101111561103257600080fd5b80840196508195508088013593508284111561104d57600080fd5b838801935088601f85011261106157600080fd5b833591508282111561107557611075610fb6565b8160051b604051601f19603f8301168101818110868211171561109a5761109a610fb6565b60405292835281830193508481018201928a8411156110b857600080fd5b948201945b838610156110dd576110ce86610f48565b855294820194938201936110bd565b8096505050505050509250925092565b6000806040838503121561110057600080fd5b82359150602083013561111281610f33565b809150509250929050565b60006020828403121561112f57600080fd5b5035919050565b60006020828403121561114857600080fd5b8135610faf81610f33565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156111c7576111c761119e565b500190565b60006000198214156111e0576111e061119e565b5060010190565b6000828210156111f9576111f961119e565b500390565b60008160001904831182151516156112185761121861119e565b500290565b60008261123a57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561125157600080fd5b8151610faf81610f33565b60006020828403121561126e57600080fd5b5051919050565b60006020828403121561128757600080fd5b8151610faf81610f8456fea26469706673582212209cb2779c15c4494102bd80ebf174d11d54f85d3868fe5441c742cfcbdd3cb72464736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80636835c461116100a25780638da5cb5b116100715780638da5cb5b14610222578063afdbd49914610233578063ddd5e1b214610246578063e53c97ee14610259578063f2fde38b1461026c57600080fd5b80636835c461146101d45780636b7d2470146101e75780636bac8de2146101fa578063715018a61461021a57600080fd5b80633ccfd60b116100de5780633ccfd60b1461018957806346f90748146101915780635111530b146101a45780635c975abb146101b757600080fd5b8063050be6ce1461011057806310bca5a01461012557806316c38b3c14610155578063381a478514610168575b600080fd5b61012361011e366004610f58565b61027f565b005b600454610138906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610123610163366004610f92565b61031f565b61017b610176366004610fcc565b610361565b60405190815260200161014c565b6101236103d0565b61017b61019f3660046110ed565b61042d565b6101236101b2366004610fcc565b6104fd565b600054600160a01b900460ff16604051901515815260200161014c565b61017b6101e23660046110ed565b610868565b6101236101f5366004610f58565b6108bd565b61017b61020836600461111d565b60036020526000908152604090205481565b610123610951565b6000546001600160a01b0316610138565b610123610241366004610f58565b610987565b6101236102543660046110ed565b610ad8565b610123610267366004611136565b610cda565b61012361027a366004611136565b610d26565b6000546001600160a01b031633146102b25760405162461bcd60e51b81526004016102a990611153565b60405180910390fd5b6729a2241af62c00008111156103035760405162461bcd60e51b81526020600482015260166024820152756e6f206d6f7265207468616e2033207065722064617960501b60448201526064016102a9565b6001600160a01b03909116600090815260026020526040902055565b6000546001600160a01b031633146103495760405162461bcd60e51b81526004016102a990611153565b8061035957610356610dbe565b50565b610356610e5b565b600080805b848110156103c7576103a986868381811061038357610383611188565b9050602002013585838151811061039c5761039c611188565b602002602001015161042d565b6103b390836111b4565b9150806103bf816111cc565b915050610366565b50949350505050565b6000546001600160a01b031633146103fa5760405162461bcd60e51b81526004016102a990611153565b6040514790339082156108fc029083906000818181858888f19350505050158015610429573d6000803e3d6000fd5b5050565b60008061043a8484610868565b6001600160a01b0384166000908152600260205260409020549091508161046d576729a2241af62c0000925050506104f7565b8142116104c85760405162461bcd60e51b8152602060048201526024808201527f6d75737420626520736d616c6c6572207468616e20626c6f636b2074696d6573604482015263074616d760e41b60648201526084016102a9565b60006104d483426111e7565b90506000620151806104e684846111fe565b6104f0919061121d565b9450505050505b92915050565b600260015414156105505760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102a9565b60026001558051821461059d5760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206172726179206c656e6774687360581b60448201526064016102a9565b6000805b838110156107f7576000600260008584815181106105c1576105c1611188565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020541161062e5760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016102a9565b336001600160a01b031683828151811061064a5761064a611188565b60200260200101516001600160a01b0316636352211e87878581811061067257610672611188565b905060200201356040518263ffffffff1660e01b815260040161069791815260200190565b602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d8919061123f565b6001600160a01b0316146107235760405162461bcd60e51b81526020600482015260126024820152711b9bdd081bdddb9a5b99c81d1a19481b999d60721b60448201526064016102a9565b600061075386868481811061073a5761073a611188565b9050602002013585848151811061039c5761039c611188565b9050600086868481811061076957610769611188565b9050602002013585848151811061078257610782611188565b60200260200101516040516020016107ad9291909182526001600160a01b0316602082015260400190565b60408051601f19818403018152918152815160209283012060008181526003909352912042905590506107e082856111b4565b9350505080806107ef906111cc565b9150506105a1565b50600480546040516340c10f1960e01b81523392810192909252602482018390526001600160a01b0316906340c10f19906044015b600060405180830381600087803b15801561084657600080fd5b505af115801561085a573d6000803e3d6000fd5b505060018055505050505050565b60008083836040516020016108909291909182526001600160a01b0316602082015260400190565b60408051808303601f19018152918152815160209283012060009081526003909252902054949350505050565b6000546001600160a01b031633146108e75760405162461bcd60e51b81526004016102a990611153565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b15801561093557600080fd5b505af1158015610949573d6000803e3d6000fd5b505050505050565b6000546001600160a01b0316331461097b5760405162461bcd60e51b81526004016102a990611153565b6109856000610ee3565b565b6000546001600160a01b031633146109b15760405162461bcd60e51b81526004016102a990611153565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c919061125c565b905080821115610a615760405162461bcd60e51b815260206004820152601060248201526f1a5b98dbdc9c9958dd08185b5bdd5b9d60821b60448201526064016102a9565b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0384169063a9059cbb906044016020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190611275565b50505050565b60026001541415610b2b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102a9565b600260018190556001600160a01b03821660009081526020919091526040902054610b8f5760405162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b60448201526064016102a9565b6040516331a9108f60e11b81526004810183905233906001600160a01b03831690636352211e90602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa919061123f565b6001600160a01b031614610c455760405162461bcd60e51b81526020600482015260126024820152711b9bdd081bdddb9a5b99c81d1a19481b999d60721b60448201526064016102a9565b6000610c51838361042d565b905060008383604051602001610c7a9291909182526001600160a01b0316602082015260400190565b60408051808303601f19018152828252805160209182012060008181526003909252919020429055600480546340c10f1960e01b84523391840191909152602483018590529092506001600160a01b0316906340c10f199060440161082c565b6000546001600160a01b03163314610d045760405162461bcd60e51b81526004016102a990611153565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d505760405162461bcd60e51b81526004016102a990611153565b6001600160a01b038116610db55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102a9565b61035681610ee3565b600054600160a01b900460ff16610e0e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102a9565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600054600160a01b900460ff1615610ea85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a9565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e3e3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461035657600080fd5b8035610f5381610f33565b919050565b60008060408385031215610f6b57600080fd5b8235610f7681610f33565b946020939093013593505050565b801515811461035657600080fd5b600060208284031215610fa457600080fd5b8135610faf81610f84565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600080600060408486031215610fe157600080fd5b833567ffffffffffffffff80821115610ff957600080fd5b818601915086601f83011261100d57600080fd5b81358181111561101c57600080fd5b602088818360051b860101111561103257600080fd5b80840196508195508088013593508284111561104d57600080fd5b838801935088601f85011261106157600080fd5b833591508282111561107557611075610fb6565b8160051b604051601f19603f8301168101818110868211171561109a5761109a610fb6565b60405292835281830193508481018201928a8411156110b857600080fd5b948201945b838610156110dd576110ce86610f48565b855294820194938201936110bd565b8096505050505050509250925092565b6000806040838503121561110057600080fd5b82359150602083013561111281610f33565b809150509250929050565b60006020828403121561112f57600080fd5b5035919050565b60006020828403121561114857600080fd5b8135610faf81610f33565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156111c7576111c761119e565b500190565b60006000198214156111e0576111e061119e565b5060010190565b6000828210156111f9576111f961119e565b500390565b60008160001904831182151516156112185761121861119e565b500290565b60008261123a57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561125157600080fd5b8151610faf81610f33565b60006020828403121561126e57600080fd5b5051919050565b60006020828403121561128757600080fd5b8151610faf81610f8456fea26469706673582212209cb2779c15c4494102bd80ebf174d11d54f85d3868fe5441c742cfcbdd3cb72464736f6c634300080b0033
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.