Source Code
Latest 25 from a total of 1,737 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Settle Auction | 20862350 | 517 days ago | IN | 0.02 ETH | 0.00046233 | ||||
| Settle Auction | 20859189 | 518 days ago | IN | 0 ETH | 0.00019839 | ||||
| Settle Auction | 20859188 | 518 days ago | IN | 0 ETH | 0.00098723 | ||||
| Settle Auction | 20859188 | 518 days ago | IN | 0 ETH | 0.00120972 | ||||
| Settle Auction | 20859181 | 518 days ago | IN | 0 ETH | 0.00121328 | ||||
| Settle Auction | 20859179 | 518 days ago | IN | 0 ETH | 0.00237713 | ||||
| Settle Auction | 20859176 | 518 days ago | IN | 0 ETH | 0.00196678 | ||||
| Settle Auction | 20859176 | 518 days ago | IN | 0 ETH | 0.00196687 | ||||
| Settle Auction | 20859175 | 518 days ago | IN | 0 ETH | 0.00243355 | ||||
| Settle Auction | 20859175 | 518 days ago | IN | 0 ETH | 0.00243355 | ||||
| Settle Auction | 20859174 | 518 days ago | IN | 0 ETH | 0.00240456 | ||||
| Settle Auction | 20859174 | 518 days ago | IN | 0 ETH | 0.00240456 | ||||
| Settle Auction | 20859174 | 518 days ago | IN | 0 ETH | 0.00196232 | ||||
| Settle Auction | 20859147 | 518 days ago | IN | 0 ETH | 0.00103082 | ||||
| Settle Auction | 20859140 | 518 days ago | IN | 0 ETH | 0.00128358 | ||||
| Settle Auction | 20859134 | 518 days ago | IN | 0 ETH | 0.00021401 | ||||
| Settle Auction | 20859134 | 518 days ago | IN | 0 ETH | 0.00127229 | ||||
| Settle Auction | 20859079 | 518 days ago | IN | 0 ETH | 0.00290423 | ||||
| Settle Auction | 20859079 | 518 days ago | IN | 0 ETH | 0.00290423 | ||||
| Settle Auction | 20859077 | 518 days ago | IN | 0 ETH | 0.00287479 | ||||
| Settle Auction | 20858498 | 518 days ago | IN | 0 ETH | 0.00304722 | ||||
| Bid With Mint Pa... | 20854621 | 518 days ago | IN | 0.05 ETH | 0.00050141 | ||||
| Bid | 20851936 | 519 days ago | IN | 0.03 ETH | 0.0002972 | ||||
| Bid | 20850379 | 519 days ago | IN | 0.02 ETH | 0.0013235 | ||||
| Settle Auction | 20849942 | 519 days ago | IN | 0 ETH | 0.00111485 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 20859188 | 518 days ago | 0.02 ETH | ||||
| Transfer | 20859188 | 518 days ago | 0.027 ETH | ||||
| Transfer | 20859188 | 518 days ago | 0.003 ETH | ||||
| Transfer | 20859181 | 518 days ago | 0.018 ETH | ||||
| Transfer | 20859181 | 518 days ago | 0.002 ETH | ||||
| Transfer | 20859179 | 518 days ago | 0.0162 ETH | ||||
| Transfer | 20859179 | 518 days ago | 0.0018 ETH | ||||
| Transfer | 20859176 | 518 days ago | 0.03 ETH | ||||
| Transfer | 20859176 | 518 days ago | 0.137 ETH | ||||
| Transfer | 20859175 | 518 days ago | 0.0135 ETH | ||||
| Transfer | 20859175 | 518 days ago | 0.0015 ETH | ||||
| Transfer | 20859175 | 518 days ago | 0.018 ETH | ||||
| Transfer | 20859175 | 518 days ago | 0.002 ETH | ||||
| Transfer | 20859174 | 518 days ago | 0.0135 ETH | ||||
| Transfer | 20859174 | 518 days ago | 0.0015 ETH | ||||
| Transfer | 20859174 | 518 days ago | 0.0135 ETH | ||||
| Transfer | 20859174 | 518 days ago | 0.0015 ETH | ||||
| Transfer | 20859174 | 518 days ago | 0.035 ETH | ||||
| Transfer | 20859147 | 518 days ago | 0.027 ETH | ||||
| Transfer | 20859147 | 518 days ago | 0.003 ETH | ||||
| Transfer | 20859140 | 518 days ago | 0.018 ETH | ||||
| Transfer | 20859140 | 518 days ago | 0.002 ETH | ||||
| Transfer | 20859134 | 518 days ago | 0.018 ETH | ||||
| Transfer | 20859134 | 518 days ago | 0.002 ETH | ||||
| Transfer | 20859079 | 518 days ago | 0.0225 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SequelsAuction
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 Fellowship
// contract by steviep.eth
/*
███████ ███████ ██████ ██ ██ ███████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██
███████ █████ ██ ██ ██ ██ █████ ██ ███████
██ ██ ██ ▄▄ ██ ██ ██ ██ ██ ██
███████ ███████ ██████ ██████ ███████ ███████ ███████
▀▀
█████ ██ ██ ██████ ████████ ██ ██████ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██████ ██████ ██ ██ ██████ ██ ████
*/
import "./SequelsBase.sol";
pragma solidity ^0.8.17;
interface FPP {
function logPassUse(uint256 tokenId, uint256 projectId) external;
function ownerOf(uint256 tokenId) external returns (address);
}
interface IWETH {
function deposit() external payable;
function withdraw(uint256 wad) external;
function transfer(address to, uint256 value) external returns (bool);
}
contract SequelsAuction {
uint256 public immutable PROJECT_START_TIME;
uint256 public immutable PROJECT_END_TIME;
address public immutable weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
address public fpp = 0xA8A425864dB32fCBB459Bf527BdBb8128e6abF21;
uint256 public fppProjectId = 2;
address public beneficiary1;
address public beneficiary2;
uint256 public bidIncreaseBps = 1000;
uint256 public mintPassRebateBps = 1000;
uint256 public minBid = 0.01 ether;
bool public paused;
event BidMade(uint256 indexed day, address bidder, uint256 amount, uint256 timestamp);
event Settled(uint256 indexed day, uint256 timestamp);
struct Bid {
uint128 amount;
uint128 timestamp;
address bidder;
bool usesMintPass;
uint256 mintPassId;
}
mapping(uint256 => Bid) public auctions;
mapping(uint256 => bool) public auctionSettlements;
SequelsBase public sequelsBase;
constructor(SequelsBase _sequelsBase, uint256 startTime, uint256 endTime) {
sequelsBase = _sequelsBase;
beneficiary1 = msg.sender;
beneficiary2 = msg.sender;
PROJECT_START_TIME = startTime;
PROJECT_END_TIME = endTime;
}
function bid(uint256 day) external payable {
bid(day, false, 0);
}
function bidWithMintPass(uint256 day, uint256 mintPassId) external payable {
require(FPP(fpp).ownerOf(mintPassId) == msg.sender, 'Caller is not the owner of FPP');
bid(day, true, mintPassId);
}
function bid(uint256 day, bool usesMintPass, uint256 mintPassId) private {
require(isAuctionActive(day), 'Auction for this day is not active');
require(!paused, 'Bidding is paused');
Bid storage highestBid = auctions[day];
require(
msg.value >= (highestBid.amount * (10000 + bidIncreaseBps) / 10000)
&& msg.value >= minBid,
'Bid not high enough'
);
uint256 refundAmount;
address refundBidder;
if (highestBid.timestamp > 0) {
refundAmount = highestBid.amount;
refundBidder = highestBid.bidder;
}
highestBid.timestamp = uint128(block.timestamp);
highestBid.amount = uint128(msg.value);
highestBid.bidder = msg.sender;
highestBid.usesMintPass = usesMintPass;
highestBid.mintPassId = mintPassId;
emit BidMade(day, msg.sender, msg.value, block.timestamp);
if (refundAmount > 0) _safeTransferETH(refundBidder, refundAmount);
}
function settleAuction(uint256 day) external payable {
require(!auctionSettlements[day], 'Auction has already been settled');
require(currentDay() >= day, 'Auction for this day has not started');
require(!isAuctionActive(day), 'Auction for this day is still active');
Bid storage highestBid = auctions[day];
auctionSettlements[day] = true;
uint256 amountToPay = highestBid.amount;
if (highestBid.timestamp > 0) {
sequelsBase.mint(highestBid.bidder, day);
} else {
require(msg.sender == owner(), 'Ownable: caller is not the owner');
require(msg.value >= minBid, 'Bid not high enough');
amountToPay = msg.value;
sequelsBase.mint(msg.sender, day);
}
emit Settled(day, block.timestamp);
bool mintPassStillOwned = FPP(fpp).ownerOf(highestBid.mintPassId) == highestBid.bidder;
uint256 totalRebate = 0;
if (highestBid.usesMintPass && mintPassStillOwned) {
FPP(fpp).logPassUse(highestBid.mintPassId, fppProjectId);
totalRebate = amountToPay * (mintPassRebateBps) / 10000;
}
if (totalRebate > 0) {
_safeTransferETH(highestBid.bidder, totalRebate);
payable(beneficiary2).transfer(amountToPay - totalRebate);
} else {
payable(beneficiary1).transfer(amountToPay);
}
}
function owner() public view returns (address) {
return sequelsBase.owner();
}
modifier onlyOwner {
require(msg.sender == owner(), 'Ownable: caller is not the owner');
_;
}
function setBidIncreaseBps(uint256 _bidIncreaseBps) external onlyOwner {
bidIncreaseBps = _bidIncreaseBps;
}
function setMintPassRebateBps(uint256 _mintPassRebateBps) external onlyOwner {
mintPassRebateBps = _mintPassRebateBps;
}
function setMinBid(uint256 _minBid) external onlyOwner {
minBid = _minBid;
}
function setBeneficiary(address _beneficiary1, address _beneficiary2) external onlyOwner {
beneficiary1 = _beneficiary1;
beneficiary2 = _beneficiary2;
}
function setFpp(address _fpp, uint256 _fppProjectId) external onlyOwner {
fpp = _fpp;
fppProjectId = _fppProjectId;
}
function setPaused(bool _paused) external onlyOwner {
paused = _paused;
}
function isAuctionActive(uint256 day) public view returns (bool) {
uint256 startTime = (day * 1 days) + PROJECT_START_TIME;
uint256 endTime = startTime + 1 days;
return (
block.timestamp >= startTime
&& (
block.timestamp < endTime
|| block.timestamp < auctions[day].timestamp + 10 minutes
)
);
}
function currentDay() public view returns (uint256) {
if (block.timestamp < PROJECT_START_TIME) {
return 0;
} else if (block.timestamp > PROJECT_END_TIME) {
return (PROJECT_END_TIME - PROJECT_START_TIME) / 1 days;
} else {
return (block.timestamp - PROJECT_START_TIME) / 1 days;
}
}
/**
* @notice Transfer ETH. If the ETH transfer fails, wrap the ETH and try send it as WETH.
*/
function _safeTransferETHWithFallback(address to, uint256 amount) internal {
if (!_safeTransferETH(to, amount)) {
IWETH(weth).deposit{ value: amount }();
IWETH(weth).transfer(to, amount);
}
}
/**
* @notice Transfer ETH and return the success status.
* @dev This function only forwards 30,000 gas to the callee.
*/
function _safeTransferETH(address to, uint256 value) internal returns (bool) {
(bool success, ) = to.call{ value: value, gas: 30_000 }(new bytes(0));
return success;
}
}
// 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);
}
/**
* @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;
}
/**
* @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);
}
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
/**
* @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);
}
}
}
}
/**
* @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;
}
}
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
// Don't need these
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
/**
* @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);
}
}
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @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.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
interface IOperatorFilterRegistry {
/**
* @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
* true if supplied registrant address is not registered.
*/
function isOperatorAllowed(address registrant, address operator) external view returns (bool);
/**
* @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
*/
function register(address registrant) external;
/**
* @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
*/
function registerAndSubscribe(address registrant, address subscription) external;
/**
* @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
* address without subscribing.
*/
function registerAndCopyEntries(address registrant, address registrantToCopy) external;
/**
* @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
* Note that this does not remove any filtered addresses or codeHashes.
* Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
*/
function unregister(address addr) external;
/**
* @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
*/
function updateOperator(address registrant, address operator, bool filtered) external;
/**
* @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
*/
function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
/**
* @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
*/
function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
/**
* @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
*/
function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
/**
* @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
* subscription if present.
* Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
* subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
* used.
*/
function subscribe(address registrant, address registrantToSubscribe) external;
/**
* @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
*/
function unsubscribe(address registrant, bool copyExistingEntries) external;
/**
* @notice Get the subscription address of a given registrant, if any.
*/
function subscriptionOf(address addr) external returns (address registrant);
/**
* @notice Get the set of addresses subscribed to a given registrant.
* Note that order is not guaranteed as updates are made.
*/
function subscribers(address registrant) external returns (address[] memory);
/**
* @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
* Note that order is not guaranteed as updates are made.
*/
function subscriberAt(address registrant, uint256 index) external returns (address);
/**
* @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
*/
function copyEntriesOf(address registrant, address registrantToCopy) external;
/**
* @notice Returns true if operator is filtered by a given address or its subscription.
*/
function isOperatorFiltered(address registrant, address operator) external returns (bool);
/**
* @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
*/
function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
/**
* @notice Returns true if a codeHash is filtered by a given address or its subscription.
*/
function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
/**
* @notice Returns a list of filtered operators for a given address or its subscription.
*/
function filteredOperators(address addr) external returns (address[] memory);
/**
* @notice Returns the set of filtered codeHashes for a given address or its subscription.
* Note that order is not guaranteed as updates are made.
*/
function filteredCodeHashes(address addr) external returns (bytes32[] memory);
/**
* @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
* its subscription.
* Note that order is not guaranteed as updates are made.
*/
function filteredOperatorAt(address registrant, uint256 index) external returns (address);
/**
* @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
* its subscription.
* Note that order is not guaranteed as updates are made.
*/
function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
/**
* @notice Returns true if an address has registered
*/
function isRegistered(address addr) external returns (bool);
/**
* @dev Convenience method to compute the code hash of an arbitrary contract
*/
function codeHashOf(address addr) external returns (bytes32);
}
/**
* @title UpdatableOperatorFilterer
* @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
* registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the
* OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address,
* which will bypass registry checks.
* Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders
* on-chain, eg, if the registry is revoked or bypassed.
* @dev This smart contract is meant to be inherited by token contracts so they can use the following:
* - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
* - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
*/
abstract contract UpdatableOperatorFilterer {
/// @dev Emitted when an operator is not allowed.
error OperatorNotAllowed(address operator);
/// @dev Emitted when someone other than the owner is trying to call an only owner function.
error OnlyOwner();
event OperatorFilterRegistryAddressUpdated(address newRegistry);
IOperatorFilterRegistry public operatorFilterRegistry;
/// @dev The constructor that is called when the contract is being deployed.
constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) {
IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry);
operatorFilterRegistry = registry;
// If an inheriting token contract is deployed to a network without the registry deployed, the modifier
// will not revert, but the contract will need to be registered with the registry once it is deployed in
// order for the modifier to filter addresses.
if (address(registry).code.length > 0) {
if (subscribe) {
registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
} else {
if (subscriptionOrRegistrantToCopy != address(0)) {
registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
} else {
registry.register(address(this));
}
}
}
}
/**
* @dev A helper function to check if the operator is allowed.
*/
modifier onlyAllowedOperator(address from) virtual {
// Allow spending tokens from addresses with balance
// Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
// from an EOA.
if (from != msg.sender) {
_checkFilterOperator(msg.sender);
}
_;
}
/**
* @dev A helper function to check if the operator approval is allowed.
*/
modifier onlyAllowedOperatorApproval(address operator) virtual {
_checkFilterOperator(operator);
_;
}
/**
* @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
* address, checks will be bypassed. OnlyOwner.
*/
function updateOperatorFilterRegistryAddress(address newRegistry) public virtual {
if (msg.sender != owner()) {
revert OnlyOwner();
}
operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
emit OperatorFilterRegistryAddressUpdated(newRegistry);
}
/**
* @dev Assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract.
*/
function owner() public view virtual returns (address);
/**
* @dev A helper function to check if the operator is allowed.
*/
function _checkFilterOperator(address operator) internal view virtual {
IOperatorFilterRegistry registry = operatorFilterRegistry;
// Check registry code length to facilitate testing in environments without a deployed registry.
if (address(registry) != address(0) && address(registry).code.length > 0) {
// under normal circumstances, this function will revert rather than return false, but inheriting contracts
// may specify their own OperatorFilterRegistry implementations, which may behave differently
if (!registry.isOperatorAllowed(address(this), operator)) {
revert OperatorNotAllowed(operator);
}
}
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 Fellowship
// contract by steviep.eth
/*
███████ ███████ ██████ ██ ██ ███████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██
███████ █████ ██ ██ ██ ██ █████ ██ ███████
██ ██ ██ ▄▄ ██ ██ ██ ██ ██ ██
███████ ███████ ██████ ██████ ███████ ███████ ███████
▀▀
*/
import "./Dependencies.sol";
import "./SequelsMetadata.sol";
import "./OperatorFiltererDependencies.sol";
pragma solidity ^0.8.17;
address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
abstract contract OperatorFilterer is UpdatableOperatorFilterer {
constructor() UpdatableOperatorFilterer(
CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS,
CANONICAL_CORI_SUBSCRIPTION,
true
) {}
}
contract SequelsBase is ERC721, Ownable, OperatorFilterer {
uint256 public constant maxSupply = 3652;
uint256 private _totalSupply = 0;
SequelsMetadata private _metadataContract;
address public minter;
address private royaltyBenificiary;
uint16 private royaltyBasisPoints = 500;
constructor() ERC721('Sequels', 'JMS') {
royaltyBenificiary = msg.sender;
_metadataContract = new SequelsMetadata(this);
}
function mint(address to, uint256 tokenId) external {
require(minter == msg.sender, 'Caller is not the minting address');
require(_totalSupply <= maxSupply, 'Cannot exceed max supply');
_mint(to, tokenId);
_totalSupply++;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
return _metadataContract.tokenURI(tokenId);
}
function totalSupply() external view returns (uint256) {
return _totalSupply;
}
function exists(uint256 tokenId) external view returns (bool) {
return _exists(tokenId);
}
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) {
// ERC2981
return interfaceId == bytes4(0x2a55205a) || super.supportsInterface(interfaceId);
}
function metadataContract() external view returns (address) {
return address(_metadataContract);
}
function setMetadataContract(address _addr) external onlyOwner {
_metadataContract = SequelsMetadata(_addr);
}
function setMinter(address _addr) external onlyOwner {
minter = _addr;
}
function setRoyaltyInfo(
address _royaltyBenificiary,
uint16 _royaltyBasisPoints
) external onlyOwner {
royaltyBenificiary = _royaltyBenificiary;
royaltyBasisPoints = _royaltyBasisPoints;
}
function royaltyInfo(uint256, uint256 _salePrice) external view returns (address, uint256) {
return (royaltyBenificiary, _salePrice * royaltyBasisPoints / 10000);
}
event ProjectEvent(
address indexed poster,
string indexed eventType,
string content
);
event TokenEvent(
address indexed poster,
uint256 indexed tokenId,
string indexed eventType,
string content
);
function emitProjectEvent(string calldata eventType, string calldata content) external onlyOwner {
emit ProjectEvent(_msgSender(), eventType, content);
}
function emitTokenEvent(uint256 tokenId, string calldata eventType, string calldata content) external {
require(
owner() == _msgSender() || ERC721.ownerOf(tokenId) == _msgSender(),
'Only project or token owner can emit token event'
);
emit TokenEvent(_msgSender(), tokenId, eventType, content);
}
/// Operator Filterer
function owner() public view virtual override(UpdatableOperatorFilterer, Ownable) returns (address) {
return super.owner();
}
/**
* @dev See {IERC721-setApprovalForAll}.
* In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
*/
function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
super.setApprovalForAll(operator, approved);
}
/**
* @dev See {IERC721-approve}.
* In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
*/
function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
super.approve(operator, tokenId);
}
/**
* @dev See {IERC721-transferFrom}.
* In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
*/
function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
super.transferFrom(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
* In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
super.safeTransferFrom(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
* In this example the added modifier ensures that the operator is allowed by the OperatorFilterRegistry.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
public
override
onlyAllowedOperator(from)
{
super.safeTransferFrom(from, to, tokenId, data);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 Fellowship
// contract by steviep.eth
/*
███████ ███████ ██████ ██ ██ ███████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██
███████ █████ ██ ██ ██ ██ █████ ██ ███████
██ ██ ██ ▄▄ ██ ██ ██ ██ ██ ██
███████ ███████ ██████ ██████ ███████ ███████ ███████
▀▀
███ ███ ███████ ████████ █████ ██████ █████ ████████ █████
████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████ ██ █████ ██ ███████ ██ ██ ███████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ███████ ██ ██ ██ ██████ ██ ██ ██ ██ ██
*/
import "./SequelsBase.sol";
import "./Dependencies.sol";
pragma solidity ^0.8.17;
contract SequelsMetadata {
using Strings for uint256;
SequelsBase public sequelsBase;
string public ipfsCid;
constructor(SequelsBase _sequelsBase) {
sequelsBase = _sequelsBase;
}
function owner() public view returns (address) {
return sequelsBase.owner();
}
function setIpfsCid(string calldata cid) external {
require(msg.sender == owner(), "Ownable: caller is not the owner");
ipfsCid = cid;
}
function tokenURI(uint256 tokenId) external view returns (string memory) {
return string(abi.encodePacked('ipfs://', ipfsCid, '/', tokenId.toString()));
}
}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract SequelsBase","name":"_sequelsBase","type":"address"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"day","type":"uint256"},{"indexed":false,"internalType":"address","name":"bidder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"BidMade","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"day","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Settled","type":"event"},{"inputs":[],"name":"PROJECT_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROJECT_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctionSettlements","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctions","outputs":[{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint128","name":"timestamp","type":"uint128"},{"internalType":"address","name":"bidder","type":"address"},{"internalType":"bool","name":"usesMintPass","type":"bool"},{"internalType":"uint256","name":"mintPassId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"day","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bidIncreaseBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"day","type":"uint256"},{"internalType":"uint256","name":"mintPassId","type":"uint256"}],"name":"bidWithMintPass","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fpp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fppProjectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"day","type":"uint256"}],"name":"isAuctionActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPassRebateBps","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":[],"name":"sequelsBase","outputs":[{"internalType":"contract SequelsBase","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary1","type":"address"},{"internalType":"address","name":"_beneficiary2","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bidIncreaseBps","type":"uint256"}],"name":"setBidIncreaseBps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fpp","type":"address"},{"internalType":"uint256","name":"_fppProjectId","type":"uint256"}],"name":"setFpp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBid","type":"uint256"}],"name":"setMinBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPassRebateBps","type":"uint256"}],"name":"setMintPassRebateBps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"day","type":"uint256"}],"name":"settleAuction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60e060405273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260c052600080546001600160a01b03191673a8a425864db32fcbb459bf527bdbb8128e6abf2117905560026001556103e86004819055600555662386f26fc1000060065534801561006957600080fd5b5060405161153f38038061153f833981016040819052610088916100c9565b600a80546001600160a01b039094166001600160a01b031994851617905560028054841633908117909155600380549094161790925560805260a05261010c565b6000806000606084860312156100de57600080fd5b83516001600160a01b03811681146100f557600080fd5b602085015160409095015190969495509392505050565b60805160a05160c0516113da610165600039600061028a0152600081816101ed01528181610b150152610b650152600081816102e901528181610ae701528181610b4401528181610ba10152610de601526113da6000f3fe6080604052600436106101815760003560e01c80635c975abb116100d1578063c2843a171161008a578063e6c8204811610064578063e6c82048146104eb578063e71f7b151461050b578063f3f2f0bc1461052b578063f52564ec1461054b57600080fd5b8063c2843a1714610495578063dae3b10d146104b5578063dea35b6b146104cb57600080fd5b80635c975abb146103fd5780636499398a146104175780636f3df5fd146104375780638d1cc6401461044a5780638da5cb5b1461046a57806390a4ca281461047f57600080fd5b80633fc8cef31161013e5780634f52ccfa116101185780634f52ccfa1461030b5780635147bec71461032b578063571a26a0146103415780635c9302c9146103e857600080fd5b80633fc8cef314610278578063454a2ab3146102c45780634822c444146102d757600080fd5b8063128746881461018657806316c38b3c146101a85780632e993611146101c8578063308bf019146101db578063335f5ce8146102225780633e109a1914610262575b600080fd5b34801561019257600080fd5b506101a66101a13660046111a9565b61056b565b005b3480156101b457600080fd5b506101a66101c33660046111c2565b6105b1565b6101a66101d63660046111a9565b6105fc565b3480156101e757600080fd5b5061020f7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b34801561022e57600080fd5b5061025261023d3660046111a9565b60096020526000908152604090205460ff1681565b6040519015158152602001610219565b34801561026e57600080fd5b5061020f60065481565b34801561028457600080fd5b506102ac7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610219565b6101a66102d23660046111a9565b610ad4565b3480156102e357600080fd5b5061020f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031757600080fd5b506002546102ac906001600160a01b031681565b34801561033757600080fd5b5061020f60015481565b34801561034d57600080fd5b506103a761035c3660046111a9565b6008602052600090815260409020805460018201546002909201546001600160801b0380831693600160801b90930416916001600160a01b03811691600160a01b90910460ff169085565b604080516001600160801b0396871681529590941660208601526001600160a01b03909216928401929092529015156060830152608082015260a001610219565b3480156103f457600080fd5b5061020f610ae3565b34801561040957600080fd5b506007546102529060ff1681565b34801561042357600080fd5b506101a66104323660046111a9565b610bc6565b6101a66104453660046111eb565b610c03565b34801561045657600080fd5b50600a546102ac906001600160a01b031681565b34801561047657600080fd5b506102ac610cd8565b34801561048b57600080fd5b5061020f60045481565b3480156104a157600080fd5b506000546102ac906001600160a01b031681565b3480156104c157600080fd5b5061020f60055481565b3480156104d757600080fd5b506101a66104e63660046111a9565b610d46565b3480156104f757600080fd5b506101a6610506366004611222565b610d83565b34801561051757600080fd5b506102526105263660046111a9565b610de1565b34801561053757600080fd5b506003546102ac906001600160a01b031681565b34801561055757600080fd5b506101a661056636600461124e565b610e82565b610573610cd8565b6001600160a01b0316336001600160a01b0316146105ac5760405162461bcd60e51b81526004016105a390611287565b60405180910390fd5b600655565b6105b9610cd8565b6001600160a01b0316336001600160a01b0316146105e95760405162461bcd60e51b81526004016105a390611287565b6007805460ff1916911515919091179055565b60008181526009602052604090205460ff161561065b5760405162461bcd60e51b815260206004820181905260248201527f41756374696f6e2068617320616c7265616479206265656e20736574746c656460448201526064016105a3565b80610664610ae3565b10156106be5760405162461bcd60e51b8152602060048201526024808201527f41756374696f6e20666f7220746869732064617920686173206e6f74207374616044820152631c9d195960e21b60648201526084016105a3565b6106c781610de1565b156107205760405162461bcd60e51b8152602060048201526024808201527f41756374696f6e20666f72207468697320646179206973207374696c6c2061636044820152637469766560e01b60648201526084016105a3565b60008181526008602090815260408083206009909252909120805460ff1916600117905580546001600160801b0380821691600160801b900416156107ce57600a5460018301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018690529116906340c10f1990604401600060405180830381600087803b1580156107b157600080fd5b505af11580156107c5573d6000803e3d6000fd5b505050506108b4565b6107d6610cd8565b6001600160a01b0316336001600160a01b0316146108065760405162461bcd60e51b81526004016105a390611287565b60065434101561084e5760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b60448201526064016105a3565b50600a546040516340c10f1960e01b81523360048201526024810184905234916001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561089b57600080fd5b505af11580156108af573d6000803e3d6000fd5b505050505b827ff5b268a3ff315cc44ccceeef86259c9e8eef81ceecb14001543809115380dd62426040516108e691815260200190565b60405180910390a260018201546000805460028501546040516331a9108f60e11b815292936001600160a01b0390811693921691636352211e916109309160040190815260200190565b6020604051808303816000875af115801561094f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097391906112bc565b6001600160a01b031614905060008360010160149054906101000a900460ff16801561099c5750815b15610a2b576000546002850154600154604051638c6c4d2d60e01b8152600481019290925260248201526001600160a01b0390911690638c6c4d2d90604401600060405180830381600087803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050505061271060055484610a1e91906112ef565b610a289190611306565b90505b8015610a91576001840154610a49906001600160a01b031682610ee8565b506003546001600160a01b03166108fc610a638386611328565b6040518115909202916000818181858888f19350505050158015610a8b573d6000803e3d6000fd5b50610acd565b6002546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610acb573d6000803e3d6000fd5b505b5050505050565b610ae081600080610f68565b50565b60007f0000000000000000000000000000000000000000000000000000000000000000421015610b135750600090565b7f0000000000000000000000000000000000000000000000000000000000000000421115610b985762015180610b897f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611328565b610b939190611306565b905090565b62015180610b897f000000000000000000000000000000000000000000000000000000000000000042611328565b610bce610cd8565b6001600160a01b0316336001600160a01b031614610bfe5760405162461bcd60e51b81526004016105a390611287565b600455565b6000546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e906024016020604051808303816000875af1158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7291906112bc565b6001600160a01b031614610cc85760405162461bcd60e51b815260206004820152601e60248201527f43616c6c6572206973206e6f7420746865206f776e6572206f6620465050000060448201526064016105a3565b610cd482600183610f68565b5050565b600a5460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9391906112bc565b610d4e610cd8565b6001600160a01b0316336001600160a01b031614610d7e5760405162461bcd60e51b81526004016105a390611287565b600555565b610d8b610cd8565b6001600160a01b0316336001600160a01b031614610dbb5760405162461bcd60e51b81526004016105a390611287565b600080546001600160a01b0319166001600160a01b039390931692909217909155600155565b6000807f0000000000000000000000000000000000000000000000000000000000000000610e1284620151806112ef565b610e1c919061133b565b90506000610e2d826201518061133b565b9050814210158015610e7a575080421080610e7a5750600084815260086020526040902054610e6e90600160801b90046001600160801b031661025861134e565b6001600160801b031642105b949350505050565b610e8a610cd8565b6001600160a01b0316336001600160a01b031614610eba5760405162461bcd60e51b81526004016105a390611287565b600280546001600160a01b039384166001600160a01b03199182161790915560038054929093169116179055565b6040805160008082526020820190925281906001600160a01b03851690617530908590604051610f189190611375565b600060405180830381858888f193505050503d8060008114610f56576040519150601f19603f3d011682016040523d82523d6000602084013e610f5b565b606091505b5090925050505b92915050565b610f7183610de1565b610fc85760405162461bcd60e51b815260206004820152602260248201527f41756374696f6e20666f72207468697320646179206973206e6f742061637469604482015261766560f01b60648201526084016105a3565b60075460ff161561100f5760405162461bcd60e51b8152602060048201526011602482015270109a59191a5b99c81a5cc81c185d5cd959607a1b60448201526064016105a3565b60008381526008602052604090206004546127109061102e908261133b565b825461104391906001600160801b03166112ef565b61104d9190611306565b341015801561105e57506006543410155b6110a05760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b60448201526064016105a3565b80546000908190600160801b90046001600160801b0316156110db575050805460018201546001600160801b03909116906001600160a01b03165b346001600160801b0381811642918216600160801b026fffffffffffffffffffffffffffffffff1916178555600185018054881515600160a01b0260ff60a01b19339081166001600160a81b031990931692909217179091556002860187905560405189937f476bd0783cc4e83d617258e2b86038c40cb0dba0cca615fcc28e7ccb3d66cbed9361118893926001600160a01b039390931683526020830191909152604082015260600190565b60405180910390a28115610acb576111a08183610ee8565b50505050505050565b6000602082840312156111bb57600080fd5b5035919050565b6000602082840312156111d457600080fd5b813580151581146111e457600080fd5b9392505050565b600080604083850312156111fe57600080fd5b50508035926020909101359150565b6001600160a01b0381168114610ae057600080fd5b6000806040838503121561123557600080fd5b82356112408161120d565b946020939093013593505050565b6000806040838503121561126157600080fd5b823561126c8161120d565b9150602083013561127c8161120d565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156112ce57600080fd5b81516111e48161120d565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610f6257610f626112d9565b60008261132357634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610f6257610f626112d9565b80820180821115610f6257610f626112d9565b6001600160801b0381811683821601908082111561136e5761136e6112d9565b5092915050565b6000825160005b81811015611396576020818601810151858301520161137c565b50600092019182525091905056fea2646970667358221220d41c6f8399ab2527890b990aa3b67dd748897cfc580b8a9b23943900a039224164736f6c63430008120033000000000000000000000000766edd602ce72fa5737a92e50d4a5e192b57aef40000000000000000000000000000000000000000000000000000000064663d700000000000000000000000000000000000000000000000000000000077365f20
Deployed Bytecode
0x6080604052600436106101815760003560e01c80635c975abb116100d1578063c2843a171161008a578063e6c8204811610064578063e6c82048146104eb578063e71f7b151461050b578063f3f2f0bc1461052b578063f52564ec1461054b57600080fd5b8063c2843a1714610495578063dae3b10d146104b5578063dea35b6b146104cb57600080fd5b80635c975abb146103fd5780636499398a146104175780636f3df5fd146104375780638d1cc6401461044a5780638da5cb5b1461046a57806390a4ca281461047f57600080fd5b80633fc8cef31161013e5780634f52ccfa116101185780634f52ccfa1461030b5780635147bec71461032b578063571a26a0146103415780635c9302c9146103e857600080fd5b80633fc8cef314610278578063454a2ab3146102c45780634822c444146102d757600080fd5b8063128746881461018657806316c38b3c146101a85780632e993611146101c8578063308bf019146101db578063335f5ce8146102225780633e109a1914610262575b600080fd5b34801561019257600080fd5b506101a66101a13660046111a9565b61056b565b005b3480156101b457600080fd5b506101a66101c33660046111c2565b6105b1565b6101a66101d63660046111a9565b6105fc565b3480156101e757600080fd5b5061020f7f0000000000000000000000000000000000000000000000000000000077365f2081565b6040519081526020015b60405180910390f35b34801561022e57600080fd5b5061025261023d3660046111a9565b60096020526000908152604090205460ff1681565b6040519015158152602001610219565b34801561026e57600080fd5b5061020f60065481565b34801561028457600080fd5b506102ac7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6040516001600160a01b039091168152602001610219565b6101a66102d23660046111a9565b610ad4565b3480156102e357600080fd5b5061020f7f0000000000000000000000000000000000000000000000000000000064663d7081565b34801561031757600080fd5b506002546102ac906001600160a01b031681565b34801561033757600080fd5b5061020f60015481565b34801561034d57600080fd5b506103a761035c3660046111a9565b6008602052600090815260409020805460018201546002909201546001600160801b0380831693600160801b90930416916001600160a01b03811691600160a01b90910460ff169085565b604080516001600160801b0396871681529590941660208601526001600160a01b03909216928401929092529015156060830152608082015260a001610219565b3480156103f457600080fd5b5061020f610ae3565b34801561040957600080fd5b506007546102529060ff1681565b34801561042357600080fd5b506101a66104323660046111a9565b610bc6565b6101a66104453660046111eb565b610c03565b34801561045657600080fd5b50600a546102ac906001600160a01b031681565b34801561047657600080fd5b506102ac610cd8565b34801561048b57600080fd5b5061020f60045481565b3480156104a157600080fd5b506000546102ac906001600160a01b031681565b3480156104c157600080fd5b5061020f60055481565b3480156104d757600080fd5b506101a66104e63660046111a9565b610d46565b3480156104f757600080fd5b506101a6610506366004611222565b610d83565b34801561051757600080fd5b506102526105263660046111a9565b610de1565b34801561053757600080fd5b506003546102ac906001600160a01b031681565b34801561055757600080fd5b506101a661056636600461124e565b610e82565b610573610cd8565b6001600160a01b0316336001600160a01b0316146105ac5760405162461bcd60e51b81526004016105a390611287565b60405180910390fd5b600655565b6105b9610cd8565b6001600160a01b0316336001600160a01b0316146105e95760405162461bcd60e51b81526004016105a390611287565b6007805460ff1916911515919091179055565b60008181526009602052604090205460ff161561065b5760405162461bcd60e51b815260206004820181905260248201527f41756374696f6e2068617320616c7265616479206265656e20736574746c656460448201526064016105a3565b80610664610ae3565b10156106be5760405162461bcd60e51b8152602060048201526024808201527f41756374696f6e20666f7220746869732064617920686173206e6f74207374616044820152631c9d195960e21b60648201526084016105a3565b6106c781610de1565b156107205760405162461bcd60e51b8152602060048201526024808201527f41756374696f6e20666f72207468697320646179206973207374696c6c2061636044820152637469766560e01b60648201526084016105a3565b60008181526008602090815260408083206009909252909120805460ff1916600117905580546001600160801b0380821691600160801b900416156107ce57600a5460018301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018690529116906340c10f1990604401600060405180830381600087803b1580156107b157600080fd5b505af11580156107c5573d6000803e3d6000fd5b505050506108b4565b6107d6610cd8565b6001600160a01b0316336001600160a01b0316146108065760405162461bcd60e51b81526004016105a390611287565b60065434101561084e5760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b60448201526064016105a3565b50600a546040516340c10f1960e01b81523360048201526024810184905234916001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561089b57600080fd5b505af11580156108af573d6000803e3d6000fd5b505050505b827ff5b268a3ff315cc44ccceeef86259c9e8eef81ceecb14001543809115380dd62426040516108e691815260200190565b60405180910390a260018201546000805460028501546040516331a9108f60e11b815292936001600160a01b0390811693921691636352211e916109309160040190815260200190565b6020604051808303816000875af115801561094f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097391906112bc565b6001600160a01b031614905060008360010160149054906101000a900460ff16801561099c5750815b15610a2b576000546002850154600154604051638c6c4d2d60e01b8152600481019290925260248201526001600160a01b0390911690638c6c4d2d90604401600060405180830381600087803b1580156109f557600080fd5b505af1158015610a09573d6000803e3d6000fd5b5050505061271060055484610a1e91906112ef565b610a289190611306565b90505b8015610a91576001840154610a49906001600160a01b031682610ee8565b506003546001600160a01b03166108fc610a638386611328565b6040518115909202916000818181858888f19350505050158015610a8b573d6000803e3d6000fd5b50610acd565b6002546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610acb573d6000803e3d6000fd5b505b5050505050565b610ae081600080610f68565b50565b60007f0000000000000000000000000000000000000000000000000000000064663d70421015610b135750600090565b7f0000000000000000000000000000000000000000000000000000000077365f20421115610b985762015180610b897f0000000000000000000000000000000000000000000000000000000064663d707f0000000000000000000000000000000000000000000000000000000077365f20611328565b610b939190611306565b905090565b62015180610b897f0000000000000000000000000000000000000000000000000000000064663d7042611328565b610bce610cd8565b6001600160a01b0316336001600160a01b031614610bfe5760405162461bcd60e51b81526004016105a390611287565b600455565b6000546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e906024016020604051808303816000875af1158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7291906112bc565b6001600160a01b031614610cc85760405162461bcd60e51b815260206004820152601e60248201527f43616c6c6572206973206e6f7420746865206f776e6572206f6620465050000060448201526064016105a3565b610cd482600183610f68565b5050565b600a5460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9391906112bc565b610d4e610cd8565b6001600160a01b0316336001600160a01b031614610d7e5760405162461bcd60e51b81526004016105a390611287565b600555565b610d8b610cd8565b6001600160a01b0316336001600160a01b031614610dbb5760405162461bcd60e51b81526004016105a390611287565b600080546001600160a01b0319166001600160a01b039390931692909217909155600155565b6000807f0000000000000000000000000000000000000000000000000000000064663d70610e1284620151806112ef565b610e1c919061133b565b90506000610e2d826201518061133b565b9050814210158015610e7a575080421080610e7a5750600084815260086020526040902054610e6e90600160801b90046001600160801b031661025861134e565b6001600160801b031642105b949350505050565b610e8a610cd8565b6001600160a01b0316336001600160a01b031614610eba5760405162461bcd60e51b81526004016105a390611287565b600280546001600160a01b039384166001600160a01b03199182161790915560038054929093169116179055565b6040805160008082526020820190925281906001600160a01b03851690617530908590604051610f189190611375565b600060405180830381858888f193505050503d8060008114610f56576040519150601f19603f3d011682016040523d82523d6000602084013e610f5b565b606091505b5090925050505b92915050565b610f7183610de1565b610fc85760405162461bcd60e51b815260206004820152602260248201527f41756374696f6e20666f72207468697320646179206973206e6f742061637469604482015261766560f01b60648201526084016105a3565b60075460ff161561100f5760405162461bcd60e51b8152602060048201526011602482015270109a59191a5b99c81a5cc81c185d5cd959607a1b60448201526064016105a3565b60008381526008602052604090206004546127109061102e908261133b565b825461104391906001600160801b03166112ef565b61104d9190611306565b341015801561105e57506006543410155b6110a05760405162461bcd60e51b8152602060048201526013602482015272084d2c840dcdee840d0d2ced040cadcdeeaced606b1b60448201526064016105a3565b80546000908190600160801b90046001600160801b0316156110db575050805460018201546001600160801b03909116906001600160a01b03165b346001600160801b0381811642918216600160801b026fffffffffffffffffffffffffffffffff1916178555600185018054881515600160a01b0260ff60a01b19339081166001600160a81b031990931692909217179091556002860187905560405189937f476bd0783cc4e83d617258e2b86038c40cb0dba0cca615fcc28e7ccb3d66cbed9361118893926001600160a01b039390931683526020830191909152604082015260600190565b60405180910390a28115610acb576111a08183610ee8565b50505050505050565b6000602082840312156111bb57600080fd5b5035919050565b6000602082840312156111d457600080fd5b813580151581146111e457600080fd5b9392505050565b600080604083850312156111fe57600080fd5b50508035926020909101359150565b6001600160a01b0381168114610ae057600080fd5b6000806040838503121561123557600080fd5b82356112408161120d565b946020939093013593505050565b6000806040838503121561126157600080fd5b823561126c8161120d565b9150602083013561127c8161120d565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156112ce57600080fd5b81516111e48161120d565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610f6257610f626112d9565b60008261132357634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610f6257610f626112d9565b80820180821115610f6257610f626112d9565b6001600160801b0381811683821601908082111561136e5761136e6112d9565b5092915050565b6000825160005b81811015611396576020818601810151858301520161137c565b50600092019182525091905056fea2646970667358221220d41c6f8399ab2527890b990aa3b67dd748897cfc580b8a9b23943900a039224164736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000766edd602ce72fa5737a92e50d4a5e192b57aef40000000000000000000000000000000000000000000000000000000064663d700000000000000000000000000000000000000000000000000000000077365f20
-----Decoded View---------------
Arg [0] : _sequelsBase (address): 0x766eDD602ce72FA5737A92e50d4A5e192B57aeF4
Arg [1] : startTime (uint256): 1684422000
Arg [2] : endTime (uint256): 2000052000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000766edd602ce72fa5737a92e50d4a5e192b57aef4
Arg [1] : 0000000000000000000000000000000000000000000000000000000064663d70
Arg [2] : 0000000000000000000000000000000000000000000000000000000077365f20
Deployed Bytecode Sourcemap
1680:5889:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5794:82;;;;;;;;;;-1:-1:-1;5794:82:2;;;;;:::i;:::-;;:::i;:::-;;6177:79;;;;;;;;;;-1:-1:-1;6177:79:2;;;;;:::i;:::-;;:::i;4052:1295::-;;;;;;:::i;:::-;;:::i;1755:41::-;;;;;;;;;;;;;;;;;;623:25:5;;;611:2;596:18;1755:41:2;;;;;;;;2507:50;;;;;;;;;;-1:-1:-1;2507:50:2;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;824:14:5;;817:22;799:41;;787:2;772:18;2507:50:2;659:187:5;2126:34:2;;;;;;;;;;;;;;;;1800:74;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1015:32:5;;;997:51;;985:2;970:18;1800:74:2;851:203:5;2842:72:2;;;;;;:::i;:::-;;:::i;1708:43::-;;;;;;;;;;;;;;;1980:27;;;;;;;;;;-1:-1:-1;1980:27:2;;;;-1:-1:-1;;;;;1980:27:2;;;1945:31;;;;;;;;;;;;;;;;2464:39;;;;;;;;;;-1:-1:-1;2464:39:2;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2464:39:2;;;;-1:-1:-1;;;2464:39:2;;;;;-1:-1:-1;;;;;2464:39:2;;;-1:-1:-1;;;2464:39:2;;;;;;;;;;;;-1:-1:-1;;;;;1383:15:5;;;1365:34;;1435:15;;;;1430:2;1415:18;;1408:43;-1:-1:-1;;;;;1487:32:5;;;1467:18;;;1460:60;;;;1563:14;;1556:22;1551:2;1536:18;;1529:50;1610:3;1595:19;;1588:35;1299:3;1284:19;2464:39:2;1059:570:5;6612:320:2;;;;;;;;;;;;;:::i;2164:18::-;;;;;;;;;;-1:-1:-1;2164:18:2;;;;;;;;5546:114;;;;;;;;;;-1:-1:-1;5546:114:2;;;;;:::i;:::-;;:::i;2918:203::-;;;;;;:::i;:::-;;:::i;2562:30::-;;;;;;;;;;-1:-1:-1;2562:30:2;;;;-1:-1:-1;;;;;2562:30:2;;;5351:84;;;;;;;;;;;;;:::i;2043:36::-;;;;;;;;;;;;;;;;1878:63;;;;;;;;;;-1:-1:-1;1878:63:2;;;;-1:-1:-1;;;;;1878:63:2;;;2083:39;;;;;;;;;;;;;;;;5664:126;;;;;;;;;;-1:-1:-1;5664:126:2;;;;;:::i;:::-;;:::i;6046:127::-;;;;;;;;;;-1:-1:-1;6046:127:2;;;;;:::i;:::-;;:::i;6260:348::-;;;;;;;;;;-1:-1:-1;6260:348:2;;;;;:::i;:::-;;:::i;2011:27::-;;;;;;;;;;-1:-1:-1;2011:27:2;;;;-1:-1:-1;;;;;2011:27:2;;;5880:162;;;;;;;;;;-1:-1:-1;5880:162:2;;;;;:::i;:::-;;:::i;5794:82::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;;;;;;;;;5855:6:::1;:16:::0;5794:82::o;6177:79::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;6235:6:::1;:16:::0;;-1:-1:-1;;6235:16:2::1;::::0;::::1;;::::0;;;::::1;::::0;;6177:79::o;4052:1295::-;4120:23;;;;:18;:23;;;;;;;;4119:24;4111:69;;;;-1:-1:-1;;;4111:69:2;;3527:2:5;4111:69:2;;;3509:21:5;;;3546:18;;;3539:30;3605:34;3585:18;;;3578:62;3657:18;;4111:69:2;3325:356:5;4111:69:2;4210:3;4194:12;:10;:12::i;:::-;:19;;4186:68;;;;-1:-1:-1;;;4186:68:2;;3888:2:5;4186:68:2;;;3870:21:5;3927:2;3907:18;;;3900:30;3966:34;3946:18;;;3939:62;-1:-1:-1;;;4017:18:5;;;4010:34;4061:19;;4186:68:2;3686:400:5;4186:68:2;4269:20;4285:3;4269:15;:20::i;:::-;4268:21;4260:70;;;;-1:-1:-1;;;4260:70:2;;4293:2:5;4260:70:2;;;4275:21:5;4332:2;4312:18;;;4305:30;4371:34;4351:18;;;4344:62;-1:-1:-1;;;4422:18:5;;;4415:34;4466:19;;4260:70:2;4091:400:5;4260:70:2;4337:22;4362:13;;;:8;:13;;;;;;;;4382:18;:23;;;;;;:30;;-1:-1:-1;;4382:30:2;4408:4;4382:30;;;4441:17;;-1:-1:-1;;;;;4441:17:2;;;;-1:-1:-1;;;4469:20:2;;;:24;4465:305;;4503:11;;;4520:17;;;4503:40;;-1:-1:-1;;;4503:40:2;;-1:-1:-1;;;;;4520:17:2;;;4503:40;;;4670:51:5;4737:18;;;4730:34;;;4503:11:2;;;:16;;4643:18:5;;4503:40:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4465:305;;;4587:7;:5;:7::i;:::-;-1:-1:-1;;;;;4573:21:2;:10;-1:-1:-1;;;;;4573:21:2;;4565:66;;;;-1:-1:-1;;;4565:66:2;;;;;;;:::i;:::-;4660:6;;4647:9;:19;;4639:51;;;;-1:-1:-1;;;4639:51:2;;4977:2:5;4639:51:2;;;4959:21:5;5016:2;4996:18;;;4989:30;-1:-1:-1;;;5035:18:5;;;5028:49;5094:18;;4639:51:2;4775:343:5;4639:51:2;-1:-1:-1;4730:11:2;;:33;;-1:-1:-1;;;4730:33:2;;4747:10;4730:33;;;4670:51:5;4737:18;;;4730:34;;;4712:9:2;;-1:-1:-1;;;;;4730:11:2;;:16;;4643:18:5;;4730:33:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4465:305;4789:3;4781:29;4794:15;4781:29;;;;623:25:5;;611:2;596:18;;477:177;4781:29:2;;;;;;;;4886:17;;;;4817:23;4847:3;;4860:21;;;;4843:39;;-1:-1:-1;;;4843:39:2;;4817:23;;-1:-1:-1;;;;;4886:17:2;;;;4847:3;;;4843:16;;:39;;;;623:25:5;;;611:2;596:18;;477:177;4843:39:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;4843:60:2;;4817:86;;4910:19;4943:10;:23;;;;;;;;;;;;:45;;;;;4970:18;4943:45;4939:185;;;5002:3;;5018:21;;;;5002:3;5041:12;4998:56;;-1:-1:-1;;;4998:56:2;;;;;5553:25:5;;;;5594:18;;;5587:34;-1:-1:-1;;;;;5002:3:2;;;;4998:19;;5526:18:5;;4998:56:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5112:5;5091:17;;5076:11;:33;;;;:::i;:::-;:41;;;;:::i;:::-;5062:55;;4939:185;5134:15;;5130:213;;5176:17;;;;5159:48;;-1:-1:-1;;;;;5176:17:2;5195:11;5159:16;:48::i;:::-;-1:-1:-1;5223:12:2;;-1:-1:-1;;;;;5223:12:2;5215:57;5246:25;5260:11;5246;:25;:::i;:::-;5215:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5130:213;;;5301:12;;5293:43;;-1:-1:-1;;;;;5301:12:2;;;;5293:43;;;;;5324:11;;5301:12;5293:43;5301:12;5293:43;5324:11;5301:12;5293:43;;;;;;;;;;;;;;;;;;;;;5130:213;4105:1242;;;;4052:1295;:::o;2842:72::-;2891:18;2895:3;2900:5;2907:1;2891:3;:18::i;:::-;2842:72;:::o;6612:320::-;6655:7;6692:18;6674:15;:36;6670:258;;;-1:-1:-1;6727:1:2;;6612:320::o;6670:258::-;6764:16;6746:15;:34;6742:186;;;6839:6;6798:37;6817:18;6798:16;:37;:::i;:::-;6797:48;;;;:::i;:::-;6790:55;;6612:320;:::o;6742:186::-;6915:6;6875:36;6893:18;6875:15;:36;:::i;5546:114::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;5623:14:::1;:32:::0;5546:114::o;2918:203::-;3011:3;;3007:28;;-1:-1:-1;;;3007:28:2;;;;;623:25:5;;;3039:10:2;;-1:-1:-1;;;;;3011:3:2;;3007:16;;596:18:5;;3007:28:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3007:42:2;;2999:85;;;;-1:-1:-1;;;2999:85:2;;6494:2:5;2999:85:2;;;6476:21:5;6533:2;6513:18;;;6506:30;6572:32;6552:18;;;6545:60;6622:18;;2999:85:2;6292:354:5;2999:85:2;3090:26;3094:3;3099:4;3105:10;3090:3;:26::i;:::-;2918:203;;:::o;5351:84::-;5411:11;;:19;;;-1:-1:-1;;;5411:19:2;;;;5389:7;;-1:-1:-1;;;;;5411:11:2;;:17;;:19;;;;;;;;;;;;;;:11;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;5664:126::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;5747:17:::1;:38:::0;5664:126::o;6046:127::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;6124:3:::1;:10:::0;;-1:-1:-1;;;;;;6124:10:2::1;-1:-1:-1::0;;;;;6124:10:2;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;6140:28:2;6046:127::o;6260:348::-;6319:4;;6368:18;6352:12;:3;6358:6;6352:12;:::i;:::-;6351:35;;;;:::i;:::-;6331:55;-1:-1:-1;6392:15:2;6410:18;6331:55;6422:6;6410:18;:::i;:::-;6392:36;;6469:9;6450:15;:28;;:147;;;;;6516:7;6498:15;:25;:91;;;-1:-1:-1;6553:13:2;;;;:8;:13;;;;;:23;:36;;-1:-1:-1;;;6553:23:2;;-1:-1:-1;;;;;6553:23:2;6579:10;6553:36;:::i;:::-;-1:-1:-1;;;;;6535:54:2;:15;:54;6498:91;6435:168;6260:348;-1:-1:-1;;;;6260:348:2:o;5880:162::-;5486:7;:5;:7::i;:::-;-1:-1:-1;;;;;5472:21:2;:10;-1:-1:-1;;;;;5472:21:2;;5464:66;;;;-1:-1:-1;;;5464:66:2;;;;;;;:::i;:::-;5975:12:::1;:28:::0;;-1:-1:-1;;;;;5975:28:2;;::::1;-1:-1:-1::0;;;;;;5975:28:2;;::::1;;::::0;;;6009:12:::1;:28:::0;;;;;::::1;::::0;::::1;;::::0;;5880:162::o;7390:177::-;7529:12;;;7461:4;7529:12;;;;;;;;;7461:4;;-1:-1:-1;;;;;7492:7:2;;;7520:6;;7508:5;;7492:50;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7473:69:2;;-1:-1:-1;;;7390:177:2;;;;;:::o;3125:923::-;3212:20;3228:3;3212:15;:20::i;:::-;3204:67;;;;-1:-1:-1;;;3204:67:2;;7734:2:5;3204:67:2;;;7716:21:5;7773:2;7753:18;;;7746:30;7812:34;7792:18;;;7785:62;-1:-1:-1;;;7863:18:5;;;7856:32;7905:19;;3204:67:2;7532:398:5;3204:67:2;3286:6;;;;3285:7;3277:37;;;;-1:-1:-1;;;3277:37:2;;8137:2:5;3277:37:2;;;8119:21:5;8176:2;8156:18;;;8149:30;-1:-1:-1;;;8195:18:5;;;8188:47;8252:18;;3277:37:2;7935:341:5;3277:37:2;3321:22;3346:13;;;:8;:13;;;;;3424:14;;3442:5;;3416:22;;3442:5;3416:22;:::i;:::-;3395:17;;:44;;;-1:-1:-1;;;;;3395:17:2;:44;:::i;:::-;:52;;;;:::i;:::-;3381:9;:67;;:96;;;;;3471:6;;3458:9;:19;;3381:96;3366:146;;;;-1:-1:-1;;;3366:146:2;;4977:2:5;3366:146:2;;;4959:21:5;5016:2;4996:18;;;4989:30;-1:-1:-1;;;5035:18:5;;;5028:49;5094:18;;3366:146:2;4775:343:5;3366:146:2;3576:20;;3519;;;;-1:-1:-1;;;3576:20:2;;-1:-1:-1;;;;;3576:20:2;:24;3572:117;;-1:-1:-1;;3625:17:2;;;3665;;;-1:-1:-1;;;;;3625:17:2;;;;-1:-1:-1;;;;;3665:17:2;3572:117;3776:9;-1:-1:-1;;;;;3748:38:2;;;3726:15;3695:47;;;-1:-1:-1;;;3695:47:2;-1:-1:-1;;3748:38:2;;;;-1:-1:-1;3792:17:2;;:30;;3828:38;;;-1:-1:-1;;;3828:38:2;-1:-1:-1;;;;3812:10:2;3828:38;;;-1:-1:-1;;;;;;3828:38:2;;;;;;;;;;;3872:21;;;:34;;;3918:52;;3926:3;;3918:52;;;;3812:10;-1:-1:-1;;;;;8501:32:5;;;;8483:51;;8565:2;8550:18;;8543:34;;;;8608:2;8593:18;;8586:34;8471:2;8456:18;;8281:345;3918:52:2;;;;;;;;3981:16;;3977:66;;3999:44;4016:12;4030;3999:16;:44::i;:::-;;3198:850;;;3125:923;;;:::o;14:180:5:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:5;;14:180;-1:-1:-1;14:180:5:o;199:273::-;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;363:9;350:23;416:5;409:13;402:21;395:5;392:32;382:60;;438:1;435;428:12;382:60;461:5;199:273;-1:-1:-1;;;199:273:5:o;1634:248::-;1702:6;1710;1763:2;1751:9;1742:7;1738:23;1734:32;1731:52;;;1779:1;1776;1769:12;1731:52;-1:-1:-1;;1802:23:5;;;1872:2;1857:18;;;1844:32;;-1:-1:-1;1634:248:5:o;2115:131::-;-1:-1:-1;;;;;2190:31:5;;2180:42;;2170:70;;2236:1;2233;2226:12;2251:315;2319:6;2327;2380:2;2368:9;2359:7;2355:23;2351:32;2348:52;;;2396:1;2393;2386:12;2348:52;2435:9;2422:23;2454:31;2479:5;2454:31;:::i;:::-;2504:5;2556:2;2541:18;;;;2528:32;;-1:-1:-1;;;2251:315:5:o;2571:388::-;2639:6;2647;2700:2;2688:9;2679:7;2675:23;2671:32;2668:52;;;2716:1;2713;2706:12;2668:52;2755:9;2742:23;2774:31;2799:5;2774:31;:::i;:::-;2824:5;-1:-1:-1;2881:2:5;2866:18;;2853:32;2894:33;2853:32;2894:33;:::i;:::-;2946:7;2936:17;;;2571:388;;;;;:::o;2964:356::-;3166:2;3148:21;;;3185:18;;;3178:30;3244:34;3239:2;3224:18;;3217:62;3311:2;3296:18;;2964:356::o;5123:251::-;5193:6;5246:2;5234:9;5225:7;5221:23;5217:32;5214:52;;;5262:1;5259;5252:12;5214:52;5294:9;5288:16;5313:31;5338:5;5313:31;:::i;5632:127::-;5693:10;5688:3;5684:20;5681:1;5674:31;5724:4;5721:1;5714:15;5748:4;5745:1;5738:15;5764:168;5837:9;;;5868;;5885:15;;;5879:22;;5865:37;5855:71;;5906:18;;:::i;5937:217::-;5977:1;6003;5993:132;;6047:10;6042:3;6038:20;6035:1;6028:31;6082:4;6079:1;6072:15;6110:4;6107:1;6100:15;5993:132;-1:-1:-1;6139:9:5;;5937:217::o;6159:128::-;6226:9;;;6247:11;;;6244:37;;;6261:18;;:::i;6651:125::-;6716:9;;;6737:10;;;6734:36;;;6750:18;;:::i;6781:197::-;-1:-1:-1;;;;;6903:10:5;;;6915;;;6899:27;;6938:11;;;6935:37;;;6952:18;;:::i;:::-;6935:37;6781:197;;;;:::o;7115:412::-;7244:3;7282:6;7276:13;7307:1;7317:129;7331:6;7328:1;7325:13;7317:129;;;7429:4;7413:14;;;7409:25;;7403:32;7390:11;;;7383:53;7346:12;7317:129;;;-1:-1:-1;7501:1:5;7465:16;;7490:13;;;-1:-1:-1;7465:16:5;7115:412;-1:-1:-1;7115:412:5:o
Swarm Source
ipfs://d41c6f8399ab2527890b990aa3b67dd748897cfc580b8a9b23943900a0392241
Loading...
Loading
Loading...
Loading
Net Worth in USD
$785.03
Net Worth in ETH
0.40404
Token Allocations
ETH
99.99%
POL
0.01%
Multichain Portfolio | 33 Chains
Loading...
Loading
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.