Overview
S Balance
S Value
$40.86 (@ $0.48/S)More Info
Private Name Tags
ContractCreator
Latest 14 from a total of 14 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Lobby | 18341204 | 17 hrs ago | IN | 5 S | 0.08604405 | ||||
Create Lobby | 17946880 | 2 days ago | IN | 5 S | 0.08632439 | ||||
Create Lobby | 17754131 | 3 days ago | IN | 5 S | 0.08604477 | ||||
Create Lobby | 17569164 | 4 days ago | IN | 10 S | 0.08942865 | ||||
Create Lobby | 16847333 | 7 days ago | IN | 5 S | 0.08604405 | ||||
Create Lobby | 16652845 | 8 days ago | IN | 10 S | 0.08744609 | ||||
Create Lobby | 16573359 | 8 days ago | IN | 10 S | 0.09618041 | ||||
Create Lobby | 15966535 | 11 days ago | IN | 5 S | 0.07509485 | ||||
Create Lobby | 15887383 | 11 days ago | IN | 10 S | 0.09075713 | ||||
Create Lobby | 15838362 | 11 days ago | IN | 10 S | 0.09034121 | ||||
Create Lobby | 15710076 | 12 days ago | IN | 10 S | 0.08729157 | ||||
Update Fees | 15707258 | 12 days ago | IN | 0 S | 0.00255753 | ||||
Update Fees | 15586479 | 13 days ago | IN | 0 S | 0.0054797 | ||||
Update Ranges | 15586476 | 13 days ago | IN | 0 S | 0.0033946 |
Latest 11 internal transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x7be39C45...2b4d2b8d6 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
NFTRaffleFactory
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.24;import {IERC1155} from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";// Local importsimport {INTERFACE_ERC721, INTERFACE_ERC1155} from "../Constants/ERCInterfaces.sol";import {NFTRaffle, IERC20, INFTRaffleSync, NFTRaffleLobby} from "../Games/NFTRaffle.sol";import {ITokenWhitelist} from "../Interfaces/ITokenWhitelist.sol";contract NFTRaffleFactory is Ownable {// Array of Gamesaddress[] public games;// beneficiary addressaddress private beneficiary;// Price to create a Gameuint256 public creationFee;// Price to create a Game with a thresholduint256 public thresholdFee;// Open or Close Creation.bool public creationOpen;// Entry min and max rangeuint16[2] public entryRange;// Protocol percentageuint256 public percentageFee;
1234567891011121314151617181920212223242526// 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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)pragma solidity ^0.8.20;import {IERC20} from "./IERC20.sol";import {IERC165} from "./IERC165.sol";/*** @title IERC1363* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].** Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.*/interface IERC1363 is IERC20, IERC165 {/** Note: the ERC-165 identifier for this interface is 0xb0202a11.* 0xb0202a11 ===* bytes4(keccak256('transferAndCall(address,uint256)')) ^* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^* bytes4(keccak256('approveAndCall(address,uint256)')) ^* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))*/
123456// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)pragma solidity ^0.8.20;import {IERC165} from "../utils/introspection/IERC165.sol";
123456// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../token/ERC20/IERC20.sol";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155.sol)pragma solidity ^0.8.20;import {IERC165} from "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC-1155 compliant contract, as defined in the* https://eips.ethereum.org/EIPS/eip-1155[ERC].*/interface IERC1155 is IERC165 {/*** @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.*/event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);/*** @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all* transfers.*/event TransferBatch(address indexed operator,address indexed from,address indexed to,uint256[] ids,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-20 standard as defined in the ERC.*/interface IERC20 {/*** @dev Emitted when `value` tokens are moved from one account (`from`) to* another (`to`).** Note that `value` may be zero.*/event Transfer(address indexed from, address indexed to, uint256 value);/*** @dev Emitted when the allowance of a `spender` for an `owner` is set by* a call to {approve}. `value` is the new allowance.*/event Approval(address indexed owner, address indexed spender, uint256 value);/*** @dev Returns the value of tokens in existence.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../IERC20.sol";import {IERC1363} from "../../../interfaces/IERC1363.sol";import {Address} from "../../../utils/Address.sol";/*** @title SafeERC20* @dev Wrappers around ERC-20 operations that throw on failure (when the token* contract returns false). Tokens that return no value (and instead revert or* throw on failure) are also supported, non-reverting calls are assumed to be* successful.* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.*/library SafeERC20 {/*** @dev An operation with an ERC-20 token failed.*/error SafeERC20FailedOperation(address token);/*** @dev Indicates a failed `decreaseAllowance` request.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)pragma solidity ^0.8.20;import {IERC165} from "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC-721 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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)pragma solidity ^0.8.20;import {Errors} from "./Errors.sol";/*** @dev Collection of functions related to the address type*/library Address {/*** @dev There's no code at `target` (it is not a contract).*/error AddressEmptyCode(address target);/*** @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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
1234567891011121314151617181920212223242526// 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;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)pragma solidity ^0.8.20;/*** @dev Collection of common custom errors used in multiple contracts** IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.* It is recommended to avoid relying on the error API for critical functionality.** _Available since v5.1._*/library Errors {/*** @dev The ETH balance of the account is not enough to perform the operation.*/error InsufficientBalance(uint256 balance, uint256 needed);/*** @dev A call to an address target failed. The target may have reverted.*/error FailedCall();/*** @dev The deployment failed.
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[ERC].** 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[ERC 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.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 EIP-1153 (transient storage) is available on the chain you're deploying at,* consider using {ReentrancyGuardTransient} instead.** 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
12345// SPDX-License-Identifier: MITpragma solidity ^0.8.24;bytes4 constant INTERFACE_ERC1155 = 0xd9b67a26;bytes4 constant INTERFACE_ERC721 = 0x80ac58cd;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.24;import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";import {IERC1155} from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {ReentrancyGuard} from "@openzeppelin/contracts/utils/ReentrancyGuard.sol";import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";// Local importsimport {INTERFACE_ERC721, INTERFACE_ERC1155} from "../Constants/ERCInterfaces.sol";import {INFTRaffleSync} from "../Interfaces/INFTRaffleSync.sol";import {NFTRaffleLobby} from "../Structs/NFTRaffleLobby.sol";import {NFTReceiver} from "../Utils/NFTReceiver.sol";import {RNGLib} from "../Utils/RNGLib.sol";contract NFTRaffle is ReentrancyGuard, NFTReceiver {using SafeERC20 for IERC20;// Beneficiary addressaddress public beneficiary;// List of usersaddress[] public userEntries;// All data for PoolNFTRaffleLobby internal gameData;// Contract synchronizes pool eventsaddress public rugletteSync;
12345678910111213141516171819// SPDX-License-Identifier: MITpragma solidity 0.8.24;interface INFTRaffleSync {function lobbyEntry(address pool, address minter) external;function newLobby(address pool, uint256 id, address token, address nftPrize) external;function entryFees(address pool, uint256 protocolFee, uint256 creatorFee) external;function results(address pool, address rugger, uint256 prizeShare) external;function updatedFees(uint256 creationFee, uint256 protocolFee, uint256 thresholdFee) external;function updatedRanges(uint16[2] memory entries) external;function updateWhitelist(address[] memory addressList, bool action) external;}
123456789// SPDX-License-Identifier: MITpragma solidity 0.8.24;interface ITokenWhitelist {function isTokenWhitelist(address _token) external view returns(bool);function whitelistTokens(address[] calldata newTokens, bool action) external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.24;struct NFTRaffleLobby {uint256 id;// Maximum Number of entries.uint256 maxEntries;// Token usedaddress token;// NFT addressaddress nftPrize;// NFT IDuint256 nftID;// Cost per Ticketuint256 price;// Ticket Sale Endsuint256 end;// Threshold insuranceuint256 threshold;// Selected winneraddress winner;// Protocol Percentuint256 protocolPercent;// Creator Addressaddress creator;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.24;abstract contract NFTReceiver {function onERC721Received(address,address,uint256,bytes calldata) external pure returns (bytes4) {return this.onERC721Received.selector;}// required function to allow receiving ERC-1155function onERC1155Received(address,address,uint256,uint256,bytes calldata)external purereturns(bytes4){return bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"));}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.0;/*** @title RNGLib* @dev Library providing a simple interface to manage a* contract-internal PRNG and pull random numbers from it.*/library RNGLib {/// @dev Structure to hold the state of the random number generator (RNG).struct RNGState {bytes32 seed;uint256 counter;}/// @notice Seed a new RNG based on value from a public randomness beacon./// @dev To ensure domain separation, at least one of randomness, chain id, current contract/// address, or the domain string must be different between two different RNGs./// @param randomness The value from a public randomness beacon./// @param domain A string that contributes to domain separation./// @return st The initialized RNGState struct.function makeRNG(uint256 randomness,string memory domain) internal view returns (RNGState memory st) {st.seed = keccak256(
1234567891011121314151617181920{"optimizer": {"enabled": true,"runs": 1000},"evmVersion": "paris","outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"benefiter","type":"address"},{"internalType":"address","name":"sync","type":"address"},{"internalType":"address","name":"whitelisterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CreationClosed","type":"error"},{"inputs":[],"name":"InvalidDates","type":"error"},{"inputs":[],"name":"InvalidParameters","type":"error"},{"inputs":[],"name":"InvalidPayment","type":"error"},{"inputs":[],"name":"InvalidTokenPayment","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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"},{"inputs":[{"internalType":"address","name":"tokenUsed","type":"address"},{"internalType":"address","name":"nftPrize","type":"address"},{"internalType":"uint256","name":"nftID","type":"uint256"},{"internalType":"uint16","name":"maxEntries","type":"uint16"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"createLobby","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"creationFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creationOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"entryRange","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"games","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftRaffleSync","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentageFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"thresholdFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleCreation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenWhitelist","outputs":[{"internalType":"contract ITokenWhitelist","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newBenef","type":"address"}],"name":"updateBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCreation","type":"uint256"},{"internalType":"uint256","name":"newPercentage","type":"uint256"},{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[2]","name":"entries","type":"uint16[2]"}],"name":"updateRanges","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405260043610620001415760003560e01c80638da5cb5b11620000b2578063ca735cc1116200007d578063dce0b4e41162000060578063dce0b4e4146200035b578063f2fde38b1462000373578063face6d25146200039857600080fd5b8063ca735cc11462000317578063d69f5e6a146200033957600080fd5b80638da5cb5b146200026c57806391741fee146200028c578063b796b65e14620002c5578063bd1533f514620002ea57600080fd5b80633ccfd60b11620001105780634d1975b411620000f35780634d1975b4146200021b578063715018a6146200023c578063780a7ff0146200025457600080fd5b80633ccfd60b14620001eb57806346c2048f146200020357600080fd5b80630734951014620001465780630aaffd2a146200017a578063117a5b9014620001a15780632242908514620001c6575b600080fd5b6200015d6200015736600462000e85565b620003b0565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156200018757600080fd5b506200019f6200019936600462000ef4565b620007f4565b005b348015620001ae57600080fd5b506200015d620001c036600462000f19565b6200082d565b348015620001d357600080fd5b506200019f620001e536600462000f33565b62000858565b348015620001f857600080fd5b506200019f620008fa565b3480156200021057600080fd5b506200019f62000941565b3480156200022857600080fd5b506001545b60405190815260200162000171565b3480156200024957600080fd5b506200019f6200095f565b3480156200026157600080fd5b506200022d60075481565b3480156200027957600080fd5b506000546001600160a01b03166200015d565b3480156200029957600080fd5b50620002b1620002ab36600462000f19565b62000977565b60405161ffff909116815260200162000171565b348015620002d257600080fd5b506200019f620002e436600462000f60565b620009a6565b348015620002f757600080fd5b50600554620003069060ff1681565b604051901515815260200162000171565b3480156200032457600080fd5b50600a546200015d906001600160a01b031681565b3480156200034657600080fd5b506008546200015d906001600160a01b031681565b3480156200036857600080fd5b506200022d60035481565b3480156200038057600080fd5b506200019f6200039236600462000ef4565b62000a42565b348015620003a557600080fd5b506200022d60045481565b60055460009060ff16620003f0576040517f2a046d3300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a546040517f82dc67ca0000000000000000000000000000000000000000000000000000000081526001600160a01b038a81166004830152909116906382dc67ca90602401602060405180830381865afa15801562000454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047a919062000ffd565b158062000490575060065461ffff908116908616105b80620004ab575060065461ffff620100009091048116908616115b80620004b5575083155b80620004c15750824210155b15620004f9576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81156200052a57346004541115620005245760405163078d696560e31b815260040160405180910390fd5b62000557565b600354156200055757346003541115620005575760405163078d696560e31b815260040160405180910390fd5b6040805161016081018252600154815261ffff871660208201526001600160a01b03808b168284015289811660608301526080820189905260a0820187905260c0820186905260e08201859052600061010083018190526007546101208401523361014084015260025460085494519394919385939182169290911690620005df9062000d93565b620005ed9392919062001037565b604051809103906000f0801580156200060a573d6000803e3d6000fd5b50604080516001808252818301909252919250829160009160208083019080368337019050509050818160008151811062000649576200064962001021565b6001600160a01b0392831660209182029290920101526008546040517faff177ca00000000000000000000000000000000000000000000000000000000815291169063aff177ca90620006a490849060019060040162001116565b600060405180830381600087803b158015620006bf57600080fd5b505af1158015620006d4573d6000803e3d6000fd5b50505050600860009054906101000a90046001600160a01b03166001600160a01b0316638fbce55a836001805490508f8f6040518563ffffffff1660e01b81526004016200074b94939291906001600160a01b03948516815260208101939093529083166040830152909116606082015260800190565b600060405180830381600087803b1580156200076657600080fd5b505af11580156200077b573d6000803e3d6000fd5b50506001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861617905550620007e5905033838d8d62000aa0565b509a9950505050505050505050565b620007fe62000cee565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600181815481106200083e57600080fd5b6000918252602090912001546001600160a01b0316905081565b6200086262000cee565b6003839055600782905560048181556008546040517f3aa9378e00000000000000000000000000000000000000000000000000000000815291820185905260248201849052604482018390526001600160a01b031690633aa9378e90606401600060405180830381600087803b158015620008dc57600080fd5b505af1158015620008f1573d6000803e3d6000fd5b50505050505050565b6200090462000cee565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156200093e573d6000803e3d6000fd5b50565b6200094b62000cee565b6005805460ff19811660ff90911615179055565b6200096962000cee565b62000975600062000d36565b565b600681600281106200098857600080fd5b60109182820401919006600202915054906101000a900461ffff1681565b620009b062000cee565b620009bf600682600262000da1565b506008546040517f6de9e8a20000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690636de9e8a29062000a0b90849060040162001171565b600060405180830381600087803b15801562000a2657600080fd5b505af115801562000a3b573d6000803e3d6000fd5b5050505050565b62000a4c62000cee565b6001600160a01b03811662000a95576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b6200093e8162000d36565b6040516301ffc9a760e01b81527f80ac58cd0000000000000000000000000000000000000000000000000000000060048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801562000b05573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b2b919062000ffd565b1562000bbc576040517f42842e0e0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018390528316906342842e0e90606401600060405180830381600087803b15801562000b9d57600080fd5b505af115801562000bb2573d6000803e3d6000fd5b5050505062000ce8565b6040516301ffc9a760e01b81527fd9b67a260000000000000000000000000000000000000000000000000000000060048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa15801562000c21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c47919062000ffd565b1562000ce8576040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018390526001606483015260a06084830152600060a483015283169063f242432a9060c401600060405180830381600087803b15801562000cce57600080fd5b505af115801562000ce3573d6000803e3d6000fd5b505050505b50505050565b6000546001600160a01b0316331462000975576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240162000a8c565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61169780620011a983390190565b60018301918390821562000e2c5791602002820160005b8382111562000dfa57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000db8565b801562000e2a5782816101000a81549061ffff021916905560020160208160010104928301926001030262000dfa565b505b5062000e3a92915062000e3e565b5090565b5b8082111562000e3a576000815560010162000e3f565b80356001600160a01b038116811462000e6d57600080fd5b919050565b803561ffff8116811462000e6d57600080fd5b600080600080600080600060e0888a03121562000ea157600080fd5b62000eac8862000e55565b965062000ebc6020890162000e55565b95506040880135945062000ed36060890162000e72565b9699959850939660808101359560a0820135955060c0909101359350915050565b60006020828403121562000f0757600080fd5b62000f128262000e55565b9392505050565b60006020828403121562000f2c57600080fd5b5035919050565b60008060006060848603121562000f4957600080fd5b505081359360208301359350604090920135919050565b60006040828403121562000f7357600080fd5b82601f83011262000f8357600080fd5b6040516040810181811067ffffffffffffffff8211171562000fb557634e487b7160e01b600052604160045260246000fd5b806040525080604084018581111562000fcd57600080fd5b845b8181101562000ff25762000fe38162000e72565b83526020928301920162000fcf565b509195945050505050565b6000602082840312156200101057600080fd5b8151801515811462000f1257600080fd5b634e487b7160e01b600052603260045260246000fd5b60006101a082019050845182526020850151602083015260408501516200106960408401826001600160a01b03169052565b5060608501516200108560608401826001600160a01b03169052565b506080850151608083015260a085015160a083015260c085015160c083015260e085015160e083015261010080860151620010ca828501826001600160a01b03169052565b50506101208581015190830152610140808601516001600160a01b0381168285015250506001600160a01b0384166101608301526001600160a01b038316610180830152949350505050565b604080825283519082018190526000906020906060840190828701845b828110156200115a5781516001600160a01b03168452928401929084019060010162001133565b505050809250505082151560208301529392505050565b60408101818360005b60028110156200119f57815161ffff168352602092830192909101906001016200117a565b5050509291505056fe60806040523480156200001157600080fd5b506040516200169738038062001697833981016040819052620000349162000148565b60016000819055835160035560208401516004556040840151600580546001600160a01b03199081166001600160a01b03938416179091556060860151600680548316918416919091179055608086015160075560a086015160085560c086015160095560e0860151600a55610100860151600b80548316918416919091179055610120860151600c5561014090950151600d8054871691831691909117905581548516938116939093179055600e8054909316911617905562000239565b60405161016081016001600160401b03811182821017156200012557634e487b7160e01b600052604160045260246000fd5b60405290565b80516001600160a01b03811681146200014357600080fd5b919050565b60008060008385036101a08112156200016057600080fd5b610160808212156200017157600080fd5b6200017b620000f3565b9150855182526020860151602083015262000199604087016200012b565b6040830152620001ac606087016200012b565b60608301526080860151608083015260a086015160a083015260c086015160c083015260e086015160e0830152610100620001e98188016200012b565b908301526101208681015190830152610140620002088188016200012b565b81840152508194506200021d8187016200012b565b935050506200023061018085016200012b565b90509250925092565b61144e80620002496000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063767d59af11610076578063af4e99de1161005b578063af4e99de146101cd578063bdb337d1146101e2578063f23a6e61146101f657600080fd5b8063767d59af14610197578063a0251aa9146101aa57600080fd5b8063152b1f7c116100a7578063152b1f7c146101465780631f84ff411461017157806338af3eed1461018457600080fd5b806303de7b12146100c3578063150b7a02146100d8575b600080fd5b6100d66100d136600461107f565b61022f565b005b6101106100e63660046110f6565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b61015961015436600461107f565b610489565b6040516001600160a01b03909116815260200161013d565b600e54610159906001600160a01b031681565b600154610159906001600160a01b031681565b6100d66101a536600461107f565b6104b3565b6101bd6101b8366004611169565b61069f565b604051901515815260200161013d565b6101d56108d3565b60405161013d9190611195565b600e546101bd90600160a01b900460ff1681565b61011061020436600461124d565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b6102376109cf565b600454600254101561027f5760095442101561027f576040517fa8058ea900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54600160a01b900460ff16156102c3576040517fdf469ccb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a54158015906102d75750600a54600254105b156102e9576102e4610a12565b61047c565b60025460085460405160009261032792859261031391904290602001918252602082015260400190565b604051602081830303815290604052610b1e565b600e54600280549293506001600160a01b03909116916339f2884891309185908110610355576103556112c9565b60009182526020909120015460405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b0392831660048201529116602482015260448101849052606401600060405180830381600087803b1580156103c857600080fd5b505af11580156103dc573d6000803e3d6000fd5b50505050600281815481106103f3576103f36112c9565b600091825260209091200154600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909216919091179055600e805460ff60a01b1916600160a01b179055610446610b4a565b600b546001600160a01b03161561047a57600b5460065460075461047a9230926001600160a01b0391821692911690610dd4565b505b6104866001600055565b50565b6002818154811061049957600080fd5b6000918252602090912001546001600160a01b0316905081565b6104bb6109cf565b6002546000906104cc9083906112f5565b60045490915081111561050b576040517fbda98fc800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b828110156105f057600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff191633908117909155600e546040517f57b8f18700000000000000000000000000000000000000000000000000000000815230600482015260248101929092526001600160a01b0316906357b8f18790604401600060405180830381600087803b1580156105cc57600080fd5b505af11580156105e0573d6000803e3d6000fd5b50506001909201915061050e9050565b506008546105fe9083611308565b6005546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390529192506001600160a01b0316906323b872dd906064016020604051808303816000875af115801561066f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610693919061131f565b50506104866001600055565b6040516301ffc9a760e01b81526380ac58cd60e01b60048201526000906001600160a01b038416906301ffc9a790602401602060405180830381865afa1580156106ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610711919061131f565b156107b9576040517f6352211e000000000000000000000000000000000000000000000000000000008152600481018390526000906001600160a01b03851690636352211e90602401602060405180830381865afa158015610777573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079b9190611348565b90506001600160a01b03811630036107b75760019150506108cd565b505b6040516301ffc9a760e01b8152636cdb3d1360e11b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610828919061131f565b156108c9576040517efdd58e000000000000000000000000000000000000000000000000000000008152306004820152602481018390526000906001600160a01b0385169062fdd58e90604401602060405180830381865afa158015610892573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b69190611365565b11156108c4575060016108cd565b6108cd565b5060005b92915050565b610954604051806101600160405280600081526020016000815260200160006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016000815260200160006001600160a01b031681525090565b506040805161016081018252600354815260045460208201526005546001600160a01b039081169282019290925260065482166060820152600754608082015260085460a082015260095460c0820152600a5460e0820152600b548216610100820152600c54610120820152600d5490911661014082015290565b600260005403610a0b576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600055565b600e805460ff60a01b1916600160a01b179055600d54600654600754610a489230926001600160a01b0391821692911690610dd4565b60005b60025481101561048657600554600280546001600160a01b039092169163a9059cbb919084908110610a7f57610a7f6112c9565b60009182526020909120015460085460405160e084901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b15919061131f565b50600101610a4b565b600080610b2b8584610fe3565b905083610b3782611034565b610b419190611394565b95945050505050565b600c54600090819015610c64576005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190611365565b600c54909150670de0b6b3a764000090610bdd9083611308565b610be791906113a8565b60055460015460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929450169063a9059cbb906044016020604051808303816000875af1158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c62919061131f565b505b6005546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd09190611365565b600554600d5460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af1158015610d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4b919061131f565b50600e546040517f413fa17a00000000000000000000000000000000000000000000000000000000815230600482015260248101849052604481018390526001600160a01b039091169063413fa17a90606401600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b505050505050565b6040516301ffc9a760e01b81526380ac58cd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610e1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e43919061131f565b15610ed0576040517f42842e0e0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018390528316906342842e0e90606401600060405180830381600087803b158015610eb357600080fd5b505af1158015610ec7573d6000803e3d6000fd5b50505050610fdd565b6040516301ffc9a760e01b8152636cdb3d1360e11b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f919061131f565b15610fdd576040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152604482018390526001606483015260a06084830152600060a483015283169063f242432a9060c401600060405180830381600087803b158015610fc457600080fd5b505af1158015610fd8573d6000803e3d6000fd5b505050505b50505050565b60408051808201909152600080825260208201528246308460405160200161100e94939291906113bc565b60408051601f198184030181529190528051602091820120825260009082015292915050565b60008160000151826020015160405160200161105a929190918252602082015260400190565b60408051601f1981840301815291905280516020918201209201805160010190525090565b60006020828403121561109157600080fd5b5035919050565b6001600160a01b038116811461048657600080fd5b60008083601f8401126110bf57600080fd5b50813567ffffffffffffffff8111156110d757600080fd5b6020830191508360208285010111156110ef57600080fd5b9250929050565b60008060008060006080868803121561110e57600080fd5b853561111981611098565b9450602086013561112981611098565b935060408601359250606086013567ffffffffffffffff81111561114c57600080fd5b611158888289016110ad565b969995985093965092949392505050565b6000806040838503121561117c57600080fd5b823561118781611098565b946020939093013593505050565b600061016082019050825182526020830151602083015260408301516111c660408401826001600160a01b03169052565b5060608301516111e160608401826001600160a01b03169052565b506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151611225828501826001600160a01b03169052565b50506101208381015190830152610140928301516001600160a01b0316929091019190915290565b60008060008060008060a0878903121561126657600080fd5b863561127181611098565b9550602087013561128181611098565b94506040870135935060608701359250608087013567ffffffffffffffff8111156112ab57600080fd5b6112b789828a016110ad565b979a9699509497509295939492505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156108cd576108cd6112df565b80820281158282048414176108cd576108cd6112df565b60006020828403121561133157600080fd5b8151801515811461134157600080fd5b9392505050565b60006020828403121561135a57600080fd5b815161134181611098565b60006020828403121561137757600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826113a3576113a361137e565b500690565b6000826113b7576113b761137e565b500490565b848152600060208560208401526bffffffffffffffffffffffff198560601b166040840152835160005b81811015611402578581018301518582016054015282016113e6565b506000930160540192835250909594505050505056fea26469706673582212203df76d1cead8050d9ff3e89fa72e307f209d11dc03d3763a9f5a291ca66c179f64736f6c63430008180033a26469706673582212201bd0fb301f6a594b133045f80785ff2845c771cf64a11edcecc7b78dc16bd34664736f6c63430008180033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
SONIC | 100.00% | $0.480675 | 85 | $40.86 |
Loading...
Loading
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.