Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 77 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 20380644 | 171 days ago | IN | 0 ETH | 0.000184 | ||||
Purchase By Eth | 20212862 | 194 days ago | IN | 0.1 ETH | 0.00061831 | ||||
Purchase By Eth | 20212861 | 194 days ago | IN | 0.1 ETH | 0.00081255 | ||||
Purchase By Toke... | 20212779 | 194 days ago | IN | 0 ETH | 0.00253451 | ||||
Purchase By Eth | 20212682 | 194 days ago | IN | 0.1 ETH | 0.00090038 | ||||
Purchase By Eth | 20207052 | 195 days ago | IN | 0.1 ETH | 0.00050379 | ||||
Purchase By Eth | 20205862 | 195 days ago | IN | 0.1 ETH | 0.00048337 | ||||
Purchase By Eth | 20205327 | 195 days ago | IN | 0.1 ETH | 0.00043341 | ||||
Purchase By Eth | 20200108 | 196 days ago | IN | 0.1 ETH | 0.00035609 | ||||
Purchase By Eth | 20200087 | 196 days ago | IN | 0.1 ETH | 0.00042834 | ||||
Purchase By Toke... | 20200004 | 196 days ago | IN | 0 ETH | 0.00091534 | ||||
Purchase By Eth | 20198878 | 196 days ago | IN | 0.1 ETH | 0.00033073 | ||||
Purchase By Toke... | 20198121 | 196 days ago | IN | 0 ETH | 0.00123603 | ||||
Purchase By Toke... | 20195246 | 196 days ago | IN | 0 ETH | 0.00103974 | ||||
Purchase By Eth | 20194331 | 197 days ago | IN | 0.1 ETH | 0.00030789 | ||||
Purchase By Eth | 20193900 | 197 days ago | IN | 0.1 ETH | 0.00031773 | ||||
Purchase By Toke... | 20193301 | 197 days ago | IN | 0 ETH | 0.00085176 | ||||
Purchase By Eth | 20192421 | 197 days ago | IN | 0.1 ETH | 0.00035642 | ||||
Purchase By Eth | 20189094 | 197 days ago | IN | 0.1 ETH | 0.00046716 | ||||
Purchase By Eth | 20188770 | 197 days ago | IN | 0.1 ETH | 0.00054157 | ||||
Purchase By Eth | 20187486 | 198 days ago | IN | 0.1 ETH | 0.00047245 | ||||
Purchase By Eth | 20186042 | 198 days ago | IN | 0.1 ETH | 0.00053933 | ||||
Purchase By Eth | 20185594 | 198 days ago | IN | 0.1 ETH | 0.00065332 | ||||
Purchase By Eth | 20185040 | 198 days ago | IN | 0.1 ETH | 0.00079064 | ||||
Purchase By Eth | 20184638 | 198 days ago | IN | 0.1 ETH | 0.00208179 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20380644 | 171 days ago | 6 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
VhilsBurn
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.26; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; struct TierTear { uint8 level; uint256 startTime; } struct TierMedal { uint8 rank; uint256 startTime; } struct StakingInfo { address owner; TierTear tierTear; TierMedal tierMedal; } interface IStaking { function stakingInfo(uint16 _tokenId) external view returns (StakingInfo memory); } contract VhilsBurn is Ownable, ReentrancyGuard { bool public isOnceTime = true; uint8 public tierRank = 5; uint16 public tokensPerBurn = 3; address public nft = 0xa9248a0935EB476cFE2f286Df813a48D06ffd2e2; address public staking = 0x50D8aae81035A2253CE36433Fa5C6F1d2314c90B; address public burnRecipient = 0x91660CD98409C6E5e37c911321B346Eb726449fE; address public saleRecipient = 0x58F58f15A0D080932218D65beb8bBd83978677d7; uint256 public burnAmount = 0.1 ether; uint256 public start = 1719248400; uint256 public end = 1719853200; mapping(uint16 => bool) public isBurned; event PurchaseETH(address indexed sender, uint16 tokenId, uint256 amount, uint256 timestamp); event PurchaseToken(address indexed sender, uint16[] tokenIds, uint256 timestamp); constructor() Ownable(msg.sender) {} function purchaseByEth(uint16 _tokenId) external payable { require(start <= block.timestamp && block.timestamp <= end, "Invalid time"); require(msg.value == burnAmount, "Invalid ETH"); require(IERC721(nft).ownerOf(_tokenId) == msg.sender, "Invalid owner"); StakingInfo memory info = IStaking(staking).stakingInfo(_tokenId); require(info.tierMedal.rank == tierRank, "Invalid tierRank"); if (isOnceTime) { require(!isBurned[_tokenId], "Already burned"); } isBurned[_tokenId] = true; emit PurchaseETH(msg.sender, _tokenId, msg.value, block.timestamp); } function purchaseByToken(uint16[] calldata _tokenIds) external nonReentrant { require(start <= block.timestamp && block.timestamp <= end, "Invalid time"); require(_tokenIds.length == tokensPerBurn, "Invalid tokenIds"); address sender = msg.sender; StakingInfo memory info = IStaking(staking).stakingInfo(_tokenIds[0]); require(info.tierMedal.rank == tierRank, "Invalid tierRank"); for (uint256 i = 0; i < _tokenIds.length; i++) { if (isOnceTime) { require(!isBurned[_tokenIds[i]], "Already burned"); } isBurned[_tokenIds[i]] = true; IERC721(nft).safeTransferFrom(sender, burnRecipient, _tokenIds[i]); } emit PurchaseToken(sender, _tokenIds, block.timestamp); } function setTierRank(uint8 _tierRank) external onlyOwner { tierRank = _tierRank; } function setTime(uint256 _start, uint256 _end) external onlyOwner { start = _start; end = _end; } function setOnceTime(bool _isOnceTime) external onlyOwner { isOnceTime = _isOnceTime; } function setNft(address _nft) external onlyOwner { nft = _nft; } function setStaking(address _staking) external onlyOwner { staking = _staking; } function setSaleRecipient(address _saleRecipient) external onlyOwner { saleRecipient = _saleRecipient; } function setBurnAmount(uint256 _burnAmount) external onlyOwner { burnAmount = _burnAmount; } function setBurnRecipient(address _burnRecipient) external onlyOwner { burnRecipient = _burnRecipient; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = saleRecipient.call{ value: address(this).balance }(""); require(success, "Transfer failed"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @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; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); 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 making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
{ "optimizer": { "enabled": true, "runs": 10000 }, "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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint16","name":"tokenId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"PurchaseETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"PurchaseToken","type":"event"},{"inputs":[],"name":"burnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"isBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOnceTime","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"purchaseByEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"}],"name":"purchaseByToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnAmount","type":"uint256"}],"name":"setBurnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_burnRecipient","type":"address"}],"name":"setBurnRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nft","type":"address"}],"name":"setNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOnceTime","type":"bool"}],"name":"setOnceTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleRecipient","type":"address"}],"name":"setSaleRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tierRank","type":"uint8"}],"name":"setTierRank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"setTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tierRank","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerBurn","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526002805477a9248a0935eb476cfe2f286df813a48d06ffd2e2000305016001600160c01b0319909116179055600380546001600160a01b03199081167350d8aae81035a2253ce36433fa5c6f1d2314c90b179091556004805482167391660cd98409c6e5e37c911321b346eb726449fe179055600580549091167358f58f15a0d080932218d65beb8bbd83978677d717905567016345785d8a0000600655636679a610600755636682e0906008553480156100bd575f80fd5b5033806100e357604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100ec816100f6565b5060018055610145565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611564806101525f395ff3fe60806040526004361061018d575f3560e01c80638ff39099116100dc578063dc2367f311610087578063f1eb848511610062578063f1eb848514610486578063f2fde38b146104b9578063f3c13387146104d8578063fc199f65146104f7575f80fd5b8063dc2367f314610426578063efbe1c1c14610445578063f0cca7c11461045a575f80fd5b8063a6d3d552116100b7578063a6d3d552146103c2578063be9a6555146103f2578063cc43f3d314610407575f80fd5b80638ff390991461036b57806395c756601461038a578063a0355eca146103a3575f80fd5b806347ccca021161013c5780635b019b76116101175780635b019b7614610302578063715018a61461032e5780638da5cb5b14610342575f80fd5b806347ccca021461025a578063486a7e6b146102b35780634cf088d9146102d6575f80fd5b80631c908d981161016c5780631c908d98146102085780633a8d1aff146102275780633ccfd60b14610246575f80fd5b80620825a7146101915780630e1a1362146101d4578063113d7358146101f5575b5f80fd5b34801561019c575f80fd5b506101bf6101ab366004611239565b60096020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b3480156101df575f80fd5b506101f36101ee36600461127a565b610516565b005b6101f3610203366004611239565b610565565b348015610213575f80fd5b506101f361022236600461127a565b610984565b348015610232575f80fd5b506101f3610241366004611295565b6109d3565b348015610251575f80fd5b506101f3610a0c565b348015610265575f80fd5b5060025461028e90640100000000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101cb565b3480156102be575f80fd5b506102c860065481565b6040519081526020016101cb565b3480156102e1575f80fd5b5060035461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561030d575f80fd5b5060055461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610339575f80fd5b506101f3610aef565b34801561034d575f80fd5b505f5473ffffffffffffffffffffffffffffffffffffffff1661028e565b348015610376575f80fd5b506101f361038536600461127a565b610b00565b348015610395575f80fd5b506002546101bf9060ff1681565b3480156103ae575f80fd5b506101f36103bd3660046112b4565b610b4f565b3480156103cd575f80fd5b506002546103e090610100900460ff1681565b60405160ff90911681526020016101cb565b3480156103fd575f80fd5b506102c860075481565b348015610412575f80fd5b506101f36104213660046112d4565b610b62565b348015610431575f80fd5b506101f36104403660046112f9565b610b6f565b348015610450575f80fd5b506102c860085481565b348015610465575f80fd5b5060045461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610491575f80fd5b506002546104a69062010000900461ffff1681565b60405161ffff90911681526020016101cb565b3480156104c4575f80fd5b506101f36104d336600461127a565b610bb0565b3480156104e3575f80fd5b506101f36104f236600461127a565b610c13565b348015610502575f80fd5b506101f3610511366004611314565b610c6a565b61051e61111a565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b426007541115801561057957506008544211155b6105e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f496e76616c69642074696d65000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600654341461064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642045544800000000000000000000000000000000000000000060448201526064016105db565b6002546040517f6352211e00000000000000000000000000000000000000000000000000000000815261ffff831660048201523391640100000000900473ffffffffffffffffffffffffffffffffffffffff1690636352211e90602401602060405180830381865afa1580156106c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106eb9190611385565b73ffffffffffffffffffffffffffffffffffffffff1614610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c6964206f776e65720000000000000000000000000000000000000060448201526064016105db565b6003546040517f229a113200000000000000000000000000000000000000000000000000000000815261ffff831660048201525f9173ffffffffffffffffffffffffffffffffffffffff169063229a11329060240160a060405180830381865afa1580156107d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fc919061141e565b600254604082015151919250610100900460ff90811691161461087b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964207469657252616e6b0000000000000000000000000000000060448201526064016105db565b60025460ff16156109035761ffff82165f9081526009602052604090205460ff1615610903576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206275726e656400000000000000000000000000000000000060448201526064016105db565b61ffff82165f8181526009602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905581519283523490830152429082015233907f4aa5a4ec81e94c4de46233441b9c2ffd0a7a8277526debf798031e30261ebda19060600160405180910390a25050565b61098c61111a565b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109db61111a565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610a1461111a565b610a1c61116c565b6005546040515f9173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d805f8114610a73576040519150601f19603f3d011682016040523d82523d5f602084013e610a78565b606091505b5050905080610ae3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c6564000000000000000000000000000000000060448201526064016105db565b50610aed60018055565b565b610af761111a565b610aed5f6111af565b610b0861111a565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b5761111a565b600791909155600855565b610b6a61111a565b600655565b610b7761111a565b6002805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b610bb861111a565b73ffffffffffffffffffffffffffffffffffffffff8116610c07576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024016105db565b610c10816111af565b50565b610c1b61111a565b6002805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b610c7261116c565b4260075411158015610c8657506008544211155b610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f496e76616c69642074696d65000000000000000000000000000000000000000060448201526064016105db565b60025462010000900461ffff168114610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c696420746f6b656e4964730000000000000000000000000000000060448201526064016105db565b60035433905f9073ffffffffffffffffffffffffffffffffffffffff1663229a113285858481610d9357610d936114b3565b9050602002016020810190610da89190611239565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815261ffff909116600482015260240160a060405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e21919061141e565b600254604082015151919250610100900460ff908116911614610ea0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964207469657252616e6b0000000000000000000000000000000060448201526064016105db565b5f5b838110156110b85760025460ff1615610f5d5760095f868684818110610eca57610eca6114b3565b9050602002016020810190610edf9190611239565b61ffff16815260208101919091526040015f205460ff1615610f5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206275726e656400000000000000000000000000000000000060448201526064016105db565b600160095f878785818110610f7457610f746114b3565b9050602002016020810190610f899190611239565b61ffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560025460045464010000000090910473ffffffffffffffffffffffffffffffffffffffff908116916342842e0e9186911688888681811061100c5761100c6114b3565b90506020020160208101906110219190611239565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015261ffff1660448201526064015f604051808303815f87803b158015611096575f80fd5b505af11580156110a8573d5f803e3d5ffd5b505060019092019150610ea29050565b508173ffffffffffffffffffffffffffffffffffffffff167f0c67f4620c936febc0b37af08256e69dbe57aa420d782ba1cf3420260287d330858542604051611103939291906114e0565b60405180910390a2505061111660018055565b5050565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610aed576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016105db565b6002600154036111a8576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600155565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff81168114611234575f80fd5b919050565b5f60208284031215611249575f80fd5b61125282611223565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610c10575f80fd5b5f6020828403121561128a575f80fd5b813561125281611259565b5f602082840312156112a5575f80fd5b81358015158114611252575f80fd5b5f80604083850312156112c5575f80fd5b50508035926020909101359150565b5f602082840312156112e4575f80fd5b5035919050565b60ff81168114610c10575f80fd5b5f60208284031215611309575f80fd5b8135611252816112eb565b5f8060208385031215611325575f80fd5b823567ffffffffffffffff81111561133b575f80fd5b8301601f8101851361134b575f80fd5b803567ffffffffffffffff811115611361575f80fd5b8560208260051b8401011115611375575f80fd5b6020919091019590945092505050565b5f60208284031215611395575f80fd5b815161125281611259565b5f604082840312156113b0575f80fd5b6040805190810167ffffffffffffffff811182821017156113f8577f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b8060405250809150825161140b816112eb565b8152602092830151920191909152919050565b5f60a082840312801561142f575f80fd5b506040516060810167ffffffffffffffff81118282101715611478577f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b604052825161148681611259565b815261149584602085016113a0565b60208201526114a784606085016113a0565b60408201529392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604080825281018390525f8460608301825b8681101561151b5761ffff61150684611223565b168252602092830192909101906001016114f2565b506020939093019390935250939250505056fea26469706673582212201de9ebcb37da6784a7425bba60b8bc9d2ab132d0318270bebec9b5e4d05be61964736f6c634300081a0033
Deployed Bytecode
0x60806040526004361061018d575f3560e01c80638ff39099116100dc578063dc2367f311610087578063f1eb848511610062578063f1eb848514610486578063f2fde38b146104b9578063f3c13387146104d8578063fc199f65146104f7575f80fd5b8063dc2367f314610426578063efbe1c1c14610445578063f0cca7c11461045a575f80fd5b8063a6d3d552116100b7578063a6d3d552146103c2578063be9a6555146103f2578063cc43f3d314610407575f80fd5b80638ff390991461036b57806395c756601461038a578063a0355eca146103a3575f80fd5b806347ccca021161013c5780635b019b76116101175780635b019b7614610302578063715018a61461032e5780638da5cb5b14610342575f80fd5b806347ccca021461025a578063486a7e6b146102b35780634cf088d9146102d6575f80fd5b80631c908d981161016c5780631c908d98146102085780633a8d1aff146102275780633ccfd60b14610246575f80fd5b80620825a7146101915780630e1a1362146101d4578063113d7358146101f5575b5f80fd5b34801561019c575f80fd5b506101bf6101ab366004611239565b60096020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b3480156101df575f80fd5b506101f36101ee36600461127a565b610516565b005b6101f3610203366004611239565b610565565b348015610213575f80fd5b506101f361022236600461127a565b610984565b348015610232575f80fd5b506101f3610241366004611295565b6109d3565b348015610251575f80fd5b506101f3610a0c565b348015610265575f80fd5b5060025461028e90640100000000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101cb565b3480156102be575f80fd5b506102c860065481565b6040519081526020016101cb565b3480156102e1575f80fd5b5060035461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561030d575f80fd5b5060055461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610339575f80fd5b506101f3610aef565b34801561034d575f80fd5b505f5473ffffffffffffffffffffffffffffffffffffffff1661028e565b348015610376575f80fd5b506101f361038536600461127a565b610b00565b348015610395575f80fd5b506002546101bf9060ff1681565b3480156103ae575f80fd5b506101f36103bd3660046112b4565b610b4f565b3480156103cd575f80fd5b506002546103e090610100900460ff1681565b60405160ff90911681526020016101cb565b3480156103fd575f80fd5b506102c860075481565b348015610412575f80fd5b506101f36104213660046112d4565b610b62565b348015610431575f80fd5b506101f36104403660046112f9565b610b6f565b348015610450575f80fd5b506102c860085481565b348015610465575f80fd5b5060045461028e9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610491575f80fd5b506002546104a69062010000900461ffff1681565b60405161ffff90911681526020016101cb565b3480156104c4575f80fd5b506101f36104d336600461127a565b610bb0565b3480156104e3575f80fd5b506101f36104f236600461127a565b610c13565b348015610502575f80fd5b506101f3610511366004611314565b610c6a565b61051e61111a565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b426007541115801561057957506008544211155b6105e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f496e76616c69642074696d65000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600654341461064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f496e76616c69642045544800000000000000000000000000000000000000000060448201526064016105db565b6002546040517f6352211e00000000000000000000000000000000000000000000000000000000815261ffff831660048201523391640100000000900473ffffffffffffffffffffffffffffffffffffffff1690636352211e90602401602060405180830381865afa1580156106c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106eb9190611385565b73ffffffffffffffffffffffffffffffffffffffff1614610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c6964206f776e65720000000000000000000000000000000000000060448201526064016105db565b6003546040517f229a113200000000000000000000000000000000000000000000000000000000815261ffff831660048201525f9173ffffffffffffffffffffffffffffffffffffffff169063229a11329060240160a060405180830381865afa1580156107d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fc919061141e565b600254604082015151919250610100900460ff90811691161461087b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964207469657252616e6b0000000000000000000000000000000060448201526064016105db565b60025460ff16156109035761ffff82165f9081526009602052604090205460ff1615610903576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206275726e656400000000000000000000000000000000000060448201526064016105db565b61ffff82165f8181526009602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905581519283523490830152429082015233907f4aa5a4ec81e94c4de46233441b9c2ffd0a7a8277526debf798031e30261ebda19060600160405180910390a25050565b61098c61111a565b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6109db61111a565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610a1461111a565b610a1c61116c565b6005546040515f9173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d805f8114610a73576040519150601f19603f3d011682016040523d82523d5f602084013e610a78565b606091505b5050905080610ae3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c6564000000000000000000000000000000000060448201526064016105db565b50610aed60018055565b565b610af761111a565b610aed5f6111af565b610b0861111a565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b5761111a565b600791909155600855565b610b6a61111a565b600655565b610b7761111a565b6002805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b610bb861111a565b73ffffffffffffffffffffffffffffffffffffffff8116610c07576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024016105db565b610c10816111af565b50565b610c1b61111a565b6002805473ffffffffffffffffffffffffffffffffffffffff909216640100000000027fffffffffffffffff0000000000000000000000000000000000000000ffffffff909216919091179055565b610c7261116c565b4260075411158015610c8657506008544211155b610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f496e76616c69642074696d65000000000000000000000000000000000000000060448201526064016105db565b60025462010000900461ffff168114610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c696420746f6b656e4964730000000000000000000000000000000060448201526064016105db565b60035433905f9073ffffffffffffffffffffffffffffffffffffffff1663229a113285858481610d9357610d936114b3565b9050602002016020810190610da89190611239565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815261ffff909116600482015260240160a060405180830381865afa158015610dfd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e21919061141e565b600254604082015151919250610100900460ff908116911614610ea0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964207469657252616e6b0000000000000000000000000000000060448201526064016105db565b5f5b838110156110b85760025460ff1615610f5d5760095f868684818110610eca57610eca6114b3565b9050602002016020810190610edf9190611239565b61ffff16815260208101919091526040015f205460ff1615610f5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416c7265616479206275726e656400000000000000000000000000000000000060448201526064016105db565b600160095f878785818110610f7457610f746114b3565b9050602002016020810190610f899190611239565b61ffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560025460045464010000000090910473ffffffffffffffffffffffffffffffffffffffff908116916342842e0e9186911688888681811061100c5761100c6114b3565b90506020020160208101906110219190611239565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff938416600482015292909116602483015261ffff1660448201526064015f604051808303815f87803b158015611096575f80fd5b505af11580156110a8573d5f803e3d5ffd5b505060019092019150610ea29050565b508173ffffffffffffffffffffffffffffffffffffffff167f0c67f4620c936febc0b37af08256e69dbe57aa420d782ba1cf3420260287d330858542604051611103939291906114e0565b60405180910390a2505061111660018055565b5050565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610aed576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016105db565b6002600154036111a8576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600155565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff81168114611234575f80fd5b919050565b5f60208284031215611249575f80fd5b61125282611223565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610c10575f80fd5b5f6020828403121561128a575f80fd5b813561125281611259565b5f602082840312156112a5575f80fd5b81358015158114611252575f80fd5b5f80604083850312156112c5575f80fd5b50508035926020909101359150565b5f602082840312156112e4575f80fd5b5035919050565b60ff81168114610c10575f80fd5b5f60208284031215611309575f80fd5b8135611252816112eb565b5f8060208385031215611325575f80fd5b823567ffffffffffffffff81111561133b575f80fd5b8301601f8101851361134b575f80fd5b803567ffffffffffffffff811115611361575f80fd5b8560208260051b8401011115611375575f80fd5b6020919091019590945092505050565b5f60208284031215611395575f80fd5b815161125281611259565b5f604082840312156113b0575f80fd5b6040805190810167ffffffffffffffff811182821017156113f8577f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b8060405250809150825161140b816112eb565b8152602092830151920191909152919050565b5f60a082840312801561142f575f80fd5b506040516060810167ffffffffffffffff81118282101715611478577f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b604052825161148681611259565b815261149584602085016113a0565b60208201526114a784606085016113a0565b60408201529392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604080825281018390525f8460608301825b8681101561151b5761ffff61150684611223565b168252602092830192909101906001016114f2565b506020939093019390935250939250505056fea26469706673582212201de9ebcb37da6784a7425bba60b8bc9d2ab132d0318270bebec9b5e4d05be61964736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.