Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save toddstephens335/2b020de5544a645b2878ef08d5da2119 to your computer and use it in GitHub Desktop.
Save toddstephens335/2b020de5544a645b2878ef08d5da2119 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=true&runs=201999&gist=
This gist exceeds the recommended number of files (~10). To access all files, please clone this gist.
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
@title SignatureChecker
@notice Additional functions for EnumerableSet.Addresset that require a valid
ECDSA signature of a standardized message, signed by any member of the set.
*/
library SignatureChecker {
using EnumerableSet for EnumerableSet.AddressSet;
/**
@notice Requires that the message has not been used previously and that the
recovered signer is contained in the signers AddressSet.
@dev Convenience wrapper for message generation + signature verification
+ marking message as used
@param signers Set of addresses from which signatures are accepted.
@param usedMessages Set of already-used messages.
@param signature ECDSA signature of message.
*/
function requireValidSignature(
EnumerableSet.AddressSet storage signers,
bytes memory data,
bytes calldata signature,
mapping(bytes32 => bool) storage usedMessages
) internal {
bytes32 message = generateMessage(data);
require(
!usedMessages[message],
"SignatureChecker: Message already used"
);
usedMessages[message] = true;
requireValidSignature(signers, message, signature);
}
/**
@notice Requires that the message has not been used previously and that the
recovered signer is contained in the signers AddressSet.
@dev Convenience wrapper for message generation + signature verification.
*/
function requireValidSignature(
EnumerableSet.AddressSet storage signers,
bytes memory data,
bytes calldata signature
) internal view {
bytes32 message = generateMessage(data);
requireValidSignature(signers, message, signature);
}
/**
@notice Requires that the message has not been used previously and that the
recovered signer is contained in the signers AddressSet.
@dev Convenience wrapper for message generation from address +
signature verification.
*/
function requireValidSignature(
EnumerableSet.AddressSet storage signers,
address a,
bytes calldata signature
) internal view {
bytes32 message = generateMessage(abi.encodePacked(a));
requireValidSignature(signers, message, signature);
}
/**
@notice Common validator logic, checking if the recovered signer is
contained in the signers AddressSet.
*/
function validSignature(
EnumerableSet.AddressSet storage signers,
bytes32 message,
bytes calldata signature
) internal view returns (bool) {
return signers.contains(ECDSA.recover(message, signature));
}
/**
@notice Requires that the recovered signer is contained in the signers
AddressSet.
@dev Convenience wrapper that reverts if the signature validation fails.
*/
function requireValidSignature(
EnumerableSet.AddressSet storage signers,
bytes32 message,
bytes calldata signature
) internal view {
require(
validSignature(signers, message, signature),
"SignatureChecker: Invalid signature"
);
}
/**
@notice Generates a message for a given data input that will be signed
off-chain using ECDSA.
@dev For multiple data fields, a standard concatenation using
`abi.encodePacked` is commonly used to build data.
*/
function generateMessage(bytes memory data)
internal
pure
returns (bytes32)
{
return ECDSA.toEthSignedMessageHash(data);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
/**
@title SignerManager
@notice Manges addition and removal of a core set of addresses from which
valid ECDSA signatures can be accepted; see SignatureChecker.
*/
contract SignerManager is Ownable {
using EnumerableSet for EnumerableSet.AddressSet;
/**
@dev Addresses from which signatures can be accepted.
*/
EnumerableSet.AddressSet internal signers;
/**
@notice Add an address to the set of accepted signers.
*/
function addSigner(address signer) external onlyOwner {
signers.add(signer);
}
/**
@notice Remove an address previously added with addSigner().
*/
function removeSigner(address signer) external onlyOwner {
signers.remove(signer);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2023 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import {AccessControlEnumerable} from "../utils/AccessControlEnumerable.sol";
import {ERC721A, ERC721ACommon} from "./ERC721ACommon.sol";
/**
* @notice ERC721 extension that implements a commonly used _baseURI() function
* to return an URL prefix that can be set by the contract steerer.
*/
contract BaseTokenURI is AccessControlEnumerable {
/**
* @notice Base token URI used as a prefix by tokenURI().
*/
string private _baseTokenURI;
constructor(string memory baseTokenURI_) {
_setBaseTokenURI(baseTokenURI_);
}
/**
* @notice Sets the base token URI prefix.
* @dev Only callable by the contract steerer.
*/
function setBaseTokenURI(string memory baseTokenURI_)
public
onlyRole(DEFAULT_STEERING_ROLE)
{
_setBaseTokenURI(baseTokenURI_);
}
/**
* @notice Sets the base token URI prefix.
*/
function _setBaseTokenURI(string memory baseTokenURI_) internal virtual {
_baseTokenURI = baseTokenURI_;
}
/**
* @notice Returns the `baseTokenURI`.
*/
function baseTokenURI() public view virtual returns (string memory) {
return _baseTokenURI;
}
/**
* @notice Returns the base token URI * without any additional characters (e.g. a slash).
*/
function _baseURI() internal view virtual returns (string memory) {
return _baseTokenURI;
}
}
/**
* @notice ERC721ACommon extension that adds BaseTokenURI.
*/
abstract contract ERC721ACommonBaseTokenURI is ERC721ACommon, BaseTokenURI {
/**
* @notice Overrides supportsInterface as required by inheritance.
*/
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC721ACommon, AccessControlEnumerable)
returns (bool)
{
return
ERC721ACommon.supportsInterface(interfaceId) ||
AccessControlEnumerable.supportsInterface(interfaceId);
}
/**
* @dev Inheritance resolution.
*/
function _baseURI()
internal
view
virtual
override(ERC721A, BaseTokenURI)
returns (string memory)
{
return BaseTokenURI._baseURI();
}
}
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;
import {IERC165, ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol";
interface IERC4906Events {
/// @dev This event emits when the metadata of a token is changed.
/// So that the third-party platforms such as NFT market could
/// timely update the images and related attributes of the NFT.
event MetadataUpdate(uint256 _tokenId);
/// @dev This event emits when the metadata of a range of tokens is changed.
/// So that the third-party platforms such as NFT market could
/// timely update the images and related attributes of the NFTs.
event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);
}
/// @title EIP-721 Metadata Update Extension
// solhint-disable-next-line no-empty-blocks
interface IERC4906 is IERC165, IERC4906Events {
}
contract ERC4906 is IERC4906, ERC165 {
function _refreshMetadata(uint256 tokenId) internal {
emit MetadataUpdate(tokenId);
}
function _refreshMetadata(uint256 fromTokenId, uint256 toTokenId) internal {
emit BatchMetadataUpdate(fromTokenId, toTokenId);
}
/// @dev See {IERC165-supportsInterface}.
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC165, IERC165)
returns (bool)
{
return
interfaceId == bytes4(0x49064906) ||
ERC165.supportsInterface(interfaceId);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import {ERC721A} from "erc721a/contracts/ERC721A.sol";
import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol";
import {AccessControlEnumerable} from "../utils/AccessControlEnumerable.sol";
import {AccessControlPausable} from "../utils/AccessControlPausable.sol";
import {ERC4906} from "./ERC4906.sol";
/**
@notice An ERC721A contract with common functionality:
- Pausable with toggling functions exposed to Owner only
- ERC2981 royalties
*/
contract ERC721ACommon is ERC721A, AccessControlPausable, ERC2981, ERC4906 {
constructor(
address admin,
address steerer,
string memory name,
string memory symbol,
address payable royaltyReciever,
uint96 royaltyBasisPoints
) ERC721A(name, symbol) {
_setDefaultRoyalty(royaltyReciever, royaltyBasisPoints);
_grantRole(DEFAULT_ADMIN_ROLE, admin);
_grantRole(DEFAULT_STEERING_ROLE, steerer);
}
/// @notice Requires that the token exists.
modifier tokenExists(uint256 tokenId) {
require(ERC721A._exists(tokenId), "ERC721ACommon: Token doesn't exist");
_;
}
/// @notice Requires that msg.sender owns or is approved for the token.
modifier onlyApprovedOrOwner(uint256 tokenId) {
require(
_ownershipOf(tokenId).addr == _msgSender() ||
getApproved(tokenId) == _msgSender(),
"ERC721ACommon: Not approved nor owner"
);
_;
}
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual override {
require(!paused(), "ERC721ACommon: paused");
super._beforeTokenTransfers(from, to, startTokenId, quantity);
}
/// @notice Overrides supportsInterface as required by inheritance.
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC721A, AccessControlEnumerable, ERC2981, ERC4906)
returns (bool)
{
return
ERC721A.supportsInterface(interfaceId) ||
ERC2981.supportsInterface(interfaceId) ||
AccessControlEnumerable.supportsInterface(interfaceId) ||
ERC4906.supportsInterface(interfaceId);
}
/// @notice Sets the royalty receiver and percentage (in units of basis
/// points = 0.01%).
function setDefaultRoyalty(address receiver, uint96 basisPoints)
public
virtual
onlyRole(DEFAULT_STEERING_ROLE)
{
_setDefaultRoyalty(receiver, basisPoints);
}
function emitMetadataUpdateForAll()
external
onlyRole(DEFAULT_STEERING_ROLE)
{
// EIP4906 is unfortunately quite vague on whether the `toTokenId` in
// the following event is included or not. We hence use `totalSupply()`
// to ensure that the last actual `tokenId` is included in any case.
_refreshMetadata(0, totalSupply());
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
/**
@notice Allows holders of ERC721 tokens to redeem rights to some claim; for
example, the right to mint a token of some other collection.
*/
library ERC721Redeemer {
using BitMaps for BitMaps.BitMap;
using Strings for uint256;
/**
@notice Storage value to track already-claimed redemptions for a specific
token collection.
*/
struct Claims {
/**
@dev This field MUST NOT be considered part of the public API. Instead,
prefer `using ERC721Redeemer for ERC721Redeemer.Claims` and utilise the
provided functions.
*/
mapping(uint256 => uint256) _total;
}
/**
@notice Storage value to track already-claimed redemptions for a specific
token collection, given that there is only a single claim allowed per
tokenId.
*/
struct SingleClaims {
/**
@dev This field MUST NOT be considered part of the public API. Instead,
prefer `using ERC721Redeemer for ERC721Redeemer.SingleClaims` and
utilise the provided functions.
*/
BitMaps.BitMap _claimed;
}
/**
@notice Emitted when a token's claim is redeemed.
*/
event Redemption(
IERC721 indexed token,
address indexed redeemer,
uint256 tokenId,
uint256 n
);
/**
@notice Checks that the redeemer is allowed to redeem the claims for the
tokenIds by being either the owner or approved address for all tokenIds, and
updates the Claims to reflect this.
@dev For more efficient gas usage, recurring values in tokenIds SHOULD be
adjacent to one another as this will batch expensive operations. The
simplest way to achieve this is by sorting tokenIds.
@param tokenIds The token IDs for which the claims are being redeemed. If
maxAllowance > 1 then identical tokenIds can be passed more than once; see
dev comments.
@return The number of redeemed claims; either 0 or tokenIds.length;
*/
function redeem(
Claims storage claims,
uint256 maxAllowance,
address redeemer,
IERC721 token,
uint256[] calldata tokenIds
) internal returns (uint256) {
if (maxAllowance == 0 || tokenIds.length == 0) {
return 0;
}
// See comment for `endSameId`.
bool multi = maxAllowance > 1;
for (
uint256 i = 0;
i < tokenIds.length; /* note increment at end */
) {
uint256 tokenId = tokenIds[i];
requireOwnerOrApproved(token, tokenId, redeemer);
uint256 n = 1;
if (multi) {
// If allowed > 1 we can save on expensive operations like
// checking ownership / remaining allowance by batching equal
// tokenIds. The algorithm assumes that equal IDs are adjacent
// in the array.
uint256 endSameId;
for (
endSameId = i + 1;
endSameId < tokenIds.length &&
tokenIds[endSameId] == tokenId;
endSameId++
) {} // solhint-disable-line no-empty-blocks
n = endSameId - i;
}
claims._total[tokenId] += n;
if (claims._total[tokenId] > maxAllowance) {
revertWithTokenId(
"ERC721Redeemer: over allowance for",
tokenId
);
}
i += n;
emit Redemption(token, redeemer, tokenId, n);
}
return tokenIds.length;
}
/**
@notice Checks that the redeemer is allowed to redeem the single claim for
each of the tokenIds by being either the owner or approved address for all
tokenIds, and updates the SingleClaims to reflect this.
@param tokenIds The token IDs for which the claims are being redeemed. Only
a single claim can be made against a tokenId.
@return The number of redeemed claims; either 0 or tokenIds.length;
*/
function redeem(
SingleClaims storage claims,
address redeemer,
IERC721 token,
uint256[] calldata tokenIds
) internal returns (uint256) {
if (tokenIds.length == 0) {
return 0;
}
for (uint256 i = 0; i < tokenIds.length; i++) {
uint256 tokenId = tokenIds[i];
requireOwnerOrApproved(token, tokenId, redeemer);
if (claims._claimed.get(tokenId)) {
revertWithTokenId(
"ERC721Redeemer: over allowance for",
tokenId
);
}
claims._claimed.set(tokenId);
emit Redemption(token, redeemer, tokenId, 1);
}
return tokenIds.length;
}
/**
@dev Reverts if neither the owner nor approved for the tokenId.
*/
function requireOwnerOrApproved(
IERC721 token,
uint256 tokenId,
address redeemer
) private view {
if (
token.ownerOf(tokenId) != redeemer &&
token.getApproved(tokenId) != redeemer
) {
revertWithTokenId(
"ERC721Redeemer: not approved nor owner of",
tokenId
);
}
}
/**
@notice Reverts with the concatenation of revertMsg and tokenId.toString().
@dev Used to save gas by constructing the revert message only as required,
instead of passing it to require().
*/
function revertWithTokenId(string memory revertMsg, uint256 tokenId)
private
pure
{
revert(string(abi.encodePacked(revertMsg, " ", tokenId.toString())));
}
/**
@notice Returns the number of claimed redemptions for the token.
*/
function claimed(Claims storage claims, uint256 tokenId)
internal
view
returns (uint256)
{
return claims._total[tokenId];
}
/**
@notice Returns whether the token has had a claim made against it.
*/
function claimed(SingleClaims storage claims, uint256 tokenId)
internal
view
returns (bool)
{
return claims._claimed.get(tokenId);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "./Seller.sol";
/// @notice A Seller with fixed per-item price.
abstract contract FixedPriceSeller is Seller {
constructor(
uint256 _price,
Seller.SellerConfig memory sellerConfig,
address payable _beneficiary
) Seller(sellerConfig, _beneficiary) {
setPrice(_price);
}
/**
@notice The fixed per-item price.
@dev Fixed as in not changing with time nor number of items, but not a
constant.
*/
uint256 public price;
/// @notice Sets the per-item price.
function setPrice(uint256 _price) public onlyOwner {
price = _price;
}
/**
@notice Override of Seller.cost() with fixed price.
@dev The second parameter, metadata propagated from the call to _purchase(),
is ignored.
*/
function cost(uint256 n, uint256) public view override returns (uint256) {
return n * price;
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "../utils/Monotonic.sol";
import "../utils/OwnerPausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/**
@notice An abstract contract providing the _purchase() function to:
- Enforce per-wallet / per-transaction limits
- Calculate required cost, forwarding to a beneficiary, and refunding extra
*/
abstract contract Seller is OwnerPausable, ReentrancyGuard {
using Address for address payable;
using Monotonic for Monotonic.Increaser;
using Strings for uint256;
/**
@dev Note that the address limits are vulnerable to wallet farming.
@param maxPerAddress Unlimited if zero.
@param maxPerTex Unlimited if zero.
@param freeQuota Maximum number that can be purchased free of charge by
the contract owner.
@param reserveFreeQuota Whether to excplitly reserve the freeQuota amount
and not let it be eroded by regular purchases.
@param lockFreeQuota If true, calls to setSellerConfig() will ignore changes
to freeQuota. Can be locked after initial setting, but not unlocked. This
allows a contract owner to commit to a maximum number of reserved items.
@param lockTotalInventory Similar to lockFreeQuota but applied to
totalInventory.
*/
struct SellerConfig {
uint256 totalInventory;
uint256 maxPerAddress;
uint256 maxPerTx;
uint248 freeQuota;
bool reserveFreeQuota;
bool lockFreeQuota;
bool lockTotalInventory;
}
constructor(SellerConfig memory config, address payable _beneficiary) {
setSellerConfig(config);
setBeneficiary(_beneficiary);
}
/// @notice Configuration of purchase limits.
SellerConfig public sellerConfig;
/// @notice Sets the seller config.
function setSellerConfig(SellerConfig memory config) public onlyOwner {
require(
config.totalInventory >= config.freeQuota,
"Seller: excessive free quota"
);
require(
config.totalInventory >= _totalSold.current(),
"Seller: inventory < already sold"
);
require(
config.freeQuota >= purchasedFreeOfCharge.current(),
"Seller: free quota < already used"
);
// Overriding the in-memory fields before copying the whole struct, as
// against writing individual fields, gives a greater guarantee of
// correctness as the code is simpler to read.
if (sellerConfig.lockTotalInventory) {
config.lockTotalInventory = true;
config.totalInventory = sellerConfig.totalInventory;
}
if (sellerConfig.lockFreeQuota) {
config.lockFreeQuota = true;
config.freeQuota = sellerConfig.freeQuota;
}
sellerConfig = config;
}
/// @notice Recipient of revenues.
address payable public beneficiary;
/// @notice Sets the recipient of revenues.
function setBeneficiary(address payable _beneficiary) public onlyOwner {
beneficiary = _beneficiary;
}
/**
@dev Must return the current cost of a batch of items. This may be constant
or, for example, decreasing for a Dutch auction or increasing for a bonding
curve.
@param n The number of items being purchased.
@param metadata Arbitrary data, propagated by the call to _purchase() that
can be used to charge different prices. This value is a uint256 instead of
bytes as this allows simple passing of a set cost (see
ArbitraryPriceSeller).
*/
function cost(uint256 n, uint256 metadata)
public
view
virtual
returns (uint256);
/**
@dev Called by both _purchase() and purchaseFreeOfCharge() after all limits
have been put in place; must perform all contract-specific sale logic, e.g.
ERC721 minting. When _handlePurchase() is called, the value returned by
Seller.totalSold() will be the POST-purchase amount to allow for the
checks-effects-interactions (ECI) pattern as _handlePurchase() may include
an interaction. _handlePurchase() MUST itself implement the CEI pattern.
@param to The recipient of the item(s).
@param n The number of items allowed to be purchased, which MAY be less than
to the number passed to _purchase() but SHALL be greater than zero.
@param freeOfCharge Indicates that the call originated from
purchaseFreeOfCharge() and not _purchase().
*/
function _handlePurchase(
address to,
uint256 n,
bool freeOfCharge
) internal virtual;
/**
@notice Tracks total number of items sold by this contract, including those
purchased free of charge by the contract owner.
*/
Monotonic.Increaser private _totalSold;
/// @notice Returns the total number of items sold by this contract.
function totalSold() public view returns (uint256) {
return _totalSold.current();
}
/**
@notice Tracks the number of items already bought by an address, regardless
of transferring out (in the case of ERC721).
@dev This isn't public as it may be skewed due to differences in msg.sender
and tx.origin, which it treats in the same way such that
sum(_bought)>=totalSold().
*/
mapping(address => uint256) private _bought;
/**
@notice Returns min(n, max(extra items addr can purchase)) and reverts if 0.
@param zeroMsg The message with which to revert on 0 extra.
*/
function _capExtra(
uint256 n,
address addr,
string memory zeroMsg
) internal view returns (uint256) {
uint256 extra = sellerConfig.maxPerAddress - _bought[addr];
if (extra == 0) {
revert(string(abi.encodePacked("Seller: ", zeroMsg)));
}
return Math.min(n, extra);
}
/// @notice Emitted when a buyer is refunded.
event Refund(address indexed buyer, uint256 amount);
/// @notice Emitted on all purchases of non-zero amount.
event Revenue(
address indexed beneficiary,
uint256 numPurchased,
uint256 amount
);
/// @notice Tracks number of items purchased free of charge.
Monotonic.Increaser private purchasedFreeOfCharge;
/**
@notice Allows the contract owner to purchase without payment, within the
quota enforced by the SellerConfig.
*/
function purchaseFreeOfCharge(address to, uint256 n)
public
onlyOwner
whenNotPaused
{
/**
* ##### CHECKS
*/
uint256 freeQuota = sellerConfig.freeQuota;
n = Math.min(n, freeQuota - purchasedFreeOfCharge.current());
require(n > 0, "Seller: Free quota exceeded");
uint256 totalInventory = sellerConfig.totalInventory;
n = Math.min(n, totalInventory - _totalSold.current());
require(n > 0, "Seller: Sold out");
/**
* ##### EFFECTS
*/
_totalSold.add(n);
purchasedFreeOfCharge.add(n);
/**
* ##### INTERACTIONS
*/
_handlePurchase(to, n, true);
assert(_totalSold.current() <= totalInventory);
assert(purchasedFreeOfCharge.current() <= freeQuota);
}
/**
@notice Convenience function for calling _purchase() with empty costMetadata
when unneeded.
*/
function _purchase(address to, uint256 requested) internal virtual {
_purchase(to, requested, 0);
}
/**
@notice Enforces all purchase limits (counts and costs) before calling
_handlePurchase(), after which the received funds are disbursed to the
beneficiary, less any required refunds.
@param to The final recipient of the item(s).
@param requested The number of items requested for purchase, which MAY be
reduced when passed to _handlePurchase().
@param costMetadata Arbitrary data, propagated in the call to cost(), to be
optionally used in determining the price.
*/
function _purchase(
address to,
uint256 requested,
uint256 costMetadata
) internal nonReentrant whenNotPaused {
/**
* ##### CHECKS
*/
SellerConfig memory config = sellerConfig;
uint256 n = config.maxPerTx == 0
? requested
: Math.min(requested, config.maxPerTx);
uint256 maxAvailable;
uint256 sold;
if (config.reserveFreeQuota) {
maxAvailable = config.totalInventory - config.freeQuota;
sold = _totalSold.current() - purchasedFreeOfCharge.current();
} else {
maxAvailable = config.totalInventory;
sold = _totalSold.current();
}
n = Math.min(n, maxAvailable - sold);
require(n > 0, "Seller: Sold out");
if (config.maxPerAddress > 0) {
bool alsoLimitSender = _msgSender() != to;
// solhint-disable-next-line avoid-tx-origin
bool alsoLimitOrigin = tx.origin != _msgSender() && tx.origin != to;
n = _capExtra(n, to, "Buyer limit");
if (alsoLimitSender) {
n = _capExtra(n, _msgSender(), "Sender limit");
}
if (alsoLimitOrigin) {
// solhint-disable-next-line avoid-tx-origin
n = _capExtra(n, tx.origin, "Origin limit");
}
_bought[to] += n;
if (alsoLimitSender) {
_bought[_msgSender()] += n;
}
if (alsoLimitOrigin) {
// solhint-disable-next-line avoid-tx-origin
_bought[tx.origin] += n;
}
}
uint256 _cost = cost(n, costMetadata);
if (msg.value < _cost) {
revert(
string(
abi.encodePacked(
"Seller: Costs ",
(_cost / 1e9).toString(),
" GWei"
)
)
);
}
/**
* ##### EFFECTS
*/
_totalSold.add(n);
assert(_totalSold.current() <= config.totalInventory);
/**
* ##### INTERACTIONS
*/
// As _handlePurchase() is often an ERC721 safeMint(), it constitutes an
// interaction.
_handlePurchase(to, n, false);
// Ideally we'd be using a PullPayment here, but the user experience is
// poor when there's a variable cost or the number of items purchased
// has been capped. We've addressed reentrancy with both a nonReentrant
// modifier and the checks, effects, interactions pattern.
if (_cost > 0) {
beneficiary.sendValue(_cost);
emit Revenue(beneficiary, n, _cost);
}
if (msg.value > _cost) {
address payable reimburse = payable(_msgSender());
uint256 refund = msg.value - _cost;
// Using Address.sendValue() here would mask the revertMsg upon
// reentrancy, but we want to expose it to allow for more precise
// testing. This otherwise uses the exact same pattern as
// Address.sendValue().
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returnData) = reimburse.call{
value: refund
}("");
// Although `returnData` will have a spurious prefix, all we really
// care about is that it contains the ReentrancyGuard reversion
// message so we can check in the tests.
require(success, string(returnData));
emit Refund(reimburse, refund);
}
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2023 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import {AccessControlEnumerable as ACE} from "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
contract AccessControlEnumerable is ACE {
/// @notice The default role intended to perform access-restricted actions.
/// @dev We are using this instead of DEFAULT_ADMIN_ROLE because the latter
/// is intended to grant/revoke roles and will be secured differently.
bytes32 public constant DEFAULT_STEERING_ROLE =
keccak256("DEFAULT_STEERING_ROLE");
/// @dev Overrides supportsInterface so that inheriting contracts can
/// reference this contract instead of OZ's version for further overrides.
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ACE)
returns (bool)
{
return ACE.supportsInterface(interfaceId);
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
import {AccessControlEnumerable} from "./AccessControlEnumerable.sol";
/// @notice A Pausable contract that can only be toggled by a member of the
/// STEERING role.
contract AccessControlPausable is AccessControlEnumerable, Pausable {
/// @notice Pauses the contract.
function pause() public onlyRole(DEFAULT_STEERING_ROLE) {
Pausable._pause();
}
/// @notice Unpauses the contract.
function unpause() public onlyRole(DEFAULT_STEERING_ROLE) {
Pausable._unpause();
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
/**
@notice Provides monotonic increasing and decreasing values, similar to
OpenZeppelin's Counter but (a) limited in direction, and (b) allowing for steps
> 1.
*/
library Monotonic {
/**
@notice Holds a value that can only increase.
@dev The internal value MUST NOT be accessed directly. Instead use current()
and add().
*/
struct Increaser {
uint256 value;
}
/// @notice Returns the current value of the Increaser.
function current(Increaser storage incr) internal view returns (uint256) {
return incr.value;
}
/// @notice Adds x to the Increaser's value.
function add(Increaser storage incr, uint256 x) internal {
incr.value += x;
}
/**
@notice Holds a value that can only decrease.
@dev The internal value MUST NOT be accessed directly. Instead use current()
and subtract().
*/
struct Decreaser {
uint256 value;
}
/// @notice Returns the current value of the Decreaser.
function current(Decreaser storage decr) internal view returns (uint256) {
return decr.value;
}
/// @notice Subtracts x from the Decreaser's value.
function subtract(Decreaser storage decr, uint256 x) internal {
decr.value -= x;
}
}
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
/// @notice A Pausable contract that can only be toggled by the Owner.
contract OwnerPausable is Ownable, Pausable {
/// @notice Pauses the contract.
function pause() public onlyOwner {
Pausable._pause();
}
/// @notice Unpauses the contract.
function unpause() public onlyOwner {
Pausable._unpause();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```solidity
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```solidity
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(account),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";
/**
* @dev Extension of {AccessControl} that allows enumerating the members of each role.
*/
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
return _roleMembers[role].at(index);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
return _roleMembers[role].length();
}
/**
* @dev Overload {_grantRole} to track enumerable memberships
*/
function _grantRole(bytes32 role, address account) internal virtual override {
super._grantRole(role, account);
_roleMembers[role].add(account);
}
/**
* @dev Overload {_revokeRole} to track enumerable memberships
*/
function _revokeRole(bytes32 role, address account) internal virtual override {
super._revokeRole(role, account);
_roleMembers[role].remove(account);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
/**
* @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
*/
interface IAccessControlEnumerable is IAccessControl {
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) external view returns (uint256);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorCountingSimple.sol)
pragma solidity ^0.8.0;
import "../Governor.sol";
/**
* @dev Extension of {Governor} for simple, 3 options, vote counting.
*
* _Available since v4.3._
*/
abstract contract GovernorCountingSimple is Governor {
/**
* @dev Supported vote types. Matches Governor Bravo ordering.
*/
enum VoteType {
Against,
For,
Abstain
}
struct ProposalVote {
uint256 againstVotes;
uint256 forVotes;
uint256 abstainVotes;
mapping(address => bool) hasVoted;
}
mapping(uint256 => ProposalVote) private _proposalVotes;
/**
* @dev See {IGovernor-COUNTING_MODE}.
*/
// solhint-disable-next-line func-name-mixedcase
function COUNTING_MODE() public pure virtual override returns (string memory) {
return "support=bravo&quorum=for,abstain";
}
/**
* @dev See {IGovernor-hasVoted}.
*/
function hasVoted(uint256 proposalId, address account) public view virtual override returns (bool) {
return _proposalVotes[proposalId].hasVoted[account];
}
/**
* @dev Accessor to the internal vote counts.
*/
function proposalVotes(
uint256 proposalId
) public view virtual returns (uint256 againstVotes, uint256 forVotes, uint256 abstainVotes) {
ProposalVote storage proposalVote = _proposalVotes[proposalId];
return (proposalVote.againstVotes, proposalVote.forVotes, proposalVote.abstainVotes);
}
/**
* @dev See {Governor-_quorumReached}.
*/
function _quorumReached(uint256 proposalId) internal view virtual override returns (bool) {
ProposalVote storage proposalVote = _proposalVotes[proposalId];
return quorum(proposalSnapshot(proposalId)) <= proposalVote.forVotes + proposalVote.abstainVotes;
}
/**
* @dev See {Governor-_voteSucceeded}. In this module, the forVotes must be strictly over the againstVotes.
*/
function _voteSucceeded(uint256 proposalId) internal view virtual override returns (bool) {
ProposalVote storage proposalVote = _proposalVotes[proposalId];
return proposalVote.forVotes > proposalVote.againstVotes;
}
/**
* @dev See {Governor-_countVote}. In this module, the support follows the `VoteType` enum (from Governor Bravo).
*/
function _countVote(
uint256 proposalId,
address account,
uint8 support,
uint256 weight,
bytes memory // params
) internal virtual override {
ProposalVote storage proposalVote = _proposalVotes[proposalId];
require(!proposalVote.hasVoted[account], "GovernorVotingSimple: vote already cast");
proposalVote.hasVoted[account] = true;
if (support == uint8(VoteType.Against)) {
proposalVote.againstVotes += weight;
} else if (support == uint8(VoteType.For)) {
proposalVote.forVotes += weight;
} else if (support == uint8(VoteType.Abstain)) {
proposalVote.abstainVotes += weight;
} else {
revert("GovernorVotingSimple: invalid value for enum VoteType");
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorVotes.sol)
pragma solidity ^0.8.0;
import "../Governor.sol";
import "../../interfaces/IERC5805.sol";
/**
* @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token, or since v4.5 an {ERC721Votes} token.
*
* _Available since v4.3._
*/
abstract contract GovernorVotes is Governor {
IERC5805 public immutable token;
constructor(IVotes tokenAddress) {
token = IERC5805(address(tokenAddress));
}
/**
* @dev Clock (as specified in EIP-6372) is set to match the token's clock. Fallback to block numbers if the token
* does not implement EIP-6372.
*/
function clock() public view virtual override returns (uint48) {
try token.clock() returns (uint48 timepoint) {
return timepoint;
} catch {
return SafeCast.toUint48(block.number);
}
}
/**
* @dev Machine-readable description of the clock as specified in EIP-6372.
*/
// solhint-disable-next-line func-name-mixedcase
function CLOCK_MODE() public view virtual override returns (string memory) {
try token.CLOCK_MODE() returns (string memory clockmode) {
return clockmode;
} catch {
return "mode=blocknumber&from=default";
}
}
/**
* Read the voting weight from the token's built in snapshot mechanism (see {Governor-_getVotes}).
*/
function _getVotes(
address account,
uint256 timepoint,
bytes memory /*params*/
) internal view virtual override returns (uint256) {
return token.getPastVotes(account, timepoint);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
pragma solidity ^0.8.0;
import "./GovernorVotes.sol";
import "../../utils/Checkpoints.sol";
import "../../utils/math/SafeCast.sol";
/**
* @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token and a quorum expressed as a
* fraction of the total supply.
*
* _Available since v4.3._
*/
abstract contract GovernorVotesQuorumFraction is GovernorVotes {
using Checkpoints for Checkpoints.Trace224;
uint256 private _quorumNumerator; // DEPRECATED in favor of _quorumNumeratorHistory
/// @custom:oz-retyped-from Checkpoints.History
Checkpoints.Trace224 private _quorumNumeratorHistory;
event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator);
/**
* @dev Initialize quorum as a fraction of the token's total supply.
*
* The fraction is specified as `numerator / denominator`. By default the denominator is 100, so quorum is
* specified as a percent: a numerator of 10 corresponds to quorum being 10% of total supply. The denominator can be
* customized by overriding {quorumDenominator}.
*/
constructor(uint256 quorumNumeratorValue) {
_updateQuorumNumerator(quorumNumeratorValue);
}
/**
* @dev Returns the current quorum numerator. See {quorumDenominator}.
*/
function quorumNumerator() public view virtual returns (uint256) {
return _quorumNumeratorHistory._checkpoints.length == 0 ? _quorumNumerator : _quorumNumeratorHistory.latest();
}
/**
* @dev Returns the quorum numerator at a specific timepoint. See {quorumDenominator}.
*/
function quorumNumerator(uint256 timepoint) public view virtual returns (uint256) {
// If history is empty, fallback to old storage
uint256 length = _quorumNumeratorHistory._checkpoints.length;
if (length == 0) {
return _quorumNumerator;
}
// Optimistic search, check the latest checkpoint
Checkpoints.Checkpoint224 memory latest = _quorumNumeratorHistory._checkpoints[length - 1];
if (latest._key <= timepoint) {
return latest._value;
}
// Otherwise, do the binary search
return _quorumNumeratorHistory.upperLookupRecent(SafeCast.toUint32(timepoint));
}
/**
* @dev Returns the quorum denominator. Defaults to 100, but may be overridden.
*/
function quorumDenominator() public view virtual returns (uint256) {
return 100;
}
/**
* @dev Returns the quorum for a timepoint, in terms of number of votes: `supply * numerator / denominator`.
*/
function quorum(uint256 timepoint) public view virtual override returns (uint256) {
return (token.getPastTotalSupply(timepoint) * quorumNumerator(timepoint)) / quorumDenominator();
}
/**
* @dev Changes the quorum numerator.
*
* Emits a {QuorumNumeratorUpdated} event.
*
* Requirements:
*
* - Must be called through a governance proposal.
* - New numerator must be smaller or equal to the denominator.
*/
function updateQuorumNumerator(uint256 newQuorumNumerator) external virtual onlyGovernance {
_updateQuorumNumerator(newQuorumNumerator);
}
/**
* @dev Changes the quorum numerator.
*
* Emits a {QuorumNumeratorUpdated} event.
*
* Requirements:
*
* - New numerator must be smaller or equal to the denominator.
*/
function _updateQuorumNumerator(uint256 newQuorumNumerator) internal virtual {
require(
newQuorumNumerator <= quorumDenominator(),
"GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator"
);
uint256 oldQuorumNumerator = quorumNumerator();
// Make sure we keep track of the original numerator in contracts upgraded from a version without checkpoints.
if (oldQuorumNumerator != 0 && _quorumNumeratorHistory._checkpoints.length == 0) {
_quorumNumeratorHistory._checkpoints.push(
Checkpoints.Checkpoint224({_key: 0, _value: SafeCast.toUint224(oldQuorumNumerator)})
);
}
// Set new quorum for future proposals
_quorumNumeratorHistory.push(SafeCast.toUint32(clock()), SafeCast.toUint224(newQuorumNumerator));
emit QuorumNumeratorUpdated(oldQuorumNumerator, newQuorumNumerator);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.1) (governance/Governor.sol)
pragma solidity ^0.8.0;
import "../token/ERC721/IERC721Receiver.sol";
import "../token/ERC1155/IERC1155Receiver.sol";
import "../utils/cryptography/ECDSA.sol";
import "../utils/cryptography/EIP712.sol";
import "../utils/introspection/ERC165.sol";
import "../utils/math/SafeCast.sol";
import "../utils/structs/DoubleEndedQueue.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
import "./IGovernor.sol";
/**
* @dev Core of the governance system, designed to be extended though various modules.
*
* This contract is abstract and requires several functions to be implemented in various modules:
*
* - A counting module must implement {quorum}, {_quorumReached}, {_voteSucceeded} and {_countVote}
* - A voting module must implement {_getVotes}
* - Additionally, {votingPeriod} must also be implemented
*
* _Available since v4.3._
*/
abstract contract Governor is Context, ERC165, EIP712, IGovernor, IERC721Receiver, IERC1155Receiver {
using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
bytes32 public constant BALLOT_TYPEHASH = keccak256("Ballot(uint256 proposalId,uint8 support)");
bytes32 public constant EXTENDED_BALLOT_TYPEHASH =
keccak256("ExtendedBallot(uint256 proposalId,uint8 support,string reason,bytes params)");
// solhint-disable var-name-mixedcase
struct ProposalCore {
// --- start retyped from Timers.BlockNumber at offset 0x00 ---
uint64 voteStart;
address proposer;
bytes4 __gap_unused0;
// --- start retyped from Timers.BlockNumber at offset 0x20 ---
uint64 voteEnd;
bytes24 __gap_unused1;
// --- Remaining fields starting at offset 0x40 ---------------
bool executed;
bool canceled;
}
// solhint-enable var-name-mixedcase
string private _name;
/// @custom:oz-retyped-from mapping(uint256 => Governor.ProposalCore)
mapping(uint256 => ProposalCore) private _proposals;
// This queue keeps track of the governor operating on itself. Calls to functions protected by the
// {onlyGovernance} modifier needs to be whitelisted in this queue. Whitelisting is set in {_beforeExecute},
// consumed by the {onlyGovernance} modifier and eventually reset in {_afterExecute}. This ensures that the
// execution of {onlyGovernance} protected calls can only be achieved through successful proposals.
DoubleEndedQueue.Bytes32Deque private _governanceCall;
/**
* @dev Restricts a function so it can only be executed through governance proposals. For example, governance
* parameter setters in {GovernorSettings} are protected using this modifier.
*
* The governance executing address may be different from the Governor's own address, for example it could be a
* timelock. This can be customized by modules by overriding {_executor}. The executor is only able to invoke these
* functions during the execution of the governor's {execute} function, and not under any other circumstances. Thus,
* for example, additional timelock proposers are not able to change governance parameters without going through the
* governance protocol (since v4.6).
*/
modifier onlyGovernance() {
require(_msgSender() == _executor(), "Governor: onlyGovernance");
if (_executor() != address(this)) {
bytes32 msgDataHash = keccak256(_msgData());
// loop until popping the expected operation - throw if deque is empty (operation not authorized)
while (_governanceCall.popFront() != msgDataHash) {}
}
_;
}
/**
* @dev Sets the value for {name} and {version}
*/
constructor(string memory name_) EIP712(name_, version()) {
_name = name_;
}
/**
* @dev Function to receive ETH that will be handled by the governor (disabled if executor is a third party contract)
*/
receive() external payable virtual {
require(_executor() == address(this), "Governor: must send to executor");
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
bytes4 governorCancelId = this.cancel.selector ^ this.proposalProposer.selector;
bytes4 governorParamsId = this.castVoteWithReasonAndParams.selector ^
this.castVoteWithReasonAndParamsBySig.selector ^
this.getVotesWithParams.selector;
// The original interface id in v4.3.
bytes4 governor43Id = type(IGovernor).interfaceId ^
type(IERC6372).interfaceId ^
governorCancelId ^
governorParamsId;
// An updated interface id in v4.6, with params added.
bytes4 governor46Id = type(IGovernor).interfaceId ^ type(IERC6372).interfaceId ^ governorCancelId;
// For the updated interface id in v4.9, we use governorCancelId directly.
return
interfaceId == governor43Id ||
interfaceId == governor46Id ||
interfaceId == governorCancelId ||
interfaceId == type(IERC1155Receiver).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IGovernor-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IGovernor-version}.
*/
function version() public view virtual override returns (string memory) {
return "1";
}
/**
* @dev See {IGovernor-hashProposal}.
*
* The proposal id is produced by hashing the ABI encoded `targets` array, the `values` array, the `calldatas` array
* and the descriptionHash (bytes32 which itself is the keccak256 hash of the description string). This proposal id
* can be produced from the proposal data which is part of the {ProposalCreated} event. It can even be computed in
* advance, before the proposal is submitted.
*
* Note that the chainId and the governor address are not part of the proposal id computation. Consequently, the
* same proposal (with same operation and same description) will have the same id if submitted on multiple governors
* across multiple networks. This also means that in order to execute the same operation twice (on the same
* governor) the proposer will have to change the description in order to avoid proposal id conflicts.
*/
function hashProposal(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) public pure virtual override returns (uint256) {
return uint256(keccak256(abi.encode(targets, values, calldatas, descriptionHash)));
}
/**
* @dev See {IGovernor-state}.
*/
function state(uint256 proposalId) public view virtual override returns (ProposalState) {
ProposalCore storage proposal = _proposals[proposalId];
if (proposal.executed) {
return ProposalState.Executed;
}
if (proposal.canceled) {
return ProposalState.Canceled;
}
uint256 snapshot = proposalSnapshot(proposalId);
if (snapshot == 0) {
revert("Governor: unknown proposal id");
}
uint256 currentTimepoint = clock();
if (snapshot >= currentTimepoint) {
return ProposalState.Pending;
}
uint256 deadline = proposalDeadline(proposalId);
if (deadline >= currentTimepoint) {
return ProposalState.Active;
}
if (_quorumReached(proposalId) && _voteSucceeded(proposalId)) {
return ProposalState.Succeeded;
} else {
return ProposalState.Defeated;
}
}
/**
* @dev Part of the Governor Bravo's interface: _"The number of votes required in order for a voter to become a proposer"_.
*/
function proposalThreshold() public view virtual returns (uint256) {
return 0;
}
/**
* @dev See {IGovernor-proposalSnapshot}.
*/
function proposalSnapshot(uint256 proposalId) public view virtual override returns (uint256) {
return _proposals[proposalId].voteStart;
}
/**
* @dev See {IGovernor-proposalDeadline}.
*/
function proposalDeadline(uint256 proposalId) public view virtual override returns (uint256) {
return _proposals[proposalId].voteEnd;
}
/**
* @dev Returns the account that created a given proposal.
*/
function proposalProposer(uint256 proposalId) public view virtual override returns (address) {
return _proposals[proposalId].proposer;
}
/**
* @dev Amount of votes already cast passes the threshold limit.
*/
function _quorumReached(uint256 proposalId) internal view virtual returns (bool);
/**
* @dev Is the proposal successful or not.
*/
function _voteSucceeded(uint256 proposalId) internal view virtual returns (bool);
/**
* @dev Get the voting weight of `account` at a specific `timepoint`, for a vote as described by `params`.
*/
function _getVotes(address account, uint256 timepoint, bytes memory params) internal view virtual returns (uint256);
/**
* @dev Register a vote for `proposalId` by `account` with a given `support`, voting `weight` and voting `params`.
*
* Note: Support is generic and can represent various things depending on the voting system used.
*/
function _countVote(
uint256 proposalId,
address account,
uint8 support,
uint256 weight,
bytes memory params
) internal virtual;
/**
* @dev Default additional encoded parameters used by castVote methods that don't include them
*
* Note: Should be overridden by specific implementations to use an appropriate value, the
* meaning of the additional params, in the context of that implementation
*/
function _defaultParams() internal view virtual returns (bytes memory) {
return "";
}
/**
* @dev See {IGovernor-propose}. This function has opt-in frontrunning protection, described in {_isValidDescriptionForProposer}.
*/
function propose(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
string memory description
) public virtual override returns (uint256) {
address proposer = _msgSender();
require(_isValidDescriptionForProposer(proposer, description), "Governor: proposer restricted");
uint256 currentTimepoint = clock();
require(
getVotes(proposer, currentTimepoint - 1) >= proposalThreshold(),
"Governor: proposer votes below proposal threshold"
);
uint256 proposalId = hashProposal(targets, values, calldatas, keccak256(bytes(description)));
require(targets.length == values.length, "Governor: invalid proposal length");
require(targets.length == calldatas.length, "Governor: invalid proposal length");
require(targets.length > 0, "Governor: empty proposal");
require(_proposals[proposalId].voteStart == 0, "Governor: proposal already exists");
uint256 snapshot = currentTimepoint + votingDelay();
uint256 deadline = snapshot + votingPeriod();
_proposals[proposalId] = ProposalCore({
proposer: proposer,
voteStart: SafeCast.toUint64(snapshot),
voteEnd: SafeCast.toUint64(deadline),
executed: false,
canceled: false,
__gap_unused0: 0,
__gap_unused1: 0
});
emit ProposalCreated(
proposalId,
proposer,
targets,
values,
new string[](targets.length),
calldatas,
snapshot,
deadline,
description
);
return proposalId;
}
/**
* @dev See {IGovernor-execute}.
*/
function execute(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) public payable virtual override returns (uint256) {
uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);
ProposalState currentState = state(proposalId);
require(
currentState == ProposalState.Succeeded || currentState == ProposalState.Queued,
"Governor: proposal not successful"
);
_proposals[proposalId].executed = true;
emit ProposalExecuted(proposalId);
_beforeExecute(proposalId, targets, values, calldatas, descriptionHash);
_execute(proposalId, targets, values, calldatas, descriptionHash);
_afterExecute(proposalId, targets, values, calldatas, descriptionHash);
return proposalId;
}
/**
* @dev See {IGovernor-cancel}.
*/
function cancel(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) public virtual override returns (uint256) {
uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);
require(state(proposalId) == ProposalState.Pending, "Governor: too late to cancel");
require(_msgSender() == _proposals[proposalId].proposer, "Governor: only proposer can cancel");
return _cancel(targets, values, calldatas, descriptionHash);
}
/**
* @dev Internal execution mechanism. Can be overridden to implement different execution mechanism
*/
function _execute(
uint256 /* proposalId */,
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 /*descriptionHash*/
) internal virtual {
string memory errorMessage = "Governor: call reverted without message";
for (uint256 i = 0; i < targets.length; ++i) {
(bool success, bytes memory returndata) = targets[i].call{value: values[i]}(calldatas[i]);
Address.verifyCallResult(success, returndata, errorMessage);
}
}
/**
* @dev Hook before execution is triggered.
*/
function _beforeExecute(
uint256 /* proposalId */,
address[] memory targets,
uint256[] memory /* values */,
bytes[] memory calldatas,
bytes32 /*descriptionHash*/
) internal virtual {
if (_executor() != address(this)) {
for (uint256 i = 0; i < targets.length; ++i) {
if (targets[i] == address(this)) {
_governanceCall.pushBack(keccak256(calldatas[i]));
}
}
}
}
/**
* @dev Hook after execution is triggered.
*/
function _afterExecute(
uint256 /* proposalId */,
address[] memory /* targets */,
uint256[] memory /* values */,
bytes[] memory /* calldatas */,
bytes32 /*descriptionHash*/
) internal virtual {
if (_executor() != address(this)) {
if (!_governanceCall.empty()) {
_governanceCall.clear();
}
}
}
/**
* @dev Internal cancel mechanism: locks up the proposal timer, preventing it from being re-submitted. Marks it as
* canceled to allow distinguishing it from executed proposals.
*
* Emits a {IGovernor-ProposalCanceled} event.
*/
function _cancel(
address[] memory targets,
uint256[] memory values,
bytes[] memory calldatas,
bytes32 descriptionHash
) internal virtual returns (uint256) {
uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);
ProposalState currentState = state(proposalId);
require(
currentState != ProposalState.Canceled &&
currentState != ProposalState.Expired &&
currentState != ProposalState.Executed,
"Governor: proposal not active"
);
_proposals[proposalId].canceled = true;
emit ProposalCanceled(proposalId);
return proposalId;
}
/**
* @dev See {IGovernor-getVotes}.
*/
function getVotes(address account, uint256 timepoint) public view virtual override returns (uint256) {
return _getVotes(account, timepoint, _defaultParams());
}
/**
* @dev See {IGovernor-getVotesWithParams}.
*/
function getVotesWithParams(
address account,
uint256 timepoint,
bytes memory params
) public view virtual override returns (uint256) {
return _getVotes(account, timepoint, params);
}
/**
* @dev See {IGovernor-castVote}.
*/
function castVote(uint256 proposalId, uint8 support) public virtual override returns (uint256) {
address voter = _msgSender();
return _castVote(proposalId, voter, support, "");
}
/**
* @dev See {IGovernor-castVoteWithReason}.
*/
function castVoteWithReason(
uint256 proposalId,
uint8 support,
string calldata reason
) public virtual override returns (uint256) {
address voter = _msgSender();
return _castVote(proposalId, voter, support, reason);
}
/**
* @dev See {IGovernor-castVoteWithReasonAndParams}.
*/
function castVoteWithReasonAndParams(
uint256 proposalId,
uint8 support,
string calldata reason,
bytes memory params
) public virtual override returns (uint256) {
address voter = _msgSender();
return _castVote(proposalId, voter, support, reason, params);
}
/**
* @dev See {IGovernor-castVoteBySig}.
*/
function castVoteBySig(
uint256 proposalId,
uint8 support,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override returns (uint256) {
address voter = ECDSA.recover(
_hashTypedDataV4(keccak256(abi.encode(BALLOT_TYPEHASH, proposalId, support))),
v,
r,
s
);
return _castVote(proposalId, voter, support, "");
}
/**
* @dev See {IGovernor-castVoteWithReasonAndParamsBySig}.
*/
function castVoteWithReasonAndParamsBySig(
uint256 proposalId,
uint8 support,
string calldata reason,
bytes memory params,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override returns (uint256) {
address voter = ECDSA.recover(
_hashTypedDataV4(
keccak256(
abi.encode(
EXTENDED_BALLOT_TYPEHASH,
proposalId,
support,
keccak256(bytes(reason)),
keccak256(params)
)
)
),
v,
r,
s
);
return _castVote(proposalId, voter, support, reason, params);
}
/**
* @dev Internal vote casting mechanism: Check that the vote is pending, that it has not been cast yet, retrieve
* voting weight using {IGovernor-getVotes} and call the {_countVote} internal function. Uses the _defaultParams().
*
* Emits a {IGovernor-VoteCast} event.
*/
function _castVote(
uint256 proposalId,
address account,
uint8 support,
string memory reason
) internal virtual returns (uint256) {
return _castVote(proposalId, account, support, reason, _defaultParams());
}
/**
* @dev Internal vote casting mechanism: Check that the vote is pending, that it has not been cast yet, retrieve
* voting weight using {IGovernor-getVotes} and call the {_countVote} internal function.
*
* Emits a {IGovernor-VoteCast} event.
*/
function _castVote(
uint256 proposalId,
address account,
uint8 support,
string memory reason,
bytes memory params
) internal virtual returns (uint256) {
ProposalCore storage proposal = _proposals[proposalId];
require(state(proposalId) == ProposalState.Active, "Governor: vote not currently active");
uint256 weight = _getVotes(account, proposal.voteStart, params);
_countVote(proposalId, account, support, weight, params);
if (params.length == 0) {
emit VoteCast(account, proposalId, support, weight, reason);
} else {
emit VoteCastWithParams(account, proposalId, support, weight, reason, params);
}
return weight;
}
/**
* @dev Relays a transaction or function call to an arbitrary target. In cases where the governance executor
* is some contract other than the governor itself, like when using a timelock, this function can be invoked
* in a governance proposal to recover tokens or Ether that was sent to the governor contract by mistake.
* Note that if the executor is simply the governor itself, use of `relay` is redundant.
*/
function relay(address target, uint256 value, bytes calldata data) external payable virtual onlyGovernance {
(bool success, bytes memory returndata) = target.call{value: value}(data);
Address.verifyCallResult(success, returndata, "Governor: relay reverted without message");
}
/**
* @dev Address through which the governor executes action. Will be overloaded by module that execute actions
* through another contract such as a timelock.
*/
function _executor() internal view virtual returns (address) {
return address(this);
}
/**
* @dev See {IERC721Receiver-onERC721Received}.
*/
function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) {
return this.onERC721Received.selector;
}
/**
* @dev See {IERC1155Receiver-onERC1155Received}.
*/
function onERC1155Received(
address,
address,
uint256,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155Received.selector;
}
/**
* @dev See {IERC1155Receiver-onERC1155BatchReceived}.
*/
function onERC1155BatchReceived(
address,
address,
uint256[] memory,
uint256[] memory,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155BatchReceived.selector;
}
/**
* @dev Check if the proposer is authorized to submit a proposal with the given description.
*
* If the proposal description ends with `#proposer=0x???`, where `0x???` is an address written as a hex string
* (case insensitive), then the submission of this proposal will only be authorized to said address.
*
* This is used for frontrunning protection. By adding this pattern at the end of their proposal, one can ensure
* that no other address can submit the same proposal. An attacker would have to either remove or change that part,
* which would result in a different proposal id.
*
* If the description does not match this pattern, it is unrestricted and anyone can submit it. This includes:
* - If the `0x???` part is not a valid hex string.
* - If the `0x???` part is a valid hex string, but does not contain exactly 40 hex digits.
* - If it ends with the expected suffix followed by newlines or other whitespace.
* - If it ends with some other similar suffix, e.g. `#other=abc`.
* - If it does not end with any such suffix.
*/
function _isValidDescriptionForProposer(
address proposer,
string memory description
) internal view virtual returns (bool) {
uint256 len = bytes(description).length;
// Length is too short to contain a valid proposer suffix
if (len < 52) {
return true;
}
// Extract what would be the `#proposer=0x` marker beginning the suffix
bytes12 marker;
assembly {
// - Start of the string contents in memory = description + 32
// - First character of the marker = len - 52
// - Length of "#proposer=0x0000000000000000000000000000000000000000" = 52
// - We read the memory word starting at the first character of the marker:
// - (description + 32) + (len - 52) = description + (len - 20)
// - Note: Solidity will ignore anything past the first 12 bytes
marker := mload(add(description, sub(len, 20)))
}
// If the marker is not found, there is no proposer suffix to check
if (marker != bytes12("#proposer=0x")) {
return true;
}
// Parse the 40 characters following the marker as uint160
uint160 recovered = 0;
for (uint256 i = len - 40; i < len; ++i) {
(bool isHex, uint8 value) = _tryHexToUint(bytes(description)[i]);
// If any of the characters is not a hex digit, ignore the suffix entirely
if (!isHex) {
return true;
}
recovered = (recovered << 4) | value;
}
return recovered == uint160(proposer);
}
/**
* @dev Try to parse a character from a string as a hex value. Returns `(true, value)` if the char is in
* `[0-9a-fA-F]` and `(false, 0)` otherwise. Value is guaranteed to be in the range `0 <= value < 16`
*/
function _tryHexToUint(bytes1 char) private pure returns (bool, uint8) {
uint8 c = uint8(char);
unchecked {
// Case 0-9
if (47 < c && c < 58) {
return (true, c - 48);
}
// Case A-F
else if (64 < c && c < 71) {
return (true, c - 55);
}
// Case a-f
else if (96 < c && c < 103) {
return (true, c - 87);
}
// Else: not a hex char
else {
return (false, 0);
}
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)
pragma solidity ^0.8.0;
import "../utils/introspection/IERC165.sol";
/**
* @dev Interface for the NFT Royalty Standard.
*
* A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
* support for royalty payments across all NFT marketplaces and ecosystem participants.
*
* _Available since v4.5._
*/
interface IERC2981 is IERC165 {
/**
* @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) external view returns (address receiver, uint256 royaltyAmount);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5805.sol)
pragma solidity ^0.8.0;
import "../governance/utils/IVotes.sol";
import "./IERC6372.sol";
interface IERC5805 is IERC6372, IVotes {}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)
pragma solidity ^0.8.0;
import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)
pragma solidity ^0.8.0;
import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*
* _Available since v4.5._
*/
abstract contract ERC2981 is IERC2981, ERC165 {
struct RoyaltyInfo {
address receiver;
uint96 royaltyFraction;
}
RoyaltyInfo private _defaultRoyaltyInfo;
mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @inheritdoc IERC2981
*/
function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) {
RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];
if (royalty.receiver == address(0)) {
royalty = _defaultRoyaltyInfo;
}
uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();
return (royalty.receiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: invalid receiver");
_defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Removes default royalty information.
*/
function _deleteDefaultRoyalty() internal virtual {
delete _defaultRoyaltyInfo;
}
/**
* @dev Sets the royalty information for a specific token id, overriding the global default.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
require(receiver != address(0), "ERC2981: Invalid parameters");
_tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Resets royalty information for the token id back to the global default.
*/
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
delete _tokenRoyaltyInfo[tokenId];
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens 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 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/draft-ERC20Permit.sol)
pragma solidity ^0.8.0;
// EIP-2612 is Final as of 2022-11-01. This file is deprecated.
import "./ERC20Permit.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
_spendAllowance(account, _msgSender(), amount);
_burn(account, amount);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Permit.sol)
pragma solidity ^0.8.0;
import "./IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/cryptography/EIP712.sol";
import "../../../utils/Counters.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping(address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private constant _PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
* However, to ensure consistency with the upgradeable transpiler, we will continue
* to reserve a slot.
* @custom:oz-renamed-from _PERMIT_TYPEHASH
*/
// solhint-disable-next-line var-name-mixedcase
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Votes.sol)
pragma solidity ^0.8.0;
import "./ERC20Permit.sol";
import "../../../interfaces/IERC5805.sol";
import "../../../utils/math/Math.sol";
import "../../../utils/math/SafeCast.sol";
import "../../../utils/cryptography/ECDSA.sol";
/**
* @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
* and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
*
* NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
*
* This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
* by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
* power can be queried through the public accessors {getVotes} and {getPastVotes}.
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
*
* _Available since v4.2._
*/
abstract contract ERC20Votes is ERC20Permit, IERC5805 {
struct Checkpoint {
uint32 fromBlock;
uint224 votes;
}
bytes32 private constant _DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
mapping(address => address) private _delegates;
mapping(address => Checkpoint[]) private _checkpoints;
Checkpoint[] private _totalSupplyCheckpoints;
/**
* @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).
*/
function clock() public view virtual override returns (uint48) {
return SafeCast.toUint48(block.number);
}
/**
* @dev Description of the clock
*/
// solhint-disable-next-line func-name-mixedcase
function CLOCK_MODE() public view virtual override returns (string memory) {
// Check that the clock was not modified
require(clock() == block.number, "ERC20Votes: broken clock mode");
return "mode=blocknumber&from=default";
}
/**
* @dev Get the `pos`-th checkpoint for `account`.
*/
function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
return _checkpoints[account][pos];
}
/**
* @dev Get number of checkpoints for `account`.
*/
function numCheckpoints(address account) public view virtual returns (uint32) {
return SafeCast.toUint32(_checkpoints[account].length);
}
/**
* @dev Get the address `account` is currently delegating to.
*/
function delegates(address account) public view virtual override returns (address) {
return _delegates[account];
}
/**
* @dev Gets the current votes balance for `account`
*/
function getVotes(address account) public view virtual override returns (uint256) {
uint256 pos = _checkpoints[account].length;
unchecked {
return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
}
}
/**
* @dev Retrieve the number of votes for `account` at the end of `timepoint`.
*
* Requirements:
*
* - `timepoint` must be in the past
*/
function getPastVotes(address account, uint256 timepoint) public view virtual override returns (uint256) {
require(timepoint < clock(), "ERC20Votes: future lookup");
return _checkpointsLookup(_checkpoints[account], timepoint);
}
/**
* @dev Retrieve the `totalSupply` at the end of `timepoint`. Note, this value is the sum of all balances.
* It is NOT the sum of all the delegated votes!
*
* Requirements:
*
* - `timepoint` must be in the past
*/
function getPastTotalSupply(uint256 timepoint) public view virtual override returns (uint256) {
require(timepoint < clock(), "ERC20Votes: future lookup");
return _checkpointsLookup(_totalSupplyCheckpoints, timepoint);
}
/**
* @dev Lookup a value in a list of (sorted) checkpoints.
*/
function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 timepoint) private view returns (uint256) {
// We run a binary search to look for the last (most recent) checkpoint taken before (or at) `timepoint`.
//
// Initially we check if the block is recent to narrow the search range.
// During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
// With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
// - If the middle checkpoint is after `timepoint`, we look in [low, mid)
// - If the middle checkpoint is before or equal to `timepoint`, we look in [mid+1, high)
// Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
// out of bounds (in which case we're looking too far in the past and the result is 0).
// Note that if the latest checkpoint available is exactly for `timepoint`, we end up with an index that is
// past the end of the array, so we technically don't find a checkpoint after `timepoint`, but it works out
// the same.
uint256 length = ckpts.length;
uint256 low = 0;
uint256 high = length;
if (length > 5) {
uint256 mid = length - Math.sqrt(length);
if (_unsafeAccess(ckpts, mid).fromBlock > timepoint) {
high = mid;
} else {
low = mid + 1;
}
}
while (low < high) {
uint256 mid = Math.average(low, high);
if (_unsafeAccess(ckpts, mid).fromBlock > timepoint) {
high = mid;
} else {
low = mid + 1;
}
}
unchecked {
return high == 0 ? 0 : _unsafeAccess(ckpts, high - 1).votes;
}
}
/**
* @dev Delegate votes from the sender to `delegatee`.
*/
function delegate(address delegatee) public virtual override {
_delegate(_msgSender(), delegatee);
}
/**
* @dev Delegates votes from signer to `delegatee`
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public virtual override {
require(block.timestamp <= expiry, "ERC20Votes: signature expired");
address signer = ECDSA.recover(
_hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
v,
r,
s
);
require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
_delegate(signer, delegatee);
}
/**
* @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
*/
function _maxSupply() internal view virtual returns (uint224) {
return type(uint224).max;
}
/**
* @dev Snapshots the totalSupply after it has been increased.
*/
function _mint(address account, uint256 amount) internal virtual override {
super._mint(account, amount);
require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");
_writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
}
/**
* @dev Snapshots the totalSupply after it has been decreased.
*/
function _burn(address account, uint256 amount) internal virtual override {
super._burn(account, amount);
_writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
}
/**
* @dev Move voting power when tokens are transferred.
*
* Emits a {IVotes-DelegateVotesChanged} event.
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override {
super._afterTokenTransfer(from, to, amount);
_moveVotingPower(delegates(from), delegates(to), amount);
}
/**
* @dev Change delegation for `delegator` to `delegatee`.
*
* Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}.
*/
function _delegate(address delegator, address delegatee) internal virtual {
address currentDelegate = delegates(delegator);
uint256 delegatorBalance = balanceOf(delegator);
_delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveVotingPower(currentDelegate, delegatee, delegatorBalance);
}
function _moveVotingPower(address src, address dst, uint256 amount) private {
if (src != dst && amount > 0) {
if (src != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
emit DelegateVotesChanged(src, oldWeight, newWeight);
}
if (dst != address(0)) {
(uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
emit DelegateVotesChanged(dst, oldWeight, newWeight);
}
}
}
function _writeCheckpoint(
Checkpoint[] storage ckpts,
function(uint256, uint256) view returns (uint256) op,
uint256 delta
) private returns (uint256 oldWeight, uint256 newWeight) {
uint256 pos = ckpts.length;
unchecked {
Checkpoint memory oldCkpt = pos == 0 ? Checkpoint(0, 0) : _unsafeAccess(ckpts, pos - 1);
oldWeight = oldCkpt.votes;
newWeight = op(oldWeight, delta);
if (pos > 0 && oldCkpt.fromBlock == clock()) {
_unsafeAccess(ckpts, pos - 1).votes = SafeCast.toUint224(newWeight);
} else {
ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(clock()), votes: SafeCast.toUint224(newWeight)}));
}
}
}
function _add(uint256 a, uint256 b) private pure returns (uint256) {
return a + b;
}
function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
return a - b;
}
/**
* @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
*/
function _unsafeAccess(Checkpoint[] storage ckpts, uint256 pos) private pure returns (Checkpoint storage result) {
assembly {
mstore(0, ckpts.slot)
result.slot := add(keccak256(0, 0x20), pos)
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @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: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _ownerOf(tokenId);
require(owner != address(0), "ERC721: invalid token ID");
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) {
_requireMinted(tokenId);
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 overridden 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 token owner or approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @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 _ownerOf(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) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1);
// Check that tokenId was not minted by `_beforeTokenTransfer` hook
require(!_exists(tokenId), "ERC721: token already minted");
unchecked {
// Will not overflow unless all 2**256 token ids are minted to the same owner.
// Given that tokens are minted one by one, it is impossible in practice that
// this ever happens. Might change if we allow batch minting.
// The ERC fails to describe this case.
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
* This is an internal function that does not check if the sender is authorized to operate on the token.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId, 1);
// Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
owner = ERC721.ownerOf(tokenId);
// Clear approvals
delete _tokenApprovals[tokenId];
unchecked {
// Cannot overflow, as that would require more tokens to be burned/transferred
// out than the owner initially received through minting and transferring in.
_balances[owner] -= 1;
}
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId, 1);
}
/**
* @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 from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId, 1);
// Check that tokenId was not transferred by `_beforeTokenTransfer` hook
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
// Clear approvals from the previous owner
delete _tokenApprovals[tokenId];
unchecked {
// `_balances[from]` cannot overflow for the same reason as described in `_burn`:
// `from`'s balance is the number of token held, which is at least one before the current
// transfer.
// `_balances[to]` could overflow in the conditions described in `_mint`. That would require
// all 2**256 token ids to be minted, which in practice is impossible.
_balances[from] -= 1;
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId, 1);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @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.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
* - When `from` is zero, the tokens will be minted for `to`.
* - When `to` is zero, ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
* - When `from` is zero, the tokens were minted for `to`.
* - When `to` is zero, ``from``'s tokens were burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}
/**
* @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
*
* WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
* being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
* that `ownerOf(tokenId)` is `a`.
*/
// solhint-disable-next-line func-name-mixedcase
function __unsafe_increaseBalance(address account, uint256 amount) internal {
_balances[account] += amount;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual override {
super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
if (batchSize > 1) {
// Will only trigger during construction. Batch transferring (minting) is not available afterwards.
revert("ERC721Enumerable: consecutive transfers not supported");
}
uint256 tokenId = firstTokenId;
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or 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 {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
// EIP-712 is Final as of 2022-08-11. This file is deprecated.
import "./EIP712.sol";
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV // Deprecated in v4.8
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, "\x19Ethereum Signed Message:\n32")
mstore(0x1c, hash)
message := keccak256(0x00, 0x3c)
}
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
/// @solidity memory-safe-assembly
assembly {
let ptr := mload(0x40)
mstore(ptr, "\x19\x01")
mstore(add(ptr, 0x02), domainSeparator)
mstore(add(ptr, 0x22), structHash)
data := keccak256(ptr, 0x42)
}
}
/**
* @dev Returns an Ethereum Signed Data with intended validator, created from a
* `validator` and `data` according to the version 0 of EIP-191.
*
* See {recover}.
*/
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x00", validator, data));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)
pragma solidity ^0.8.8;
import "./ECDSA.sol";
import "../ShortStrings.sol";
import "../../interfaces/IERC5267.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
* separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
* separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
*
* _Available since v3.4._
*
* @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
*/
abstract contract EIP712 is IERC5267 {
using ShortStrings for *;
bytes32 private constant _TYPE_HASH =
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _cachedDomainSeparator;
uint256 private immutable _cachedChainId;
address private immutable _cachedThis;
bytes32 private immutable _hashedName;
bytes32 private immutable _hashedVersion;
ShortString private immutable _name;
ShortString private immutable _version;
string private _nameFallback;
string private _versionFallback;
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
_name = name.toShortStringWithFallback(_nameFallback);
_version = version.toShortStringWithFallback(_versionFallback);
_hashedName = keccak256(bytes(name));
_hashedVersion = keccak256(bytes(version));
_cachedChainId = block.chainid;
_cachedDomainSeparator = _buildDomainSeparator();
_cachedThis = address(this);
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
return _cachedDomainSeparator;
} else {
return _buildDomainSeparator();
}
}
function _buildDomainSeparator() private view returns (bytes32) {
return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
/**
* @dev See {EIP-5267}.
*
* _Available since v4.9._
*/
function eip712Domain()
public
view
virtual
override
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
)
{
return (
hex"0f", // 01111
_name.toStringWithFallback(_nameFallback),
_version.toStringWithFallback(_versionFallback),
block.chainid,
address(this),
bytes32(0),
new uint256[](0)
);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @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;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1, "Math: mulDiv overflow");
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol)
// This file was procedurally generated from scripts/generate/templates/SafeCast.js.
pragma solidity ^0.8.0;
/**
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
* checks.
*
* Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
* easily result in undesired exploitation or bugs, since developers usually
* assume that overflows raise errors. `SafeCast` restores this intuition by
* reverting the transaction when such an operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*
* Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
* all math on `uint256` and `int256` and then downcasting.
*/
library SafeCast {
/**
* @dev Returns the downcasted uint248 from uint256, reverting on
* overflow (when the input is greater than largest uint248).
*
* Counterpart to Solidity's `uint248` operator.
*
* Requirements:
*
* - input must fit into 248 bits
*
* _Available since v4.7._
*/
function toUint248(uint256 value) internal pure returns (uint248) {
require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
return uint248(value);
}
/**
* @dev Returns the downcasted uint240 from uint256, reverting on
* overflow (when the input is greater than largest uint240).
*
* Counterpart to Solidity's `uint240` operator.
*
* Requirements:
*
* - input must fit into 240 bits
*
* _Available since v4.7._
*/
function toUint240(uint256 value) internal pure returns (uint240) {
require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
return uint240(value);
}
/**
* @dev Returns the downcasted uint232 from uint256, reverting on
* overflow (when the input is greater than largest uint232).
*
* Counterpart to Solidity's `uint232` operator.
*
* Requirements:
*
* - input must fit into 232 bits
*
* _Available since v4.7._
*/
function toUint232(uint256 value) internal pure returns (uint232) {
require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
return uint232(value);
}
/**
* @dev Returns the downcasted uint224 from uint256, reverting on
* overflow (when the input is greater than largest uint224).
*
* Counterpart to Solidity's `uint224` operator.
*
* Requirements:
*
* - input must fit into 224 bits
*
* _Available since v4.2._
*/
function toUint224(uint256 value) internal pure returns (uint224) {
require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
return uint224(value);
}
/**
* @dev Returns the downcasted uint216 from uint256, reverting on
* overflow (when the input is greater than largest uint216).
*
* Counterpart to Solidity's `uint216` operator.
*
* Requirements:
*
* - input must fit into 216 bits
*
* _Available since v4.7._
*/
function toUint216(uint256 value) internal pure returns (uint216) {
require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
return uint216(value);
}
/**
* @dev Returns the downcasted uint208 from uint256, reverting on
* overflow (when the input is greater than largest uint208).
*
* Counterpart to Solidity's `uint208` operator.
*
* Requirements:
*
* - input must fit into 208 bits
*
* _Available since v4.7._
*/
function toUint208(uint256 value) internal pure returns (uint208) {
require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
return uint208(value);
}
/**
* @dev Returns the downcasted uint200 from uint256, reverting on
* overflow (when the input is greater than largest uint200).
*
* Counterpart to Solidity's `uint200` operator.
*
* Requirements:
*
* - input must fit into 200 bits
*
* _Available since v4.7._
*/
function toUint200(uint256 value) internal pure returns (uint200) {
require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
return uint200(value);
}
/**
* @dev Returns the downcasted uint192 from uint256, reverting on
* overflow (when the input is greater than largest uint192).
*
* Counterpart to Solidity's `uint192` operator.
*
* Requirements:
*
* - input must fit into 192 bits
*
* _Available since v4.7._
*/
function toUint192(uint256 value) internal pure returns (uint192) {
require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
return uint192(value);
}
/**
* @dev Returns the downcasted uint184 from uint256, reverting on
* overflow (when the input is greater than largest uint184).
*
* Counterpart to Solidity's `uint184` operator.
*
* Requirements:
*
* - input must fit into 184 bits
*
* _Available since v4.7._
*/
function toUint184(uint256 value) internal pure returns (uint184) {
require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
return uint184(value);
}
/**
* @dev Returns the downcasted uint176 from uint256, reverting on
* overflow (when the input is greater than largest uint176).
*
* Counterpart to Solidity's `uint176` operator.
*
* Requirements:
*
* - input must fit into 176 bits
*
* _Available since v4.7._
*/
function toUint176(uint256 value) internal pure returns (uint176) {
require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
return uint176(value);
}
/**
* @dev Returns the downcasted uint168 from uint256, reverting on
* overflow (when the input is greater than largest uint168).
*
* Counterpart to Solidity's `uint168` operator.
*
* Requirements:
*
* - input must fit into 168 bits
*
* _Available since v4.7._
*/
function toUint168(uint256 value) internal pure returns (uint168) {
require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
return uint168(value);
}
/**
* @dev Returns the downcasted uint160 from uint256, reverting on
* overflow (when the input is greater than largest uint160).
*
* Counterpart to Solidity's `uint160` operator.
*
* Requirements:
*
* - input must fit into 160 bits
*
* _Available since v4.7._
*/
function toUint160(uint256 value) internal pure returns (uint160) {
require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
return uint160(value);
}
/**
* @dev Returns the downcasted uint152 from uint256, reverting on
* overflow (when the input is greater than largest uint152).
*
* Counterpart to Solidity's `uint152` operator.
*
* Requirements:
*
* - input must fit into 152 bits
*
* _Available since v4.7._
*/
function toUint152(uint256 value) internal pure returns (uint152) {
require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
return uint152(value);
}
/**
* @dev Returns the downcasted uint144 from uint256, reverting on
* overflow (when the input is greater than largest uint144).
*
* Counterpart to Solidity's `uint144` operator.
*
* Requirements:
*
* - input must fit into 144 bits
*
* _Available since v4.7._
*/
function toUint144(uint256 value) internal pure returns (uint144) {
require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
return uint144(value);
}
/**
* @dev Returns the downcasted uint136 from uint256, reverting on
* overflow (when the input is greater than largest uint136).
*
* Counterpart to Solidity's `uint136` operator.
*
* Requirements:
*
* - input must fit into 136 bits
*
* _Available since v4.7._
*/
function toUint136(uint256 value) internal pure returns (uint136) {
require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
return uint136(value);
}
/**
* @dev Returns the downcasted uint128 from uint256, reverting on
* overflow (when the input is greater than largest uint128).
*
* Counterpart to Solidity's `uint128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*
* _Available since v2.5._
*/
function toUint128(uint256 value) internal pure returns (uint128) {
require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
return uint128(value);
}
/**
* @dev Returns the downcasted uint120 from uint256, reverting on
* overflow (when the input is greater than largest uint120).
*
* Counterpart to Solidity's `uint120` operator.
*
* Requirements:
*
* - input must fit into 120 bits
*
* _Available since v4.7._
*/
function toUint120(uint256 value) internal pure returns (uint120) {
require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
return uint120(value);
}
/**
* @dev Returns the downcasted uint112 from uint256, reverting on
* overflow (when the input is greater than largest uint112).
*
* Counterpart to Solidity's `uint112` operator.
*
* Requirements:
*
* - input must fit into 112 bits
*
* _Available since v4.7._
*/
function toUint112(uint256 value) internal pure returns (uint112) {
require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
return uint112(value);
}
/**
* @dev Returns the downcasted uint104 from uint256, reverting on
* overflow (when the input is greater than largest uint104).
*
* Counterpart to Solidity's `uint104` operator.
*
* Requirements:
*
* - input must fit into 104 bits
*
* _Available since v4.7._
*/
function toUint104(uint256 value) internal pure returns (uint104) {
require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
return uint104(value);
}
/**
* @dev Returns the downcasted uint96 from uint256, reverting on
* overflow (when the input is greater than largest uint96).
*
* Counterpart to Solidity's `uint96` operator.
*
* Requirements:
*
* - input must fit into 96 bits
*
* _Available since v4.2._
*/
function toUint96(uint256 value) internal pure returns (uint96) {
require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
return uint96(value);
}
/**
* @dev Returns the downcasted uint88 from uint256, reverting on
* overflow (when the input is greater than largest uint88).
*
* Counterpart to Solidity's `uint88` operator.
*
* Requirements:
*
* - input must fit into 88 bits
*
* _Available since v4.7._
*/
function toUint88(uint256 value) internal pure returns (uint88) {
require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
return uint88(value);
}
/**
* @dev Returns the downcasted uint80 from uint256, reverting on
* overflow (when the input is greater than largest uint80).
*
* Counterpart to Solidity's `uint80` operator.
*
* Requirements:
*
* - input must fit into 80 bits
*
* _Available since v4.7._
*/
function toUint80(uint256 value) internal pure returns (uint80) {
require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
return uint80(value);
}
/**
* @dev Returns the downcasted uint72 from uint256, reverting on
* overflow (when the input is greater than largest uint72).
*
* Counterpart to Solidity's `uint72` operator.
*
* Requirements:
*
* - input must fit into 72 bits
*
* _Available since v4.7._
*/
function toUint72(uint256 value) internal pure returns (uint72) {
require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
return uint72(value);
}
/**
* @dev Returns the downcasted uint64 from uint256, reverting on
* overflow (when the input is greater than largest uint64).
*
* Counterpart to Solidity's `uint64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*
* _Available since v2.5._
*/
function toUint64(uint256 value) internal pure returns (uint64) {
require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
return uint64(value);
}
/**
* @dev Returns the downcasted uint56 from uint256, reverting on
* overflow (when the input is greater than largest uint56).
*
* Counterpart to Solidity's `uint56` operator.
*
* Requirements:
*
* - input must fit into 56 bits
*
* _Available since v4.7._
*/
function toUint56(uint256 value) internal pure returns (uint56) {
require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
return uint56(value);
}
/**
* @dev Returns the downcasted uint48 from uint256, reverting on
* overflow (when the input is greater than largest uint48).
*
* Counterpart to Solidity's `uint48` operator.
*
* Requirements:
*
* - input must fit into 48 bits
*
* _Available since v4.7._
*/
function toUint48(uint256 value) internal pure returns (uint48) {
require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
return uint48(value);
}
/**
* @dev Returns the downcasted uint40 from uint256, reverting on
* overflow (when the input is greater than largest uint40).
*
* Counterpart to Solidity's `uint40` operator.
*
* Requirements:
*
* - input must fit into 40 bits
*
* _Available since v4.7._
*/
function toUint40(uint256 value) internal pure returns (uint40) {
require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
return uint40(value);
}
/**
* @dev Returns the downcasted uint32 from uint256, reverting on
* overflow (when the input is greater than largest uint32).
*
* Counterpart to Solidity's `uint32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*
* _Available since v2.5._
*/
function toUint32(uint256 value) internal pure returns (uint32) {
require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
return uint32(value);
}
/**
* @dev Returns the downcasted uint24 from uint256, reverting on
* overflow (when the input is greater than largest uint24).
*
* Counterpart to Solidity's `uint24` operator.
*
* Requirements:
*
* - input must fit into 24 bits
*
* _Available since v4.7._
*/
function toUint24(uint256 value) internal pure returns (uint24) {
require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
return uint24(value);
}
/**
* @dev Returns the downcasted uint16 from uint256, reverting on
* overflow (when the input is greater than largest uint16).
*
* Counterpart to Solidity's `uint16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*
* _Available since v2.5._
*/
function toUint16(uint256 value) internal pure returns (uint16) {
require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
return uint16(value);
}
/**
* @dev Returns the downcasted uint8 from uint256, reverting on
* overflow (when the input is greater than largest uint8).
*
* Counterpart to Solidity's `uint8` operator.
*
* Requirements:
*
* - input must fit into 8 bits
*
* _Available since v2.5._
*/
function toUint8(uint256 value) internal pure returns (uint8) {
require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
return uint8(value);
}
/**
* @dev Converts a signed int256 into an unsigned uint256.
*
* Requirements:
*
* - input must be greater than or equal to 0.
*
* _Available since v3.0._
*/
function toUint256(int256 value) internal pure returns (uint256) {
require(value >= 0, "SafeCast: value must be positive");
return uint256(value);
}
/**
* @dev Returns the downcasted int248 from int256, reverting on
* overflow (when the input is less than smallest int248 or
* greater than largest int248).
*
* Counterpart to Solidity's `int248` operator.
*
* Requirements:
*
* - input must fit into 248 bits
*
* _Available since v4.7._
*/
function toInt248(int256 value) internal pure returns (int248 downcasted) {
downcasted = int248(value);
require(downcasted == value, "SafeCast: value doesn't fit in 248 bits");
}
/**
* @dev Returns the downcasted int240 from int256, reverting on
* overflow (when the input is less than smallest int240 or
* greater than largest int240).
*
* Counterpart to Solidity's `int240` operator.
*
* Requirements:
*
* - input must fit into 240 bits
*
* _Available since v4.7._
*/
function toInt240(int256 value) internal pure returns (int240 downcasted) {
downcasted = int240(value);
require(downcasted == value, "SafeCast: value doesn't fit in 240 bits");
}
/**
* @dev Returns the downcasted int232 from int256, reverting on
* overflow (when the input is less than smallest int232 or
* greater than largest int232).
*
* Counterpart to Solidity's `int232` operator.
*
* Requirements:
*
* - input must fit into 232 bits
*
* _Available since v4.7._
*/
function toInt232(int256 value) internal pure returns (int232 downcasted) {
downcasted = int232(value);
require(downcasted == value, "SafeCast: value doesn't fit in 232 bits");
}
/**
* @dev Returns the downcasted int224 from int256, reverting on
* overflow (when the input is less than smallest int224 or
* greater than largest int224).
*
* Counterpart to Solidity's `int224` operator.
*
* Requirements:
*
* - input must fit into 224 bits
*
* _Available since v4.7._
*/
function toInt224(int256 value) internal pure returns (int224 downcasted) {
downcasted = int224(value);
require(downcasted == value, "SafeCast: value doesn't fit in 224 bits");
}
/**
* @dev Returns the downcasted int216 from int256, reverting on
* overflow (when the input is less than smallest int216 or
* greater than largest int216).
*
* Counterpart to Solidity's `int216` operator.
*
* Requirements:
*
* - input must fit into 216 bits
*
* _Available since v4.7._
*/
function toInt216(int256 value) internal pure returns (int216 downcasted) {
downcasted = int216(value);
require(downcasted == value, "SafeCast: value doesn't fit in 216 bits");
}
/**
* @dev Returns the downcasted int208 from int256, reverting on
* overflow (when the input is less than smallest int208 or
* greater than largest int208).
*
* Counterpart to Solidity's `int208` operator.
*
* Requirements:
*
* - input must fit into 208 bits
*
* _Available since v4.7._
*/
function toInt208(int256 value) internal pure returns (int208 downcasted) {
downcasted = int208(value);
require(downcasted == value, "SafeCast: value doesn't fit in 208 bits");
}
/**
* @dev Returns the downcasted int200 from int256, reverting on
* overflow (when the input is less than smallest int200 or
* greater than largest int200).
*
* Counterpart to Solidity's `int200` operator.
*
* Requirements:
*
* - input must fit into 200 bits
*
* _Available since v4.7._
*/
function toInt200(int256 value) internal pure returns (int200 downcasted) {
downcasted = int200(value);
require(downcasted == value, "SafeCast: value doesn't fit in 200 bits");
}
/**
* @dev Returns the downcasted int192 from int256, reverting on
* overflow (when the input is less than smallest int192 or
* greater than largest int192).
*
* Counterpart to Solidity's `int192` operator.
*
* Requirements:
*
* - input must fit into 192 bits
*
* _Available since v4.7._
*/
function toInt192(int256 value) internal pure returns (int192 downcasted) {
downcasted = int192(value);
require(downcasted == value, "SafeCast: value doesn't fit in 192 bits");
}
/**
* @dev Returns the downcasted int184 from int256, reverting on
* overflow (when the input is less than smallest int184 or
* greater than largest int184).
*
* Counterpart to Solidity's `int184` operator.
*
* Requirements:
*
* - input must fit into 184 bits
*
* _Available since v4.7._
*/
function toInt184(int256 value) internal pure returns (int184 downcasted) {
downcasted = int184(value);
require(downcasted == value, "SafeCast: value doesn't fit in 184 bits");
}
/**
* @dev Returns the downcasted int176 from int256, reverting on
* overflow (when the input is less than smallest int176 or
* greater than largest int176).
*
* Counterpart to Solidity's `int176` operator.
*
* Requirements:
*
* - input must fit into 176 bits
*
* _Available since v4.7._
*/
function toInt176(int256 value) internal pure returns (int176 downcasted) {
downcasted = int176(value);
require(downcasted == value, "SafeCast: value doesn't fit in 176 bits");
}
/**
* @dev Returns the downcasted int168 from int256, reverting on
* overflow (when the input is less than smallest int168 or
* greater than largest int168).
*
* Counterpart to Solidity's `int168` operator.
*
* Requirements:
*
* - input must fit into 168 bits
*
* _Available since v4.7._
*/
function toInt168(int256 value) internal pure returns (int168 downcasted) {
downcasted = int168(value);
require(downcasted == value, "SafeCast: value doesn't fit in 168 bits");
}
/**
* @dev Returns the downcasted int160 from int256, reverting on
* overflow (when the input is less than smallest int160 or
* greater than largest int160).
*
* Counterpart to Solidity's `int160` operator.
*
* Requirements:
*
* - input must fit into 160 bits
*
* _Available since v4.7._
*/
function toInt160(int256 value) internal pure returns (int160 downcasted) {
downcasted = int160(value);
require(downcasted == value, "SafeCast: value doesn't fit in 160 bits");
}
/**
* @dev Returns the downcasted int152 from int256, reverting on
* overflow (when the input is less than smallest int152 or
* greater than largest int152).
*
* Counterpart to Solidity's `int152` operator.
*
* Requirements:
*
* - input must fit into 152 bits
*
* _Available since v4.7._
*/
function toInt152(int256 value) internal pure returns (int152 downcasted) {
downcasted = int152(value);
require(downcasted == value, "SafeCast: value doesn't fit in 152 bits");
}
/**
* @dev Returns the downcasted int144 from int256, reverting on
* overflow (when the input is less than smallest int144 or
* greater than largest int144).
*
* Counterpart to Solidity's `int144` operator.
*
* Requirements:
*
* - input must fit into 144 bits
*
* _Available since v4.7._
*/
function toInt144(int256 value) internal pure returns (int144 downcasted) {
downcasted = int144(value);
require(downcasted == value, "SafeCast: value doesn't fit in 144 bits");
}
/**
* @dev Returns the downcasted int136 from int256, reverting on
* overflow (when the input is less than smallest int136 or
* greater than largest int136).
*
* Counterpart to Solidity's `int136` operator.
*
* Requirements:
*
* - input must fit into 136 bits
*
* _Available since v4.7._
*/
function toInt136(int256 value) internal pure returns (int136 downcasted) {
downcasted = int136(value);
require(downcasted == value, "SafeCast: value doesn't fit in 136 bits");
}
/**
* @dev Returns the downcasted int128 from int256, reverting on
* overflow (when the input is less than smallest int128 or
* greater than largest int128).
*
* Counterpart to Solidity's `int128` operator.
*
* Requirements:
*
* - input must fit into 128 bits
*
* _Available since v3.1._
*/
function toInt128(int256 value) internal pure returns (int128 downcasted) {
downcasted = int128(value);
require(downcasted == value, "SafeCast: value doesn't fit in 128 bits");
}
/**
* @dev Returns the downcasted int120 from int256, reverting on
* overflow (when the input is less than smallest int120 or
* greater than largest int120).
*
* Counterpart to Solidity's `int120` operator.
*
* Requirements:
*
* - input must fit into 120 bits
*
* _Available since v4.7._
*/
function toInt120(int256 value) internal pure returns (int120 downcasted) {
downcasted = int120(value);
require(downcasted == value, "SafeCast: value doesn't fit in 120 bits");
}
/**
* @dev Returns the downcasted int112 from int256, reverting on
* overflow (when the input is less than smallest int112 or
* greater than largest int112).
*
* Counterpart to Solidity's `int112` operator.
*
* Requirements:
*
* - input must fit into 112 bits
*
* _Available since v4.7._
*/
function toInt112(int256 value) internal pure returns (int112 downcasted) {
downcasted = int112(value);
require(downcasted == value, "SafeCast: value doesn't fit in 112 bits");
}
/**
* @dev Returns the downcasted int104 from int256, reverting on
* overflow (when the input is less than smallest int104 or
* greater than largest int104).
*
* Counterpart to Solidity's `int104` operator.
*
* Requirements:
*
* - input must fit into 104 bits
*
* _Available since v4.7._
*/
function toInt104(int256 value) internal pure returns (int104 downcasted) {
downcasted = int104(value);
require(downcasted == value, "SafeCast: value doesn't fit in 104 bits");
}
/**
* @dev Returns the downcasted int96 from int256, reverting on
* overflow (when the input is less than smallest int96 or
* greater than largest int96).
*
* Counterpart to Solidity's `int96` operator.
*
* Requirements:
*
* - input must fit into 96 bits
*
* _Available since v4.7._
*/
function toInt96(int256 value) internal pure returns (int96 downcasted) {
downcasted = int96(value);
require(downcasted == value, "SafeCast: value doesn't fit in 96 bits");
}
/**
* @dev Returns the downcasted int88 from int256, reverting on
* overflow (when the input is less than smallest int88 or
* greater than largest int88).
*
* Counterpart to Solidity's `int88` operator.
*
* Requirements:
*
* - input must fit into 88 bits
*
* _Available since v4.7._
*/
function toInt88(int256 value) internal pure returns (int88 downcasted) {
downcasted = int88(value);
require(downcasted == value, "SafeCast: value doesn't fit in 88 bits");
}
/**
* @dev Returns the downcasted int80 from int256, reverting on
* overflow (when the input is less than smallest int80 or
* greater than largest int80).
*
* Counterpart to Solidity's `int80` operator.
*
* Requirements:
*
* - input must fit into 80 bits
*
* _Available since v4.7._
*/
function toInt80(int256 value) internal pure returns (int80 downcasted) {
downcasted = int80(value);
require(downcasted == value, "SafeCast: value doesn't fit in 80 bits");
}
/**
* @dev Returns the downcasted int72 from int256, reverting on
* overflow (when the input is less than smallest int72 or
* greater than largest int72).
*
* Counterpart to Solidity's `int72` operator.
*
* Requirements:
*
* - input must fit into 72 bits
*
* _Available since v4.7._
*/
function toInt72(int256 value) internal pure returns (int72 downcasted) {
downcasted = int72(value);
require(downcasted == value, "SafeCast: value doesn't fit in 72 bits");
}
/**
* @dev Returns the downcasted int64 from int256, reverting on
* overflow (when the input is less than smallest int64 or
* greater than largest int64).
*
* Counterpart to Solidity's `int64` operator.
*
* Requirements:
*
* - input must fit into 64 bits
*
* _Available since v3.1._
*/
function toInt64(int256 value) internal pure returns (int64 downcasted) {
downcasted = int64(value);
require(downcasted == value, "SafeCast: value doesn't fit in 64 bits");
}
/**
* @dev Returns the downcasted int56 from int256, reverting on
* overflow (when the input is less than smallest int56 or
* greater than largest int56).
*
* Counterpart to Solidity's `int56` operator.
*
* Requirements:
*
* - input must fit into 56 bits
*
* _Available since v4.7._
*/
function toInt56(int256 value) internal pure returns (int56 downcasted) {
downcasted = int56(value);
require(downcasted == value, "SafeCast: value doesn't fit in 56 bits");
}
/**
* @dev Returns the downcasted int48 from int256, reverting on
* overflow (when the input is less than smallest int48 or
* greater than largest int48).
*
* Counterpart to Solidity's `int48` operator.
*
* Requirements:
*
* - input must fit into 48 bits
*
* _Available since v4.7._
*/
function toInt48(int256 value) internal pure returns (int48 downcasted) {
downcasted = int48(value);
require(downcasted == value, "SafeCast: value doesn't fit in 48 bits");
}
/**
* @dev Returns the downcasted int40 from int256, reverting on
* overflow (when the input is less than smallest int40 or
* greater than largest int40).
*
* Counterpart to Solidity's `int40` operator.
*
* Requirements:
*
* - input must fit into 40 bits
*
* _Available since v4.7._
*/
function toInt40(int256 value) internal pure returns (int40 downcasted) {
downcasted = int40(value);
require(downcasted == value, "SafeCast: value doesn't fit in 40 bits");
}
/**
* @dev Returns the downcasted int32 from int256, reverting on
* overflow (when the input is less than smallest int32 or
* greater than largest int32).
*
* Counterpart to Solidity's `int32` operator.
*
* Requirements:
*
* - input must fit into 32 bits
*
* _Available since v3.1._
*/
function toInt32(int256 value) internal pure returns (int32 downcasted) {
downcasted = int32(value);
require(downcasted == value, "SafeCast: value doesn't fit in 32 bits");
}
/**
* @dev Returns the downcasted int24 from int256, reverting on
* overflow (when the input is less than smallest int24 or
* greater than largest int24).
*
* Counterpart to Solidity's `int24` operator.
*
* Requirements:
*
* - input must fit into 24 bits
*
* _Available since v4.7._
*/
function toInt24(int256 value) internal pure returns (int24 downcasted) {
downcasted = int24(value);
require(downcasted == value, "SafeCast: value doesn't fit in 24 bits");
}
/**
* @dev Returns the downcasted int16 from int256, reverting on
* overflow (when the input is less than smallest int16 or
* greater than largest int16).
*
* Counterpart to Solidity's `int16` operator.
*
* Requirements:
*
* - input must fit into 16 bits
*
* _Available since v3.1._
*/
function toInt16(int256 value) internal pure returns (int16 downcasted) {
downcasted = int16(value);
require(downcasted == value, "SafeCast: value doesn't fit in 16 bits");
}
/**
* @dev Returns the downcasted int8 from int256, reverting on
* overflow (when the input is less than smallest int8 or
* greater than largest int8).
*
* Counterpart to Solidity's `int8` operator.
*
* Requirements:
*
* - input must fit into 8 bits
*
* _Available since v3.1._
*/
function toInt8(int256 value) internal pure returns (int8 downcasted) {
downcasted = int8(value);
require(downcasted == value, "SafeCast: value doesn't fit in 8 bits");
}
/**
* @dev Converts an unsigned uint256 into a signed int256.
*
* Requirements:
*
* - input must be less than or equal to maxInt256.
*
* _Available since v3.0._
*/
function toInt256(uint256 value) internal pure returns (int256) {
// Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
return int256(value);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
import "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toString(int256 value) internal pure returns (string memory) {
return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return keccak256(bytes(a)) == keccak256(bytes(b));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/BitMaps.sol)
pragma solidity ^0.8.0;
/**
* @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
* Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
*/
library BitMaps {
struct BitMap {
mapping(uint256 => uint256) _data;
}
/**
* @dev Returns whether the bit at `index` is set.
*/
function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
return bitmap._data[bucket] & mask != 0;
}
/**
* @dev Sets the bit at `index` to the boolean `value`.
*/
function setTo(BitMap storage bitmap, uint256 index, bool value) internal {
if (value) {
set(bitmap, index);
} else {
unset(bitmap, index);
}
}
/**
* @dev Sets the bit at `index`.
*/
function set(BitMap storage bitmap, uint256 index) internal {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
bitmap._data[bucket] |= mask;
}
/**
* @dev Unsets the bit at `index`.
*/
function unset(BitMap storage bitmap, uint256 index) internal {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
bitmap._data[bucket] &= ~mask;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// Mask of an entry in packed address data.
uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant _BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant _BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant _BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant _BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant _BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;
// The bit position of `extraData` in packed ownership.
uint256 private constant _BITPOS_EXTRA_DATA = 232;
// Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;
// The mask of the lower 160 bits for addresses.
uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;
// The maximum `quantity` that can be minted with {_mintERC2309}.
// This limit is to prevent overflows on the address data entries.
// For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
// is required to cause an overflow, which is unrealistic.
uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;
// The `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned.
// See {_packedOwnershipOf} implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
// - [232..255] `extraData`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// Mapping from token ID to approved address.
mapping(uint256 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view virtual returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() public view virtual override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than `_currentIndex - _startTokenId()` times.
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view virtual returns (uint256) {
// Counter underflow is impossible as `_currentIndex` does not decrement,
// and it is initialized to `_startTokenId()`.
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
}
/**
* Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal virtual {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
// Cast `aux` with assembly to avoid redundant masking.
assembly {
auxCasted := aux
}
packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
_packedAddressData[owner] = packed;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes
// of the XOR of all function selectors in the interface.
// See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
// (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
}
/**
* @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, it can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr)
if (curr < _currentIndex) {
uint256 packed = _packedOwnerships[curr];
// If not burned.
if (packed & _BITMASK_BURNED == 0) {
// Invariant:
// There will always be an initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `curr` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
ownership.addr = address(uint160(packed));
ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
ownership.burned = packed & _BITMASK_BURNED != 0;
ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
}
/**
* @dev Packs ownership data into a single uint256.
*/
function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
}
}
/**
* @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
*/
function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
// For branchless setting of the `nextInitialized` flag.
assembly {
// `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
}
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @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) public payable virtual override {
address owner = ownerOf(tokenId);
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId].value = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId].value;
}
/**
* @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) public virtual override {
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @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. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) public payable virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// We can directly increment and decrement the balances.
--_packedAddressData[from]; // Updates: `balance -= 1`.
++_packedAddressData[to]; // Updates: `balance += 1`.
// Updates:
// - `address` to the next owner.
// - `startTimestamp` to the timestamp of transfering.
// - `burned` to `false`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
to,
_BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public payable virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @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 memory _data
) public payable virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Hook that is called before a set of serially-ordered token IDs
* are about to be transferred. This includes minting.
* And also called before burning one token.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token IDs
* have been transferred. This includes minting.
* And also called after one token has been burned.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns whether the call correctly returned the expected magic value.
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event for each mint.
*/
function _mint(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// `balance` and `numberMinted` have a maximum limit of 2**64.
// `tokenId` has a maximum limit of 2**256.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
uint256 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
// The duplicated `log4` removes an extra check and reduces stack juggling.
// The assembly, together with the surrounding Solidity code, have been
// delicately arranged to nudge the compiler into producing optimized opcodes.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
// The `iszero(eq(,))` check ensures that large values of `quantity`
// that overflows uint256 will make the loop run out of gas.
// The compiler will optimize the `iszero` away for performance.
for {
let tokenId := add(startTokenId, 1)
} iszero(eq(tokenId, end)) {
tokenId := add(tokenId, 1)
} {
// Emit the `Transfer` event. Similar to above.
log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
}
}
if (toMasked == 0) revert MintToZeroAddress();
_currentIndex = end;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* This function is intended for efficient minting only during contract creation.
*
* It emits only one {ConsecutiveTransfer} as defined in
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
* instead of a sequence of {Transfer} event(s).
*
* Calling this function outside of contract creation WILL make your contract
* non-compliant with the ERC721 standard.
* For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
* {ConsecutiveTransfer} event is only permissible during contract creation.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {ConsecutiveTransfer} event.
*/
function _mintERC2309(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are unrealistic due to the above check for `quantity` to be below the limit.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);
_currentIndex = startTokenId + quantity;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* See {_mint}.
*
* Emits a {Transfer} event for each mint.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal virtual {
_mint(to, quantity);
unchecked {
if (to.code.length != 0) {
uint256 end = _currentIndex;
uint256 index = end - quantity;
do {
if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (index < end);
// Reentrancy protection.
if (_currentIndex != end) revert();
}
}
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
// =============================================================
// BURN OPERATIONS
// =============================================================
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
address from = address(uint160(prevOwnershipPacked));
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// Updates:
// - `balance -= 1`.
// - `numberBurned += 1`.
//
// We can directly decrement the balance, and increment the number burned.
// This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
_packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;
// Updates:
// - `address` to the last owner.
// - `startTimestamp` to the timestamp of burning.
// - `burned` to `true`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
from,
(_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
// =============================================================
// EXTRA DATA OPERATIONS
// =============================================================
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
uint256 packed = _packedOwnerships[index];
if (packed == 0) revert OwnershipNotInitializedForExtraData();
uint256 extraDataCasted;
// Cast `extraData` with assembly to avoid redundant masking.
assembly {
extraDataCasted := extraData
}
packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
_packedOwnerships[index] = packed;
}
/**
* @dev Called during each token transfer to set the 24bit `extraData` field.
* Intended to be overridden by the cosumer contract.
*
* `previousExtraData` - the value of `extraData` before transfer.
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _extraData(
address from,
address to,
uint24 previousExtraData
) internal view virtual returns (uint24) {}
/**
* @dev Returns the next extra data for the packed ownership data.
* The returned result is shifted into position.
*/
function _nextExtraData(
address from,
address to,
uint256 prevOwnershipPacked
) private view returns (uint256) {
uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
}
// =============================================================
// OTHER OPERATIONS
// =============================================================
/**
* @dev Returns the message sender (defaults to `msg.sender`).
*
* If you are writing GSN compatible contracts, you need to override this function.
*/
function _msgSenderERC721A() internal view virtual returns (address) {
return msg.sender;
}
/**
* @dev Converts a uint256 to its ASCII string decimal representation.
*/
function _toString(uint256 value) internal pure virtual returns (string memory str) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit), but
// we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
// We will need 1 word for the trailing zeros padding, 1 word for the length,
// and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
let m := add(mload(0x40), 0xa0)
// Update the free memory pointer to allocate.
mstore(0x40, m)
// Assign the `str` to the end.
str := sub(m, 0x20)
// Zeroize the slot after the string.
mstore(str, 0)
// Cache the end of the memory to calculate the length later.
let end := str
// We write the string from rightmost digit to leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// prettier-ignore
for { let temp := value } 1 {} {
str := sub(str, 1)
// Write the character to the pointer.
// The ASCII index of the '0' character is 48.
mstore8(str, add(48, mod(temp, 10)))
// Keep dividing `temp` until zero.
temp := div(temp, 10)
// prettier-ignore
if iszero(temp) { break }
}
let length := sub(end, str)
// Move the pointer 32 bytes leftwards to make room for the length.
str := sub(str, 0x20)
// Store the length.
mstore(str, length)
}
}
}
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721A.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the
* ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
// =============================================================
// IERC721
// =============================================================
/**
* @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,
bytes calldata data
) external payable;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Transfers `tokenId` 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 payable;
/**
* @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 payable;
/**
* @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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @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);
// =============================================================
// IERC2309
// =============================================================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId`
* (inclusive) is transferred from `from` to `to`, as defined in the
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS =
0x000000000000000000636F6e736F6c652e6c6f67;
function _sendLogPayloadImplementation(bytes memory payload) internal view {
address consoleAddress = CONSOLE_ADDRESS;
/// @solidity memory-safe-assembly
assembly {
pop(
staticcall(
gas(),
consoleAddress,
add(payload, 32),
mload(payload),
0,
0
)
)
}
}
function _castToPure(
function(bytes memory) internal view fnIn
) internal pure returns (function(bytes memory) pure fnOut) {
assembly {
fnOut := fnIn
}
}
function _sendLogPayload(bytes memory payload) internal pure {
_castToPure(_sendLogPayloadImplementation)(payload);
}
function log() internal pure {
_sendLogPayload(abi.encodeWithSignature("log()"));
}
function logInt(int256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
}
function logUint(uint256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function logString(string memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function logBool(bool p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function logAddress(address p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function logBytes(bytes memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
}
function logBytes1(bytes1 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
}
function logBytes2(bytes2 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
}
function logBytes3(bytes3 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
}
function logBytes4(bytes4 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
}
function logBytes5(bytes5 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
}
function logBytes6(bytes6 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
}
function logBytes7(bytes7 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
}
function logBytes8(bytes8 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
}
function logBytes9(bytes9 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
}
function logBytes10(bytes10 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
}
function logBytes11(bytes11 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
}
function logBytes12(bytes12 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
}
function logBytes13(bytes13 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
}
function logBytes14(bytes14 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
}
function logBytes15(bytes15 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
}
function logBytes16(bytes16 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
}
function logBytes17(bytes17 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
}
function logBytes18(bytes18 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
}
function logBytes19(bytes19 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
}
function logBytes20(bytes20 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
}
function logBytes21(bytes21 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
}
function logBytes22(bytes22 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
}
function logBytes23(bytes23 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
}
function logBytes24(bytes24 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
}
function logBytes25(bytes25 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
}
function logBytes26(bytes26 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
}
function logBytes27(bytes27 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
}
function logBytes28(bytes28 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
}
function logBytes29(bytes29 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
}
function logBytes30(bytes30 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
}
function logBytes31(bytes31 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
}
function logBytes32(bytes32 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
}
function log(uint256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function log(string memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function log(bool p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function log(address p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function log(uint256 p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
}
function log(uint256 p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
}
function log(uint256 p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
}
function log(uint256 p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
}
function log(string memory p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
}
function log(string memory p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
}
function log(string memory p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
}
function log(string memory p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
}
function log(bool p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
}
function log(bool p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
}
function log(bool p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
}
function log(bool p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
}
function log(address p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
}
function log(address p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
}
function log(address p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
}
function log(address p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
}
function log(uint256 p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
}
function log(uint256 p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
}
function log(uint256 p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
}
function log(uint256 p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
}
function log(uint256 p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
}
function log(uint256 p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
}
function log(uint256 p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
}
function log(uint256 p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
}
function log(uint256 p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
}
function log(string memory p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
}
function log(string memory p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
}
function log(string memory p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
}
function log(string memory p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
}
function log(string memory p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
}
function log(string memory p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
}
function log(string memory p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
}
function log(string memory p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
}
function log(string memory p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
}
function log(string memory p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
}
function log(string memory p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
}
function log(string memory p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
}
function log(bool p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
}
function log(bool p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
}
function log(bool p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
}
function log(bool p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
}
function log(bool p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
}
function log(bool p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
}
function log(bool p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
}
function log(bool p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
}
function log(bool p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
}
function log(bool p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
}
function log(bool p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
}
function log(bool p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
}
function log(bool p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
}
function log(bool p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
}
function log(bool p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
}
function log(bool p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
}
function log(address p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
}
function log(address p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
}
function log(address p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
}
function log(address p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
}
function log(address p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
}
function log(address p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
}
function log(address p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
}
function log(address p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
}
function log(address p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
}
function log(address p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
}
function log(address p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
}
function log(address p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
}
function log(address p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
}
function log(address p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
}
function log(address p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
}
function log(address p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
}
}
pragma solidity ^0.5.2;
import "zos-lib/contracts/Initializable.sol";
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
import "../../drafts/Counters.sol";
import "../../introspection/ERC165.sol";
/**
* @title ERC721 Non-Fungible Token Standard basic implementation
* @dev see https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721 is Initializable, ERC165, IERC721 {
using SafeMath for uint256;
using Address for address;
using Counters for Counters.Counter;
// Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
// which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;
// Mapping from token ID to owner
mapping (uint256 => address) private _tokenOwner;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to number of owned token
mapping (address => Counters.Counter) private _ownedTokensCount;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;
/*
* 0x80ac58cd ===
* bytes4(keccak256('balanceOf(address)')) ^
* bytes4(keccak256('ownerOf(uint256)')) ^
* bytes4(keccak256('approve(address,uint256)')) ^
* bytes4(keccak256('getApproved(uint256)')) ^
* bytes4(keccak256('setApprovalForAll(address,bool)')) ^
* bytes4(keccak256('isApprovedForAll(address,address)')) ^
* bytes4(keccak256('transferFrom(address,address,uint256)')) ^
* bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^
* bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)'))
*/
function initialize() public initializer {
ERC165.initialize();
// register the supported interfaces to conform to ERC721 via ERC165
_registerInterface(_INTERFACE_ID_ERC721);
}
function _hasBeenInitialized() internal view returns (bool) {
return supportsInterface(_INTERFACE_ID_ERC721);
}
/**
* @dev Gets the balance of the specified address
* @param owner address to query the balance of
* @return uint256 representing the amount owned by the passed address
*/
function balanceOf(address owner) public view returns (uint256) {
require(owner != address(0));
return _ownedTokensCount[owner].current();
}
/**
* @dev Gets the owner of the specified token ID
* @param tokenId uint256 ID of the token to query the owner of
* @return address currently marked as the owner of the given token ID
*/
function ownerOf(uint256 tokenId) public view returns (address) {
address owner = _tokenOwner[tokenId];
require(owner != address(0));
return owner;
}
/**
* @dev Approves another address to transfer the given token ID
* The zero address indicates there is no approved address.
* There can only be one approved address per token at a given time.
* Can only be called by the token owner or an approved operator.
* @param to address to be approved for the given token ID
* @param tokenId uint256 ID of the token to be approved
*/
function approve(address to, uint256 tokenId) public {
address owner = ownerOf(tokenId);
require(to != owner);
require(msg.sender == owner || isApprovedForAll(owner, msg.sender));
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Gets the approved address for a token ID, or zero if no address set
* Reverts if the token ID does not exist.
* @param tokenId uint256 ID of the token to query the approval of
* @return address currently approved for the given token ID
*/
function getApproved(uint256 tokenId) public view returns (address) {
require(_exists(tokenId));
return _tokenApprovals[tokenId];
}
/**
* @dev Sets or unsets the approval of a given operator
* An operator is allowed to transfer all tokens of the sender on their behalf
* @param to operator address to set the approval
* @param approved representing the status of the approval to be set
*/
function setApprovalForAll(address to, bool approved) public {
require(to != msg.sender);
_operatorApprovals[msg.sender][to] = approved;
emit ApprovalForAll(msg.sender, to, approved);
}
/**
* @dev Tells whether an operator is approved by a given owner
* @param owner owner address which you want to query the approval of
* @param operator operator address which you want to query the approval of
* @return bool whether the given operator is approved by the given owner
*/
function isApprovedForAll(address owner, address operator) public view returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev Transfers the ownership of a given token ID to another address
* Usage of this method is discouraged, use `safeTransferFrom` whenever possible
* Requires the msg.sender to be the owner, approved, or operator
* @param from current owner of the token
* @param to address to receive the ownership of the given token ID
* @param tokenId uint256 ID of the token to be transferred
*/
function transferFrom(address from, address to, uint256 tokenId) public {
require(_isApprovedOrOwner(msg.sender, tokenId));
_transferFrom(from, to, tokenId);
}
/**
* @dev Safely transfers the ownership of a given token ID to another address
* If the target address is a contract, it must implement `onERC721Received`,
* which is called upon a safe transfer, and return the magic value
* `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
* the transfer is reverted.
* Requires the msg.sender to be the owner, approved, or operator
* @param from current owner of the token
* @param to address to receive the ownership of the given token ID
* @param tokenId uint256 ID of the token to be transferred
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev Safely transfers the ownership of a given token ID to another address
* If the target address is a contract, it must implement `onERC721Received`,
* which is called upon a safe transfer, and return the magic value
* `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
* the transfer is reverted.
* Requires the msg.sender to be the owner, approved, or operator
* @param from current owner of the token
* @param to address to receive the ownership of the given token ID
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes data to send along with a safe transfer check
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public {
transferFrom(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data));
}
/**
* @dev Returns whether the specified token exists
* @param tokenId uint256 ID of the token to query the existence of
* @return bool whether the token exists
*/
function _exists(uint256 tokenId) internal view returns (bool) {
address owner = _tokenOwner[tokenId];
return owner != address(0);
}
/**
* @dev Returns whether the given spender can transfer a given token ID
* @param spender address of the spender to query
* @param tokenId uint256 ID of the token to be transferred
* @return bool whether the msg.sender is approved for the given token ID,
* is an operator of the owner, or is the owner of the token
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
address owner = ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Internal function to mint a new token
* Reverts if the given token ID already exists
* @param to The address that will own the minted token
* @param tokenId uint256 ID of the token to be minted
*/
function _mint(address to, uint256 tokenId) internal {
require(to != address(0));
require(!_exists(tokenId));
_tokenOwner[tokenId] = to;
_ownedTokensCount[to].increment();
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Internal function to burn a specific token
* Reverts if the token does not exist
* Deprecated, use _burn(uint256) instead.
* @param owner owner of the token to burn
* @param tokenId uint256 ID of the token being burned
*/
function _burn(address owner, uint256 tokenId) internal {
require(ownerOf(tokenId) == owner);
_clearApproval(tokenId);
_ownedTokensCount[owner].decrement();
_tokenOwner[tokenId] = address(0);
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Internal function to burn a specific token
* Reverts if the token does not exist
* @param tokenId uint256 ID of the token being burned
*/
function _burn(uint256 tokenId) internal {
_burn(ownerOf(tokenId), tokenId);
}
/**
* @dev Internal function to transfer ownership of a given token ID to another address.
* As opposed to transferFrom, this imposes no restrictions on msg.sender.
* @param from current owner of the token
* @param to address to receive the ownership of the given token ID
* @param tokenId uint256 ID of the token to be transferred
*/
function _transferFrom(address from, address to, uint256 tokenId) internal {
require(ownerOf(tokenId) == from);
require(to != address(0));
_clearApproval(tokenId);
_ownedTokensCount[from].decrement();
_ownedTokensCount[to].increment();
_tokenOwner[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Internal function to invoke `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)
internal returns (bool)
{
if (!to.isContract()) {
return true;
}
bytes4 retval = IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data);
return (retval == _ERC721_RECEIVED);
}
/**
* @dev Private function to clear current approval of a given token ID
* @param tokenId uint256 ID of the token to be transferred
*/
function _clearApproval(uint256 tokenId) private {
if (_tokenApprovals[tokenId] != address(0)) {
_tokenApprovals[tokenId] = address(0);
}
}
uint256[50] private ______gap;
}
pragma solidity ^0.5.2;
import "zos-lib/contracts/Initializable.sol";
import "./IERC721Enumerable.sol";
import "./ERC721.sol";
import "../../introspection/ERC165.sol";
/**
* @title ERC-721 Non-Fungible Token with optional enumeration extension logic
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721Enumerable is Initializable, ERC165, ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => uint256[]) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;
/*
* 0x780e9d63 ===
* bytes4(keccak256('totalSupply()')) ^
* bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^
* bytes4(keccak256('tokenByIndex(uint256)'))
*/
/**
* @dev Constructor function
*/
function initialize() public initializer {
require(ERC721._hasBeenInitialized());
// register the supported interface to conform to ERC721Enumerable via ERC165
_registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
}
function _hasBeenInitialized() internal view returns (bool) {
return supportsInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
}
/**
* @dev Gets the token ID at a given index of the tokens list of the requested owner
* @param owner address owning the tokens list to be accessed
* @param index uint256 representing the index to be accessed of the requested tokens list
* @return uint256 token ID at the given index of the tokens list owned by the requested address
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
require(index < balanceOf(owner));
return _ownedTokens[owner][index];
}
/**
* @dev Gets the total amount of tokens stored by the contract
* @return uint256 representing the total amount of tokens
*/
function totalSupply() public view returns (uint256) {
return _allTokens.length;
}
/**
* @dev Gets the token ID at a given index of all the tokens in this contract
* Reverts if the index is greater or equal to the total number of tokens
* @param index uint256 representing the index to be accessed of the tokens list
* @return uint256 token ID at the given index of the tokens list
*/
function tokenByIndex(uint256 index) public view returns (uint256) {
require(index < totalSupply());
return _allTokens[index];
}
/**
* @dev Internal function to transfer ownership of a given token ID to another address.
* As opposed to transferFrom, this imposes no restrictions on msg.sender.
* @param from current owner of the token
* @param to address to receive the ownership of the given token ID
* @param tokenId uint256 ID of the token to be transferred
*/
function _transferFrom(address from, address to, uint256 tokenId) internal {
super._transferFrom(from, to, tokenId);
_removeTokenFromOwnerEnumeration(from, tokenId);
_addTokenToOwnerEnumeration(to, tokenId);
}
/**
* @dev Internal function to mint a new token
* Reverts if the given token ID already exists
* @param to address the beneficiary that will own the minted token
* @param tokenId uint256 ID of the token to be minted
*/
function _mint(address to, uint256 tokenId) internal {
super._mint(to, tokenId);
_addTokenToOwnerEnumeration(to, tokenId);
_addTokenToAllTokensEnumeration(tokenId);
}
/**
* @dev Internal function to burn a specific token
* Reverts if the token does not exist
* Deprecated, use _burn(uint256) instead
* @param owner owner of the token to burn
* @param tokenId uint256 ID of the token being burned
*/
function _burn(address owner, uint256 tokenId) internal {
super._burn(owner, tokenId);
_removeTokenFromOwnerEnumeration(owner, tokenId);
// Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
_ownedTokensIndex[tokenId] = 0;
_removeTokenFromAllTokensEnumeration(tokenId);
}
/**
* @dev Gets the list of token IDs of the requested owner
* @param owner address owning the tokens
* @return uint256[] List of token IDs owned by the requested address
*/
function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
return _ownedTokens[owner];
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
_ownedTokensIndex[tokenId] = _ownedTokens[to].length;
_ownedTokens[to].push(tokenId);
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the _ownedTokensIndex mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _ownedTokens[from].length.sub(1);
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
_ownedTokens[from].length--;
// Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
// lastTokenId, or just over the end of the array if the token was the last one).
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length.sub(1);
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
_allTokens.length--;
_allTokensIndex[tokenId] = 0;
}
uint256[50] private ______gap;
}
pragma solidity ^0.5.2;
import "zos-lib/contracts/Initializable.sol";
import "./IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
contract IERC721Metadata is Initializable, IERC721 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), 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 {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
pragma solidity >=0.4.24 <0.6.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer functions must be manually
* invoked. This applies both to deploying an Initializable contract, as well
* as extending an Initializable contract via inheritance.
* WARNING: When used with inheritance, manual care must be taken to not invoke
* a parent initializer twice, or ensure that all initializers are idempotent,
* because this is not dealt with automatically as with constructors.
*/
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/**
* @dev Modifier to use in the initializer function of a contract.
*/
modifier initializer() {
require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");
bool isTopLevelCall = !initializing;
if (isTopLevelCall) {
initializing = true;
initialized = true;
}
_;
if (isTopLevelCall) {
initializing = false;
}
}
/// @dev Returns true if and only if the function is running in the constructor
function isConstructor() private view returns (bool) {
// extcodesize checks the size of the code stored in an address, and
// address returns the current address. Since the code is still not
// deployed when running a constructor, any checks on its code size will
// yield zero, making it an effective way to detect if a contract is
// under construction or not.
uint256 cs;
assembly { cs := extcodesize(address) }
return cs == 0;
}
// Reserved storage space to allow for layout changes in the future.
uint256[50] private ______gap;
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library Assert {
event AssertionEvent(
bool passed,
string message,
string methodName
);
event AssertionEventUint(
bool passed,
string message,
string methodName,
uint256 returned,
uint256 expected
);
event AssertionEventInt(
bool passed,
string message,
string methodName,
int256 returned,
int256 expected
);
event AssertionEventBool(
bool passed,
string message,
string methodName,
bool returned,
bool expected
);
event AssertionEventAddress(
bool passed,
string message,
string methodName,
address returned,
address expected
);
event AssertionEventBytes32(
bool passed,
string message,
string methodName,
bytes32 returned,
bytes32 expected
);
event AssertionEventString(
bool passed,
string message,
string methodName,
string returned,
string expected
);
event AssertionEventUintInt(
bool passed,
string message,
string methodName,
uint256 returned,
int256 expected
);
event AssertionEventIntUint(
bool passed,
string message,
string methodName,
int256 returned,
uint256 expected
);
function ok(bool a, string memory message) public returns (bool result) {
result = a;
emit AssertionEvent(result, message, "ok");
}
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventUint(result, message, "equal", a, b);
}
function equal(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventInt(result, message, "equal", a, b);
}
function equal(bool a, bool b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBool(result, message, "equal", a, b);
}
// TODO: only for certain versions of solc
//function equal(fixed a, fixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function equal(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
function equal(address a, address b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventAddress(result, message, "equal", a, b);
}
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBytes32(result, message, "equal", a, b);
}
function equal(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "equal", a, b);
}
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventUint(result, message, "notEqual", a, b);
}
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventInt(result, message, "notEqual", a, b);
}
function notEqual(bool a, bool b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBool(result, message, "notEqual", a, b);
}
// TODO: only for certain versions of solc
//function notEqual(fixed a, fixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
function notEqual(address a, address b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventAddress(result, message, "notEqual", a, b);
}
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBytes32(result, message, "notEqual", a, b);
}
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "notEqual", a, b);
}
/*----------------- Greater than --------------------*/
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventUint(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventInt(result, message, "greaterThan", a, b);
}
// TODO: safely compare between uint and int
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative uint "a" always greater
result = true;
} else {
result = (a > uint(b));
}
emit AssertionEventUintInt(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative uint "b" always greater
result = false;
} else {
result = (uint(a) > b);
}
emit AssertionEventIntUint(result, message, "greaterThan", a, b);
}
/*----------------- Lesser than --------------------*/
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventUint(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventInt(result, message, "lesserThan", a, b);
}
// TODO: safely compare between uint and int
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative int "b" always lesser
result = false;
} else {
result = (a < uint(b));
}
emit AssertionEventUintInt(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative int "a" always lesser
result = true;
} else {
result = (uint(a) < b);
}
emit AssertionEventIntUint(result, message, "lesserThan", a, b);
}
}
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://gist.github.com/e631bbfbeb9c71ebcdfd8429d3c2e055.git
[http]
corsProxy = https://corsproxy.remixproject.org/
[branch "master"]
merge = refs/heads/master
remote = origin
ref: refs/heads/master
DIRC�e�"@e�"@E����C�ْC�^ζ1��m���xR.deps...npm...@divergencetech...ethier...contracts...crypto...SignatureChecker.sole�"@e�"@F���J�giv`�W�j:��;��O.deps...npm...@divergencetech...ethier...contracts...crypto...SignerManager.sole�1T�e�1T�G�� <�%�1.��PI q�穱3eh�N.deps...npm...@divergencetech...ethier...contracts...erc721...BaseTokenURI.sole�1T�e�1T�H���Bk���T�M�s���Xl�I.deps...npm...@divergencetech...ethier...contracts...erc721...ERC4906.sole�@��e�@��I�� /��~�OCHB��g��.6�>�O.deps...npm...@divergencetech...ethier...contracts...erc721...ERC721ACommon.sole�@��e�@��J�������T����|v{���P.deps...npm...@divergencetech...ethier...contracts...erc721...ERC721Redeemer.sole�O�e�O�K��,��y���o>@:.1rd��Q.deps...npm...@divergencetech...ethier...contracts...sales...FixedPriceSeller.sole�_@e�_@L��.�Χ豷͛�$f�Gھ��G.deps...npm...@divergencetech...ethier...contracts...sales...Seller.sole���e���M����� c�*�\��xj#AX.deps...npm...@divergencetech...ethier...contracts...utils...AccessControlEnumerable.sole�7�:e�7�:����^�(�9���D�M�q�o" +�V.deps...npm...@divergencetech...ethier...contracts...utils...AccessControlPausable.sole��$@e��$@N���_k�Ϧ駲( p�m5�@ ԫJ.deps...npm...@divergencetech...ethier...contracts...utils...Monotonic.sole��$@e��$@O��UK��/a��ae��*�'J&�N.deps...npm...@divergencetech...ethier...contracts...utils...OwnerPausable.sole��f�e��f�P�� $ƾ9�F�ytŚ�t�c�wnD.deps...npm...@openzeppelin...contracts...access...AccessControl.sole����e����Q�� g5N�)�=a}y��q&�Q>�?wN.deps...npm...@openzeppelin...contracts...access...AccessControlEnumerable.sole�˔@e�˔@�� h�s��4^ sPr�����E.deps...npm...@openzeppelin...contracts...access...IAccessControl.sole�7�|@e�7�|@����a��z�g�7r����E#�dO.deps...npm...@openzeppelin...contracts...access...IAccessControlEnumerable.sole�7辀e�7辀���
8����� ��l���/0q>.deps...npm...@openzeppelin...contracts...access...Ownable.sole����e����R��f���"(�Λ'�,�c��E��C.deps...npm...@openzeppelin...contracts...governance...Governor.sole�7辀e�7辀��� ��QtE���'O@���^׮w^.deps...npm...@openzeppelin...contracts...governance...extensions...GovernorCountingSimple.sole���e���S�����\��6��#�����M��MkU.deps...npm...@openzeppelin...contracts...governance...extensions...GovernorVotes.sole���e���T��� zyg �`.��Gs�t����c.deps...npm...@openzeppelin...contracts...governance...extensions...GovernorVotesQuorumFraction.sole��-@e��-@U��vF[�.�L=˴�!�ۚhl+�C.deps...npm...@openzeppelin...contracts...interfaces...IERC2981.sole�7��e�7������̱_6����X������r��C.deps...npm...@openzeppelin...contracts...interfaces...IERC5805.sole���e��������+1R�h3��U�)� ��E�B.deps...npm...@openzeppelin...contracts...interfaces...IERC721.sole��o�e��o�V��9>��FG{��r [�`j�/9=.deps...npm...@openzeppelin...contracts...math...SafeMath.sole��o�e��o�W�� ���C/���֋<Սu��A.deps...npm...@openzeppelin...contracts...security...Pausable.sole����e����X�� 7����(�t��2�����|�AH.deps...npm...@openzeppelin...contracts...security...ReentrancyGuard.sole��րe��ր��2-����`O��6����_����C.deps...npm...@openzeppelin...contracts...token...ERC20...ERC20.sole��`e��`���
�m[N�h¯�y�����U�o"D.deps...npm...@openzeppelin...contracts...token...ERC20...IERC20.sole�8Ce�8C�����Q�=]��y���{�2 40ƙG.deps...npm...@openzeppelin...contracts...token...ERC20...SafeERC20.sole�8Ce�8C���qЎ�lb��^N�I�w��Y�%X.deps...npm...@openzeppelin...contracts...token...ERC20...extensions...ERC20Burnable.sole�8�@e�8�@��� �~�3qpB��*���_�m�V.deps...npm...@openzeppelin...contracts...token...ERC20...extensions...ERC20Permit.sole����e����Y��*�1���@� *�Q�ǁ,N 9� U.deps...npm...@openzeppelin...contracts...token...ERC20...extensions...ERC20Votes.sole��@e��@������j����� E����E`��Y.deps...npm...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole��e��Z���U��&�r�����b�Q$Yu \.deps...npm...@openzeppelin...contracts...token...ERC20...extensions...draft-ERC20Permit.sole��e�����BnyB��I��B����a��ʒ��gE.deps...npm...@openzeppelin...contracts...token...ERC721...ERC721.sole��e����� )?Vh9�t�yۏ��%�KFF.deps...npm...@openzeppelin...contracts...token...ERC721...IERC721.sole�6@e�6@[����g ��h+��U�3S�� �) N.deps...npm...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�&�e�&��������<欳�t��w�DIP���\.deps...npm...@openzeppelin...contracts...token...ERC721...extensions...ERC721Enumerable.sole���e��� ���ܧ{�� P� �a�:D��k�[.deps...npm...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole�85 �e�85 �����}G���7�II��[=dl�AF.deps...npm...@openzeppelin...contracts...token...common...ERC2981.sole�8DLe�8DL���$���js�޳�K�K�6p�|�W=.deps...npm...@openzeppelin...contracts...utils...Address.sole�I @e�I @���L�[F����VPm>��X_=.deps...npm...@openzeppelin...contracts...utils...Context.sole�%x�e�%x�\��t�O*.r��d`��v���5<�>.deps...npm...@openzeppelin...contracts...utils...Counters.sole�8S�@e�8S�@���
�e~�f6�����1��k��J9�=.deps...npm...@openzeppelin...contracts...utils...Strings.sole�8S�@e�8S�@���#�C&�d(�5��ME'q�;J.deps...npm...@openzeppelin...contracts...utils...cryptography...ECDSA.sole���e���!��*sH`G��m��0�I����bK.deps...npm...@openzeppelin...contracts...utils...cryptography...EIP712.sole�4��e�4��]�����;��_DQ[I�\#O�+��Q.deps...npm...@openzeppelin...contracts...utils...cryptography...draft-EIP712.sole�8bЀe�8bЀ����;�a:l� v�)jF}��� NW�L.deps...npm...@openzeppelin...contracts...utils...introspection...ERC165.sole�8r�e�8r����U�ͽ�`��&^����F{;
&M.deps...npm...@openzeppelin...contracts...utils...introspection...IERC165.sole�8�Ue�8�U���1�UQ&�� [�tI�?U ���AA.deps...npm...@openzeppelin...contracts...utils...math...Math.sole�8�Ue�8�U���� CZ_�P��ɐ���i$�9E.deps...npm...@openzeppelin...contracts...utils...math...SafeCast.sole��[e��["��%�1Za�ґ�;@�%A9_eE.deps...npm...@openzeppelin...contracts...utils...math...SafeMath.sole�8��@e�8��@����>���� B=�%�غ�x���G.deps...npm...@openzeppelin...contracts...utils...math...SignedMath.sole�8�ـe�8�ـ���%g��u�=���n�вy�m�G.deps...npm...@openzeppelin...contracts...utils...structs...BitMaps.sole�C�e�C�^��2�D�0%��K�>{<�N��V��M.deps...npm...@openzeppelin...contracts...utils...structs...EnumerableSet.sole�S?@e�S?@_�����R�`#f.�H�x�I(�/.deps...npm...erc721a...contracts...ERC721A.sole��@e��@#��" K�}�^�޽so+��79[���0.deps...npm...erc721a...contracts...IERC721A.sole�S?@e�S?@`�� ��p�?�dK���o�<�GG4�a�#.deps...npm...hardhat...console.sole����e������-�ej[d W�A=u��J����X�H.deps...npm...openzeppelin-eth...contracts...token...ERC721...ERC721.sole�q��e�q��a��"���B�܁#�D�$'&�&��a
R.deps...npm...openzeppelin-eth...contracts...token...ERC721...ERC721Enumerable.sole� ie� i����q괊�p��X��_�1g�mxQ.deps...npm...openzeppelin-eth...contracts...token...ERC721...IERC721Metadata.sole�߀e�߀$����C.�Чs!;��d��/,�F.deps...npm...openzeppelin-solidity...contracts...access...Ownable.sole�8��e�8��������/T{�����M�l}H�%Z5.deps...npm...zos-lib...contracts...Initializable.sole��e��b��p-!aF��+�6M�P�v��toJ0x7cec6f214afabc001b316c949d64cb0d0b18b652-TaxableERC20...TaxableERC20.sole��e��c��%��?�����%�7�]�j�L�1P0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...DepositContract.sole��H@e��H@d��A�t����g4����r��3���]0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...DepositContract.jsone�8��e�8������o��Eb�a����맰��O,=f0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...DepositContract_metadata.jsone�Xb�e�Xb��������jg��򄫏*�,�z�sT0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...ERC165.jsone�E�@e�E�@%���*�ئC^��(�j������K]0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...ERC165_metadata.jsone�T�e�T�&�� �lS�� wM��p��@o:qR^0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...IDepositContract.jsone�d*�e�d*�'�� $�Ɲl R%J�
���
E�l^�g0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...IDepositContract_metadata.jsone�8�^e�8�^��������^�f�X'-�=�r3{0xb20a608c624ca5003905aa834de7156c68b2e1d0-DepositContract...artifacts...build-info...c48234b1f03b917ce309923778790c57.jsone�sme�sm(����C.�Чs!;��d��/,�;1Inch-V2...@openzeppelin...contracts...access...Ownable.sole��H@e��H@e��9>��FG{��r [�`j�/9:1Inch-V2...@openzeppelin...contracts...math...SafeMath.sole�8͠@e�8͠@���
���}�������o�C;�e��A1Inch-V2...@openzeppelin...contracts...token...ERC20...IERC20.sole�8�$�e�8�$������Q�=]��y���{�2 40ƙD1Inch-V2...@openzeppelin...contracts...token...ERC20...SafeERC20.sole��Ae��A���B����4W*@,��7:1Inch-V2...@openzeppelin...contracts...utils...Address.sole���@e���@)���=Ī��g?���z���2�C:1Inch-V2...@openzeppelin...contracts...utils...Context.sole���e���*���u@�}Q�%��]��txYr�q;1Inch-V2...@openzeppelin...contracts...utils...Pausable.sole����e����f���:�XƍdM�L���U�W��3*1Inch-V2...contracts...OneInchExchange.sole��Q@e��Q@g�� ����|L `��Rnu�z
71Inch-V2...contracts...helpers...RevertReasonParser.sole��Q@e��Q@h���<�o���U �VӯI�e_:B��-1Inch-V2...contracts...helpers...UniERC20.sole�ܓ�e�ܓ�i��Zoy �8`#��kc�y�z���,1Inch-V2...contracts...interfaces...IChi.sole�ܓ�e�ܓ�j����m��j���M~�~]��[41Inch-V2...contracts...interfaces...IERC20Permit.sole����e����k�����'�=� t��y&^8h=1Inch-V2...contracts...interfaces...IGasDiscountExtension.sole����e����l��@�3w�Jc$�K���M*��z��61Inch-V2...contracts...interfaces...IOneInchCaller.sole����e����m��D�C��c�M���Q�b";1Inch-V2...contracts...interfaces...ISafeERC20Extension.sole��e��n��sIaQ��0
�,R핈�H�K<Aave-V3...dependencies...chainlink...AggregatorInterface.sole��e��o��uŏ� V��?������� �R�/?Aave-V3...dependencies...gnosis...contracts...GPv2SafeERC20.sole��3�e��3�+���� ��z�7I�GI��Q����EAave-V3...dependencies...openzeppelin...contracts...AccessControl.sole�
Z@e�
Z@p��՚k�����O�v��2a02}Ic?Aave-V3...dependencies...openzeppelin...contracts...Address.sole�
Z@e�
Z@q���D^�@������!U{�+[��?Aave-V3...dependencies...openzeppelin...contracts...Context.sole�
Z@e�
Z@r���3n~�����林(Ө-�>Aave-V3...dependencies...openzeppelin...contracts...ERC165.sole�8�ge�8�g���(9M��&��v���{�`��6� �=Aave-V3...dependencies...openzeppelin...contracts...ERC20.sole�/�@e�/�@���
���Rcˋ3 >_��$ɘ���FAave-V3...dependencies...openzeppelin...contracts...IAccessControl.sole���e���s���<)�Z?�UZe���XӾ?Aave-V3...dependencies...openzeppelin...contracts...IERC165.sole�9
�@e�9
�@���
GU�xЎN��q�z�1�>Aave-V3...dependencies...openzeppelin...contracts...IERC20.sole���e���t��6cEO<��@����I�_�,�dFAave-V3...dependencies...openzeppelin...contracts...IERC20Detailed.sole�g��e�g�����8��T�k�Ȕ#�X�6k�z�?Aave-V3...dependencies...openzeppelin...contracts...Ownable.sole��ve��v,�� mp���{�.�0��"[2]�pp@Aave-V3...dependencies...openzeppelin...contracts...SafeCast.sole���@e���@-��0��t���v��8����
~AAave-V3...dependencies...openzeppelin...contracts...SafeERC20.sole�9�e�9�����[�MY����4*�<:sl,��a@Aave-V3...dependencies...openzeppelin...contracts...SafeMath.sole�(��e�(��u����jhI}C�����&f*4�?Aave-V3...dependencies...openzeppelin...contracts...Strings.sole�9)-�e�9)-����oQe�4�@�Kʡf�����R~UAave-V3...dependencies...openzeppelin...upgradeability...AdminUpgradeabilityProxy.sole�(��e�(��v��T�� ��/7��祺�;��`YAave-V3...dependencies...openzeppelin...upgradeability...BaseAdminUpgradeabilityProxy.sole�8!e�8!w����_�x���̈́@|���.4�6�TAave-V3...dependencies...openzeppelin...upgradeability...BaseUpgradeabilityProxy.sole�8!e�8!x��xc13CO†��wm�<E�JAave-V3...dependencies...openzeppelin...upgradeability...Initializable.sole�Gc@e�Gc@y�� �Px�P��S�_+S=sbAave-V3...dependencies...openzeppelin...upgradeability...InitializableAdminUpgradeabilityProxy.sole�98pe�98p�����jN'�Q���Ρ��zum]Aave-V3...dependencies...openzeppelin...upgradeability...InitializableUpgradeabilityProxy.sole�Gc@e�Gc@z���oh� 6���������̅BAave-V3...dependencies...openzeppelin...upgradeability...Proxy.sole����e����.��seB/n_��*p�Jaa��pPAave-V3...dependencies...openzeppelin...upgradeability...UpgradeabilityProxy.sole�Gc@e�Gc@{����3�E�#).R��"��X�E�)Aave-V3...dependencies...weth...WETH9.sole�V��e�V��|���qP2���h��F��,�Q�}Z/Aave-V3...deployments...ReservesSetupHelper.sole�9G�@e�9G�@����3E/���c��� f�k�
�7�6Aave-V3...flashloan...base...FlashLoanReceiverBase.sole�V��e�V��}���@��j�!GR����"�����M<Aave-V3...flashloan...base...FlashLoanSimpleReceiverBase.sole�e��e�e��~���� -��k����)�R,�m��9Aave-V3...flashloan...interfaces...IFlashLoanReceiver.sole�9V�e�9V����vI+bz$�=L�I8�Fh�E���?Aave-V3...flashloan...interfaces...IFlashLoanSimpleReceiver.sole�u*e�u*��W��|��q]!������
&Aave-V3...interfaces...IACLManager.sole�u*e�u*���]y����J��� ��� �"Aave-V3...interfaces...IAToken.sole��l@e��l@���O�l`Z��<��#���9A��2,4Aave-V3...interfaces...IAaveIncentivesController.sole��l@e��l@��� Z J����ےTƀ�f�u��&Aave-V3...interfaces...IAaveOracle.sole����e��������21�&F�4�3�J�:c~_1Aave-V3...interfaces...ICreditDelegationToken.sole����e��������"w&�=����≆���1�7Aave-V3...interfaces...IDefaultInterestRateStrategy.sole����e������������"�\��-�ؔ��uj+Aave-V3...interfaces...IDelegationToken.sole����e���������:�*U�&�.��A�$��+Aave-V3...interfaces...IERC20WithPermit.sole�9V�e�9V����� ��+ ��&ˌ7��i% I/Aave-V3...interfaces...IInitializableAToken.sole��3e��3����������p�η�0S�֣�e=2Aave-V3...interfaces...IInitializableDebtToken.sole��3e��3���=��l{�tQ�1oL�,\��)�"Aave-V3...interfaces...IL2Pool.sole��u@e��u@�����0ns����NT�.�hJ�5�O Aave-V3...interfaces...IPool.sole��u@e��u@��� Xz �V6���x!D�5�z[h1Aave-V3...interfaces...IPoolAddressesProvider.sole��u@e��u@��� |�LyYcKU��v�����9Aave-V3...interfaces...IPoolAddressesProviderRegistry.sole�з�e�з����KhS�ee���z��q?J�~� @�,Aave-V3...interfaces...IPoolConfigurator.sole�з�e�з����#뫫 ��e<_k0� RK�,Aave-V3...interfaces...IPoolDataProvider.sole����e�������k:m�
� �ǐ-~@P��#���'Aave-V3...interfaces...IPriceOracle.sole����e�������U ��<@�X�ɝt/g�ᷨ[�-Aave-V3...interfaces...IPriceOracleGetter.sole����e��������zI��A�z� �G���M�/Aave-V3...interfaces...IPriceOracleSentinel.sole��<e��<���B��,�u?/�P�5s(|��a�7Aave-V3...interfaces...IReserveInterestRateStrategy.sole��<e��<���
?mN�oM�Q�D�~��n�[|��@AntiBot-ERC20...@openzeppelin...contracts...access...Ownable.sole�9f6�e�9f6����2�+�PH�L��s��T`���,�EAntiBot-ERC20...@openzeppelin...contracts...token...ERC20...ERC20.sole����e����/��
ϸ��c�RR��! �����eFAntiBot-ERC20...@openzeppelin...contracts...token...ERC20...IERC20.sole�9uye�9uy���qЎ�lb��^N�I�w��Y�%ZAntiBot-ERC20...@openzeppelin...contracts...token...ERC20...extensions...ERC20Burnable.sole�/�@e�/�@������j����� E����E`��[AntiBot-ERC20...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole�9��@e�9��@��� :�L�g���|��:�MJ,�^AntiBot-ERC20...@openzeppelin...contracts...token...ERC20...extensions...draft-ERC20Permit.sole�9��@e�9��@����cc�@��T׵��힡�_AntiBot-ERC20...@openzeppelin...contracts...token...ERC20...extensions...draft-IERC20Permit.sole�v�e�v����L�[F����VPm>��X_?AntiBot-ERC20...@openzeppelin...contracts...utils...Context.sole��~@e��~@���t�O*.r��d`��v���5<�@AntiBot-ERC20...@openzeppelin...contracts...utils...Counters.sole��<�e��<�0���v�6@�2 W���( �nB�-?AntiBot-ERC20...@openzeppelin...contracts...utils...Strings.sole�N/�e�N/����!ZKf�����.�x�
�B�LAntiBot-ERC20...@openzeppelin...contracts...utils...cryptography...ECDSA.sole�9���e�9��������!~'�7��%Kh�00�yi�#MAntiBot-ERC20...@openzeppelin...contracts...utils...cryptography...EIP712.sole��e��1��0�xH� 8��R�c���BX�6CAntiBot-ERC20...@openzeppelin...contracts...utils...math...Math.sole��~@e��~@�������=�; Rn}_��̾�uB,AntiBot-ERC20...contracts...AntiBotERC20.sole�9�?�e�9�?���� �cy�w(R�pI;�E"�N��c�ZAntiBot-ERC20...contracts...artifacts...build-info...42e00c8e9ce727129d559c7b3288c882.jsone� ��e� �����v���1s�S]e")'"�zS�HBuyback-Token-with-Fees...@openzeppelin...contracts...proxy...Clones.sole�l�@e�l�@��� r�і��ذ)�4�k�i�0�IBuyback-Token-with-Fees...@openzeppelin...contracts...utils...Address.sole�9�?�e�9�?����Uw���SHa<6�,L�+b!QBuyback-Token-with-Fees...@openzeppelin...contracts...utils...math...SafeMath.sole� ��e� �����@n�&�_�� �IJ�Ee
XN�"Buyback-Token-with-Fees...Auth.sole� ��e� ��������o�{�Q�c�YO�\�x��'Buyback-Token-with-Fees...BaseToken.sole��e�����E��'u���u����#0x�q�.Buyback-Token-with-Fees...BuybackBabyToken.sole��e�������k�ytV��3�����c�?Ɯ1Buyback-Token-with-Fees...DividendDistributor.sole�9��e�9������{ �O]�Z���=Y�|�(,Buyback-Token-with-Fees...IERC20Extended.sole�,Ee�,E���JS_��?�$}VG������/Buyback-Token-with-Fees...IUniswapV2Factory.sole�,Ee�,E�������ҶC�����}��^�0Buyback-Token-with-Fees...IUniswapV2Router02.sole�,Ee�,E���3�i�fG�2yiJc������p� �'ChainLink...src...v0.4...Aggregator.sole��e��2�����
�H1|��Ο%^#`s&ChainLink...src...v0.4...Chainlink.sole���@e���@3��#��&dϛ�\��M�O)�YL����,ChainLink...src...v0.4...ChainlinkClient.sole�;�@e�;�@���v�7����S�����h�R8��o(ChainLink...src...v0.4...Chainlinked.sole�;�@e�;�@���9׌��.luƶ��de7�>H�w(ChainLink...src...v0.4...ERC677Token.sole�Z �e�Z ������.{�����`�x�n`R��&ChainLink...src...v0.4...LinkToken.sole�iNe�iN���+=��÷7^i����
9%K#ChainLink...src...v0.4...Oracle.sole�9��@e�9��@���4���qqܮɳ]����EjZ=ChainLink...src...v0.4...interfaces...AggregatorInterface.sole�9��@e�9��@�����8�-T��7q2 d� �CChainLink...src...v0.4...interfaces...ChainlinkRequestInterface.sole� �e� �4����t�k�nB�j6u`�'ux6ChainLink...src...v0.4...interfaces...ENSInterface.sole�iNe�iN������3�L,0��?��9�'��+/ChainLink...src...v0.4...interfaces...ERC20.sole�x�@e�x�@������(�����{���Q�IF(4ChainLink...src...v0.4...interfaces...ERC20Basic.sole�x�@e�x�@���g���k�� ��~�үk�0ChainLink...src...v0.4...interfaces...ERC677.sole��Ҁe��Ҁ���}�Fж����"�k�g�fnϑ�8ChainLink...src...v0.4...interfaces...ERC677Receiver.sole� �e� �5����Ü����p��Լ�چ'(j<ChainLink...src...v0.4...interfaces...LinkTokenInterface.sole�9��e�9������2DTR^e_���q��40�̿�9ChainLink...src...v0.4...interfaces...OracleInterface.sole��Ҁe��Ҁ���r� "L�A��_%�ܙE�f�F�:ChainLink...src...v0.4...interfaces...PointerInterface.sole��Ҁe��Ҁ����B��a��A�0�~yΣ��(2ChainLink...src...v0.4...tests...BasicConsumer.sole���e������Q�GV��8Ʉ8��_� {�Ĉu6ChainLink...src...v0.4...tests...ConcreteChainlink.sole���e������ $�ׇ�R0u�O�UY(�w�HZ8ChainLink...src...v0.4...tests...ConcreteChainlinked.sole��We��W���Q���T{h��7K>qx���-ChainLink...src...v0.4...tests...Consumer.sole��We��W���a�7�as�����q�֗�W�0ChainLink...src...v0.4...tests...EmptyOracle.sole��We��W���j� ��rIe߉����7ChainLink...src...v0.4...tests...MaliciousChainlink.sole���@e���@��� ��yX�@�ɦ�$dNX�� { 9ChainLink...src...v0.4...tests...MaliciousChainlinked.sole���@e���@������b�=F������(k��6ChainLink...src...v0.4...tests...MaliciousConsumer.sole���@e���@����dh��7�N�"л�J�7ChainLink...src...v0.4...tests...MaliciousRequester.sole��ۀe��ۀ�����=��p���Qs��ĝ��-`6ChainLink...src...v0.4...tests...UpdatableConsumer.sole��ۀe��ۀ���<H��,�E�n@��|J!��7x0ChainLink...src...v0.4...vendor...BasicToken.sole�9�H�e�9�H����%��Z��>�j�®���0LT`�),ChainLink...src...v0.4...vendor...Buffer.sole���e������"���V�n�8q:=�'�C�--*ChainLink...src...v0.4...vendor...CBOR.sole���e������o����5��OܜC� ����1ChainLink...src...v0.4...vendor...ENSResolver.sole���e��������W��EB+���7���-ChainLink...src...v0.4...vendor...Ownable.sole��`e��`���b�[r�h�w� �i��7ChainLink...src...v0.4...vendor...SafeMathChainlink.sole�9�H�e�9�H�����0tc�9��w���v6��B�X�4ChainLink...src...v0.4...vendor...SignedSafeMath.sole��`e��`��� +A4�,��HpIs��x�|��3ChainLink...src...v0.4...vendor...StandardToken.sole�9�e�9�����B&���/^� V���&ChainLink...src...v0.5...Chainlink.sole�9�e�9����#�,OyF��4-U�_X��3;S9�,ChainLink...src...v0.5...ChainlinkClient.sole�:�e�:���� $mL�#�@�6q�����Ͽ���.ChainLink...src...v0.5...LinkTokenReceiver.sole��@e��@��� g_u3rn�g�٥ބ?j>��:>�#ChainLink...src...v0.5...Median.sole�:Q�e�:Q����%?f��US�<�D}��H�+� #ChainLink...src...v0.5...Oracle.sole��@e��@���7�#��i��@�2�h*i���.ChainLink...src...v0.5...dev...Coordinator.sole��@e��@���Bx�\�2�Uq�s�:�%��(7ChainLink...src...v0.5...dev...CoordinatorInterface.sole��e�����'v���P�o'u� l�g#�:ChainLink...src...v0.5...dev...OracleSignaturesDecoder.sole��e�����J�g�};�3\���5�0��TA:ChainLink...src...v0.5...dev...ServiceAgreementDecoder.sole�:,�e�:,����ȵ��:�$i+Jv�W9P��?CChainLink...src...v0.5...interfaces...ChainlinkRequestInterface.sole�:;�@e�:;�@�����9K���@�d=�$�oW�v6ChainLink...src...v0.5...interfaces...ENSInterface.sole�:K�e�:K����$he�o�z�j-J}rt.����<ChainLink...src...v0.5...interfaces...LinkTokenInterface.sole�E�e�E�6����~Z.����_�X$�S׸�9ChainLink...src...v0.5...interfaces...OracleInterface.sole�&�e�&����q/0��(���{�kW�X:�9��:ChainLink...src...v0.5...interfaces...PointerInterface.sole� ie� i�����갫r&�cvJ����Vx���V=ChainLink...src...v0.5...interfaces...WithdrawalInterface.sole�v�e�v����Q�I��-�ϡ���Kx�jo�LCircle-USDC-MintController...@openzeppelin...contracts...math...SafeMath.sole� ie� i���0�����))�@��K�s�Q_�^ACircle-USDC-MintController...contracts...minting...Controller.sole�/�@e�/�@�����ᇺ9�9��r�ߒ�8��ECircle-USDC-MintController...contracts...minting...MintController.sole�:ZZ�e�:ZZ�������Nm�z�l���L-����PCircle-USDC-MintController...contracts...minting...MinterManagementInterface.sole�/�@e�/�@��� ��0��)�j�76�c��� Q9Circle-USDC-MintController...contracts...v1...Ownable.sole�:i�e�:i����Mh(Þ�7�ą����l*U.Compound...contracts...BaseJumpRateModelV2.sole�/�@e�/�@���B6@���M .ke �g_�'Compound...contracts...CDaiDelegate.sole�>�e�>����(�� �c�Zv�]l�d��\�'�T�!Compound...contracts...CErc20.sole�>�e�>����
+ ��4� ]�K�e� eԪ�)Compound...contracts...CErc20Delegate.sole�N/�e�N/����Z���؃�?RR�X��ʔ��� �R*Compound...contracts...CErc20Delegator.sole�N/�e�N/�������b��d��Ƨ��p@�#�*Compound...contracts...CErc20Immutable.sole�N/�e�N/����#>��U �UC�-�NM~�#�!Compound...contracts...CEther.sole�]re�]r����%��xǜu�X��00��gȺً!Compound...contracts...CToken.sole�]re�]r���'躍i�Z� ���Q?l85��`+Compound...contracts...CTokenInterfaces.sole�l�@e�l�@����E��umR�NL��9�͚pt��&Compound...contracts...Comptroller.sole�{��e�{������b��1 AD�D�#�1����(Compound...contracts...ComptrollerG7.sole�{��e�{�����
Ս`�6�K~����Y���*�,/Compound...contracts...ComptrollerInterface.sole�{��e�{������UY���{
���j5�L2��p-Compound...contracts...ComptrollerStorage.sole��8�e��8����s׏��,��ʈ'�$�m�k�1Compound...contracts...DAIInterestRateModelV3.sole�:i�e�:i����
��_��ޥ;�:�O&��q�xU)Compound...contracts...EIP20Interface.sole��8�e��8����
�T`/�i1�����}�S*�v�4Compound...contracts...EIP20NonStandardInterface.sole��{e��{���g���� J�1ge��C�R�(Compound...contracts...ErrorReporter.sole��{e��{���}#�3v ����k/�T˛��!�-Compound...contracts...ExponentialNoError.sole���@e���@���1YM2(��|S�޹����(���,Compound...contracts...Governance...Comp.sole�:x�@e�:x�@���;(�Cov��w� �66Ӑ��|��5Compound...contracts...Governance...GovernorAlpha.sole���@e���@���R��Ic�R���,e�A��P�=Compound...contracts...Governance...GovernorBravoDelegate.sole�:�!�e�:�!����JD,Bߑj0�R+����4$�.�h?Compound...contracts...Governance...GovernorBravoDelegateG1.sole���@e���@���S��A��c4I0�L,�]���6g?Compound...contracts...Governance...GovernorBravoDelegateG2.sole����e������� dᏁ{�A���=rG�<r_0� >Compound...contracts...Governance...GovernorBravoDelegator.sole����e�����������q��i�]O�=g?�?Compound...contracts...Governance...GovernorBravoInterfaces.sole����e�������o�1�ɝ2���s��&�� ,Compound...contracts...InterestRateModel.sole�:�!�e�:�!�����!DGX!�i�:��8)IV���(Compound...contracts...JumpRateModel.sole�E�e�E�7��-j����5�$��=��k{��*Compound...contracts...JumpRateModelV2.sole��A�e��A����FF� H�[G����^r`�p�.Compound...contracts...Lens...CompoundLens.sole�ׄe�ׄ���Vh��G]����Y��E���&Compound...contracts...Maximillion.sole���@e���@���Q�����Ҿ���EJ��&Compound...contracts...PriceOracle.sole���@e���@��� ʛ�xM3W���1���c0#�<�$Compound...contracts...Reservoir.sole�:�c�e�:�c������GL|6{�<.Tv�:x���F#Compound...contracts...SafeMath.sole���@e���@���]��v�K���p3����ErE,Compound...contracts...SimplePriceOracle.sole�:�c�e�:�c����yi���Ï��o,'��g��!y#Compound...contracts...Timelock.sole���e������D�"��P��k
!޳� C��%Compound...contracts...Unitroller.sole���e������ �Yr[��M>��d4oK?��P�S6Compound...contracts...WhitePaperInterestRateModel.sole�:��e�:������;�a:l� v�)jF}��� NW�IDelegate...@openzeppelin...contracts...utils...introspection...ERC165.sole�:��e�:�����U�ͽ�`��&^����F{;
&JDelegate...@openzeppelin...contracts...utils...introspection...IERC165.sole�J�e�J����2�D�0%��K�>{<�N��V��JDelegate...@openzeppelin...contracts...utils...structs...EnumerableSet.sole�J�e�J����S�L|�2�����j,���E�-Delegate...contracts...DelegationRegistry.sole�J�e�J�����m�($[�no�m����z�}�.Delegate...contracts...IDelegationRegistry.sole��e������������s=���ؐ�G��-:Delegate...contracts...artifacts...DelegationRegistry.jsone��e�����K����])���#^��X|a�!�CDelegate...contracts...artifacts...DelegationRegistry_metadata.jsone��e�����%;_���WMr�)���>� ����UDelegate...contracts...artifacts...build-info...f0e40ca9fa85e95387b7775300aec61d.jsone�:��@e�:��@���1j���׉O�.C8\ ��+�x�$Delegate...contracts...scenario.jsone�#�@e�#�@���P+�7V��~|��P�3�$�F+Eigenlayer...lib...ds-test...src...test.sole�#�@e�#�@���Q����˽m�Π�(�|��W�-Eigenlayer...lib...forge-std...src...Base.sole�3�e�3����5o|/cv��fu?�i���
�6Eigenlayer...lib...forge-std...src...StdAssertions.sole�3�e�3����)�SmE�$��2.z� �Z�cd��o2Eigenlayer...lib...forge-std...src...StdChains.sole�3�e�3����\���g�g�~PZ���qQN)2Eigenlayer...lib...forge-std...src...StdCheats.sole�BS�e�BS��������� #��+�n�q,�1Eigenlayer...lib...forge-std...src...StdError.sole�BS�e�BS���� ����lK�����) ����5Eigenlayer...lib...forge-std...src...StdInvariant.sole�Q�e�Q����=Nk��j� 1 #��Y@E`~0Eigenlayer...lib...forge-std...src...StdJson.sole�Q�e�Q����PE�#���� �)څVB�:��0Eigenlayer...lib...forge-std...src...StdMath.sole�Q�e�Q����.[s�ιi@{�O�#$�J��B��3Eigenlayer...lib...forge-std...src...StdStorage.sole�`�@e�`�@���(�F���j���H��:j�����1Eigenlayer...lib...forge-std...src...StdStyle.sole�p�e�p����'s�v8�<+�k�3tM2�Q��=1Eigenlayer...lib...forge-std...src...StdUtils.sole�\�e�\����e J�jٙ�M���qT �V_-Eigenlayer...lib...forge-std...src...Test.sole�\�e�\����p���(�5�<g��v�j3q3!�+Eigenlayer...lib...forge-std...src...Vm.sole�:��@e�:��@�����W�6���> �g3{5�0Eigenlayer...lib...forge-std...src...console.sole�\�e�\�������#=<�@�.�l��Sa���Q:1Eigenlayer...lib...forge-std...src...console2.sole���e������� qܺl�1�}�Gƒ׏AEigenlayer...lib...forge-std...src...interfaces...IMulticall3.sole�:�*�e�:�*���� R��|ܹGw��?[j$k�jw cEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...access...OwnableUpgradeable.sole�:�*�e�:�*����&:�S]���>7b�+��r�}eEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...proxy...utils...Initializable.sole�*�e�*�8�� {*4�z��&kȌ��Z���mEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...security...ReentrancyGuardUpgradeable.sole�:�l�e�:�l�����E9 Y����R�*(=bEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...utils...AddressUpgradeable.sole���@e���@���AHd��Q�⸌���F9"��bEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...utils...ContextUpgradeable.sole��)@e��)@���"��("["�R�;�����H1RfEigenlayer...lib...openzeppelin-contracts-upgradeable...contracts...utils...math...MathUpgradeable.sole���@e���@���
?mN�oM�Q�D�~��n�[|��LEigenlayer...lib...openzeppelin-contracts...contracts...access...Ownable.sole��#�e��#�����^�Lr�cs�/�'���$QEigenlayer...lib...openzeppelin-contracts...contracts...interfaces...IERC1271.sole��#�e��#����o;s�D̋��rp�xY{��wNWEigenlayer...lib...openzeppelin-contracts...contracts...interfaces...draft-IERC1822.sole�:�l�e�:�l����rw��VX-KT
��.iu� �\Eigenlayer...lib...openzeppelin-contracts...contracts...proxy...ERC1967...ERC1967Upgrade.sole�*�e�*�9�� ����*��M��K��jJv�h�IEigenlayer...lib...openzeppelin-contracts...contracts...proxy...Proxy.sole��e�e��e����0��^�%����8��.�G���XEigenlayer...lib...openzeppelin-contracts...contracts...proxy...beacon...BeaconProxy.sole��e�e��e��������*�Th2Y��Ĕ\����TEigenlayer...lib...openzeppelin-contracts...contracts...proxy...beacon...IBeacon.sole�9�@e�9�@:��
ϸ��c�RR��! �����eREigenlayer...lib...openzeppelin-contracts...contracts...token...ERC20...IERC20.sole�:�e�:�����cc�@��T׵��힡�kEigenlayer...lib...openzeppelin-contracts...contracts...token...ERC20...extensions...draft-IERC20Permit.sole��e�e��e����h7�_X��"j�V�u�M�>M�j]Eigenlayer...lib...openzeppelin-contracts...contracts...token...ERC20...utils...SafeERC20.sole�{��e�{����� r�і��ذ)�4�k�i�0�KEigenlayer...lib...openzeppelin-contracts...contracts...utils...Address.sole��k�e��k����L�[F����VPm>��X_KEigenlayer...lib...openzeppelin-contracts...contracts...utils...Context.sole�:�e�:���� ����ǿ������o�i Ț=KEigenlayer...lib...openzeppelin-contracts...contracts...utils...Create2.sole�;3�e�;3����
oj���k�QdET�А ���7OEigenlayer...lib...openzeppelin-contracts...contracts...utils...StorageSlot.sole�XN�e�XN�;�� ]9��O��P�����z���n�KEigenlayer...lib...openzeppelin-contracts...contracts...utils...Strings.sole�;3�e�;3����$�8��5����;�� %:��)�+XEigenlayer...lib...openzeppelin-contracts...contracts...utils...cryptography...ECDSA.sole�{��e�{�����"{�����'Fb�Q�XU��#��OEigenlayer...lib...openzeppelin-contracts...contracts...utils...math...Math.sole�˨e�˨���H'���lJ�,+�mkΙ�0T�,Eigenlayer...script...whitelist...Staker.sole�˨e�˨���];��X�`g��rD�ޫA ��,;Eigenlayer...src...contracts...core...DelegationManager.sole���@e���@�����)�%O�h�\���͈X��GBEigenlayer...src...contracts...core...DelegationManagerStorage.sole���@e���@����a���3?� G*Λ괴i�$1Eigenlayer...src...contracts...core...Slasher.sole��,�e��,�����^._��1C8������;:�s9Eigenlayer...src...contracts...core...StrategyManager.sole��,�e��,������ r�Ӥ'x8���c B�@Eigenlayer...src...contracts...core...StrategyManagerStorage.sole��,�e��,���7�ߘS2�fZ�bn鞛j�9kaGEigenlayer...src...contracts...interfaces...IBLSPublicKeyCompendium.sole��n�e��n���:ޅj��4�y �C� �d��<Eigenlayer...src...contracts...interfaces...IBLSRegistry.sole��n�e��n������Q�|^�Gf�ȶ�Bx��BEigenlayer...src...contracts...interfaces...IBeaconChainOracle.sole��e����"�C�p�����x���x%Iޞ`EEthereum-Name-Service...@ensdomains...buffer...contracts...Buffer.sole��e����i �v)�a��J��嶷9i�NDEthereum-Name-Service...@ensdomains...solsha1...contracts...SHA1.sole��e����
?mN�oM�Q�D�~��n�[|��HEthereum-Name-Service...@openzeppelin...contracts...access...Ownable.sole��@e��@���^�Lr�cs�/�'���$MEthereum-Name-Service...@openzeppelin...contracts...interfaces...IERC1271.sole��@e��@����M��.��8q�L?T?�pREthereum-Name-Service...@openzeppelin...contracts...token...ERC1155...IERC1155.sole�;u�e�;u��� � �q�F(�l
3//�<��ZEthereum-Name-Service...@openzeppelin...contracts...token...ERC1155...IERC1155Receiver.sole�'5�e�'5����R
)qPC��${�׶�Kp��jEthereum-Name-Service...@openzeppelin...contracts...token...ERC1155...extensions...IERC1155MetadataURI.sole�; �e�; ���2�+�PH�L��s��T`���,�MEthereum-Name-Service...@openzeppelin...contracts...token...ERC20...ERC20.sole�g�e�g�<��
ϸ��c�RR��! �����eNEthereum-Name-Service...@openzeppelin...contracts...token...ERC20...IERC20.sole��8�e��8�������j����� E����E`��cEthereum-Name-Service...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole����e�������B<��"����׋�;6�+�J OEthereum-Name-Service...@openzeppelin...contracts...token...ERC721...ERC721.sole�v�@e�v�@=��p" � �2u��tu�
B��m�QPEthereum-Name-Service...@openzeppelin...contracts...token...ERC721...IERC721.sole�'5�e�'5� ����g ��h+��U�3S�� �) XEthereum-Name-Service...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�v�@e�v�@>���ܧ{�� P� �a�:D��k�eEthereum-Name-Service...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole���e���?��#��@�Y��4iŚ�V$ �����GEthereum-Name-Service...@openzeppelin...contracts...utils...Address.sole����e�������L�[F����VPm>��X_GEthereum-Name-Service...@openzeppelin...contracts...utils...Context.sole�6w�e�6w�
�����mf���B�CiU ���QG�oGEthereum-Name-Service...@openzeppelin...contracts...utils...Create2.sole���e���@���v�6@�2 W���( �nB�-GEthereum-Name-Service...@openzeppelin...contracts...utils...Strings.sole��{e��{���!ZKf�����.�x�
�B�TEthereum-Name-Service...@openzeppelin...contracts...utils...cryptography...ECDSA.sole�6w�e�6w� ���AK�r�֜�K�vQ�8�|i_Ethereum-Name-Service...@openzeppelin...contracts...utils...cryptography...SignatureChecker.sole�;/�@e�;/�@���;�a:l� v�)jF}��� NW�VEthereum-Name-Service...@openzeppelin...contracts...utils...introspection...ERC165.sole�;?<�e�;?<���U�ͽ�`��&^����F{;
&WEthereum-Name-Service...@openzeppelin...contracts...utils...introspection...IERC165.sole��W�e��W�A��0�xH� 8��R�c���BX�6KEthereum-Name-Service...@openzeppelin...contracts...utils...math...Math.sole�6w�e�6w� ��GT� �G��������p�+FEthereum-Name-Service...contracts...dnsregistrar...DNSClaimChecker.sole�E�e�E� ���:�>A2+�G@�>y�U�CK:CEthereum-Name-Service...contracts...dnsregistrar...DNSRegistrar.sole�E�e�E����ycx~wF��?�R�I�Ҁ� DEthereum-Name-Service...contracts...dnsregistrar...IDNSRegistrar.sole�d>�e�d>���j�i>� O�c�W^~����JEthereum-Name-Service...contracts...dnsregistrar...OffchainDNSResolver.sole�s��e�s�����h�zJ���Gq�����}'k��GEthereum-Name-Service...contracts...dnsregistrar...PublicSuffixList.sole�s��e�s����S3�!7���0�K.��A#����CEthereum-Name-Service...contracts...dnsregistrar...RecordParser.sole���e�����#*:�5��]�e�fX��{_@MEthereum-Name-Service...contracts...dnsregistrar...SimplePublicSuffixList.sole���e�����憼�A<�������~�:�JEthereum-Name-Service...contracts...dnsregistrar...TLDPublicSuffixList.sole���e�����[��ޢ�Lod q�a �����5\VEthereum-Name-Service...contracts...dnsregistrar...mocks...DummyDnsRegistrarDNSSEC.sole�;N~�e�;N~�����R���WN'E���[�ª:ZEthereum-Name-Service...contracts...dnsregistrar...mocks...DummyExtendedDNSSECResolver.sole��@e��@��;1r+>�烸�A�w<�'�`�VEthereum-Name-Service...contracts...dnsregistrar...mocks...DummyLegacyTextResolver.sole��@e��@��2y�4L�{���.PV�±��}��BEthereum-Name-Service...contracts...dnssec-oracle...BytesUtils.sole��G�e��G���x���'E��*���`ɒ���>Ethereum-Name-Service...contracts...dnssec-oracle...DNSSEC.sole��G�e��G���<`����@�9ƫ�#{k�~0�BEthereum-Name-Service...contracts...dnssec-oracle...DNSSECImpl.sole����e������k1�j��*���g�s)��;��=Ethereum-Name-Service...contracts...dnssec-oracle...Owned.sole����e������7 ��_��%��/i��g�ɢe?Ethereum-Name-Service...contracts...dnssec-oracle...RRUtils.sole�;]�e�;]���#��!)�~@�O������u��;�<Ethereum-Name-Service...contracts...dnssec-oracle...SHA1.sole�;]�e�;]���u�v��^�#M�oi['@��NEthereum-Name-Service...contracts...dnssec-oracle...algorithms...Algorithm.sole����e������s��G(|x�������w)SEthereum-Name-Service...contracts...dnssec-oracle...algorithms...DummyAlgorithm.sole���e�����*�ha&Du����ٰ�O< T�TߙREthereum-Name-Service...contracts...dnssec-oracle...algorithms...EllipticCurve.sole���e�����D;�[^>��ZF�?�$^*UEthereum-Name-Service...contracts...dnssec-oracle...algorithms...ModexpPrecompile.sole��@e��@���"�.p7Y��{���z���*n�XEthereum-Name-Service...contracts...dnssec-oracle...algorithms...P256SHA256Algorithm.sole��@e��@��1WO?>m3�f�> I���6xsUEthereum-Name-Service...contracts...dnssec-oracle...algorithms...RSASHA1Algorithm.sole�;m@e�;m@��W3��w ����,u�X "[WEthereum-Name-Service...contracts...dnssec-oracle...algorithms...RSASHA256Algorithm.sole��P�e��P� ��GM�Z1M���ʪ��2�3~�FENEthereum-Name-Service...contracts...dnssec-oracle...algorithms...RSAVerify.sole��P�e��P�!��ń ��I�CTo�y�W E4�HEthereum-Name-Service...contracts...dnssec-oracle...digests...Digest.sole��P�e��P�"��9( E
r����Z%�JM��jDMEthereum-Name-Service...contracts...dnssec-oracle...digests...DummyDigest.sole���e���#����8"_����H4e|g���,s@Ethereum-Name-Service...contracts...utils...DummyOldResolver.sole���e���$��eȻ`1M���Þ�t����ޫ FEG...FEG.sole���e���%��
/$�˽Z,���fP��_�L��FEG...artifacts...Address.jsone���e���B��FI�f�9�#�aE�+'FEG...artifacts...Address_metadata.jsone�;m@e�;m@��8b�(Ҩ`��1�n����^��FEG...artifacts...Context.jsone���@e���@���F��)� �3D|�]�����'FEG...artifacts...Context_metadata.jsone���e���&�����sn�����ĹUD�A!(�FEG...artifacts...FEG.jsone�;|E�e�;|E� ��*B��h��K�I�Ÿ ������#FEG...artifacts...FEG_metadata.jsone�;|E�e�;|E�
���[[%&Z��\��3�96�FEG...artifacts...IERC20.jsone���e���C���y��i����:"?�o���b&FEG...artifacts...IERC20_metadata.jsone����e�������5^/�)}9$j^�" p�ߪ�ήFEG...artifacts...Ownable.jsone�;���e�;��� �� �j6���iC ].�Ju�#��''FEG...artifacts...Ownable_metadata.jsone�;���e�;��� �� �č�1��ǭ@�� ��p�EFEG...artifacts...SafeMath.jsone���@e���@D��G�1�G��B�~5��=6&Y(FEG...artifacts...SafeMath_metadata.jsone�e� ��UT�3º�m�ٝԋq{~�h��DFEG...artifacts...build-info...0bd7a705ef956843abb6140808d92312.jsone�e���䩷ܽF���W� 'ep���MFrax...@arbitrum...nitro-contracts...src...libraries...AddressAliasHelper.sole� @e� @'��̶'ړ0nsH�>�p/�6��r:Frax...@chainlink...contracts...src...v0.8...Chainlink.sole� @e� @(��/B�侽6���I�)}@}��Z��@Frax...@chainlink...contracts...src...v0.8...ChainlinkClient.sole�B@e�B@����r���(�> @�]�� ��SFrax...@chainlink...contracts...src...v0.8...interfaces...AggregatorV3Interface.sole� @e� @)���b�C�m�C�����Ђ�G]�WFrax...@chainlink...contracts...src...v0.8...interfaces...ChainlinkRequestInterface.sole�Y�e�Y�*������l���o�.cEWK����JFrax...@chainlink...contracts...src...v0.8...interfaces...ENSInterface.sole�*��e�*��+��o)=x.R�R�$�n��f?'�Î\PFrax...@chainlink...contracts...src...v0.8...interfaces...LinkTokenInterface.sole�*��e�*��,��,��u�1�������!�dUzOFrax...@chainlink...contracts...src...v0.8...interfaces...OperatorInterface.sole���@e���@E���é���E�������DžJMFrax...@chainlink...contracts...src...v0.8...interfaces...OracleInterface.sole�9�e�9�-����+��V���&�������3INFrax...@chainlink...contracts...src...v0.8...interfaces...PointerInterface.sole���e���F��'Zv���F� N�2�,� �8IFrax...@chainlink...contracts...src...v0.8...vendor...BufferChainlink.sole�9�e�9�.�� ;^��� 3�ZM����D ���CGFrax...@chainlink...contracts...src...v0.8...vendor...CBORChainlink.sole�I @e�I @/�����ߖ�_��3 nn� ܐPEFrax...@chainlink...contracts...src...v0.8...vendor...ENSResolver.sole�I @e�I @0�� $ƾ9�F�ytŚ�t�c�wn=Frax...@openzeppelin...contracts...access...AccessControl.sole���e���G�� h�s��4^ sPr�����>Frax...@openzeppelin...contracts...access...IAccessControl.sole�B@e�B@��
8����� ��l���/0q7Frax...@openzeppelin...contracts...access...Ownable.sole���e������M:k��r��>�>��O�E,}ʢ<Frax...@openzeppelin...contracts...interfaces...IERC5267.sole�I @e�I @1�� ���C/���֋<Սu��:Frax...@openzeppelin...contracts...security...Pausable.sole�Xb�e�Xb�2�� 7����(�t��2�����|�AAFrax...@openzeppelin...contracts...security...ReentrancyGuard.sole��`�e��`�H��2-����`O��6����_����<Frax...@openzeppelin...contracts...token...ERC20...ERC20.sole����e�������
�m[N�h¯�y�����U�o"=Frax...@openzeppelin...contracts...token...ERC20...IERC20.sole���e�����qЎ�lb��^N�I�w��Y�%QFrax...@openzeppelin...contracts...token...ERC20...extensions...ERC20Burnable.sole�-��e�-�����$���b�y'�"3d���l�'Frax...contracts...Common...Context.sole���e������-4���X2Iv-t��H�V�Ň$Frax...contracts...ERC20...ERC20.sole�g��e�g��3��':�Q�N��q9C�ϓB���(�Q*Frax...contracts...ERC20...ERC20Custom.sole�-��e�-���� �k�(v.ʾ`�Q@�h�Z/-L%Frax...contracts...ERC20...IERC20.sole�v�e�v�4��-( �߽`s"���\��)gƩ Frax...contracts...FXS...FXS.sole�v�e�v�5��A�c�n��+�.����e#�g"Frax...contracts...Frax...Frax.sole�v�e�v�6��[0w��}R�f`<���i�5x��C.Frax...contracts...Frax...Pools...FraxPool.sole��)@e��)@7���IGT(�S��ru^*W(��c� �5Frax...contracts...Frax...Pools...FraxPoolLibrary.sole�LK@e�LK@��/�݉N(�.����w�#1Frax...contracts...Governance...AccessControl.sole��)@e��)@8��=g5�~�s��42b ��U�y�.Frax...contracts...Governance...Governance.sole��k�e��k�9��n�R��i�v3���]w �s�/Frax...contracts...Governance...SigRelayer2.sole��k�e��k�:������gCɇzv+�qϭ(Frax...contracts...Math...Babylonian.sole��k�e��k�;��
��!g�I�y�GB�kSw�(Frax...contracts...Math...FixedPoint.sole��`�e��`�I��Ӂˬ�c\�>�3@6���:R��&Frax...contracts...Math...SafeMath.sole����e����<��nch:&�4����ش�O�h��z$5Frax...contracts...Oracle...AggregatorV3Interface.sole����e����=��@za0���؜�j�Iv�+�@<Frax...contracts...Oracle...ChainlinkETHUSDPriceConsumer.sole���e���>��y��E/���ۛZkH��ԎqD1Frax...contracts...Oracle...UniswapPairOracle.sole���e���?��S?�D�I q"�F�,�T���y?Frax...contracts...Staking...FRAX3CRV_Curve_FXS_Distributor.sole���e���@�� �@]k$�W ��O�,��D�&Frax...contracts...Staking...Owned.sole�LK@e�LK@���D�VT��:W��1�������?Frax...contracts...Uniswap...Interfaces...IUniswapV2Factory.sole��2@e��2@A�� �\�n��=k������vm�<Frax...contracts...Uniswap...Interfaces...IUniswapV2Pair.sole�[��e�[�����#p0���f� �6^�f:&�0�/Frax...contracts...Uniswap...TransferHelper.sole��2@e��2@B��$�T�*�����OM�h�a�11Frax...contracts...Uniswap...UniswapV2Library.sole��t�e��t�C����cd�΋@TjD�Ϝx�.�֫7Frax...contracts...Uniswap...UniswapV2OracleLibrary.sole���@e���@*����7�=f��X:����,�m�s&Frax...contracts...Utils...Address.sole��A�e��A����m#��t(�}�_�_��{5.�,Frax...contracts...Utils...EnumerableSet.sole��t�e��t�D��^_��ׅ�ٝAS1t��n��J� GMX.io...access...Governable.sole���e���E��&r�L��JG��[K�.��]r{�;"GMX.io...access...TokenManager.sole���e���F��~�ҫ),�Y�]�.�H)��)GMX.io...access...interfaces...IAdmin.sole���e���G��6N�Ӈ"8 -�-I����$d!GMX.io...amm...PancakeFactory.sole�;@e�;@H��o�4��e~�i�S�����4bGMX.io...amm...PancakePair.sole�;@e�;@I��踘9��ˋ��@�λ0�7��9 GMX.io...amm...PancakeRouter.sole�;@e�;@J���5��pZ.%�Rϩ�=�H4IGMX.io...amm...UniFactory.sole�}�e�}�K����~����A/_���L�dI� GMX.io...amm...UniNftManager.sole�}�e�}�L����L��F��珲$0�ԌGMX.io...amm...UniPool.sole�[��e�[������\��\ � �&�5��fL�/GMX.io...amm...interfaces...IPancakeFactory.sole�j��e�j����Ȝ�͟�Lώ4�KҮ���*y�,GMX.io...amm...interfaces...IPancakePair.sole�j��e�j����}�����S�>���Ei��%.GMX.io...amm...interfaces...IPancakeRouter.sole���e���M��*�v����uPǟze�]�z��l�\'GMX.io...core...BasePositionManager.sole���e���N��)Q �V=��@9$[�[��Q��+GMX.io...core...GlpManager.sole���e���O��~��7�f��WW��,�L�W�E� GMX.io...core...OrderBook.sole�.e�.P��0��� �!�� 9�>��*w���#GMX.io...core...PositionManager.sole�.e�.Q��jֳ�,�/J�4/y
�ZbJ�"GMX.io...core...PositionRouter.sole�=D@e�=D@R�� -�����Ž����K!�!N!GMX.io...core...PositionUtils.sole�=D@e�=D@S��&��ɨg-}�Wd�6 P'c��GMX.io...core...Router.sole�=D@e�=D@T��0�7��s��v���}v�!GMX.io...core...ShortsTracker.sole�L��e�L��U��� ��_�)R�8��]�]C �GMX.io...core...Vault.sole�L��e�L��V����b�P��х�@�7���7(GMX.io...core...VaultErrorController.sole�[��e�[��W��6A�5I���L#���C�@]o��"GMX.io...core...VaultPriceFeed.sole�k e�k X��!X�r�[�-4ѣ�A�E\�FgGMX.io...core...VaultUtils.sole��T@e��T@��@�Zp9 �ur/����]`�5GMX.io...core...interfaces...IBasePositionManager.sole�k e�k Y��΢�v���?���ۊ+��Xc,GMX.io...core...interfaces...IGlpManager.sole�zM@e�zM@Z��T֊�9�D ԩ�!Q!$�+GMX.io...core...interfaces...IOrderBook.sole����e��������1s|w��Y�׸�\gڝRq0GMX.io...core...interfaces...IPositionRouter.sole�zM@e�zM@[���X�\d�������v$���:�J@GMX.io...core...interfaces...IPositionRouterCallbackReceiver.sole����e������� ��J���`#1Œ��(GMX.io...core...interfaces...IRouter.sole��e������ �|3��9�a �t���Ep/GMX.io...core...interfaces...IShortsTracker.sole�zM@e�zM@\��̼�7:��o, co AYΔ'GMX.io...core...interfaces...IVault.sole��]@e��]@���{�=@���� %^T�$C�&0GMX.io...core...interfaces...IVaultPriceFeed.sole�՟�e�՟� �������ن{��eAU����,GMX.io...core...interfaces...IVaultUtils.sole����e����]�������Y��4��Æ2��.GMX.io...core...test...MaliciousTraderTest.sole����e����^������E�~�]��ɲ���z=GMX.io...core...test...PositionRouterCallbackReceiverTest.sole����e����_���mL�Nd�p#��Atp�i����,GMX.io...core...test...ShortsTrackerTest.sole��e��`�����`��.�3؆����e���7$GMX.io...core...test...VaultTest.sole��e��a��(� Ug+ws����#9�0��GMX.io...gambit-token...GMT.sole��e��b�����u��[�U�3�+�����B$GMX.io...gambit-token...Treasury.sole��V@e��V@c��� Zp���32 1o |����-GMX.io...gambit-token...interfaces...IGMT.sole��V@e��V@d��;��NQ�j�)ye�:��1��KGMX.io...gmx...EsGMX.sole��e��J��/�.����.;�Xy.�@�~��3GMX.io...gmx...GLP.sole����e����!��,<�n�� .?���ye�iD�GMX.io...gmx...GMX.sole�Ƙ�e�Ƙ�e���qޭ�#�> Z$x�"cFk��C�GMX.io...gmx...GmxFloor.sole�Ƙ�e�Ƙ�f�����R�<�=�������v`��GMX.io...gmx...GmxIou.sole�Ƙ�e�Ƙ�g��Uj�ǐ���-ldi�@&��8S��FGnosis-Safe...Safe.sole����e����h�� V���:�؉A�s��
bsZGnosis-Safe...SafeL2.sole����e����i��
I�Ҷn��ģI�k�/m��0Gnosis-Safe...accessors...SimulateTxAccessor.sole��e��j���4Vmr�8jooxJQB�⿴�!Gnosis-Safe...base...Executor.sole��e��k��ں��þ���Dn��/�_�w0(Gnosis-Safe...base...FallbackManager.sole��_@e��_@l�� }K�� 2}�X��P�0.�V���%Gnosis-Safe...base...GuardManager.sole��_@e��_@m��!N�Ó���?�7�[�Shҋ&Gnosis-Safe...base...ModuleManager.sole��_@e��_@n���)��� "W��,o�:I �T��%Gnosis-Safe...base...OwnerManager.sole���e���o������9��ө-(@����^ Gnosis-Safe...common...Enum.sole���e���p��GY�{&�>2s�5�����8Gnosis-Safe...common...NativeCurrencyPaymentFallback.sole���e���q�����������-e��z��#�/Gnosis-Safe...common...SecuredTokenTransfer.sole���e���r��N`��k��j�=!g�v��֠)Gnosis-Safe...common...SelfAuthorized.sole���e���s������~E�*�e1���}�=�+Gnosis-Safe...common...SignatureDecoder.sole�"&e�"&t��D����X�vO�X�A�B
�$Gnosis-Safe...common...Singleton.sole�"&e�"&u�� C rqK������%�g+"0�HR,Gnosis-Safe...common...StorageAccessible.sole�1h@e�1h@v�� ��ka"hQҶc�ev���'�O;Gnosis-Safe...examples...guards...DebugTransactionGuard.sole��$e��$"��"O� ��=Tw9��*5��ezBGnosis-Safe...examples...guards...DelegateCallTransactionGuard.sole�1h@e�1h@w�����Kb0'��g;��^(6r�5Gnosis-Safe...examples...guards...OnlyOwnersGuard.sole�f@e�f@#��1�6��xd�{���>��@Gnosis-Safe...examples...guards...ReentrancyTransactionGuard.sole�1h@e�1h@x��l���T}��Y/��8gpb��K?Gnosis-Safe...examples...libraries...Migrate_1_3_0_to_1_2_0.sole��@e��@���7�5: �Q�ᐽ��O� ��%Gnosis-Safe...external...SafeMath.sole�@��e�@��y��1MOu���U�i��'��_�XE8Gnosis-Safe...handler...CompatibilityFallbackHandler.sole�@��e�@��z��n9����}Q2B{LK�g,Q *Gnosis-Safe...handler...HandlerContext.sole�_/e�_/{���wy�4�+�V�q�;Z�kG��0Gnosis-Safe...handler...TokenCallbackHandler.sole�_/e�_/|�� pj���u�MSp5�8�?��3Gnosis-Safe...interfaces...ERC1155TokenReceiver.sole�nq@e�nq@}��>�ue�[A�?��Q��-2Gnosis-Safe...interfaces...ERC721TokenReceiver.sole�nq@e�nq@~��x�y �� ��3��� �8P/ 4Gnosis-Safe...interfaces...ERC777TokensRecipient.sole��e��K���s,�+���[hQ����c��&Gnosis-Safe...interfaces...IERC165.sole�}��e�}����]��._�\w���������2Gnosis-Safe...interfaces...ISignatureValidator.sole�}��e�}������hd��HN���)���� G4Gnosis-Safe...interfaces...ViewStorageAccessible.sole����e��������D������~����24�e%�G(Gnosis-Safe...libraries...CreateCall.sole����e������� ��DS�6���8��w�x�O�'Gnosis-Safe...libraries...MultiSend.sole����e������� ԙn�Եfw�Ύ���O����/Gnosis-Safe...libraries...MultiSendCallOnly.sole��8e��8���^v!�ܵ�@GB��]ʬhj>�K)Gnosis-Safe...libraries...SafeStorage.sole��z@e��z@����M ��a>f(}���=�p���,Gnosis-Safe...libraries...SignMessageLib.sole��z@e��z@���/���U��1h�x�%���$�2Gnosis-Safe...proxies...IProxyCreationCallback.sole����e���������!&c��5�4�#vc�V�%Gnosis-Safe...proxies...SafeProxy.sole����e�������W�����L�7�P[w��,Gnosis-Safe...proxies...SafeProxyFactory.sole����e�������~+F���5Ɍϕ �Zt %Lens-Protocol...core...CollectNFT.sole����e�������-���Ѥ�� �{�g6���] �Q�$Lens-Protocol...core...FollowNFT.sole��Ae��A�����W�KQ� �X�"�&‹Vp�$"Lens-Protocol...core...LensHub.sole���@e���@L��4|끢������|'>
����}2Lens-Protocol...core...base...ERC721Enumerable.sole��Ae��A���<ϳ��UI_K}��pI?����,Lens-Protocol...core...base...ERC721Time.sole��@e��@����߄����i ΄�q�6ǀ�ȑ�-Lens-Protocol...core...base...IERC721Time.sole��@e��@���1叏�oN���~UVQ��30Lens-Protocol...core...base...LensMultiState.sole��@e��@����ְ�t�R%�<l�!1*XНے -Lens-Protocol...core...base...LensNFTBase.sole��ŀe��ŀ��� ��������C������õ�2Lens-Protocol...core...modules...FeeModuleBase.sole��ŀe��ŀ���6���f�@,Ⲽ�<@n�,�?Lens-Protocol...core...modules...FollowValidationModuleBase.sole��e������n)�d���yZ� ���}���/Lens-Protocol...core...modules...ModuleBase.sole��e�����]�(=��FT^k�j�v>2Lens-Protocol...core...modules...ModuleGlobals.sole���@e���@M����d�)�e!��� �8�c?)�?Lens-Protocol...core...modules...collect...FeeCollectModule.sole�'�e�'�N���o��a��Pap\d�P���@Lens-Protocol...core...modules...collect...FreeCollectModule.sole���e���$��!; �K�� m�E���u���I�FLens-Protocol...core...modules...collect...LimitedFeeCollectModule.sole�Je�J���%��i�0�,�@���Y����KLens-Protocol...core...modules...collect...LimitedTimedFeeCollectModule.sole�ׄe�ׄ���8Y��,#@�d
���<�BLens-Protocol...core...modules...collect...RevertCollectModule.sole���e���%��"Z6tշ8%���Y�Q��ۙ+DLens-Protocol...core...modules...collect...TimedFeeCollectModule.sole�Je�J����ʹ>)�]
7x����W�BLens-Protocol...core...modules...follow...ApprovalFollowModule.sole�%�@e�%�@���IK�y�T��h�$ �W�so��=Lens-Protocol...core...modules...follow...FeeFollowModule.sole�4΀e�4΀���B��� �}d�ke:�꤮5�MLens-Protocol...core...modules...follow...FollowValidatorFollowModuleBase.sole�!��e�!��&�� �*�nM��4�����K�?�����ALens-Protocol...core...modules...follow...ProfileFollowModule.sole�i�e�i�O��Bf�X9���˙������� l�0@Lens-Protocol...core...modules...follow...RevertFollowModule.sole�4΀e�4΀�������Ouq�ގ �H��M��0LLens-Protocol...core...modules...reference...FollowerOnlyReferenceModule.sole�D�e�D����� <�(K�Nx��c��P�t3Lens-Protocol...core...storage...LensHubStorage.sole�D�e�D��������$�߁~�^[\U�]�*/Lens-Protocol...interfaces...ICollectModule.sole�D�e�D����7���X�fR����f�@j@,Lens-Protocol...interfaces...ICollectNFT.sole�SSe�SS��� ���6�}�%��tGvA��3K��.Lens-Protocol...interfaces...IFollowModule.sole�b�@e�b�@���
RL��0��u���P��N;�+Lens-Protocol...interfaces...IFollowNFT.sole�q׀e�q׀���X����G��_�Ց<���])Lens-Protocol...interfaces...ILensHub.sole���e������ o����"-�-�\.6�Qfu)o-Lens-Protocol...interfaces...ILensNFTBase.sole��\e��\��� �F�c''�b_�SN>�bn�*/Lens-Protocol...interfaces...IModuleGlobals.sole�1-e�1-'���L�������IAxO���`1Lens-Protocol...interfaces...IReferenceModule.sole��\e��\������a'�tiV瑱W��.��r)Lens-Protocol...libraries...Constants.sole���@e���@���?����C�` i��w��G�� �)Lens-Protocol...libraries...DataTypes.sole����e��������A���M�4�ȄZQt�J�U��&Lens-Protocol...libraries...Errors.sole����e�������Ok��� r�-�����}�#��&Lens-Protocol...libraries...Events.sole��"�e��"�����x_<9���6)c��H��M���7'Lens-Protocol...libraries...Helpers.sole��ee��e���"嘳�w�FU�B"ǡh�B�m,�0Lens-Protocol...libraries...InteractionLogic.sole��ee��e���Il�Uɘ���R]:�eX���.o�4Lens-Protocol...libraries...ProfileTokenURILogic.sole�ܧ@e�ܧ@���Aeئ
�d�iUo,�c��68Q�/Lens-Protocol...libraries...PublishingLogic.sole�1-e�1-(���c c$y�{���U^�N�t:*Lens-Protocol...misc...AccessControlV1.sole���e������
���F�3a�\`^<����,Hh�*Lens-Protocol...misc...AccessControlV2.sole���e������ <�]����2�2��>�g"�(Lens-Protocol...misc...LensPeriphery.sole��+�e��+����~]T�M��f�5e�SNz/Lens-Protocol...misc...ProfileCreationProxy.sole�
ne�
n����[5��կ��ֵ#ڸ�,:G�)Lens-Protocol...misc...UIDataProvider.sole�
ne�
n��� ��@��Ϸ�$C��t�TB��O$Lens-Protocol...mocks...Currency.sole��@e��@���J�c������-
�B%��I"Lens-Protocol...mocks...Helper.sole�@o@e�@o@)��l����Ϭ a �
û��<��-Lottery-Contract...artifacts...IMidpoint.jsone�i�e�i�P���_�50�W��%��O��Gf6Lottery-Contract...artifacts...IMidpoint_metadata.jsone�@o@e�@o@*��9o���`A�(,׉a���c�"+Lottery-Contract...artifacts...Lottery.jsone�O��e�O��+���+���pĥO��گ�-3k�g�4Lottery-Contract...artifacts...Lottery_metadata.jsone�^��e�^��,�� �cy�w(R�pI;�E"�N��c�QLottery-Contract...artifacts...build-info...42e00c8e9ce727129d559c7b3288c882.jsone��@e��@��� p�x0K ��5R]٭î�]�P5�Lottery-Contract...lottery.sole�(�e�(����HE���ک�wqإ<�[�[w%�XManifold.xyz...@manifoldxyz...libraries-solidity...contracts...access...AdminControl.sole�84�e�84����uє��<���l� n
=r7��cManifold.xyz...@manifoldxyz...libraries-solidity...contracts...access...AdminControlUpgradeable.sole�84�e�84������S�Y��Kx)�xۏ=�.���YManifold.xyz...@manifoldxyz...libraries-solidity...contracts...access...IAdminControl.sole�n6e�n6-�� R��|ܹGw��?[j$k�jw VManifold.xyz...@openzeppelin...contracts-upgradeable...access...OwnableUpgradeable.sole�}x@e�}x@.��&:�S]���>7b�+��r�}XManifold.xyz...@openzeppelin...contracts-upgradeable...proxy...utils...Initializable.sole����e����/���E9 Y����R�*(=UManifold.xyz...@openzeppelin...contracts-upgradeable...utils...AddressUpgradeable.sole�Gwe�Gw���AHd��Q�⸌���F9"��UManifold.xyz...@openzeppelin...contracts-upgradeable...utils...ContextUpgradeable.sole����e����0��
8����� ��l���/0q?Manifold.xyz...@openzeppelin...contracts...access...Ownable.sole�Gwe�Gw��� 7����(�t��2�����|�AIManifold.xyz...@openzeppelin...contracts...security...ReentrancyGuard.sole����e����1���4F��7I#�3�S��S�����IManifold.xyz...@openzeppelin...contracts...token...ERC1155...IERC1155.sole��?e��?2�� � �q�F(�l
3//�<��QManifold.xyz...@openzeppelin...contracts...token...ERC1155...IERC1155Receiver.sole�V�@e�V�@����R
)qPC��${�׶�Kp��aManifold.xyz...@openzeppelin...contracts...token...ERC1155...extensions...IERC1155MetadataURI.sole���@e���@��� )?Vh9�t�yۏ��%�KFGManifold.xyz...@openzeppelin...contracts...token...ERC721...IERC721.sole�e��e�e�������g ��h+��U�3S�� �) OManifold.xyz...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�u=�e�u=������B{�j�jb}7�
.���^Manifold.xyz...@openzeppelin...contracts...token...ERC721...extensions...IERC721Enumerable.sole��e��Q���ܧ{�� P� �a�:D��k�\Manifold.xyz...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole���@e���@3��$���js�޳�K�K�6p�|�W>Manifold.xyz...@openzeppelin...contracts...utils...Address.sole��t�e��t����L�[F����VPm>��X_>Manifold.xyz...@openzeppelin...contracts...utils...Context.sole��Àe��À4��
�e~�f6�����1��k��J9�>Manifold.xyz...@openzeppelin...contracts...utils...Strings.sole��Àe��À5���;�a:l� v�)jF}��� NW�MManifold.xyz...@openzeppelin...contracts...utils...introspection...ERC165.sole�u=�e�u=�����H1�R C=�L�c�Aے�TManifold.xyz...@openzeppelin...contracts...utils...introspection...ERC165Checker.sole���e���6��U�ͽ�`��&^����F{;
&NManifold.xyz...@openzeppelin...contracts...utils...introspection...IERC165.sole���e���7��1�UQ&�� [�tI�?U ���ABManifold.xyz...@openzeppelin...contracts...utils...math...Math.sole��He��H8���>���� B=�%�غ�x���HManifold.xyz...@openzeppelin...contracts...utils...math...SignedMath.sole���e������2�D�0%��K�>{<�N��V��NManifold.xyz...@openzeppelin...contracts...utils...structs...EnumerableSet.sole���e������;n��t� �$) �
մb-Manifold.xyz...contracts...ERC1155Creator.sole���@e���@���;��`a}o���x :�%2�7�;Manifold.xyz...contracts...ERC1155CreatorImplementation.sole���@e���@���;�s Ύ�(rh�gղ3�I38Manifold.xyz...contracts...ERC1155CreatorUpgradeable.sole��He��H9��4Ⱥ'�6���B�C�sG��d�E�,Manifold.xyz...contracts...ERC721Creator.sole���e�������`g�- *$�Z�hF颧�`a6Manifold.xyz...contracts...ERC721CreatorEnumerable.sole���@e���@:��5������m�����$��G���:Manifold.xyz...contracts...ERC721CreatorImplementation.sole���@e���@;��5�р5�Bp&{�`��Zx�'&�7Manifold.xyz...contracts...ERC721CreatorUpgradeable.sole���e������4�J���x���jG<E!+'�/��1Manifold.xyz...contracts...core...CreatorCore.sole�̀e�̀<��S�U̶l̈́v�-�w�����x�8Manifold.xyz...contracts...core...ERC1155CreatorCore.sole��F�e��F��������r"�������f��6�7Manifold.xyz...contracts...core...ERC721CreatorCore.sole��F�e��F����!��/�X�qiO��p�����AManifold.xyz...contracts...core...ERC721CreatorCoreEnumerable.sole��F�e��F�����SY���'�CY�)G���s22Manifold.xyz...contracts...core...ICreatorCore.sole���e��������
8��J�ᙦΝ���1Q� 9Manifold.xyz...contracts...core...IERC1155CreatorCore.sole�̀e�̀=��
\��}%�Ob�}T��s�XM�8�8Manifold.xyz...contracts...core...IERC721CreatorCore.sole���e������d�!�EX�:c���h�>��\�<BManifold.xyz...contracts...core...IERC721CreatorCoreEnumerable.sole���@e���@���y�Q���"�`e�Y����#)�H0Manifold.xyz...contracts...core...IRoyalties.sole��e��>��85�㺳ok��|��sp��<Manifold.xyz...contracts...extensions...CreatorExtension.sole���@e���@���
�*���r�|~��p��Gs���AManifold.xyz...contracts...extensions...CreatorExtensionBasic.sole���@e���@���^�)]�r��Y�a�� e
.EManifold.xyz...contracts...extensions...CreatorExtensionRoyalties.sole��e��?��-O��&�p,��Y~_�<���D=\Manifold.xyz...contracts...extensions...ERC1155...ERC1155CreatorExtensionApproveTransfer.sole�� �e�� ������i&������!�3��&�UManifold.xyz...contracts...extensions...ERC1155...ERC1155CreatorExtensionBurnable.sole�� �e�� ������/^s������� �P/�tc]Manifold.xyz...contracts...extensions...ERC1155...IERC1155CreatorExtensionApproveTransfer.sole��O�e��O����)4��������̰���eF3VManifold.xyz...contracts...extensions...ERC1155...IERC1155CreatorExtensionBurnable.sole�-�@e�-�@R������C����(�ɮs��r1*1KManifold.xyz...contracts...extensions...ERC721...ERC721CreatorExtension.sole��O�e��O����u�R 5R27j�$�pV����ZManifold.xyz...contracts...extensions...ERC721...ERC721CreatorExtensionApproveTransfer.sole���e��������C�ْC�^ζ1��m���xUMoonbirds-Core...@divergencetech...ethier...contracts...crypto...SignatureChecker.sole� �@e� �@����J�giv`�W�j:��;��RMoonbirds-Core...@divergencetech...ethier...contracts...crypto...SignerManager.sole� �@e� �@�����c�%f2�৹7,��!�[� �QMoonbirds-Core...@divergencetech...ethier...contracts...erc721...BaseTokenURI.sole�%Qe�%Q@���~D���j�U�$-�����ٓ�RMoonbirds-Core...@divergencetech...ethier...contracts...erc721...ERC721ACommon.sole��e����� �>�f<�n�E�O JnT6WMoonbirds-Core...@divergencetech...ethier...contracts...erc721...ERC721APreApproval.sole��e����������T����|v{���SMoonbirds-Core...@divergencetech...ethier...contracts...erc721...ERC721Redeemer.sole��e�����,��y���o>@:.1rd��TMoonbirds-Core...@divergencetech...ethier...contracts...sales...FixedPriceSeller.sole�%Qe�%QA��-^��R+�ݿsd�Ŗ� XJMoonbirds-Core...@divergencetech...ethier...contracts...sales...Seller.sole�,X�e�,X����
A������¡@a�Rnh-�#D�uhMoonbirds-Core...@divergencetech...ethier...contracts...thirdparty...opensea...OpenSeaGasFreeListing.sole�,X�e�,X���������P �h ��tU�u`Moonbirds-Core...@divergencetech...ethier...contracts...thirdparty...opensea...ProxyRegistry.sole�;�e�;�����_k�Ϧ駲( p�m5�@ ԫMMoonbirds-Core...@divergencetech...ethier...contracts...utils...Monotonic.sole�;�e�;����UK��/a��ae��*�'J&�QMoonbirds-Core...@divergencetech...ethier...contracts...utils...OwnerPausable.sole�4�@e�4�@B�� M��A1���6�����CV���GMoonbirds-Core...@openzeppelin...contracts...access...AccessControl.sole�J�@e�J�@��� g5N�)�=a}y��q&�Q>�?wQMoonbirds-Core...@openzeppelin...contracts...access...AccessControlEnumerable.sole�-�@e�-�@S�� h�s��4^ sPr�����HMoonbirds-Core...@openzeppelin...contracts...access...IAccessControl.sole�4�@e�4�@C���a��z�g�7r����E#�dRMoonbirds-Core...@openzeppelin...contracts...access...IAccessControlEnumerable.sole�CՀe�CՀD�� � ,��ȟ�n�-IT����km�AMoonbirds-Core...@openzeppelin...contracts...access...Ownable.sole�=0�e�=0�T����|M�%�T��]���%Gg%�EMoonbirds-Core...@openzeppelin...contracts...interfaces...IERC165.sole�S�e�S�E��d���A'���cM4v��z`EFMoonbirds-Core...@openzeppelin...contracts...interfaces...IERC2981.sole���e��������+1R�h3��U�)� ��E�EMoonbirds-Core...@openzeppelin...contracts...interfaces...IERC721.sole�S�e�S�F��� �Ȧ�X���=!�}j�DMoonbirds-Core...@openzeppelin...contracts...security...Pausable.sole�bZe�bZG��
d��|z��E� {Q
��K-KMoonbirds-Core...@openzeppelin...contracts...security...ReentrancyGuard.sole�=0�e�=0�U����X�2���H�q<�p�|IMoonbirds-Core...@openzeppelin...contracts...token...ERC721...IERC721.sole�q�@e�q�@H��Ĥ,�/��@J�<"33�%�?xQMoonbirds-Core...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�Lr�e�Lr�V���ܧ{�� P� �a�:D��k�^Moonbirds-Core...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole�Z�e�Z����Z���4�����r�������IMoonbirds-Core...@openzeppelin...contracts...token...common...ERC2981.sole���e������ @��1�[�c�@n�z�Q� �@Moonbirds-Core...@openzeppelin...contracts...utils...Address.sole���e�����L�[F����VPm>��X_@Moonbirds-Core...@openzeppelin...contracts...utils...Context.sole���e�������Ӌ��g�zB���3h�Q��X@Moonbirds-Core...@openzeppelin...contracts...utils...Strings.sole�[�e�[�W��$N��k�|�����D�&���7��MMoonbirds-Core...@openzeppelin...contracts...utils...cryptography...ECDSA.sole��ހe��ހI���;�a:l� v�)jF}��� NW�OMoonbirds-Core...@openzeppelin...contracts...utils...introspection...ERC165.sole�� �e�� �J��U�ͽ�`��&^����F{;
&PMoonbirds-Core...@openzeppelin...contracts...utils...introspection...IERC165.sole�;@e�;@���)%{ �� �c�@� ϟF�DMoonbirds-Core...@openzeppelin...contracts...utils...math...Math.sole�ia�e�ia����(�!�1$;Qu�w��Й1� >JMoonbirds-Core...@openzeppelin...contracts...utils...structs...BitMaps.sole��ce��cK��/�h��LT�wV/ J���gPMoonbirds-Core...@openzeppelin...contracts...utils...structs...EnumerableSet.sole�ia�e�ia����2�WĆT׸�f;�6�_",>Oh[*Moonbirds-Core...contracts...Moonbirds.sole��ce��cL��U0g��2a��Cd7�Yx�n�2Moonbirds-Core...erc721a...contracts...ERC721A.sole�j�@e�j�@X��
��m�Rq,�&*8� 9�&?�SNouns-DAO...@openzeppelin...contracts-upgradeable...access...OwnableUpgradeable.sole�z9�e�z9�Y�� ;���!��wYI��yE_�Tb�UNouns-DAO...@openzeppelin...contracts-upgradeable...proxy...utils...Initializable.sole�z9�e�z9�Z�� ���J���G��$Jl��)Ƶ�VNouns-DAO...@openzeppelin...contracts-upgradeable...security...PausableUpgradeable.sole�J�e�J���� m0��%V�RJM�sP)q���]Nouns-DAO...@openzeppelin...contracts-upgradeable...security...ReentrancyGuardUpgradeable.sole���@e���@M��7�so����P�.;�C�`fwyZNouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...ERC721Upgradeable.sole���e���N���*�Kow�I�M�6\���,|cNouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...IERC721ReceiverUpgradeable.sole��)�e��)�O���:-�'O�q$�I&B��m�|[Nouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...IERC721Upgradeable.sole��e�����D���?)_�[��R�+Q�� qNouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...extensions...ERC721EnumerableUpgradeable.sole��{�e��{�[����ڙ�+s� 1)vŷ��rNouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...extensions...IERC721EnumerableUpgradeable.sole��)�e��)�P��[�Cӽ��G���JPJ�BhSpNouns-DAO...@openzeppelin...contracts-upgradeable...token...ERC721...extensions...IERC721MetadataUpgradeable.sole��{�e��{�\��:}/�^����D�����a�RNouns-DAO...@openzeppelin...contracts-upgradeable...utils...AddressUpgradeable.sole��le��lQ��W�@)���)�κ��)�*`b^#RNouns-DAO...@openzeppelin...contracts-upgradeable...utils...ContextUpgradeable.sole��le��lR����up� �4np�X)�-RNouns-DAO...@openzeppelin...contracts-upgradeable...utils...StringsUpgradeable.sole���e���]���h�hȘ`�m�3�;F�;x�aNouns-DAO...@openzeppelin...contracts-upgradeable...utils...introspection...ERC165Upgradeable.sole�x�e�x����`ғ������َP���T��t�bNouns-DAO...@openzeppelin...contracts-upgradeable...utils...introspection...IERC165Upgradeable.sole��@e��@^�� ���MYu��J\ɲ�;~^l�><Nouns-DAO...@openzeppelin...contracts...access...Ownable.sole��@e��@S���}vS%b�;�v��I ۓ�p�ANouns-DAO...@openzeppelin...contracts...interfaces...IERC1271.sole���@e���@���g]*53��0zC`q�3�q�;�JNouns-DAO...@openzeppelin...contracts...proxy...ERC1967...ERC1967Proxy.sole���@e���@���M9J��ug��uF��O`h�LNouns-DAO...@openzeppelin...contracts...proxy...ERC1967...ERC1967Upgrade.sole�#�@e�#�@��� �˷���0z��Je'q3���pB�9Nouns-DAO...@openzeppelin...contracts...proxy...Proxy.sole��@e��@T���豊��Ú/Q�L?:�NS��DNouns-DAO...@openzeppelin...contracts...proxy...beacon...IBeacon.sole��(�e��(���� ����ܲ�+80��kVӍZ4 LNouns-DAO...@openzeppelin...contracts...proxy...transparent...ProxyAdmin.sole��(�e��(����G��7%ɨ�sl�c���h�]Nouns-DAO...@openzeppelin...contracts...proxy...transparent...TransparentUpgradeableProxy.sole��j�e��j���� ����ԃ&3�J����σ�6�KNouns-DAO...@openzeppelin...contracts...proxy...utils...UUPSUpgradeable.sole����e����U��
�!e��c�w��Uas�'�BNouns-DAO...@openzeppelin...contracts...token...ERC20...IERC20.sole����e����V��L�M�e��Dw�n��T��Al��MNouns-DAO...@openzeppelin...contracts...token...ERC20...utils...SafeERC20.sole�#�@e�#�@����}l���4�R����iBq�梔DNouns-DAO...@openzeppelin...contracts...token...ERC721...IERC721.sole�
2�e�
2�W���^(h*ȃ4����y0��LNouns-DAO...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�
2�e�
2�X����]��/y����[�fk�$�)�[Nouns-DAO...@openzeppelin...contracts...token...ERC721...extensions...IERC721Enumerable.sole�3�e�3�����
\���Q��W��ا;YNouns-DAO...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole�}�e�}�����6��;��$F��>� �;Nouns-DAO...@openzeppelin...contracts...utils...Address.sole���e�����L�@*74V��ji©j�;Nouns-DAO...@openzeppelin...contracts...utils...Context.sole��@e��@_�� ��:�ﴟl�؉���?n-nSR�?Nouns-DAO...@openzeppelin...contracts...utils...StorageSlot.sole�.e�.��� ��y�(7_�,����;Nouns-DAO...@openzeppelin...contracts...utils...Strings.sole��B�e��B�`���T- ���s����҈�}JNouns-DAO...@openzeppelin...contracts...utils...introspection...ERC165.sole��B�e��B�a��U@�m)�vx�g��f�h�0�V�KNouns-DAO...@openzeppelin...contracts...utils...introspection...IERC165.sole�ue�uY����w��~�$�yE��t[��mdrCNouns-DAO...@openzeppelin...contracts...utils...math...SafeCast.sole��j�e��j������4��|q=��U�}�]Фb;X#Nouns-DAO...base64-sol...base64.sole�(�@e�(�@Z��Q����~4՟c6(g�����%�$Nouns-DAO...contracts...Inflator.sole���e������H���/k[S�� t�jg>$N$Nouns-DAO...contracts...NounsArt.sole���e������%�̷�d�Cx ���Oy�am��z-Nouns-DAO...contracts...NounsAuctionHouse.sole���@e���@���/U�! @�*��v>m6(x+Nouns-DAO...contracts...NounsDescriptor.sole���@e���@���M6m��iw�I��`PMc�5]5-Nouns-DAO...contracts...NounsDescriptorV2.sole��1�e��1���� �SQ�Ⱦc�9���NG�褄�'Nouns-DAO...contracts...NounsSeeder.sole��s�e��s����"'��B��k_��;=x�*wlœ�&Nouns-DAO...contracts...NounsToken.sole��s�e��s����"��#U� 倷.��Ї w P�'Nouns-DAO...contracts...SVGRenderer.sole�Ƅ�e�Ƅ�b��<�.;�i1�e���[����!� �)Nouns-DAO...contracts...base...ERC721.sole��e�����.�,`�-��\z����r�K7Nouns-DAO...contracts...base...ERC721Checkpointable.sole�7��e�7��[��! �WOb�|��"�hrJ Š�3Nouns-DAO...contracts...base...ERC721Enumerable.sole�BS�e�BS����.��U���}4pު�[u{[��COlympus-DAO...@openzeppelin...contracts...token...ERC20...ERC20.sole�Ƅ�e�Ƅ�c��
�Ȝԍ�j����L|�fI���DOlympus-DAO...@openzeppelin...contracts...token...ERC20...IERC20.sole�Q�e�Q�������j����� E����E`��YOlympus-DAO...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole�=D@e�=D@��L�[F����VPm>��X_=Olympus-DAO...@openzeppelin...contracts...utils...Context.sole��e������0����K�m��z���G��<Olympus-DAO...contracts...allocators...alchemixAllocator.sole�7��e�7��\��CrA��2L4R$�`��T�:�Z���8Olympus-DAO...contracts...governance...GovernorAlpha.sole�G;�e�G;�]��P�����ԭ�%2�i�O�B ��<AOlympus-DAO...contracts...governance...GovernorOHMegaDelegate.sole�G;�e�G;�^�� �3&�+�8����ǧa��BOlympus-DAO...contracts...governance...GovernorOHMegaDelegator.sole�V~e�V~_����e�\��g�Ż�c���7+COlympus-DAO...contracts...governance...GovernorOHMegaInterfaces.sole� �@e� �@�������1l��=j;d��p�M�3Olympus-DAO...contracts...governance...Timelock.sole� �@e� �@����9 ��Ho8_���h��\�t��EOlympus-DAO...contracts...governance...artifacts...GovernorAlpha.jsone�V~e�V~`��>J�T ���L�a=^D���NOlympus-DAO...contracts...governance...artifacts...GovernorAlpha_metadata.jsone�p�e�p����y�n�3��6Z�t�x�]����d�IOlympus-DAO...contracts...governance...artifacts...TimelockInterface.jsone���e���d�����–{`z��P�Z����ϿKROlympus-DAO...contracts...governance...artifacts...TimelockInterface_metadata.jsone�e�@e�e�@a��%5����^�Y��n�ٵ���.�eOlympus-DAO...contracts...governance...artifacts...build-info...7e60f5083ccc129bdef9d2337de69444.jsone�L��e�L�������K��X�w�r� ����~EOlympus-DAO...contracts...governance...artifacts...gOHMInterface.jsone�� @e�� @e��}}�[$Oݗp?��?k�{[� �NOlympus-DAO...contracts...governance...artifacts...gOHMInterface_metadata.jsone�[��e�[����EH�bU�H� �$c5�m{M�EOlympus-DAO...contracts...governance...artifacts...sOHMInterface.jsone�� @e�� @f��I���P٬5��_�8(~KIS6�NOlympus-DAO...contracts...governance...artifacts...sOHMInterface_metadata.jsone���e���g����Yv�},u�S�����;#�'w1Olympus-DAO...contracts...interfaces...IERC20.sole� :�e� :����w�6�?8��h��Qk�� <Olympus-DAO...contracts...interfaces...IOlympusAuthority.sole� :�e� :���� |��]����������Ce�<�4Olympus-DAO...contracts...interfaces...ITreasury.sole���e���h��',�D?��e0���]]`j:Olympus-DAO...contracts...interfaces...IUniswapV2ERC20.sole� |�e� |�����������^/?�֮���9Olympus-DAO...contracts...interfaces...IUniswapV2Pair.sole� |�e� |������mb� �.>W>V�,�q-�;Olympus-DAO...contracts...interfaces...IUniswapV2Router.sole� |�e� |������,�h�{}p��޷�_�h3Olympus-DAO...contracts...libraries...SafeERC20.sole� /�e� /����^�l���Q�+H�4K}���c7Olympus-DAO...contracts...migration...SushiMigrator.sole� /�e� /����"Fe���0?".M����u��*Olympus-DAO...contracts...mocks...Frax.sole� ?@e� ?@������Ĺ��m��Ag��/�|=].Olympus-DAO...contracts...mocks...MockSOHM.sole� ?@e� ?@��� z�� � y+�M��ԫ��<=Olympus-DAO...contracts...types...OlympusAccessControlled.sole� NC�e� NC������SJ|3��3�P�NS� YC�?Olympus-DAO...contracts...types...OlympusAccessControlledV2.sole�u�e�u�b���`�^;A.��9ƴ�ĵ�����X#Olympus-DAO...hardhat...console.sole� ]��e� ]������^�Lr�cs�/�'���$GOpenSea-Seaport...@openzeppelin...contracts...interfaces...IERC1271.sole� ]��e� ]�����vF[�.�L=˴�!�ۚhl+�GOpenSea-Seaport...@openzeppelin...contracts...interfaces...IERC2981.sole��D�e��D�c���;�a:l� v�)jF}��� NW�POpenSea-Seaport...@openzeppelin...contracts...utils...introspection...ERC165.sole���e���d��U�ͽ�`��&^����F{;
&QOpenSea-Seaport...@openzeppelin...contracts...utils...introspection...IERC165.sole� l�e� l�����p���9s� _�թ���"�d�FOpenSea-Seaport...@rari-capital...solmate...src...tokens...ERC1155.sole���@e���@e�������&�[�S�Y�EDOpenSea-Seaport...@rari-capital...solmate...src...tokens...ERC20.sole���@e���@f���0�s®w��Ӻn�kѶ]���EOpenSea-Seaport...@rari-capital...solmate...src...tokens...ERC721.sole� |
@e� |
@�������*� L���29��!�4)OpenSea-Seaport...contracts...Seaport.sole� |
@e� |
@����'�HO�LW�C,��=OpenSea-Seaport...contracts...conduit...ConduitController.sole� �L�e� �L����hf��;�,!@��1r�wџ�=8OpenSea-Seaport...contracts...helpers...ArrayHelpers.sole� �L�e� �L����$� iU�`��n�0XO�sr��9OpenSea-Seaport...contracts...helpers...SeaportRouter.sole� ���e� ������Ǚ��:8i�|��Z�w���HOpenSea-Seaport...contracts...helpers...navigator...SeaportNavigator.sole��e��i��s�2�t���C���Q�ރ�����LOpenSea-Seaport...contracts...helpers...navigator...lib...CriteriaHelper.sole� ���e� ��������
i��`Ůű�J�=���OOpenSea-Seaport...contracts...helpers...navigator...lib...CriteriaHelperLib.sole��e��j�� ���A0S1�����_B#g�˕NOpenSea-Seaport...contracts...helpers...navigator...lib...ExecutionsHelper.sole�� �e�� �g�� ��>y�&|����=POpenSea-Seaport...contracts...helpers...navigator...lib...FulfillmentsHelper.sole��M�e��M�h��4��1 ��Ip�'G����MOpenSea-Seaport...contracts...helpers...navigator...lib...HelperInterface.sole� ��e� ������@W��z ��;{�W�Ÿ��KOpenSea-Seaport...contracts...helpers...navigator...lib...HelperItemLib.sole� �@e� �@���?�)���|�á�����k�GOpenSea-Seaport...contracts...helpers...navigator...lib...MerkleLib.sole� �@e� �@��%�/����- l"�8��x*���KWOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorAdvancedOrderLib.sole� �U�e� �U���0���F��~H^����QOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorContextLib.sole� �U�e� �U����A�v
��3Ijo<�pկ�uɧZOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorCriteriaResolverLib.sole� ח�e� ח���d0G ����!N��-\��2!QOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorDetailsLib.sole� ח�e� ח����YA���_d
�x�� A�VU�TOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorExecutionsLib.sole� ח�e� ח������`1H³��y �8J�J�H�VOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorFulfillmentsLib.sole� ��e� �����w�-�� wf��dBV�U^��#�ZOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorRequestValidatorLib.sole� ��e� �����[�wyU(��@���qMh��c�ZOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorSeaportValidatorLib.sole� �@e� �@��5��0�D
��?�#!�A�| ��8�YOpenSea-Seaport...contracts...helpers...navigator...lib...NavigatorSuggestedActionLib.sole� �@e� �@ ��
l����u�� � ��YaS+ROpenSea-Seaport...contracts...helpers...navigator...lib...OrderAvailabilityLib.sole�"@e�"@k�������bZ�Ě��ߌ.j���POpenSea-Seaport...contracts...helpers...navigator...lib...OrderDetailsHelper.sole� �@e� �@
��B�sk͝�����_a��L�f��7OOpenSea-Seaport...contracts...helpers...navigator...lib...OrderStructureLib.sole�!^�e�!^� ��4�+ �hG ����iuEESNOpenSea-Seaport...contracts...helpers...navigator...lib...RequestValidator.sole�!^�e�!^� ��>-]�5-�䄍J��)i�WOpenSea-Seaport...contracts...helpers...navigator...lib...SeaportNavigatorInterface.sole�\�e�\����"���ý�H�Y��0v��>�SOpenSea-Seaport...contracts...helpers...navigator...lib...SuggestedActionHelper.sole�Аe�Аi���Z=�<� >�c��ن��"h+uHMOpenSea-Seaport...contracts...helpers...navigator...lib...ValidatorHelper.sole�!��e�!�� ���I��|1 ���k.�n7H�Y}4��NOpenSea-Seaport...contracts...helpers...order-validator...SeaportValidator.sole�!��e�!����$��&b2���A�Z��t5�2��~4[OpenSea-Seaport...contracts...helpers...order-validator...lib...ConsiderationTypeHashes.sole�!#�e�!#���t�ODd��T�O^�U�>�߬�UOpenSea-Seaport...contracts...helpers...order-validator...lib...ErrorsAndWarnings.sole�!#�e�!#���8ZԖu��8\�k���&��Ś�-�IOpenSea-Seaport...contracts...helpers...order-validator...lib...Murky.sole�!#�e�!#���n���1$Z��D�o|{yDM�����ZOpenSea-Seaport...contracts...helpers...order-validator...lib...ReadOnlyOrderValidator.sole�!3%@e�!3%@���c��9l�agG`�eA�o+ROpenSea-Seaport...contracts...helpers...order-validator...lib...SafeStaticCall.sole�Аe�Аj����{#�'ψ��B��0���1�ûZOpenSea-Seaport...contracts...helpers...order-validator...lib...SeaportValidatorHelper.sole�!3%@e�!3%@��.-=
�2����/ ���-��]OpenSea-Seaport...contracts...helpers...order-validator...lib...SeaportValidatorInterface.sole�!Bg�e�!Bg���>�^�3�1����=�kQYYOpenSea-Seaport...contracts...helpers...order-validator...lib...SeaportValidatorTypes.sole�!Bg�e�!Bg����s�"׉9܍+G�*DO�ՆAOOpenSea-Seaport...contracts...interfaces...ImmutableCreate2FactoryInterface.sole�!Q��e�!Q����(�n����4Gd�O�'3fe�<OpenSea-Seaport...seaport-core...src...conduit...Conduit.sole�!`�e�!`���J���W�,�w3h'..*"��FOpenSea-Seaport...seaport-core...src...conduit...ConduitController.sole�!p.@e�!p.@���������1NJV�ϔ;Q�d�AOpenSea-Seaport...seaport-core...src...lib...TokenTransferrer.sole�!p�e�!p���)�m���QY�I5�9֠p�23'SOpenSea-Seaport...seaport-types...src...interfaces...ConduitControllerInterface.sole�!���e�!�����
;FK����]Z"�0d/�=IOpenSea-Seaport...seaport-types...src...interfaces...ConduitInterface.sole�!���e�!����� �M��/���}UONZ����üOOpenSea-Seaport...seaport-types...src...interfaces...TokenTransferrerErrors.sole�!���e�!����� �G��jEL��r��?�T?=OpenZeppelin-MyTokenWrapped...governance...utils...IVotes.sole�!��e�!����%��t�xa��L T>�U���<OpenZeppelin-MyTokenWrapped...governance...utils...Votes.sole�!��e�!������r���3�/��ڴGȡ�5OpenZeppelin-MyTokenWrapped...interfaces...IERC20.sole�!�7@e�!�7@�����>�7I��ԛي]�^�J��7OpenZeppelin-MyTokenWrapped...interfaces...IERC5267.sole�!�7@e�!�7@ ��{V+�"m�e"¬��?,Rd�7OpenZeppelin-MyTokenWrapped...interfaces...IERC5805.sole�!�y�e�!�y�!��'%JbU���`a�sH��7OpenZeppelin-MyTokenWrapped...interfaces...IERC6372.sole�!�y�e�!�y�"��4Ãy�A��c�q��a�Ѥ$O�=OpenZeppelin-MyTokenWrapped...interfaces...draft-IERC6093.sole�!�y�e�!�y�#��R��g�R�E��r�R(;�%$�bLOpenZeppelin-MyTokenWrapped...mocks...docs...governance...MyTokenWrapped.sole���e������+��C>���э����w�nM m7OpenZeppelin-MyTokenWrapped...token...ERC20...ERC20.sole�"@e�"@l��
�w�qk�GN6�J.O��"���8OpenZeppelin-MyTokenWrapped...token...ERC20...IERC20.sole�1T�e�1T�m��
�Ae���,� 2�ݎ"`ɅQ��JOpenZeppelin-MyTokenWrapped...token...ERC20...extensions...ERC20Permit.sole���@e���@k�� ����V��Y�55�gm�IOpenZeppelin-MyTokenWrapped...token...ERC20...extensions...ERC20Votes.sole�!˻�e�!˻�$�� � ��J�G��� K�}@6!oԛKOpenZeppelin-MyTokenWrapped...token...ERC20...extensions...ERC20Wrapper.sole�zM@e�zM@����V�N�,aNn�}v�W ���MOpenZeppelin-MyTokenWrapped...token...ERC20...extensions...IERC20Metadata.sole�!˻�e�!˻�%��۳&0S��_Ә�*%�=gX�'*KOpenZeppelin-MyTokenWrapped...token...ERC20...extensions...IERC20Permit.sole�!��e�!��&���i7
Kv�n���]B�f���COpenZeppelin-MyTokenWrapped...token...ERC20...utils...SafeERC20.sole�1T�e�1T�n��v�"�Z���R;��"�[�+Lܑ1OpenZeppelin-MyTokenWrapped...utils...Address.sole���@e���@���M%��V��ǐ���r7'B��1OpenZeppelin-MyTokenWrapped...utils...Context.sole�!��e�!��'����C�>���RA�Z�y�EV��W0OpenZeppelin-MyTokenWrapped...utils...Nonces.sole�!�@@e�!�@@(��� lL:�ÿO�`t�J�j��6OpenZeppelin-MyTokenWrapped...utils...ShortStrings.sole�!�@@e�!�@@)��[�S������F� ��o��ay�5OpenZeppelin-MyTokenWrapped...utils...StorageSlot.sole�!���e�!���*�� �\B�d^Z�@���1)D��1OpenZeppelin-MyTokenWrapped...utils...Strings.sole�@��e�@��o��3J�
��ʹ�ޱ�����Ę>OpenZeppelin-MyTokenWrapped...utils...cryptography...ECDSA.sole���@e���@l���dOoSNt7(�;� �b�~-�?OpenZeppelin-MyTokenWrapped...utils...cryptography...EIP712.sole�!���e�!���+��Sm`/�rO
z�%M�ld�3� IOpenZeppelin-MyTokenWrapped...utils...cryptography...MessageHashUtils.sole�!���e�!���,��;is�s�ӿe�������MU�5OpenZeppelin-MyTokenWrapped...utils...math...Math.sole�@��e�@��p����Ϲ��^ ŷ�S�,�L�3M�~9OpenZeppelin-MyTokenWrapped...utils...math...SafeCast.sole�"��e�"��-���͌��Z5l����~\|6}��e;OpenZeppelin-MyTokenWrapped...utils...math...SignedMath.sole�"��e�"��.��R����u��ߡ ���Sv�ĘA?OpenZeppelin-MyTokenWrapped...utils...structs...Checkpoints.sole�"e�"/��lL��O��ܸi �N��j��6OpenZeppelin-MyTokenWrapped...utils...types...Time.sole���@e���@���
n�:�Ȋĩ;,j�h�+�����&OpenZeppelin-Proxy...proxy...Proxy.sole�"e�"0���RG��zݓ�s_� 8n�^��>�3OpenZeppelin-Proxy...proxy...artifacts...Proxy.jsone�"'I@e�"'I@1������A���{� �[0 ����<OpenZeppelin-Proxy...proxy...artifacts...Proxy_metadata.jsone���e���m��ql�on�ڴ�w�n�nԩ��p@[OpenZeppelin-Proxy...proxy...artifacts...build-info...4decbf5436a4528abb7a59c37bc72486.jsone���e���n��"�"���Չ�O;)q���uV�POAP...Poap.sole�"'I@e�"'I@2���8 y��[-���Ȩ c��POAP...PoapPausable.sole�"6��e�"6��3�� X��%0lcH`C����Lρk��POAP...PoapRoles.sole�"E��e�"E��4��!�
�$�Y�iR�1��J�Iz=POAP...XPoap.sole��V�e��V�o����g��U�ڜ�R�A���8POAP...openzeppelin-eth...contracts...access...Roles.sole�O�e�O�q��jZ��๝��Pn3�:)a�0;POAP...openzeppelin-eth...contracts...drafts...Counters.sole��V�e��V�p���{4���l����������nX@POAP...openzeppelin-eth...contracts...introspection...ERC165.sole�"Ue�"U5����!K��|��tR喽��\�APOAP...openzeppelin-eth...contracts...introspection...IERC165.sole����e���� ��G]Ի�=
w��K�Ee[$�9POAP...openzeppelin-eth...contracts...math...SafeMath.sole��ŀe��ŀ��-�ej[d W�A=u��J����X�APOAP...openzeppelin-eth...contracts...token...ERC721...ERC721.sole�"dR@e�"dR@6��"���B�܁#�D�$'&�&��a
KPOAP...openzeppelin-eth...contracts...token...ERC721...ERC721Enumerable.sole��e�� ����v����8��vd�Ey����BPOAP...openzeppelin-eth...contracts...token...ERC721...IERC721.sole� �e� �q�� ��S����-�Dx�N�4�LPOAP...openzeppelin-eth...contracts...token...ERC721...IERC721Enumerable.sole��#�e��#�����q괊�p��X��_�1g�mxJPOAP...openzeppelin-eth...contracts...token...ERC721...IERC721Metadata.sole�"s��e�"s��7����v�tϐH�¨��I~O�9$JPOAP...openzeppelin-eth...contracts...token...ERC721...IERC721Receiver.sole�"���e�"���8��:��w��u�M�%�������9POAP...openzeppelin-eth...contracts...utils...Address.sole��@e��@r�����/T{�����M�l}H�%Z.POAP...zos-lib...contracts...Initializable.sole�"�e�"�9���yK�L)�X���O�,�G393�ZPancakeSwap-V3...@pancakeswap...v3-lm-pool...contracts...interfaces...IPancakeV3LmPool.sole�"�[@e�"�[@:��J�]�-�y �5+�d��f/�F1PancakeSwap-V3...contracts...PancakeV3Factory.sole�,�e�,�s����S}EeLvcyA�}�$ �>( �.PancakeSwap-V3...contracts...PancakeV3Pool.sole�"�[@e�"�[@;��
{?�m8(�k�%J=�����;PancakeSwap-V3...contracts...interfaces...IERC20Minimal.sole�,�e�,�t��Y&eFJ~ �vq��=�bx���?PancakeSwap-V3...contracts...interfaces...IPancakeV3Factory.sole�;_�e�;_�u��1�:��=?<Lxs��OX��h�<PancakeSwap-V3...contracts...interfaces...IPancakeV3Pool.sole�"���e�"���<���J���p���݊�݀T4��?DPancakeSwap-V3...contracts...interfaces...IPancakeV3PoolDeployer.sole�;_�e�;_�v��։��E�il8���Ӎ(�;$sPPancakeSwap-V3...contracts...interfaces...callback...IPancakeV3FlashCallback.sole�"���e�"���=���[���� �W#R� ~ޓ�OPancakeSwap-V3...contracts...interfaces...callback...IPancakeV3MintCallback.sole�"���e�"���>�� ��]���;����P�˱>�[�OPancakeSwap-V3...contracts...interfaces...callback...IPancakeV3SwapCallback.sole�"���e�"���?���>�sa��F@�j������7�\JPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolActions.sole�"���e�"���@��
*�h0�  BM+V�I�Ӂ�OPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolDerivedState.sole�"�"e�"�"A��P�h�����U|S����h�p�%IPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolEvents.sole�"�"e�"�"B��К���+���Fݕ�n>2�C4MPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolImmutables.sole�"�d@e�"�d@C��{X���}�� �� �J<�OPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolOwnerActions.sole�"�d@e�"�d@D��o�FI9OF���
p����o�HPancakeSwap-V3...contracts...interfaces...pool...IPancakeV3PoolState.sole�J�e�J�w��
�:rǽ^�IW������ȅ\4PancakeSwap-V3...contracts...libraries...BitMath.sole�J�e�J�x��7miH�<�_��{y��3>�:PancakeSwap-V3...contracts...libraries...FixedPoint128.sole�"���e�"���E��|c�,)N��8y;���B�9PancakeSwap-V3...contracts...libraries...FixedPoint96.sole�Y�@e�Y�@y���a+��>YU�-�o㄃��5PancakeSwap-V3...contracts...libraries...FullMath.sole�"���e�"���F��n��02�2=��+�qټ��]n:PancakeSwap-V3...contracts...libraries...LiquidityMath.sole�"���e�"���G�������gu�ɲ�� ����;PancakeSwap-V3...contracts...libraries...LowGasSafeMath.sole�# +e�# +H��@y�e֣���gI�z����3PancakeSwap-V3...contracts...libraries...Oracle.sole�Y�@e�Y�@z�� B�(�� Y�����b?!�3�5PancakeSwap-V3...contracts...libraries...Position.sole�i&�e�i&�{����"�xw���WQ+$�w�5PancakeSwap-V3...contracts...libraries...SafeCast.sole�_@e�_@r��)��'0�<ض5�"�� �}?:PancakeSwap-V3...contracts...libraries...SqrtPriceMath.sole�i&�e�i&�|��!�e��'O�ю#��J�)���5PancakeSwap-V3...contracts...libraries...SwapMath.sole�xh�e�xh�}��%����v�{-�⣱$�n�(�71PancakeSwap-V3...contracts...libraries...Tick.sole���e���~�� �?���ƒ3b�9[qL�7PancakeSwap-V3...contracts...libraries...TickBitmap.sole���@e���@��!��H��L0� $N� /��Fn��e5PancakeSwap-V3...contracts...libraries...TickMath.sole�# +e�# +I���N!s �]��I m���hT��;PancakeSwap-V3...contracts...libraries...TransferHelper.sole���@e���@�����/�go�����z?�g����7PancakeSwap-V3...contracts...libraries...UnsafeMath.sole��/�e��/����^�}4�*�MJ&�P�89x��/:PancakeSwap-V3...contracts...test...BitMathEchidnaTest.sole��q�e��q����,+8{��f�Q��P���]�9�3PancakeSwap-V3...contracts...test...BitMathTest.sole�Ĵe�Ĵ���Ϟc���*2��mlق�W#;PancakeSwap-V3...contracts...test...FullMathEchidnaTest.sole�#m@e�#m@J����Y��*�Z�����z]���4PancakeSwap-V3...contracts...test...FullMathTest.sole�#m@e�#m@K����^>/��BU�.{��ݴ�9PancakeSwap-V3...contracts...test...LiquidityMathTest.sole�#m@e�#m@L��1U1� e1N5 �r��_k�ЅAPancakeSwap-V3...contracts...test...LowGasSafeMathEchidnaTest.sole���@e���@����A��ޗ� �36.�=� L��=PancakeSwap-V3...contracts...test...MockTimePancakeV3Pool.sole���@e���@����_�ᗵ� �Q]��+M�sEPancakeSwap-V3...contracts...test...MockTimePancakeV3PoolDeployer.sole��8�e��8�����N
}�Nvojp�����M�ٳ89PancakeSwap-V3...contracts...test...OracleEchidnaTest.sole�#9��e�#9��M�� ��;0��<#��ɝ&|�w�2PancakeSwap-V3...contracts...test...OracleTest.sole�#9��e�#9��N�����-u�; �%}馭�P��=PancakeSwap-V3...contracts...test...PancakeV3PoolSwapTest.sole��8�e��8�����V��D�υ4@��x��Cƣ@PancakeSwap-V3...contracts...test...SqrtPriceMathEchidnaTest.sole�#I4e�#I4O��
�A���N�� jW����M�M9PancakeSwap-V3...contracts...test...SqrtPriceMathTest.sole�#Xv@e�#Xv@P�� 永{q��
@���8�+ӷ�;PancakeSwap-V3...contracts...test...SwapMathEchidnaTest.sole�#Xv@e�#Xv@Q��ΰ���*Ƨ����i"��q��4PancakeSwap-V3...contracts...test...SwapMathTest.sole��z�e��z����{A�~��Vpg߷��[g���@1PancakeSwap-V3...contracts...test...TestERC20.sole��e�����D��Q��n� �� �9�M�;PancakeSwap-V3...contracts...test...TestPancakeV3Callee.sole�n]�e�n]�s����C.�Чs!;��d��/,�>Rocket-Pool...@openzeppelin...contracts...access...Ownable.sole�#g��e�#g��R��fZ����
:��/�"HRocket-Pool...@openzeppelin...contracts...cryptography...MerkleProof.sole�#g��e�#g��S��9>��FG{��r [�`j�/9=Rocket-Pool...@openzeppelin...contracts...math...SafeMath.sole�#v��e�#v��T��
kȱ�S����ni���3P���CRocket-Pool...@openzeppelin...contracts...math...SignedSafeMath.sole��@e��@��� Ч��Z��
� dS ���l�<Rocket-Pool...@openzeppelin...contracts...proxy...Clones.sole��e��!��*,>@�5�����)\�2.|�CRocket-Pool...@openzeppelin...contracts...token...ERC20...ERC20.sole�#v��e�#v��U���\�ԁ�Fuo�e�^ ���KRocket-Pool...@openzeppelin...contracts...token...ERC20...ERC20Burnable.sole��@e��@���
���}�������o�C;�e��DRocket-Pool...@openzeppelin...contracts...token...ERC20...IERC20.sole� A�e� A������Q�=]��y���{�2 40ƙGRocket-Pool...@openzeppelin...contracts...token...ERC20...SafeERC20.sole�Je�J"���B����4W*@,��7=Rocket-Pool...@openzeppelin...contracts...utils...Address.sole���e���t���=Ī��g?���z���2�C=Rocket-Pool...@openzeppelin...contracts...utils...Context.sole��$@e��$@u����:E����z�h� �Jg�>Rocket-Pool...@openzeppelin...contracts...utils...SafeCast.sole�#�=e�#�=V��[�Dp�Ѓ�WD��c_8+�L1�3Rocket-Pool...contracts...contract...RocketBase.sole�#�@e�#�@W��(��� ��o[��`^�i���Z6Rocket-Pool...contracts...contract...RocketStorage.sole�#�@e�#�@X���O :>�������XC��&��4Rocket-Pool...contracts...contract...RocketVault.sole�#�@e�#�@Y��:'������[�K�p�U 2�1�GRocket-Pool...contracts...contract...auction...RocketAuctionManager.sole�#���e�#���Z��7��M�D��7������ O݋@Rocket-Pool...contracts...contract...dao...RocketDAOProposal.sole�#���e�#���[��(����������q��:ė��tJRocket-Pool...contracts...contract...dao...node...RocketDAONodeTrusted.sole�#��e�#��\��C����&���xѳ��W%���QRocket-Pool...contracts...contract...dao...node...RocketDAONodeTrustedActions.sole�#��e�#��]��,��Q2� X`,T ��u��L �g�SRocket-Pool...contracts...contract...dao...node...RocketDAONodeTrustedProposals.sole�#�Fe�#�F^��C��=���@U
�`V:]�9*gVLQRocket-Pool...contracts...contract...dao...node...RocketDAONodeTrustedUpgrade.sole� A�e� A����
��DAĒ&���bER���]Rocket-Pool...contracts...contract...dao...node...settings...RocketDAONodeTrustedSettings.sole�#�Fe�#�F_��
�1~�M��0���[dz���dRocket-Pool...contracts...contract...dao...node...settings...RocketDAONodeTrustedSettingsMembers.sole�/��e�/�������G��✻D�+�M�v�bneRocket-Pool...contracts...contract...dao...node...settings...RocketDAONodeTrustedSettingsMinipool.sole�#҈@e�#҈@`��
���4�����uM��/R���fRocket-Pool...contracts...contract...dao...node...settings...RocketDAONodeTrustedSettingsProposals.sole�/��e�/�����
y��հH!H&����x/l��}dRocket-Pool...contracts...contract...dao...node...settings...RocketDAONodeTrustedSettingsRewards.sole�#҈@e�#҈@a��� >�Gc�|�p���.�����KRocket-Pool...contracts...contract...dao...protocol...RocketDAOProtocol.sole�#҈@e�#҈@b�������t���e���j.�RRocket-Pool...contracts...contract...dao...protocol...RocketDAOProtocolActions.sole�#�ʀe�#�ʀc��LBA�,'�(�>�M-i��6IJ�TRocket-Pool...contracts...contract...dao...protocol...RocketDAOProtocolProposals.sole�#�ʀe�#�ʀd�� [�1��� M��~��rM�r�^Rocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettings.sole�#� �e�#� �e��
�j$t��!G�c�n���KS��ͤeRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsAuction.sole�$Oe�$Of��
�*Ka�F��G�^w>8��ξeRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsDeposit.sole�$�@e�$�@g����`w�3�"12H!�����gRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsInflation.sole�$�@e�$�@h������R��N���䣌a���fRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsMinipool.sole�$Ӏe�$Ӏi��tcK��×%?�#�5� Y4%teRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsNetwork.sole�$Ӏe�$Ӏj��
$mz $�p,(�#u����z?��bRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsNode.sole�$.�e�$.�k��<�W4�њ|S� �+�c�H
�eRocket-Pool...contracts...contract...dao...protocol...settings...RocketDAOProtocolSettingsRewards.sole�$.�e�$.�l��I35�� �5u�t�����"TȖDRocket-Pool...contracts...contract...deposit...RocketDepositPool.sole�$=Xe�$=Xm��l���"����6�q�:?���=Rocket-Pool...contracts...contract...helper...PenaltyTest.sole�$=Xe�$=Xn��H/ �6}�����F�L�o�GRocket-Pool...contracts...contract...helper...RocketNodeDepositLEB4.sole�$L�@e�$L�@o��i��y�M/{���6�Z�ZFRocket-Pool...contracts...contract...minipool...RocketMinipoolBase.sole�$[܀e�$[܀p��/��q�o�@�`�כ͐- �I�MRocket-Pool...contracts...contract...minipool...RocketMinipoolBondReducer.sole�$[܀e�$[܀q���>`0B����%�B���%������JRocket-Pool...contracts...contract...minipool...RocketMinipoolDelegate.sole�$k�e�$k�r�� ��ߠ̭$��Fj���Qh�IRocket-Pool...contracts...contract...minipool...RocketMinipoolFactory.sole�$k�e�$k�s����#��R�XF�����Ƒ���IRocket-Pool...contracts...contract...minipool...RocketMinipoolManager.sole�$k�e�$k�t��C=#�왔�5���Q��0ͧ�IRocket-Pool...contracts...contract...minipool...RocketMinipoolPenalty.sole�$zae�$zau��1��h�q@�;��|E��r^�KGRocket-Pool...contracts...contract...minipool...RocketMinipoolQueue.sole�$zae�$zav�� ������)�9���V^bC��.�>ORocket-Pool...contracts...contract...minipool...RocketMinipoolStorageLayout.sole�$��@e�$��@w��"�����(��F���'�W��{�aSTFIL...contracts...@openzeppelin...contracts-upgradeable...access...AccessControlUpgradeable.sole�>�e�>���� s�?����ZG�?��_�|�#bSTFIL...contracts...@openzeppelin...contracts-upgradeable...access...IAccessControlUpgradeable.sole�$��@e�$��@x��j4� �%F�t4�{G9�� �� �`STFIL...contracts...@openzeppelin...contracts-upgradeable...governance...GovernorUpgradeable.sole�$��e�$��y��,! d��N\����ԦW��aSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...IGovernorUpgradeable.sole�$��e�$��z��<������Y{��pBD�B �jSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...TimelockControllerUpgradeable.sole��f�e��f�v��댸�tjYXd�uC>d>rI{STFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...GovernorCountingSimpleUpgradeable.sole�$�'�e�$�'�{������5�5��hA)�}����uSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...GovernorSettingsUpgradeable.sole�$�'�e�$�'�|���")k�~%�a�X�,l�B�Z��|STFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...GovernorTimelockControlUpgradeable.sole�$�'�e�$�'�}�������D��3�=mD[�Ea��STFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...GovernorVotesQuorumFractionUpgradeable.sole�$�je�$�j~�� a��_l�|A�͵�ū��%{��rSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...GovernorVotesUpgradeable.sole�>�e�>�����:���(Iۃ/-�s4E&�vSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...extensions...IGovernorTimelockUpgradeable.sole�$Ƭ@e�$Ƭ@�����K��F��h�dk"��fSTFIL...contracts...@openzeppelin...contracts-upgradeable...governance...utils...IVotesUpgradeable.sole�N@e�N@����f�}g?,x*I�o��١�]`STFIL...contracts...@openzeppelin...contracts-upgradeable...interfaces...IERC5267Upgradeable.sole�$Ƭ@e�$Ƭ@���(uٳ�ѝ��n���RN�>��`STFIL...contracts...@openzeppelin...contracts-upgradeable...interfaces...IERC5805Upgradeable.sole�$��e�$�����&%������p����X�@�`STFIL...contracts...@openzeppelin...contracts-upgradeable...interfaces...IERC6372Upgradeable.sole�$��e�$������Ge�Ƃ��7��cW)+'Z���]STFIL...contracts...@openzeppelin...contracts-upgradeable...proxy...utils...Initializable.sole�$�0�e�$�0���� �*@�Z��*�`A-�>B�A(אmSTFIL...contracts...@openzeppelin...contracts-upgradeable...token...ERC1155...IERC1155ReceiverUpgradeable.sole�$�0�e�$�0������2�x��+]�?i�쨎O�(kSTFIL...contracts...@openzeppelin...contracts-upgradeable...token...ERC721...IERC721ReceiverUpgradeable.sole�$�se�$�s���$�2fo�nw�@Un�Y���BI ZSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...AddressUpgradeable.sole�$�se�$�s���P�m�;Qe(�^�ף�}�!�R��^STFIL...contracts...@openzeppelin...contracts-upgradeable...utils...CheckpointsUpgradeable.sole�$�se�$�s���AHd��Q�⸌���F9"��ZSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...ContextUpgradeable.sole�%�@e�%�@��� �j��6�U[ ��� \��ZSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...StringsUpgradeable.sole�%�@e�%�@���#�z�E�(����,��� �-�gSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...cryptography...ECDSAUpgradeable.sole�%��e�%�����h�(�)��ŅYπ�Z
�RhSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...cryptography...EIP712Upgradeable.sole�N@e�N@����� :=?�5�SBH'*iSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...introspection...ERC165Upgradeable.sole�]J�e�]J����`&�}3����6�yYyp2=jSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...introspection...IERC165Upgradeable.sole��f�e��f�w��1������2�]� ������^STFIL...contracts...@openzeppelin...contracts-upgradeable...utils...math...MathUpgradeable.sole�%��e�%�������-���@��7���Tm�b�BbSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...math...SafeCastUpgradeable.sole��e�e��e�����/����C'���^�@�h�dSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...math...SignedMathUpgradeable.sole�]J�e�]J����B�'*� �
XmL-�z-�mSTFIL...contracts...@openzeppelin...contracts-upgradeable...utils...structs...DoubleEndedQueueUpgradeable.sole�%"9�e�%"9����������@��w�2�����;-STFIL...contracts...STFILProtocolGovernor.sole�%"9�e�%"9����26�7�2��ÿ^"�72;-STFIL...contracts...STFILProtocolTimelock.sole�%1|e�%1|�����WFl ��8�zrH-��bZ"Solmate-ERC20...tokens...ERC20.sole�l��e�l������#B��(��-�{+.0�>)γ/Solmate-ERC20...tokens...artifacts...ERC20.jsone����e����x��9J��?$y�1�($,�"��a��8Solmate-ERC20...tokens...artifacts...ERC20_metadata.jsone�{�e�{����UT�3º�m�ٝԋq{~�h��WSolmate-ERC20...tokens...artifacts...build-info...0bd7a705ef956843abb6140808d92312.jsone�%1|e�%1|���N^e�#�@|P���ݗW.0�&p�WSolmate-ERC20...tokens...artifacts...build-info...dadcd8cd67666c235690c2a173cd977a.jsone�%@�@e�%@�@���� –����%�!ٺq�V�{�+SuperFluid...agreements...AgreementBase.sole�%@�@e�%@�@���!�ai�q�$+>x�~ ���5��^.SuperFluid...agreements...AgreementLibrary.sole�%P�e�%P������6aD�ٝ�w��/���G,2�~j5SuperFluid...agreements...ConstantFlowAgreementV1.sole�%_B�e�%_B����� ���Oz+Ѭ��u���L��"<SuperFluid...agreements...InstantDistributionAgreementV1.sole�%_B�e�%_B����g�h�c�Ah�m����hW
b��$SuperFluid...apps...CFAv1Library.sole�%n�e�%n�������gVm�[��Y�wS���\n�q$SuperFluid...apps...IDAv1Library.sole�%n�e�%n����
�����:���=�rH҄K��$SuperFluid...apps...SuperAppBase.sole�%}�@e�%}�@���%y��u�������=���I�((SuperFluid...apps...SuperAppBaseFlow.sole��@e��@����G�����;��( ��/+SuperFluid...apps...SuperTokenV1Library.sole�%}�@e�%}�@��� �-v75~�8*U�ܭY�zI�M�/SuperFluid...apps...SuperfluidLoaderLibrary.sole�%� �e�%� ����@J=:oAݹ�։6/���.�c�/SuperFluid...gov...SuperfluidGovernanceBase.sole�%�K�e�%�K�����!��-%8�[4�kC�I�-SuperFluid...gov...SuperfluidGovernanceII.sole�%�K�e�%�K����E�mW��S�����0&Эd�CSuperFluid...interfaces...agreements...IConstantFlowAgreementV1.sole�%��e�%�����F���[� �8��Jb�I���;JSuperFluid...interfaces...agreements...IInstantDistributionAgreementV1.sole�%��e�%����� w̾����1�����2\Y�?SuperFluid...interfaces...superfluid...CustomSuperTokenBase.sole�%��e�%�����&����vIu��\CIӨ�T6SuperFluid...interfaces...superfluid...Definitions.sole�%��@e�%��@���Q'�pp���n����Fl����6�=SuperFluid...interfaces...superfluid...IConstantInflowNFT.sole�%��@e�%��@����-�V�X�紁[�_��ʡ8�>SuperFluid...interfaces...superfluid...IConstantOutflowNFT.sole�%��e�%����� l��;��q�5��0 ����?t7SuperFluid...interfaces...superfluid...IFlowNFTBase.sole��@e��@���T�r�v���R���׾��#8;8SuperFluid...interfaces...superfluid...IPoolAdminNFT.sole�%�T�e�%�T����U�(E͝�pzنLo�I��
��9SuperFluid...interfaces...superfluid...IPoolMemberNFT.sole�%�T�e�%�T������hmuQ\�)C�dA� �]S:SuperFluid...interfaces...superfluid...ISuperAgreement.sole�%�T�e�%�T������Y�����2X&Jٱ�t���4SuperFluid...interfaces...superfluid...ISuperApp.sole�%�e�%����Oc��w:G�O-��&a
��Ts�6SuperFluid...interfaces...superfluid...ISuperToken.sole�%�e�%�����ȘL`ٵ;Xϝ�ՂrVo�c=SuperFluid...interfaces...superfluid...ISuperTokenFactory.sole�%��@e�%��@���]K�6�����������Ӥg�6SuperFluid...interfaces...superfluid...ISuperfluid.sole�%��@e�%��@���
��n���6�u�H�X� �J@SuperFluid...interfaces...superfluid...ISuperfluidGovernance.sole�&�e�&����;pc���U��P#�D���L��;SuperFluid...interfaces...superfluid...ISuperfluidToken.sole�&�e�&����$j��YaB�ev� ��,2��$9SuperFluid...interfaces...tokens...ERC20WithTokenInfo.sole�&�e�&�����mǬr��?�Y�����*+�6SuperFluid...interfaces...tokens...IPureSuperToken.sole�&]�e�&]����;�r��stʁom�)9Y�k���7,SuperFluid...interfaces...tokens...ISETH.sole�&]�e�&]������ .d�@��d�07G�H�0SuperFluid...interfaces...tokens...TokenInfo.sole�&%�e�&%���������<���[�z�)���H5SuperFluid...interfaces...utils...IMultiSigWallet.sole�&%�e�&%����������:Xm|�
���U5SuperFluid...interfaces...utils...IRelayRecipient.sole�&4�@e�&4�@�����amܣ��{���F�}Z�/SuperFluid...interfaces...utils...IResolver.sole�&4�@e�&4�@���àPQ�5|*��k5�tVӸt�*SuperFluid...libs...BaseRelayRecipient.sole�&D$�e�&D$�����G(G�-��ц@�?�(<b��
�!SuperFluid...libs...CallUtils.sole�&Sf�e�&Sf����/�ʔB:3t�~��䓚�;�/SuperFluid...libs...ERC1820RegistryCompiled.sole�&b�e�&b���� P�@`沐O?���z��Z$SuperFluid...libs...ERC777Helper.sole�&b�e�&b�������i�Q���A��@Ov%SuperFluid...libs...EventsEmitter.sole�&q�@e�&q�@���B��E!��1��Gr��P��epu%SuperFluid...libs...FixedSizeData.sole�&�-�e�&�-��������N�48፝w-5��k@�;&SuperFluid...libs...SafeGasLibrary.sole�&�o�e�&�o�����sZ�F-$b:�6���,0*SuperFluid...libs...SlotsBitmapLibrary.sole�&�o�e�&�o����-3�$H"���1r�>Z��"�&SuperFluid...mocks...AgreementMock.sole�&�o�e�&�o����+U��m7�/WOr�d��1���j��$SuperFluid...mocks...CFAAppMocks.sole�&��e�&�����Q�#M':�׳��^�'�xq��'SuperFluid...mocks...CFALibraryMock.sole�&��e�&������X}��S�д���O���%SuperFluid...mocks...CFAv1NFTMock.sole�&��@e�&��@��� �}�H�P��������v�k�=�2SuperFluid...mocks...CFAv1NFTUpgradabilityMock.sole�&��@e�&��@����?7�܇��Q{������&SuperFluid...mocks...CallUtilsMock.sole��S�e��S����7T���dW��w ���q)�ʽq!SushiSwap-V3...NoDelegateCall.sole�&�6�e�&�6���� 5S�U���Dx����a�O�G�#SushiSwap-V3...UniswapV3Factory.sole�&�6�e�&�6������� �rH��;�T�}�fIw�� SushiSwap-V3...UniswapV3Pool.sole�&�6�e�&�6�������5GaOY�PК�ű�(SushiSwap-V3...UniswapV3PoolDeployer.sole����e������� �&Z; Zb�ا��qY���)G-SushiSwap-V3...interfaces...IERC20Minimal.sole�&�x�e�&�x�����T �Ɓgwn�O:fvVV�+�&1SushiSwap-V3...interfaces...IUniswapV3Factory.sole�&�x�e�&�x����)V�߷��߃/�j�~w�<}.SushiSwap-V3...interfaces...IUniswapV3Pool.sole���e������r l���Txv4U�S��w�M6SushiSwap-V3...interfaces...IUniswapV3PoolDeployer.sole����e����y����LN�GI����6��ZBSushiSwap-V3...interfaces...callback...IUniswapV3FlashCallback.sole��@e��@���ԅD~���I>�i���;���$g�ASushiSwap-V3...interfaces...callback...IUniswapV3MintCallback.sole��@e��@��� �;"�n�Mm�Pw�y��ASushiSwap-V3...interfaces...callback...IUniswapV3SwapCallback.sole��\�e��\�����D�a�J��g�n��@���[<SushiSwap-V3...interfaces...pool...IUniswapV3PoolActions.sole���e������
*������%}����V�?+DASushiSwap-V3...interfaces...pool...IUniswapV3PoolDerivedState.sole���e������L��]ޓOǠC��,Gx:=;SushiSwap-V3...interfaces...pool...IUniswapV3PoolEvents.sole���e������ɾ�Q�0� YfL@ >A'[�.H?SushiSwap-V3...interfaces...pool...IUniswapV3PoolImmutables.sole���e�������#��2� *�ݙ�u0�e���ASushiSwap-V3...interfaces...pool...IUniswapV3PoolOwnerActions.sole�#@e�#@���nbV���8�񲬂R��7)�K:SushiSwap-V3...interfaces...pool...IUniswapV3PoolState.sole�#@e�#@���
�:rǽ^�IW������ȅ\&SushiSwap-V3...libraries...BitMath.sole�e�e�e����7miH�<�_��{y��3>�,SushiSwap-V3...libraries...FixedPoint128.sole�&ܻe�&ܻ���|c�,)N��8y;���B�+SushiSwap-V3...libraries...FixedPoint96.sole���e���z�����&|H��B�^ ���p�'SushiSwap-V3...libraries...FullMath.sole�&ܻe�&ܻ���n��02�2=��+�qټ��]n,SushiSwap-V3...libraries...LiquidityMath.sole�&��@e�&��@��������gu�ɲ�� ����-SushiSwap-V3...libraries...LowGasSafeMath.sole�e�e�e����@ӆ2�����F�}�0��=��%SushiSwap-V3...libraries...Oracle.sole�&��@e�&��@��� �A��>o�ᇦx�+� �g�p'SushiSwap-V3...libraries...Position.sole�#��e�#�������"�xw���WQ+$�w�'SushiSwap-V3...libraries...SafeCast.sole�#��e�#�����*h_H]�4#\:��������7:,SushiSwap-V3...libraries...SqrtPriceMath.sole���e���{���o��/��}�����kh_9'SushiSwap-V3...libraries...SwapMath.sole��-@e��-@|��%�|��=�-tA�ӡ��m�U#SushiSwap-V3...libraries...Tick.sole��o�e��o�}��<CXWqԋ{h� !.��)SushiSwap-V3...libraries...TickBitmap.sole�2�e�2����!��H��L0� $N� /��Fn��e'SushiSwap-V3...libraries...TickMath.sole�2�e�2�����%�0�(�����t5�B����-SushiSwap-V3...libraries...TransferHelper.sole�B,@e�B,@�����/�go�����z?�g����)SushiSwap-V3...libraries...UnsafeMath.sole�B,@e�B,@���^�}4�*�MJ&�P�89x��/,SushiSwap-V3...test...BitMathEchidnaTest.sole�Qn�e�Qn����,+8{��f�Q��P���]�9�%SushiSwap-V3...test...BitMathTest.sole�Qn�e�Qn����Ϟc���*2��mlق�W#-SushiSwap-V3...test...FullMathEchidnaTest.sole�&�?�e�&�?������Y��*�Z�����z]���&SushiSwap-V3...test...FullMathTest.sole�&�?�e�&�?������^>/��BU�.{��ݴ�+SushiSwap-V3...test...LiquidityMathTest.sole�'
��e�'
�����1U1� e1N5 �r��_k�Ѕ3SushiSwap-V3...test...LowGasSafeMathEchidnaTest.sole�'�e�'�����f�Vd�|4�=��& �+��/SushiSwap-V3...test...MockTimeUniswapV3Pool.sole����e����~��ɢt�}|�1h�^��.ѣ;�\a7SushiSwap-V3...test...MockTimeUniswapV3PoolDeployer.sole�`��e�`�������0��B��q����S�5���,SushiSwap-V3...test...NoDelegateCallTest.sole�'�e�'�����,����X�"�R��yɉq4�ל+SushiSwap-V3...test...OracleEchidnaTest.sole�')@e�')@��� ��;0��<#��ɝ&|�w�$SushiSwap-V3...test...OracleTest.sole�')@e�')@����H �ou|_���R���Vtl3�2SushiSwap-V3...test...SqrtPriceMathEchidnaTest.sole�'8H�e�'8H����
�A���N�� jW����M�M+SushiSwap-V3...test...SqrtPriceMathTest.sole����e�������g����T#��r�(�:�-SushiSwap-V3...test...SwapMathEchidnaTest.sole�'8H�e�'8H����ΰ���*Ƨ����i"��q��&SushiSwap-V3...test...SwapMathTest.sole�o�e�o����{A�~��Vpg߷��[g���@#SushiSwap-V3...test...TestERC20.sole��e�����3ٽ}šG �aH /I�8u��]Synthetix...@chainlink...contracts-0.0.10...src...v0.5...interfaces...AggregatorInterface.sole�'G��e�'G������$q�-AG�1��$0(����aSynthetix...@chainlink...contracts-0.0.10...src...v0.5...interfaces...AggregatorV2V3Interface.sole�5@e�5@���O����G^+��p�3�=��_Synthetix...@chainlink...contracts-0.0.10...src...v0.5...interfaces...AggregatorV3Interface.sole�'V�e�'V������ 2����5�&���n1XSynthetix...@chainlink...contracts-0.0.10...src...v0.5...interfaces...FlagsInterface.sole�'V�e�'V�����;���hEȠ�����‚4
�eSynthetix...@eth-optimism...contracts...iOVM...bridge...messaging...iAbs_BaseCrossDomainMessenger.sole�'f@e�'f@���Uv��@&n����'�\J�m%�XSynthetix...@eth-optimism...contracts...iOVM...bridge...tokens...iOVM_L1TokenGateway.sole�'uQ�e�'uQ����X@��-H�|6�&�>fq�)���ZSynthetix...@eth-optimism...contracts...iOVM...bridge...tokens...iOVM_L2DepositedToken.sole�'uQ�e�'uQ����Ŧ��"�ʺ�3��~7gfR+Synthetix...contracts...AddressResolver.sole�'���e�'������ F7�Y;�Q���==Ԍ��� �")Synthetix...contracts...AddressSetLib.sole�'���e�'������9�)BJ"������M�rI3�)Synthetix...contracts...BaseDebtCache.sole�'��e�'�����!��N���O�q�w"�e��\,Synthetix...contracts...BaseDebtMigrator.sole�'��e�'�����74�u����3zn���^�)Synthetix...contracts...BaseMigration.sole�'�@e�'�@���蒽QnDK7)��� t#�0Synthetix...contracts...BaseOneNetAggregator.sole�'�@e�'�@���JB�V �3dm�� \-��0��.Synthetix...contracts...BaseRewardEscrowV2.sole�'�Z�e�'�Z����g��@����&c�qA�Ji����)Synthetix...contracts...BaseSynthetix.sole�'�Z�e�'�Z����!��j8�hJ�շ
�cV�ܸp�/Synthetix...contracts...BaseSynthetixBridge.sole�5@e�5@��� FV~�\�'��ގ��b[NTy�)Synthetix...contracts...Bytes32SetLib.sole�'���e�'�������W�P�.��6"E�5:�D*Synthetix...contracts...CircuitBreaker.sole�'���e�'������^�@L�{��1���W�[���WT�&Synthetix...contracts...Collateral.sole�'���e�'�������y�O�V�[u9��N�V�)�`+Synthetix...contracts...CollateralErc20.sole�'��e�'�����
�yi)���ۊ���:7Xe)Synthetix...contracts...CollateralEth.sole�'��e�'�����L��=����ʱc��k�̽h�-Synthetix...contracts...CollateralManager.sole�'�!@e�'�!@���{v��Nw�(��V/���,��"2Synthetix...contracts...CollateralManagerState.sole�'�c�e�'�c�����q��ꂷ�l�nٖ>�Si-�Z+Synthetix...contracts...CollateralShort.sole�'�c�e�'�c�������6ဠ8�$�<�+:���i*Synthetix...contracts...CollateralUtil.sole�'���e�'��������i.�ͨ���)"�tdh�G+Synthetix...contracts...ContractStorage.sole�'���e�'��������_Y]-f|aQ�@�x�1V+Synthetix...contracts...DappMaintenance.sole�( �e�( ����y�FZi�p�] ���B� ���%Synthetix...contracts...DebtCache.sole�( �e�( ����������r�nt8<5_A�ʛ2Synthetix...contracts...DebtMigratorOnEthereum.sole�(*@e�(*@�����w>����[��৲�I�2Synthetix...contracts...DebtMigratorOnOptimism.sole�(*@e�(*@�������_ ԯ*R����؄e2��-Synthetix...contracts...DelegateApprovals.sole�(*@e�(*@���[�ûn�7�r��OI^���[[0`=!Synthetix...contracts...Depot.sole�(,l�e�(,l��������)� �֚�����#r"4Synthetix...contracts...DirectIntegrationManager.sole��w�e��w���� R�Փ;����c��N�"W��#2Synthetix...contracts...EmptyCollateralManager.sole����e��������JmYD0{�v`��+���i��-Synthetix...contracts...EmptyEtherWrapper.sole�(;��e�(;������yR!a�qd�[������ E�5Synthetix...contracts...EmptyFuturesMarketManager.sole�(;��e�(;������1z�.��c����9�A@�qT)Synthetix...contracts...EscrowChecker.sole�(J�e�(J������En��a񆧷�?�wD���*Synthetix...contracts...EternalStorage.sole�(J�e�(J����#i^�Q����j��a��?� ��;�(Synthetix...contracts...EtherWrapper.sole�(Z3@e�(Z3@��� �>n�V�\2 i�4 ,�5Jv2Synthetix...contracts...ExchangeCircuitBreaker.sole�(iu�e�(iu����_�{\ғ��>��,RUβ6="ͮE)Synthetix...contracts...ExchangeRates.sole�(iu�e�(iu����,7.b�ʠȔ'�3���)7Synthetix...contracts...ExchangeRatesWithDexPricing.sole�(x��e�(x�����1'�� <�W�-{��F��W.��1Synthetix...contracts...ExchangeSettlementLib.sole�(��e�(����� +=��DŽ?�W���Ij�u*��)Synthetix...contracts...ExchangeState.sole�(��e�(��������Yu�!�.M�;�ͭ;ͽ%Synthetix...contracts...Exchanger.sole�(�<@e�(�<@���79b�?�?e�����(�_��;Synthetix...contracts...ExchangerWithFeeRecAlternatives.sole�(�<@e�(�<@����flZ����F�n����A�,Synthetix...contracts...ExternStateToken.sole�(�~�e�(�~����zc��[ 2�ُ�o���Ґ�#Synthetix...contracts...FeePool.sole���e������M����$d#�(G y�$=�%aWThe-Graph...@openzeppelin...contracts-upgradeable...cryptography...ECDSAUpgradeable.sole��>@e��>@���Dǵ��_#T����s��NRThe-Graph...@openzeppelin...contracts-upgradeable...math...SafeMathUpgradeable.sole�˨e�˨�����ܟ�1"v�@nc-�Z,���rMThe-Graph...@openzeppelin...contracts-upgradeable...proxy...Initializable.sole�ˀ�e�ˀ����/l � X��A �Mrlׯ�:d`The-Graph...@openzeppelin...contracts-upgradeable...token...ERC20...ERC20BurnableUpgradeable.sole�(���e�(������+���Ě�Ȇ�\��U�\���SWXThe-Graph...@openzeppelin...contracts-upgradeable...token...ERC20...ERC20Upgradeable.sole�(�e�(����
����n�Ȍ���gu�a'.�YThe-Graph...@openzeppelin...contracts-upgradeable...token...ERC20...IERC20Upgradeable.sole�˨e�˨������A��l�.��w�Z�H��RThe-Graph...@openzeppelin...contracts-upgradeable...utils...AddressUpgradeable.sole����e���������N&hU/��8�y���!\gFRThe-Graph...@openzeppelin...contracts-upgradeable...utils...ContextUpgradeable.sole����e����
�� -=B�r_���8R������ܓZThe-Graph...@openzeppelin...contracts-upgradeable...utils...ReentrancyGuardUpgradeable.sole��e�����Bt2n��;�z��v"m;v���Iz@The-Graph...@openzeppelin...contracts...cryptography...ECDSA.sole�(�E@e�(�E@������~RR�� +iR�C�Pr��� BThe-Graph...@openzeppelin...contracts...introspection...ERC165.sole�6@e�6@����t5RXXT������=��@y�rCThe-Graph...@openzeppelin...contracts...introspection...IERC165.sole�(㇀e�(㇀���9>��FG{��r [�`j�/9;The-Graph...@openzeppelin...contracts...math...SafeMath.sole��e����� Ч��Z��
� dS ���l�:The-Graph...@openzeppelin...contracts...proxy...Clones.sole�%�@e�%�@#��*,>@�5�����)\�2.|�AThe-Graph...@openzeppelin...contracts...token...ERC20...ERC20.sole�(���e�(������\�ԁ�Fuo�e�^ ���IThe-Graph...@openzeppelin...contracts...token...ERC20...ERC20Burnable.sole��G@e��G@���
���}�������o�C;�e��BThe-Graph...@openzeppelin...contracts...token...ERC20...IERC20.sole���@e���@���B�yX��X+Nֿ?��7��c��CThe-Graph...@openzeppelin...contracts...token...ERC721...ERC721.sole���@e���@����xz���jI��C. Lt��' o�DThe-Graph...@openzeppelin...contracts...token...ERC721...IERC721.sole���e��������_��q�?�� !f��� �NThe-Graph...@openzeppelin...contracts...token...ERC721...IERC721Enumerable.sole��,�e��,������d�|!�YF�!��@.���cKLThe-Graph...@openzeppelin...contracts...token...ERC721...IERC721Metadata.sole���e������b��H&[���o��r][�-)�LThe-Graph...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�4΀e�4΀$���B����4W*@,��7;The-Graph...@openzeppelin...contracts...utils...Address.sole�%x�e�%x�����=Ī��g?���z���2�C;The-Graph...@openzeppelin...contracts...utils...Context.sole�) e�) ��&��T����ùwC�)�T�2HaAThe-Graph...@openzeppelin...contracts...utils...EnumerableMap.sole�%x�e�%x����$���ݙ�
ꕝ6�gc�&gCAThe-Graph...@openzeppelin...contracts...utils...EnumerableSet.sole����e���� ���XBD�4ԥM!ۭ���(;The-Graph...@openzeppelin...contracts...utils...Strings.sole�)N@e�)N@����@��X�QƔ����[�k�G<The-Graph...arbos-precompiles...arbos...builtin...ArbSys.sole�) ��e�) �����t p6��:J7�)�͖39The-Graph...contracts...arbitrum...AddressAliasHelper.sole���e��������բ��F��K��`o�Y�h�-0The-Graph...contracts...arbitrum...IArbToken.sole�) ��e�) ������x%?��,�f���V[�f.���.The-Graph...contracts...arbitrum...IBridge.sole�)/��e�)/����
=�1[����)~��[�)6�q-The-Graph...contracts...arbitrum...IInbox.sole���e������R��������o�u1i���7The-Graph...contracts...arbitrum...IMessageProvider.sole�)/��e�)/����Qh|���/J���O��H�0]q.The-Graph...contracts...arbitrum...IOutbox.sole�)?e�)?�� ���'Z�ۅ��y�LR�[V�4The-Graph...contracts...arbitrum...ITokenGateway.sole�)NW@e�)NW@�� ���&.�+L��0��o�v�:The-Graph...contracts...arbitrum...L1ArbitrumMessenger.sole�'e�'�����9����*�s�9��yZ��~:The-Graph...contracts...arbitrum...L2ArbitrumMessenger.sole�)NW@e�)NW@ ������P.Ub�v)� ����0�g2The-Graph...contracts...bancor...BancorFormula.sole�)]��e�)]��
��q2i���e`�ە�7�5���-The-Graph...contracts...base...IMulticall.sole�)l��e�)l�� ��LI@��A�����<6�S����,The-Graph...contracts...base...Multicall.sole�)l��e�)l�� ��H�VZQ��
�}8�}��m��Kt/The-Graph...contracts...curation...Curation.sole�)|e�)| �� �0���}� �VF�_k�6m�6The-Graph...contracts...curation...CurationStorage.sole�)�`@e�)�`@���x�!ᵔ����ثPBhzo�9The-Graph...contracts...curation...GraphCurationToken.sole�)�`@e�)�`@������LN��ӷ�~��ej#0The-Graph...contracts...curation...ICuration.sole�'e�'����Cg��cT��cX�n�Tr#�:The-Graph...contracts...curation...IGraphCurationToken.sole�)�`@e�)�`@��z���/�L�8����u��<�+The-Graph...contracts...discovery...GNS.sole�)���e�)�����9P��ww�W�7���|S�'�2The-Graph...contracts...discovery...GNSStorage.sole�)���e�)����� /�����-!F>˘)�,The-Graph...contracts...discovery...IGNS.sole�6P@e�6P@��� Z��+�S�g�z��ɴ��ݤ4Ubeswap...contracts...uniswapv2...UniswapV2ERC20.sole�)���e�)�����4�Bd���9E-���8R`���2[6Ubeswap...contracts...uniswapv2...UniswapV2Factory.sole�)���e�)�����&���CsI��N�l#�x��3Ubeswap...contracts...uniswapv2...UniswapV2Pair.sole�)�'e�)�'��&�� r�n��t+�=ٿ���7Ubeswap...contracts...uniswapv2...UniswapV2Router02.sole�4��e�4�����_�l&F��Q.��C�Ț��e�9Ubeswap...contracts...uniswapv2...interfaces...IERC20.sole�)�i@e�)�i@������$ۤ�x��07�aω< CUbeswap...contracts...uniswapv2...interfaces...IUniswapV2Callee.sole��,�e��,��������6@WwI�����Ζ�#BUbeswap...contracts...uniswapv2...interfaces...IUniswapV2ERC20.sole�4��e�4������� q�۩n�U�Fס� � �DUbeswap...contracts...uniswapv2...interfaces...IUniswapV2Factory.sole�6P@e�6P@��� ��d�L~�2�<�:��e,��AUbeswap...contracts...uniswapv2...interfaces...IUniswapV2Pair.sole�E��e�E������.g��!Z��{��>�����EUbeswap...contracts...uniswapv2...interfaces...IUniswapV2Router01.sole�E��e�E����������ڍK�e�>���r�P��EUbeswap...contracts...uniswapv2...interfaces...IUniswapV2Router02.sole�T��e�T�����{�+ȋH.�PAeHf��OZu�6Ubeswap...contracts...uniswapv2...libraries...Math.sole�)׫�e�)׫���[ [2
�3���������:Ubeswap...contracts...uniswapv2...libraries...SafeMath.sole�)׫�e�)׫�����`'D)�iI
��ӯC-*@Ubeswap...contracts...uniswapv2...libraries...TransferHelper.sole�)���e�)�����c5\ �a���.�OF������;Ubeswap...contracts...uniswapv2...libraries...UQ112x112.sole�T��e�T������#��r}^Ko�=k] U��+�3BUbeswap...contracts...uniswapv2...libraries...UniswapV2Library.sole�C�e�C������C.�Чs!;��d��/,�=Umbra-Cash...@openzeppelin...contracts...access...Ownable.sole�)���e�)�����9>��FG{��r [�`j�/9<Umbra-Cash...@openzeppelin...contracts...math...SafeMath.sole�D�e�D�%��*,>@�5�����)\�2.|�BUmbra-Cash...@openzeppelin...contracts...token...ERC20...ERC20.sole�de�d���
���}�������o�C;�e��CUmbra-Cash...@openzeppelin...contracts...token...ERC20...IERC20.sole�sY@e�sY@�����Q�=]��y���{�2 40ƙFUmbra-Cash...@openzeppelin...contracts...token...ERC20...SafeERC20.sole�SSe�SS&���B����4W*@,��7<Umbra-Cash...@openzeppelin...contracts...utils...Address.sole�S?@e�S?@����=Ī��g?���z���2�C<Umbra-Cash...@openzeppelin...contracts...utils...Context.sole�)�0e�)�0����:�A�7�?T��ߩH䯘RE/Umbra-Cash...contracts...IUmbraHookReceiver.sole�*r@e�*r@��bG�i��`:�z��?�h�J��F\%Umbra-Cash...contracts...MockHook.sole�*r@e�*r@���Q5#�,W���/̌=�+ft��/Umbra-Cash...contracts...StealthKeyRegistry.sole�*r@e�*r@��=!��۩�*��������B�&Umbra-Cash...contracts...TestToken.sole�*��e�*����1d��娹��IL�n��a� �;�"Umbra-Cash...contracts...Umbra.sole�*��e�*�� �� k@J����
�G� �Z�J�`�Uniswap-V2...UniswapV2ERC20.sole����e�������K�j�${����G�������Q�X!Uniswap-V2...UniswapV2Factory.sole����e�������&<�z�b��2�.�7}���tǟ�Uniswap-V2...UniswapV2Pair.sole��n�e��n����7����Qq�#�c� �ݩ�"0$Uniswap-V2...interfaces...IERC20.sole�� e�� �����
���sC���>&�� yj.Uniswap-V2...interfaces...IUniswapV2Callee.sole��e�� ��|���}+"��l��%�-Uniswap-V2...interfaces...IUniswapV2ERC20.sole�b��e�b�������=őn�%4��w:��]��/Uniswap-V2...interfaces...IUniswapV2Factory.sole�� e�� ��� xv-��[<�x,���t����,Uniswap-V2...interfaces...IUniswapV2Pair.sole�q��e�q�����Z��b�0߭4��O�b� �f!Uniswap-V2...libraries...Math.sole����e�������3���d��C�qgFT��<�T%Uniswap-V2...libraries...SafeMath.sole����e�������B�S�'�XW�h�34�ȉ&Uniswap-V2...libraries...UQ112x112.sole�*#��e�*#��!���t�w~�c�zA�yUBÿ��1,Uniswap-V2...test...ERC20.sole����e�������7T���dW��w ���q)�ʽqUniswap-V3...NoDelegateCall.sole�*39e�*39"�� 5S�U���Dx����a�O�G�!Uniswap-V3...UniswapV3Factory.sole�*39e�*39#����� �rH��;�T�}�fIw��Uniswap-V3...UniswapV3Pool.sole�*B{@e�*B{@$�����5GaOY�PК�ű�&Uniswap-V3...UniswapV3PoolDeployer.sole��)e��)��� �&Z; Zb�ا��qY���)G+Uniswap-V3...interfaces...IERC20Minimal.sole�*B{@e�*B{@%���T �Ɓgwn�O:fvVV�+�&/Uniswap-V3...interfaces...IUniswapV3Factory.sole�*Q��e�*Q��&��)V�߷��߃/�j�~w�<},Uniswap-V3...interfaces...IUniswapV3Pool.sole��)e��)���r l���Txv4U�S��w�M4Uniswap-V3...interfaces...IUniswapV3PoolDeployer.sole�q��e�q�������LN�GI����6��Z@Uniswap-V3...interfaces...callback...IUniswapV3FlashCallback.sole��k@e��k@���ԅD~���I>�i���;���$g�?Uniswap-V3...interfaces...callback...IUniswapV3MintCallback.sole��k@e��k@��� �;"�n�Mm�Pw�y��?Uniswap-V3...interfaces...callback...IUniswapV3SwapCallback.sole����e��������D�a�J��g�n��@���[:Uniswap-V3...interfaces...pool...IUniswapV3PoolActions.sole����e�������
*������%}����V�?+D?Uniswap-V3...interfaces...pool...IUniswapV3PoolDerivedState.sole� ��e� �����L��]ޓOǠC��,Gx:=9Uniswap-V3...interfaces...pool...IUniswapV3PoolEvents.sole� ��e� �����ɾ�Q�0� YfL@ >A'[�.H=Uniswap-V3...interfaces...pool...IUniswapV3PoolImmutables.sole�2e�2����#��2� *�ݙ�u0�e���?Uniswap-V3...interfaces...pool...IUniswapV3PoolOwnerActions.sole�2e�2���nbV���8�񲬂R��7)�K8Uniswap-V3...interfaces...pool...IUniswapV3PoolState.sole�*t@e�*t@���
�:rǽ^�IW������ȅ\$Uniswap-V3...libraries...BitMath.sole�*t@e�*t@���7miH�<�_��{y��3>�*Uniswap-V3...libraries...FixedPoint128.sole�*`��e�*`��'��|c�,)N��8y;���B�)Uniswap-V3...libraries...FixedPoint96.sole��e��������&|H��B�^ ���p�%Uniswap-V3...libraries...FullMath.sole�*pBe�*pB(��n��02�2=��+�qټ��]n*Uniswap-V3...libraries...LiquidityMath.sole�*pBe�*pB)�������gu�ɲ�� ����+Uniswap-V3...libraries...LowGasSafeMath.sole�9��e�9�����@ӆ2�����F�}�0��=��#Uniswap-V3...libraries...Oracle.sole�*�@e�*�@*�� �A��>o�ᇦx�+� �g�p%Uniswap-V3...libraries...Position.sole�9��e�9�������"�xw���WQ+$�w�%Uniswap-V3...libraries...SafeCast.sole�H��e�H�����*h_H]�4#\:��������7:*Uniswap-V3...libraries...SqrtPriceMath.sole��e������o��/��}�����kh_9%Uniswap-V3...libraries...SwapMath.sole��H@e��H@���%�|��=�-tA�ӡ��m�U!Uniswap-V3...libraries...Tick.sole��H@e��H@���<CXWqԋ{h� !.��'Uniswap-V3...libraries...TickBitmap.sole�H��e�H�����!��H��L0� $N� /��Fn��e%Uniswap-V3...libraries...TickMath.sole�X;e�X;����%�0�(�����t5�B����+Uniswap-V3...libraries...TransferHelper.sole�X;e�X;�����/�go�����z?�g����'Uniswap-V3...libraries...UnsafeMath.sole�g}@e�g}@���^�}4�*�MJ&�P�89x��/*Uniswap-V3...test...BitMathEchidnaTest.sole�v��e�v�����,+8{��f�Q��P���]�9�#Uniswap-V3...test...BitMathTest.sole���e������Ϟc���*2��mlق�W#+Uniswap-V3...test...FullMathEchidnaTest.sole�*�ƀe�*�ƀ+����Y��*�Z�����z]���$Uniswap-V3...test...FullMathTest.sole�*�ƀe�*�ƀ,����^>/��BU�.{��ݴ�)Uniswap-V3...test...LiquidityMathTest.sole�*��e�*��-��1U1� e1N5 �r��_k�Ѕ1Uniswap-V3...test...LowGasSafeMathEchidnaTest.sole�*�Ke�*�K.���f�Vd�|4�=��& �+��-Uniswap-V3...test...MockTimeUniswapV3Pool.sole����e�������ɢt�}|�1h�^��.ѣ;�\a5Uniswap-V3...test...MockTimeUniswapV3PoolDeployer.sole��De��D�����0��B��q����S�5���*Uniswap-V3...test...NoDelegateCallTest.sole�*�Ke�*�K/���,����X�"�R��yɉq4�ל)Uniswap-V3...test...OracleEchidnaTest.sole�*��@e�*��@0�� ��;0��<#��ɝ&|�w�"Uniswap-V3...test...OracleTest.sole�*��@e�*��@1���H �ou|_���R���Vtl3�0Uniswap-V3...test...SqrtPriceMathEchidnaTest.sole�*�πe�*�π2��
�A���N�� jW����M�M)Uniswap-V3...test...SqrtPriceMathTest.sole����e��������g����T#��r�(�:�+Uniswap-V3...test...SwapMathEchidnaTest.sole�*�πe�*�π3��ΰ���*Ƨ����i"��q��$Uniswap-V3...test...SwapMathTest.sole���@e���@���{A�~��Vpg߷��[g���@!Uniswap-V3...test...TestERC20.sole�*��e�*��4��D�i�P��Ī*��_�Э.+Uniswap-V3...test...TestUniswapV3Callee.sole�*��e�*��5����uk�j�!(�7�~?���7Uniswap-V4...Fees.sole�*��e�*��6��y���j27� M�k7���SUniswap-V4...NoDelegateCall.sole�*�Te�*�T7��1��� 5F�\:��{�p�f��Uniswap-V4...Owned.sole�*�Te�*�T8��<���� �.��������� ��Uniswap-V4...PoolManager.sole�*��@e�*��@9����=���„�ߌ����b)��ä0Uniswap-V4...interfaces...IDynamicFeeManager.sole�*��@e�*��@:���<�t
M\�<�'6� ���-4�#Uniswap-V4...interfaces...IFees.sole�+؀e�+؀;���u�Й��i��Z�$V2�+��8-Uniswap-V4...interfaces...IHookFeeManager.sole�+؀e�+؀<��Ye����-S�j��DLC!�C�$Uniswap-V4...interfaces...IHooks.sole�+�e�+�=��"d�]���;��Қ�+/��XT�*Uniswap-V4...interfaces...IPoolManager.sole�+�e�+�>���H�k�r�zuTu�^I���4Uniswap-V4...interfaces...IProtocolFeeController.sole�+�e�+�?����HB����HC7����;6Uniswap-V4...interfaces...callback...ILockCallback.sole����e������� ��s�����������gm|~6Uniswap-V4...interfaces...external...IERC20Minimal.sole�+']e�+']@�� * c�j53�pO���?}M�TT�$Uniswap-V4...libraries...BitMath.sole�+6�@e�+6�@A���;T��/.p۠ (�<��4Gg8'Uniswap-V4...libraries...FeeLibrary.sole��e�����7�����<��F�*7�"���| #*Uniswap-V4...libraries...FixedPoint128.sole��Ȁe��Ȁ���|�p0XbM <Y_H�c?�n)Uniswap-V4...libraries...FixedPoint96.sole�+6�@e�+6�@B�����9��� ����e{��%Uniswap-V4...libraries...FullMath.sole�+E�e�+E�C��@����S� ��Bյ��1�v�Y"Uniswap-V4...libraries...Hooks.sole�+E�e�+E�D���,��F��>�& *2ځ ,Uniswap-V4...libraries...LockDataLibrary.sole�+U#�e�+U#�E��wj���T8H� ��c�4+i4W�!Uniswap-V4...libraries...Pool.sole��
�e��
���� ��I֮*�M���0� �����%Uniswap-V4...libraries...Position.sole�+s�@e�+s�@F��nOy%��n�����V���2%Uniswap-V4...libraries...SafeCast.sole�+s�@e�+s�@G��*��j%�YL�H��:�@ݛ �#�[*Uniswap-V4...libraries...SqrtPriceMath.sole�+��e�+��H���lӴD��#���b
R�B%Uniswap-V4...libraries...SwapMath.sole�+��e�+��I���1��,�� ���f�u�'Uniswap-V4...libraries...TickBitmap.sole�+�,�e�+�,�J��'��RO��ed� �-�v:T%Uniswap-V4...libraries...TickMath.sole�+�,�e�+�,�K���i���_䵶C���/z;�E'Uniswap-V4...libraries...UnsafeMath.sole�+�oe�+�oL��ʻ�M
u!�� � ���^*Uniswap-V4...test...BitMathEchidnaTest.sole�+�oe�+�oM�� g����/5�5~.�Kp�p@�e&Uniswap-V4...test...EmptyTestHooks.sole�+��@e�+��@N��hp�r\�h\D�@;@�c؇�+Uniswap-V4...test...FullMathEchidnaTest.sole��
�e��
�������>v:�).� �3�\u�$Uniswap-V4...test...FullMathTest.sole�+��@e�+��@O�� 'F٥9��$�����ꪠ!Uniswap-V4...test...HooksTest.sole�+��e�+��P��q-�#iκ�3�d�ގ�Y��$Uniswap-V4...test...MockContract.sole�+��e�+��Q���)�e�M�b����qm�d,�!Uniswap-V4...test...MockHooks.sole�+�5�e�+�5�R������Z�/��kw�U5"�*Uniswap-V4...test...NoDelegateCallTest.sole��Me��M��� �]�M�'�\ $6@�x�(��;�&Uniswap-V4...test...PoolDonateTest.sole��Q@e��Q@����?3�1��\�n:�4_+5gs�h$Uniswap-V4...test...PoolLockTest.sole�+�5�e�+�5�S��
��~Y��Xa,�ń��˂ &h�[.Uniswap-V4...test...PoolModifyPositionTest.sole��Me��M���]QU���-�h����n�\a0$Uniswap-V4...test...PoolSwapTest.sole��Q@e��Q@��� ��4ߞ/��S�oJc�c��$Uniswap-V4...test...PoolTakeTest.sole�+�xe�+�xT���_k�Q�А/�Q�֬�e{84i1Uniswap-V4...test...ProtocolFeeControllerTest.sole��@e��@������a��l���
���h0Uniswap-V4...test...SqrtPriceMathEchidnaTest.sole��@e��@���
\rG�s�o��<|�tx9�e�;�)Uniswap-V4...test...SqrtPriceMathTest.sole��рe��р����^р����5N �94�{+Uniswap-V4...test...SwapMathEchidnaTest.sole��рe��р������w���7ɾ=T�.��$Uniswap-V4...test...SwapMathTest.sole�+�xe�+�xU��||�2vwn&j� k���g�:|c!Uniswap-V4...test...TestERC20.sole� �e� �������-��t�_ ��t��k)�d(Uniswap-V4...test...TestInvalidERC20.sole�+��@e�+��@V�����Z���ʽ��l�:�{-Uniswap-V4...test...TickBitmapEchidnaTest.sole�+��@e�+��@W�����j�Aj�y�<y�����&Uniswap-V4...test...TickBitmapTest.sole�+��@e�+��@X��jʌ���&����"�:j��'Uniswap-V4...test...TickEchidnaTest.sole�+���e�+���Y��"�C�p�����x���x%Iޞ`JUnstoppable-Naming-Service...@ensdomains...buffer...contracts...Buffer.sole�+���e�+���Z��2y�4L�{���.PV�±��}��eUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...dnssec-oracle...BytesUtils.sole�, >�e�, >�[��7 ��_��%��/i��g�ɢebUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...dnssec-oracle...RRUtils.sole�, >�e�, >�\��i�8,[˶8������S��uUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...BaseRegistrarImplementation.sole�,�e�,�]��)��J�$Ӓ燕��Jh����eUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...DummyOracle.sole�,�e�,�^��"S����-Pj^ ���1`�'pUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...ETHRegistrarController.sole�,*�@e�,*�@_��?_C����ɖ���e�<�hUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...IBaseRegistrar.sole�,:�e�,:�`��8T �~����a�iK3��'qUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...IETHRegistrarController.sole�,IG�e�,IG�a�������?RS@K��;��W_$�^fUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...IPriceOracle.sole�,X�e�,X�b�� .�CI2]�݁Uo���{�>L��kUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...StablePriceOracle.sole�,X�e�,X�c��OKD bӻ��4yL��W�g�7eUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...ethregistrar...StringUtils.sole�,g�@e�,g�@d���_h�R4����^)|N�M��}tYUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...registry...ENS.sole�,w�e�,w�e����XB�B?��� �Њ�7�aUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...registry...ENSRegistry.sole� �e� ����C�Q�Lm��!s�Ƨ����Z@eUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...resolvers...IMulticallable.sole�,w�e�,w�f���bC���i1��r0=�'��dUnstoppable-Naming-Service...@ensdomains...ens-contracts...contracts...resolvers...Multicallable.sole�,�P�e�,�P�g���_>�j��)���@ g�_�;,~VOUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...access...Roles.sole�,�P�e�,�P�h���Cg�0"��hbW�l/ ���D\Unstoppable-Naming-Service...@openzeppelin...contracts-2.3...access...roles...MinterRole.sole�,��e�,��i������p�\���-�/�0��R�dUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...access...roles...WhitelistAdminRole.sole� Ve� V����2m3C�`]���K'�#�p�aUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...access...roles...WhitelistedRole.sole�ܓ�e�ܓ����Fcbz�DD�k&�y��%;[�UUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...cryptography...ECDSA.sole� Ve� V���k-M�+�y���k{,��t<߯4RUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...drafts...Counters.sole� �@e� �@���c��s����C�[�\�<�j�WUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...introspection...ERC165.sole�ܓ�e�ܓ�����W����I�������XUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...introspection...IERC165.sole��n�e��n���� �/�� H�MT��˵r�L���PUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...math...SafeMath.sole��V@e��V@ ��0��y�>�r��W���_� ��XUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...token...ERC721...ERC721.sole�,��@e�,��@j��+V*�� �yZ[�y�;c�$�e`Unstoppable-Naming-Service...@openzeppelin...contracts-2.3...token...ERC721...ERC721Burnable.sole�Ƙ�e�Ƙ����� �%)��5/۹�ZT�.��YUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...token...ERC721...IERC721.sole�Ƙ�e�Ƙ�����Z���|�1��¹�m>��H�aUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...token...ERC721...IERC721Metadata.sole� -ڀe� -ڀ�����a�������� c60�שaUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...token...ERC721...IERC721Receiver.sole����e����+���J�-��=��~m��S��v��PUnstoppable-Naming-Service...@openzeppelin...contracts-2.3...utils...Address.sole�,��@e�,��@k�����U��m�}D7uB��ܹ�ݻZUnstoppable-Naming-Service...contracts...@maticnetwork...pos-portal...DummyStateSender.sole�,��e�,��l���+�Ǽ�ͪ�ח����O�4EUnstoppable-Naming-Service...dot-crypto...contracts...CNSRegistry.sole�,��e�,��m���1�=��'\�R�����LG�)FUnstoppable-Naming-Service...dot-crypto...contracts...ICNSRegistry.sole�,�Y�e�,�Y�n�� (����|��B�YhBč0���IUnstoppable-Naming-Service...dot-crypto...contracts...IRegistryReader.sole�,�Y�e�,�Y�o��v?[�u�U�=���=�y4���CUnstoppable-Naming-Service...dot-crypto...contracts...IResolver.sole� -ڀe� -ڀ���h}[f*�X=��@䇏O�8TZIUnstoppable-Naming-Service...dot-crypto...contracts...IResolverReader.sole�,Ҝe�,Ҝp��'ܪ4�;�lGc��q@��"��}BUnstoppable-Naming-Service...dot-crypto...contracts...Resolver.sole�,Ҝe�,Ҝq��`����_���B{_��?J�e\Unstoppable-Naming-Service...dot-crypto...contracts...controllers...DomainZoneController.sole�,��@e�,��@r���Lޤ1ܕ [�Q�0t� �Se�ZUnstoppable-Naming-Service...dot-crypto...contracts...controllers...IMintingController.sole�,��@e�,��@s�� �1�b���)n��2��p�S��.\Unstoppable-Naming-Service...dot-crypto...contracts...controllers...ISignatureController.sole�,��@e�,��@t�� |bJ��ߵ�ȉl�{ �2s�!\Unstoppable-Naming-Service...dot-crypto...contracts...controllers...IURIPrefixController.sole�,� �e�,� �u���(���(� %/��Ck�Th�YUnstoppable-Naming-Service...dot-crypto...contracts...controllers...MintingController.sole�,� �e�,� �v���S#��l!#�B�y�<@�:�[Unstoppable-Naming-Service...dot-crypto...contracts...controllers...SignatureController.sole�-�e�-�w������K��* �nHdv�,��A[Unstoppable-Naming-Service...dot-crypto...contracts...controllers...URIPrefixController.sole�-�e�-�x��N��y���r� �`�΀m��TUnstoppable-Naming-Service...dot-crypto...contracts...util...BulkWhitelistedRole.sole�-�@e�-�@y����n�c�pp��+�r�CC�oOUnstoppable-Naming-Service...dot-crypto...contracts...util...ControllerRole.sole�-�@e�-�@z��u}�D�� OЮ��<�3�KUnstoppable-Naming-Service...dot-crypto...contracts...util...FreeMinter.sole�-.)�e�-.)�{���z�1�ig���Yu~�X�R_�NUnstoppable-Naming-Service...dot-crypto...contracts...util...SignatureUtil.sole�-.)�e�-.)�|���;G�y��@��U~�n�)1Verification-Registry...IVerificationRegistry.sole�-=k�e�-=k�}��:��G%"O�~���( ��ŚRVerification-Registry...packages...contract...contracts...VerificationRegistry.sole� =�e� =�������\��D%ȇa� }�g����<WETH9...WETH9.sole� =�e� =�����""b�q���p��끘�U_�|��WETH9...artifacts...WETH9.jsone����e�������ա<��$@o���olEx�5H�'WETH9...artifacts...WETH9_metadata.jsone�-=k�e�-=k�~��mi��X�P�.�a��q�!�5�FWETH9...artifacts...build-info...7aa2e90681d068726ef4f97e613e48ea.jsone� L_e� L_���PZ���7 ��4;����j��q�Abasic-dao...@openzeppelin...contracts...governance...Governor.sole�-L�e�-L���%u�&27� �-i�r:�m#�~�K�Bbasic-dao...@openzeppelin...contracts...governance...IGovernor.sole�-[�@e�-[�@��� �(�;�;&=�U�@ ~��K��\basic-dao...@openzeppelin...contracts...governance...extensions...GovernorCountingSimple.sole� [�@e� [�@���o�(�]�C����7��1߉ Sbasic-dao...@openzeppelin...contracts...governance...extensions...GovernorVotes.sole� j�e� j����$(�E$�ה�����g�I�abasic-dao...@openzeppelin...contracts...governance...extensions...GovernorVotesQuorumFraction.sole� z%�e� z%����c�u.g
_���V϶r9<Gbasic-dao...@openzeppelin...contracts...governance...utils...IVotes.sole� �he� �h��� � �q�F(�l
3//�<��Nbasic-dao...@openzeppelin...contracts...token...ERC1155...IERC1155Receiver.sole�-k2�e�-k2������g ��h+��U�3S�� �) Lbasic-dao...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole��e����� r�і��ذ)�4�k�i�0�;basic-dao...@openzeppelin...contracts...utils...Address.sole� ��@e� ��@��� �``����&�
\`� �?basic-dao...@openzeppelin...contracts...utils...Checkpoints.sole����e������L�[F����VPm>��X_;basic-dao...@openzeppelin...contracts...utils...Context.sole��e����� ]9��O��P�����z���n�;basic-dao...@openzeppelin...contracts...utils...Strings.sole�-zt�e�-zt�����K�o ,�嵳ʜ6bvE�9�:basic-dao...@openzeppelin...contracts...utils...Timers.sole��e�����")y̲.��uJ��P��q��eHbasic-dao...@openzeppelin...contracts...utils...cryptography...ECDSA.sole�-zt�e�-zt������,%�����I�,�7D��e��Obasic-dao...@openzeppelin...contracts...utils...cryptography...draft-EIP712.sole� ��@e� ��@���;�a:l� v�)jF}��� NW�Jbasic-dao...@openzeppelin...contracts...utils...introspection...ERC165.sole� ��e� ����U�ͽ�`��&^����F{;
&Kbasic-dao...@openzeppelin...contracts...utils...introspection...IERC165.sole��@e��@���"{�����'Fb�Q�XU��#��?basic-dao...@openzeppelin...contracts...utils...math...Math.sole�-��e�-��������b㦞���u���7�#\�_Cbasic-dao...@openzeppelin...contracts...utils...math...SafeCast.sole�-��@e�-��@��������"'��b{+ ��&T�Nbasic-dao...@openzeppelin...contracts...utils...structs...DoubleEndedQueue.sole�-��@e�-��@���f���<��w?�*�i���cbasic-dao...basic-dao.sole�
Z@e�
Z@���1J�,����Nz� �PM�"�TFburnable-token...@openzeppelin...contracts...token...ERC20...ERC20.sole�
Z@e�
Z@���
ϸ��c�RR��! �����eGburnable-token...@openzeppelin...contracts...token...ERC20...IERC20.sole� �.�e� �.���qЎ�lb��^N�I�w��Y�%[burnable-token...@openzeppelin...contracts...token...ERC20...extensions...ERC20Burnable.sole��@e��@������j����� E����E`��\burnable-token...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole��e����L�[F����VPm>��X_@burnable-token...@openzeppelin...contracts...utils...Context.sole���e������jb �w�L �[i������#burnable-token...burnable-token.sole�-�;�e�-�;����`�&ӯ����.�l�K� �1Dcompiler_config.jsone�-�;�e�-�;����G���IJ��̮Tz��M�?dividend-paying-token-with-buy-sell-fee...contracts...VIRAL.sole� �qe� �q���9! �O���嚰���i��yNdividend-paying-token-with-buy-sell-fee...contracts...interfaces...Context.sole�-�;�e�-�;���� ����Xm�\���n.�})/Zdividend-paying-token-with-buy-sell-fee...contracts...interfaces...DividendPayingToken.sole�-�}�e�-�}���� ������_M�#�\݂8� �cdividend-paying-token-with-buy-sell-fee...contracts...interfaces...DividendPayingTokenInterface.sole� �qe� �q��)��1������P�@���� 4eLdividend-paying-token-with-buy-sell-fee...contracts...interfaces...ERC20.sole�-�}�e�-�}����儕R�r�6�Kñ/ĵA���Kdividend-paying-token-with-buy-sell-fee...contracts...interfaces...IDex.sole� ճ@e� ճ@�� ����Hj������a�ѩMdividend-paying-token-with-buy-sell-fee...contracts...interfaces...IERC20.sole��_@e��_@�����C��b�K���>Ţp�Ndividend-paying-token-with-buy-sell-fee...contracts...interfaces...Ownable.sole�-��e�-������ J��(�qi=��I�$Mq��Odividend-paying-token-with-buy-sell-fee...contracts...interfaces...SafeMath.sole�-��e�-�����}PGO��v��}r�Z�OYFdocs...WETH9.mde�-�@e�-�@���
?mN�oM�Q�D�~��n�[|��Jerc20-and-erc721-escrow...@openzeppelin...contracts...access...Ownable.sole���e������
ϸ��c�RR��! �����ePerc20-and-erc721-escrow...@openzeppelin...contracts...token...ERC20...IERC20.sole�b�@e�b�@'��8
3�A����JȔV ���Qerc20-and-erc721-escrow...@openzeppelin...contracts...token...ERC721...ERC721.sole�'5�e�'5�����K�s��%�s��]��,l"Rerc20-and-erc721-escrow...@openzeppelin...contracts...token...ERC721...IERC721.sole�-��e�-�������g ��h+��U�3S�� �) Zerc20-and-erc721-escrow...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�(��e�(������ܧ{�� P� �a�:D��k�gerc20-and-erc721-escrow...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole�'5�e�'5���� r�і��ذ)�4�k�i�0�Ierc20-and-erc721-escrow...@openzeppelin...contracts...utils...Address.sole���e�����L�[F����VPm>��X_Ierc20-and-erc721-escrow...@openzeppelin...contracts...utils...Context.sole�-��e�-�����t�O*.r��d`��v���5<�Jerc20-and-erc721-escrow...@openzeppelin...contracts...utils...Counters.sole�(��e�(����� ]9��O��P�����z���n�Ierc20-and-erc721-escrow...@openzeppelin...contracts...utils...Strings.sole� ���e� ������;�a:l� v�)jF}��� NW�Xerc20-and-erc721-escrow...@openzeppelin...contracts...utils...introspection...ERC165.sole� ���e� �����U�ͽ�`��&^����F{;
&Yerc20-and-erc721-escrow...@openzeppelin...contracts...utils...introspection...IERC165.sole� �7�e� �7���Uw���SHa<6�,L�+b!Qerc20-and-erc721-escrow...@openzeppelin...contracts...utils...math...SafeMath.sole� �7�e� �7� ��2Ls[���ͅP�%u�ۯT�s�derc20-and-erc721-escrow...contracts...artifacts...build-info...fa00272b47bc4c90b426d37d8018b968.jsone�.�e�.���� !�ʘM�)~$�z��֣�{�k00erc20-and-erc721-escrow...contracts...escrow.sole�.�e�.���� ���ZW5�-G"~�}k�\�JGerc20-token-with-automatic-vesting...contracts...Token...AuroxToken.sole�. @e�. @���8���F����#k�g2Y�pŃ *Herc20-token-with-automatic-vesting...contracts...Token...IAuroxToken.sole�. @e�. @��������
�ܡo"HD����{Ierc20-token-with-automatic-vesting...contracts...Token...TokenVesting.sole�8!e�8!����=Ī��g?���z���2�Cnerc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...GSN...Context.sole�6w�e�6w�����#�_찠��}��ep1�Hl��qerc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...access...Ownable.sole�6w�e�6w����Yyu�4̢z�����;�7���perc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...math...SafeMath.sole�
ze�
z
��
���}�������o�C;�e��werc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...token...ERC20...IERC20.sole�
ze�
z ����Q�=]��y���{�2 40ƙzerc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...token...ERC20...SafeERC20.sole��"�e��"�,���Qq?'Cb2��C�����#M�]perc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...utils...Address.sole�Gc@e�Gc@���
4$� 2����Y@���
ϛxerc20-token-with-automatic-vesting...contracts...Token...openzeppelin-solidity...contracts...utils...ReentrancyGuard.sole�Gc@e�Gc@����=Ī��g?���z���2�CZerc20-token-with-automatic-vesting...openzeppelin-solidity...contracts...GSN...Context.sole�T�@e�T�@����#�_찠��}��ep1�Hl��]erc20-token-with-automatic-vesting...openzeppelin-solidity...contracts...access...Ownable.sole�d>�e�d>����Yyu�4̢z�����;�7���\erc20-token-with-automatic-vesting...openzeppelin-solidity...contracts...math...SafeMath.sole��ee��e-��)����mv��i$tw�"�CF�berc20-token-with-automatic-vesting...openzeppelin-solidity...contracts...token...ERC20...ERC20.sole�
�@e�
�@ ��
���}�������o�C;�e��cerc20-token-with-automatic-vesting...openzeppelin-solidity...contracts...token...ERC20...IERC20.sole�."M�e�."M������|������s98-m�GEm�hello_world...README.mde�.1��e�.1����������h ��M1��=��'�hello_world...Scarb.tomle�.@�e�.@����ޝGoZ�n%�9A���xbYa!hello_world...src...balance.cairoe�.@�e�.@�����70�YV{�+���m��w�T`�#hello_world...src...forty_two.cairoe�.P@e�.P@���jQQ^�����%ŝS��ۆ�ahello_world...src...lib.cairoe�.P@e�.P@���
?mN�oM�Q�D�~��n�[|��Amintable-token...@openzeppelin...contracts...access...Ownable.sole�e��e�e�����1J�,����Nz� �PM�"�TFmintable-token...@openzeppelin...contracts...token...ERC20...ERC20.sole�e��e�e�����
ϸ��c�RR��! �����eGmintable-token...@openzeppelin...contracts...token...ERC20...IERC20.sole�s��e�s��������j����� E����E`��\mintable-token...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole���e�����L�[F����VPm>��X_@mintable-token...@openzeppelin...contracts...utils...Context.sole�.n��e�.n������<�3�?���<����W�xI�]�#mintable-token...mintable-token.sole�.n��e�.n�����
?mN�oM�Q�D�~��n�[|��Knft-sale-with-wallet-cap...@openzeppelin...contracts...access...Ownable.sole�b�@e�b�@(��8
3�A����JȔV ���Rnft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...ERC721.sole���e�������K�s��%�s��]��,l"Snft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...IERC721.sole�.�@e�.�@�����g ��h+��U�3S�� �) [nft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�u*e�u*���ZF��а��&���{s҄U�>inft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...extensions...ERC721Enumerable.sole�.�@e�.�@�����B{�j�jb}7�
.���jnft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...extensions...IERC721Enumerable.sole��l@e��l@����ܧ{�� P� �a�:D��k�hnft-sale-with-wallet-cap...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole��@e��@��� r�і��ذ)�4�k�i�0�Jnft-sale-with-wallet-cap...@openzeppelin...contracts...utils...Address.sole�"&e�"&��L�[F����VPm>��X_Jnft-sale-with-wallet-cap...@openzeppelin...contracts...utils...Context.sole��l@e��l@��� ]9��O��P�����z���n�Jnft-sale-with-wallet-cap...@openzeppelin...contracts...utils...Strings.sole�
!��e�
!�� ���;�a:l� v�)jF}��� NW�Ynft-sale-with-wallet-cap...@openzeppelin...contracts...utils...introspection...ERC165.sole�
1@�e�
1@���U�ͽ�`��&^����F{;
&Znft-sale-with-wallet-cap...@openzeppelin...contracts...utils...introspection...IERC165.sole�.�_�e�.�_����4�ǙȤ��E�|�!�h����y7nft-sale-with-wallet-cap...nft-sale-with-wallet-cap.sole����e�������
ϸ��c�RR��! �����eZnft-staking-with-infinite-rewards...@openzeppelin...contracts...token...ERC20...IERC20.sole��G�e��G�����K�s��%�s��]��,l"\nft-staking-with-infinite-rewards...@openzeppelin...contracts...token...ERC721...IERC721.sole�.�_�e�.�_������g ��h+��U�3S�� �) dnft-staking-with-infinite-rewards...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole�1h@e�1h@��L�[F����VPm>��X_Snft-staking-with-infinite-rewards...@openzeppelin...contracts...utils...Context.sole�
1@�e�
1@���U�ͽ�`��&^����F{;
&cnft-staking-with-infinite-rewards...@openzeppelin...contracts...utils...introspection...IERC165.sole�.���e�.���������Ah�ES�5ĸ �s�@y kInft-staking-with-infinite-rewards...nft-staking-with-infinite-rewards.sole�.���e�.������{�CF޿��Ȓ�m���6���4-Creflection-token-supporting-3-wallets...contracts...MediTokenV2.sole����e�������1J�,����Nz� �PM�"�TDsimple-token...@openzeppelin...contracts...token...ERC20...ERC20.sole��3e��3���
ϸ��c�RR��! �����eEsimple-token...@openzeppelin...contracts...token...ERC20...IERC20.sole����e����������j����� E����E`��Zsimple-token...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole�@��e�@����L�[F����VPm>��X_>simple-token...@openzeppelin...contracts...utils...Context.sole�
@�e�
@�����EU3�kU�$q��C�4�Bsimple-token...simple-token.sole�.��e�.�����
?mN�oM�Q�D�~��n�[|��@soulbound-nft...@openzeppelin...contracts...access...Ownable.sole�.�&@e�.�&@��� ���C/���֋<Սu��Csoulbound-nft...@openzeppelin...contracts...security...Pausable.sole���e���)��8
3�A����JȔV ���Gsoulbound-nft...@openzeppelin...contracts...token...ERC721...ERC721.sole���e�������K�s��%�s��]��,l"Hsoulbound-nft...@openzeppelin...contracts...token...ERC721...IERC721.sole�.�h�e�.�h������g ��h+��U�3S�� �) Psoulbound-nft...@openzeppelin...contracts...token...ERC721...IERC721Receiver.sole��u@e��u@���ZF��а��&���{s҄U�>^soulbound-nft...@openzeppelin...contracts...token...ERC721...extensions...ERC721Enumerable.sole�.��e�.�������B{�j�jb}7�
.���_soulbound-nft...@openzeppelin...contracts...token...ERC721...extensions...IERC721Enumerable.sole��u@e��u@����ܧ{�� P� �a�:D��k�]soulbound-nft...@openzeppelin...contracts...token...ERC721...extensions...IERC721Metadata.sole��@e��@��� r�і��ذ)�4�k�i�0�?soulbound-nft...@openzeppelin...contracts...utils...Address.sole�_/e�_/��L�[F����VPm>��X_?soulbound-nft...@openzeppelin...contracts...utils...Context.sole�з�e�з���� ]9��O��P�����z���n�?soulbound-nft...@openzeppelin...contracts...utils...Strings.sole�
O�@e�
O�@���;�a:l� v�)jF}��� NW�Nsoulbound-nft...@openzeppelin...contracts...utils...introspection...ERC165.sole�
_�e�
_���U�ͽ�`��&^����F{;
&Osoulbound-nft...@openzeppelin...contracts...utils...introspection...IERC165.sole�.��e�.�����
ix�g98ŝ�=ֺT����Y!soulbound-nft...soulbound-nft.sole�
nI�e�
nI���B.�y�dd��͡��(L��<Hswarm...07c618857777205f98beb76e076cfc56581b2ca115c91eed502b7e0146a15740e�//@e�//@���K����])���#^��X|a�!�Hswarm...0af3a86a781518041ab3b0a3dcd39ba86dd0f8a0b60d38e20b38d0762798875de�/q�e�/q����2�D�0%��K�>{<�N��V��Hswarm...20bf19b2b851f58a4c24543de80ae70b3e08621f9230eb335dc75e2d4f43f5dfe�/q�e�/q����S�L|�2�����j,���E�Hswarm...3a5bbe3f62f3475d08eca2186b7342b8cf0bdf4a18ec6d453bd80a116d54272be�/%��e�/%������>
�'��\!�%&���G��Hswarm...3fd1c6bb2ddc099b8b6ca1ad56148e0ef025fda48134eb9a179d174a04d3eb79e�/4�e�/4������TƩ��k��`�_������tHswarm...42e1346fcf5ed17aec59b9b682aed287504c3c50a390d6a37762d6e7257dd456e�/4�e�/4�����m�($[�no�m����z�}�Hswarm...8736b08331f58d71111895f5832bf597aa57b43871e78c1ebcef97a57cc0eda1e�
}�e�
}���U�ͽ�`��&^����F{;
&Hswarm...be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088fe�/D8@e�/D8@���K�p��F�_�R�M�ZR���@Hswarm...f0b73121af150873310a1327bd8da99759e8bc192146be2467820086fa24b171e�
��@e�
��@���;�a:l� v�)jF}��� NW�Hswarm...fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4de�/Sz�e�/Sz�����ѮOL�d�+L���C���Y4Ctether-usdt...@openzeppelin...contracts...token...ERC20...ERC20.sole�/b��e�/b�������IW�X�t�Τ�H/���g�8tether-usdt...Tether(USDT)...contracts...TetherToken.sole�
��@e�
��@�� � ,��ȟ�n�-IT����km�Ftether-usdt...openzeppelin-solidity...contracts...access...Ownable.sole�
��e�
����� �Ȧ�X���=!�}j�Itether-usdt...openzeppelin-solidity...contracts...security...Pausable.sole�/q�e�/q�����ѮOL�d�+L���C���Y4Ktether-usdt...openzeppelin-solidity...contracts...token...ERC20...ERC20.sole�/�A@e�/�A@�����H�jd������e�C��`tether-usdt...openzeppelin-solidity...contracts...token...ERC20...extensions...ERC20Pausable.sole�nq@e�nq@��L�[F����VPm>��X_Etether-usdt...openzeppelin-solidity...contracts...utils...Context.sole�з�e�з����qn��k�{G�&i*�i0l�ŷ��Mtether-usdt...openzeppelin-solidity...contracts...utils...math...SafeMath.sole����e�������
ϸ��c�RR��! �����e\token-staking-with-infinite-rewards...@openzeppelin...contracts...token...ERC20...IERC20.sole�}��e�}����L�[F����VPm>��X_Utoken-staking-with-infinite-rewards...@openzeppelin...contracts...utils...Context.sole�
�R�e�
�R�����=�M���" ���H���3Mtoken-staking-with-infinite-rewards...token-staking-with-infinite-rewards.sole�
��e�
����
�c���Rt�d3��a�V^%;Ftoken-staking...@openzeppelin...contracts...token...ERC20...IERC20.sole�/���e�/������@�����ٲ3�0����41� t'token-staking...contracts...Staking.sole�
��@e�
��@��c�u.g
_���V϶r9<Jvoting-token...@openzeppelin...contracts...governance...utils...IVotes.sole����e�������1J�,����Nz� �PM�"�TDvoting-token...@openzeppelin...contracts...token...ERC20...ERC20.sole��<e��<���
ϸ��c�RR��! �����eEvoting-token...@openzeppelin...contracts...token...ERC20...IERC20.sole�
��@e�
��@��$;�����~�/pM��ȷb�Vvoting-token...@openzeppelin...contracts...token...ERC20...extensions...ERC20Votes.sole��P�e��P�������j����� E����E`��Zvoting-token...@openzeppelin...contracts...token...ERC20...extensions...IERC20Metadata.sole�/���e�/������ c��'7���Lo� �a�����]voting-token...@openzeppelin...contracts...token...ERC20...extensions...draft-ERC20Permit.sole�
��e�
�����cc�@��T׵��힡�^voting-token...@openzeppelin...contracts...token...ERC20...extensions...draft-IERC20Permit.sole����e������L�[F����VPm>��X_>voting-token...@openzeppelin...contracts...utils...Context.sole�/���e�/������t�O*.r��d`��v���5<�?voting-token...@openzeppelin...contracts...utils...Counters.sole��<e��<��� ]9��O��P�����z���n�>voting-token...@openzeppelin...contracts...utils...Strings.sole��~@e��~@���")y̲.��uJ��P��q��eKvoting-token...@openzeppelin...contracts...utils...cryptography...ECDSA.sole�/�e�/������,%�����I�,�7D��e��Rvoting-token...@openzeppelin...contracts...utils...cryptography...draft-EIP712.sole���e������"{�����'Fb�Q�XU��#��Bvoting-token...@openzeppelin...contracts...utils...math...Math.sole�/�J@e�/�J@������b㦞���u���7�#\�_Fvoting-token...@openzeppelin...contracts...utils...math...SafeCast.sole�
�[�e�
�[���;��K݋h�Wkk[g�ŌG�Mvoting-token...artifacts...build-info...eb49aaa066ac3ef41cc2386659c2e406.jsone�/͌�e�/͌�����[�F��c�@ž�N�7.��voting-token...voting-token.sol�w��B �T����0~F�[�t
�tOc#(,247<@HSSV\aegntz�����������������������������
 $*-3<BGLNSV\airv~������������������������������ !%)/5:DGOU]_djltz������������������������ (+15;@FKRW]`djnq{�������������������������")-149>ACGKMOWZ_glox{}���������������������$q�-AG�1��$0(�������vIu��\CIӨ�T���!��wYI��yE_�Tb� ��>y�&|����=>-]�5-�䄍J��)i�Nk��j� 1 #��Y@E`~���"����6�q�:?�����T�k�Ȕ#�X�6k�z� c�j53�pO���?}M�TT� ��J���`#1Œ��#�_찠��}��ep1�Hl��#��r}^Ko�=k] U��+�3m��iw�I��`PMc�5]5� q�۩n�U�Fס� � ���5GaOY�PК�ű�����u�� � ��YaS+��u��[�U�3�+�����B*Ka�F��G�^w>8��ξ5��pZ.%�Rϩ�=�H4IQe�4�@�Kʡf�����R~�!K��|��tR喽��\��i�0�,�@���Y���� �V=��@9$[�[��Q��+9J��ug��uF��O`h�@�Zp9 �ur/����]`�UY���{
���j5�L2��pqP2���h��F��,�Q�}Z��Z���ʽ��l�:�{�)�%O�h�\���͈X��G��MYu��J\ɲ�;~^l�> >�Gc�|�p���.������Z���|�1��¹�m>��H����Z�/��kw�U5"���Ah�ES�5ĸ �s�@y k�M��.��8q�L?T?�p Zp���32 1o |����'%JbU���`a�sH��^�3�1����=�kQY��B�܁#�D�$'&�&��a
�1s|w��Y�׸�\gڝRq��b��d��Ƨ��p@�#���js�޳�K�K�6p�|�W��(�����{���Q�IF(�LyYcKU��v������y�dd��͡��(L��<P�@`沐O?���z��ZW3��w ����,u�X "[v��@&n����'�\J�m%���A��l�.��w�Z�H�����|L `��Rnu�z
zyg �`.��Gs�t���� �?���ƒ3b�9[qL�
\���Q��W��ا;
3�A����JȔV ���
�1~�M��0���[dz��� ��+ ��&ˌ7��i% I ,��ȟ�n�-IT����km� rqK������%�g+"0�HR ��@��Ϸ�$C��t�TB��O 永{q��
@���8�+ӷ� lL:�ÿO�`t�J�j�� �Ȧ�X���=!�}j� –����%�!ٺq�V�{� ��y�(7_�,���� qܺl�1�}�Gƒ׏ �6}�����F�L�o� J����ےTƀ�f�u�� [2
�3��������� �v)�a��J��嶷9i�N �q�F(�l
3//�<�� ��Ho8_���h��\�t�� ��J�G��� K�}@6!oԛ ��<@�X�ɝt/g�ᷨ[�!��۩�*��������B�.b�ʠȔ'�3���)\�n��=k������vm�m`/�rO
z�%M�ld�3� ��C��b�K���>Ţp���6ဠ8�$�<�+:���i���q��i�]O�=g?����V��Y�55�gm�ƾ9�F�ytŚ�t�c�wn�"��P��k
!޳� C��+�PH�L��s��T`���,�,��y���o>@:.1rd����v�K���p3����ErE����&�[�S�Y�E;FK����]Z"�0d/�=�*�ئC^��(�j������K��y�M/{���6�Z�Z�]���;��Қ�+/��XT��'0�<ض5�"�� �}?j��YaB�ev� ��,2��$4Vmr�8jooxJQB�⿴�/����C'���^�@�h�E9 Y����R�*(=p��F�_�R�M�ZR���@0�s®w��Ӻn�kѶ]���y����J��� ��� �����Hj������a�ѩ�����-!F>˘)� �K�� m�E���u���I���w���7ɾ=T�.������T����|v{���mW��S�����0&Эd��:E����z�h� �Jg�3n~�����林(Ө-�O��&�p,��Y~_�<���D=��1 AD�D�#�1�����n���6�u�H�X� �J]�(=��FT^k�j�v>x�\�2�Uq�s�:�%��(�m��j���M~�~]��[��~�OCHB��g��.6�>��'*� �
XmL-�z-�����:���=�rH҄K��cK��×%?�#�5� Y4%t����"�\��-�ؔ��uj����Y��4��Æ2��X}��S�д���O���c�n��+�.����e#�g��W�,�w3h'..*"���w>����[��৲�I�>��U �UC�-�NM~�#�f��US�<�D}��H�+� ��ڙ�+s� 1)vŷ������<���[�z�)���H�$H"���1r�>Z��"��LN�GI����6��Z��}%�Ob�}T��s�XM�8�T�� ��/7��祺�;��`c��9l�agG`�eA�o+�ɨg-}�Wd�6 P'c��xc13CO†��wm�<E�y��i����:"?�o���b��J�$Ӓ燕��Jh������
�H1|��Ο%^#`s�9K���@�d=�$�oW�v�7��s��v���}v�р5�Bp&{�`��Zx�'&��up� �4np�X)�-!aF��+�6M�P�v��to'v���P�o'u� l�g#�wy�4�+�V�q�;Z�kG���g��U�ڜ�R�A����y�>�r��W���_� ����b�0߭4��O�b� �f��`1H³��y �8J�J�H�Ў�lb��^N�I�w��Y�%c���Rt�d3��a�V^%;GU�xЎN��q�z�1���umR�NL��9�͚pt�����jg��򄫏*�,�z�s�h0�  BM+V�I�Ӂ�V��D�υ4@��x��Cƣg���k�� ��~�үk�n9����}Q2B{LK�g,Q �L��F��珲$0�Ԍ��÷7^i����
9%K-�V�X�紁[�_��ʡ8�7���X�fR����f�@j@9! �O���嚰���i��y>@�5�����)\�2.|��W��EB+���7��� J�jٙ�M���qT �V_ �WOb�|��"�hrJ Š� ��_��%��/i��g�ɢe! d��N\����ԦW��!DGX!�i�:��8)IV���" � �2u��tu�
B��m�Q"���Չ�O;)q���uV�")k�~%�a�X�,l�B�Z��"b�q���p��끘�U_�|��"w&�=����≆���1�"�.p7Y��{���z���*n�#p0���f� �6^�f:&�0�#B��(��-�{+.0�>)γ#��2� *�ݙ�u0�e���#��t(�}�_�_��{5.�#��i��@�2�h*i���#�3v ����k/�T˛��!�$���b�y'�"3d���l�$�Ɲl R%J�
���
E�l^�$�˽Z,���fP��_�L��$� 2����Y@���
ϛ%g��u�=���n�вy�m�%�0�(�����t5�B����%��V��ǐ���r7'B��&%������p����X�@�&eFJ~ �vq��=�bx���&�}3����6�yYyp2='�HO�LW�C,��'�pp���n����Fl����6�( E
r����Z%�JM��jD( �߽`s"���\��)gƩ(�E$�ה�����g�I�(���(� %/��Ck�Th�)%{ �� �c�@� ϟF�)4��������̰���eF3)=x.R�R�$�n��f?'�Î\)?Vh9�t�yۏ��%�KF)BJ"������M�rI3�)��� "W��,o�:I �T��)�e�M�b����qm�d,�*sH`G��m��0�I����b*���r�|~��p��Gs���*4�z��&kȌ��Z���*:�5��]�e�fX��{_@*@�Z��*�`A-�>B�A(א*�Kow�I�M�6\���,|*�nM��4�����K�?�����+ ��4� ]�K�e� eԪ�+8{��f�Q��P���]�9�+=��DŽ?�W���Ij�u*��+F���5Ɍϕ �Zt +���pĥO��گ�-3k�g�+�Ǽ�ͪ�ח����O�4+�7V��~|��P�3�$�F,�D?��e0���]]`j,Bߑj0�R+����4$�.�h,OyF��4-U�_X��3;S9�,`�-��\z����r�K,����X�"�R��yɉq4�ל-M�+�y���k{,��t<߯4-v75~�8*U�ܭY�zI�M�-�#iκ�3�d�ގ�Y��.;�i1�e���[����!� �._��1C8������;:�s.g��!Z��{��>�����/�� H�MT��˵r�L���/0��(���{�kW�X:�9��/����- l"�8��x*���K0G ����!N��-\��2!0tc�9��w���v6��B�X�0����K�m��z���G��0��%V�RJM�sP)q���1r+>�烸�A�w<�'�`�1U1� e1N5 �r��_k�Ѕ1z�.��c����9�A@�qT1�j��*���g�s)��;��1�=��'\�R�����LG�)1�b���)n��2��p�S��.2fo�nw�@Un�Y���BI 21�&F�4�3�J�:c~_26�7�2��ÿ^"�72;2i���e`�ە�7�5���2m3C�`]���K'�#�p�3&�+�8����ǧa��3E/���c��� f�k�
�7�3�!7���0�K.��A#����3�E�#).R��"��X�E�4F��7I#�3�S��S�����4�u����3zn���^�4��1 ��Ip�'G����5N�)�=a}y��q&�Q>�?w5S�U���Dx����a�O�G�5\ �a���.�OF������5�� �5u�t�����"TȖ5�㺳ok��|��sp��5�~�s��42b ��U�y�6aD�ٝ�w��/���G,2�~j6tշ8%���Y�Q��ۙ+70�YV{�+���m��w�T`�7�Y;�Q���==Ԍ��� �"7�_X��"j�V�u�M�>M�j7�5: �Q�ᐽ��O� ��8 y��[-���Ȩ c��8��5����;�� %:��)�+9b�?�?e�����(�_��9��O��P�����z���n�:-�'O�q$�I&B��m�|:m�
� �ǐ-~@P��#���:rǽ^�IW������ȅ\:�S]���>7b�+��r�}:�L�g���|��:�MJ,�:�XƍdM�L���U�W��3;G�y��@��U~�n�);T��/.p۠ (�<��4Gg8;s�D̋��rp�xY{��wN;�[^>��ZF�?�$^*;���hEȠ�����‚4
�;�a:l� v�)jF}��� NW�<CXWqԋ{h� !.��<�t
M\�<�'6� ���-4�<�o���U �VӯI�e_:B��<�n�� .?���ye�iD�<�3�?���<����W�xI�]�=Ī��g?���z���2�C=
�2����/ ���-��=:oAݹ�։6/���.�c�=#�왔�5���Q��0ͧ�=B�r_���8R������ܓ>
�'��\!�%&���G��>n�V�\2 i�4 ,�5Jv>��FG{��r [�`j�/9>���� B=�%�غ�x���>�f<�n�E�O JnT6>�sa��F@�j������7�\?3�1��\�n:�4_+5gs�h?7�܇��Q{������?[�u�U�=���=�y4���@za0���؜�j�Iv�+�@@��-H�|6�&�>fq�)���@J����
�G� �Z�J�`�@L�{��1���W�[���WT�@��j�!GR����"�����M@�m)�vx�g��f�h�0�V�A�~��Vpg߷��[g���@AK�r�֜�K�vQ�8�|iAe���,� 2�ݎ"`ɅQ��A��>o�ᇦx�+� �g�pA�v
��3Ijo<�pկ�uɧA��2L4R$�`��T�:�Z���A���M�4�ȄZQt�J�U��A��ޗ� �36.�=� L��A���N�� jW����M�MB&���/^� V���B6@���M .ke �g_�BA�,'�(�>�M-i��6IJ�Bk���T�M�s���Xl�B����4W*@,��7B��a��A�0�~yΣ��(C&�d(�5��ME'q�;CF޿��Ȓ�m���6���4-CZ_�P��ɐ���i$�9Cg��cT��cX�n�Tr#�C�p�����x���x%Iޞ`D^�@������!U{�+[��D�0%��K�>{<�N��V��D������~����24�e%�GD�VT��:W��1�������D�a�J��g�n��@���[E�#���� �)څVB�:��E���ک�wqإ<�[�[w%�F٥9��$�����ꪠF[�.�L=˴�!�ۚhl+�F�c''�b_�SN>�bn�*F��а��&���{s҄U�>F���j���H��:j�����G(G�-��ц@�?�(<b��
�Ge�Ƃ��7��cW)+'Z���G�i��`:�z��?�h�J��F\H �ou|_���R���Vtl3�H'���lJ�,+�mkΙ�0T�Hd��Q�⸌���F9"��H1�R C=�L�c�Aے�H�bU�H� �$c5�m{M�H��,�E�n@��|J!��7xI@��A�����<6�S����I+bz$�=L�I8�Fh�E���IGT(�S��ru^*W(��c� �IaQ��0
�,R핈�H�KI�f�9�#�aE�+J�
��ʹ�ޱ�����ĘJ�-��=��~m��S��v��JS_��?�$}VG������JmYD0{�v`��+���i��J��?$y�1�($,�"��a��J���p���݊�݀T4��?J���x���jG<E!+'�/��J�giv`�W�j:��;��Kf�����.�x�
�B�KD bӻ��4yL��W�g�7K��/a��ae��*�'J&�K�y�T��h�$ �W�so��K�s��%�s��]��,l"K�o ,�嵳ʜ6bvE�9�K�� 2}�X��P�0.�V���K�}�^�޽so+��79[���K݋h�Wkk[g�ŌG�L|�2�����j,���E�L��0��u���P��N;�L��O��ܸi �N��j��Lޤ1ܕ [�Q�0t� �Se�M ��a>f(}���=�p���M2(��|S�޹����(���M:k��r��>�>��O�E,}ʢMOu���U�i��'��_�XEMh(Þ�7�ą����l*UM��&��v���{�`��6� �M�Z1M���ʪ��2�3~�FEM��A1���6�����CV���N
}�Nvojp�����M�ٳ8N!s �]��I m���hT��N`��k��j�=!g�v��֠N�Ӈ"8 -�-I����$dO :>�������XC��&��Oy%��n�����V���2O� ��=Tw9��*5��ezPGO��v��}r�Z�OYFP��ww�W�7���|S�'�Q5#�,W���/̌=�+ft��QU���-�h����n�\a0Qq?'Cb2��C�����#M�]R
)qPC��${�׶�Kp��RG��zݓ�s_� 8n�^��>�S#��l!#�B�y�<@�:�SQ�Ⱦc�9���NG�褄�SY���'�CY�)G���s2SmE�$��2.z� �Z�cd��oS}EeLvcyA�}�$ �>( �S�ee���z��q?J�~� @�T �~����a�iK3��'T �Ɓgwn�O:fvVV�+�&T���dW��w ���q)�ʽqT- ���s����҈�}T`/�i1�����}�S*�v�T� �G��������p�+Uw���SHa<6�,L�+b!UQ&�� [�tI�?U ���AU��&�r�����b�Q$Yu V*�� �yZ[�y�;c�$�eVZQ��
�}8�}��m��KtV~�\�'��ގ��b[NTy�V�߷��߃/�j�~w�<}W����I�������W�P�.��6"E�5:�DWO?>m3�f�> I���6xsWĆT׸�f;�6�_",>Oh[W�����L�7�P[w��XBD�4ԥM!ۭ���(Xz �V6���x!D�5�z[hX�\d�������v$���:�JY�{&�>2s�5�����YA���_d
�x�� A�VU�Yr[��M>��d4oK?��P�SY��,#@�d
���<�Z=�<� >�c��ن��"h+uHZ��๝��Pn3�:)a�0[5��կ��ֵ#ڸ�,:G�[���� �W#R� ~ޓ�[�Cӽ��G���JPJ�BhS[�wyU(��@���qMh��c�[�MY����4*�<:sl,��a\�ԁ�Fuo�e�^ ���]*53��0zC`q�3�q�;�]T�M��f�5e�SNz]�M�'�\ $6@�x�(��;�]Ի�=
w��K�Ee[$�^��R+�ݿsd�Ŗ� X^р����5N �94�{^(h*ȃ4����y0��^/�)}9$j^�" p�ߪ�ή^�(�9���D�M�q�o" +�^�Q����j��a��?� ��;�^�Lr�cs�/�'���$^��� 3�ZM����D ���C_>�j��)���@ g�_�;,~V_C����ɖ���e�<�_k�Ϧ駲( p�m5�@ ԫ_k�Q�А/�Q�֬�e{84i_u3rn�g�٥ބ?j>��:>�_��ׅ�ٝAS1t��n��J�_�ᗵ� �Q]��+M�s`0B����%�B���%������``����&�
\`� �`g�- *$�Z�hF颧�`aai�q�$+>x�~ ���5��^a��z�g�7r����E#�dbC���i1��r0=�'��bV���8�񲬂R��7)�Kb �w�L �[i������b�(Ҩ`��1�n����^��b�C�m�C�����Ђ�G]�cEO<��@����I�_�,�dcbz�DD�k&�y��%;[�c��[ 2�ُ�o���Ґ�c�u.g
_���V϶r9<c c$y�{���U^�N�t:cc�@��T׵��힡�ch:&�4����ش�O�h��z$c���U��P#�D���L��c��'7���Lo� �a�����c�,)N��8y;���B�dOoSNt7(�;� �b�~-�eB/n_��*p�Jaa��pej[d W�A=u��J����X�e~�f6�����1��k��J9�e����-S�j��DLC!�C�e���0?".M����u��f8�ѝb���/��`?��K�fZ����
:��/�"flZ����F�n����A�f�X9���˙������� l�0f�}g?,x*I�o��١�]f�Vd�|4�=��& �+��g��2a��Cd7�Yx�n�g����T#��r�(�:�h��LT�wV/ J���gh��G]����Y��E���h_H]�4#\:��������7:ha&Du����ٰ�O< T�Tߙhd��HN���)���� Ghe�o�z�j-J}rt.����h|���/J���O��H�0]qh�zJ���Gq�����}'k��h�c�Ah�m����hW
b��is�s�ӿe�������MU�i���_䵶C���/z;�Ei7
Kv�n���]B�f���i�fG�2yiJc������p� �i���Ï��o,'��g��!yj���u�MSp5�8�?��j$t��!G�c�n���KS��ͤj6���iC ].�Ju�#��'jQQ^�����%ŝS��ۆ�aj����5�$��=��k{��j���k�QdET�А ���7j���׉O�.C8\ ��+�x�jʌ���&����"�:j��lӴD��#���b
R�Bl � X��A �Mrlׯ�:dlS�� wM��p��@o:qRl���T}��Y/��8gpb��Km�($[�no�m����z�}�mL�Nd�p#��Atp�i����mL�#�@�6q�����Ͽ���mN�oM�Q�D�~��n�[|��m[N�h¯�y�����U�o"miH�<�_��{y��3>�mp���{�.�0��"[2]�ppmz $�p,(�#u����z?��m�;Qe(�^�ף�}�!�R��m���QY�I5�9֠p�23'n)�d���yZ� ���}���n��t� �$) �
մbn�&�_�� �IJ�Ee
XN�n��k�{G�&i*�i0l�ŷ��oh� 6���������̅oy �8`#��kc�y�z���o���`A�(,׉a���c�"o��Eb�a����맰��O,=p���9s� _�թ���"�d�p�r\�h\D�@;@�c؇�q��ꂷ�l�nٖ>�Si-�Zqޭ�#�> Z$x�"cFk��C�r l���Txv4U�S��w�MrG�s�o��<|�tx9�e�;�s,�+���[hQ����c��sZ�F-$b:�6���,0s[���ͅP�%u�ۯT�s�sk͝�����_a��L�f��7so����P�.;�C�`fwys�ιi@{�O�#$�J��B��s�"׉9܍+G�*DO�ՆAt p6��:J7�)�͖3t2n��;�z��v"m;v���Izt����g4����r��3���t�w~�c�zA�yUBÿ��1,u@�}Q�%��]��txYr�qu�Й��i��Z�$V2�+��8uٳ�ѝ��n���RN�>��u�v��^�#M�oi['@��v���F� N�2�,� �8v!�ܵ�@GB��]ʬhj>�Kv-��[<�x,���t����v����uPǟze�]�z��l�\v��Nw�(��V/���,��"v�6@�2 W���( �nB�-w̾����1�����2\Y�w�-�� wf��dBV�U^��#�w�qk�GN6�J.O��"���w��}R�f`<���i�5x��Cw�6�?8��h��Qk�� w��VX-KT
��.iu� �xH� 8��R�c���BX�6x_<9���6)c��H��M���7xz���jI��C. Lt��' o�x�g98ŝ�=ֺT����Yx�!ᵔ����ثPBhzo�yB��I��B����a��ʒ��gyK�L)�X���O�,�G393�yR!a�qd�[������ E�yX��X+Nֿ?��7��c��ycx~wF��?�R�I�Ҁ� yu�4̢z�����;�7���y�w(R�pI;�E"�N��c�y̲.��uJ��P��q��ey��հH!H&����x/l��}y�O�V�[u9��N�V�)�`zI��A�z� �G���M�z�� � y+�M��ԫ��<z�E�(����,��� �-�{ �O]�Z���=Y�|�({#�'ψ��B��0���1�û{4���l����������nX{?�m8(�k�%J=�����{V+�"m�e"¬��?,Rd�{X���}�� �� �J<�{\ғ��>��,RUβ6="ͮE{�=@���� %^T�$C�&|/cv��fu?�i���
�|bJ��ߵ�ȉl�{ �2s�!|��]����������Ce�<�|�2vwn&j� k���g�:|c|끢������|'>
����}|��=�-tA�ӡ��m�U}/�^����D�����a�}G���7�II��[=dl�A}[f*�X=��@䇏O�8TZ}l���4�R����iBq�梔}vS%b�;�v��I ۓ�p�}�H�P��������v�k�=�}�[$Oݗp?��?k�{[� �}�D�� OЮ��<�3�~D���j�U�$-�����ٓ�~�3qpB��*���_�m�+A4�,��HpIs��x�|��1��� 5F�\:��{�p�f���p0XbM <Y_H�c?�n�6��;��$F��>� ���a'�tiV瑱W��.��r��Ĺ��m��Ag��/�|=]�� ��o[��`^�i���Z�I��-�ϡ���Kx�joˀ_�x���̈́@|���.4�6���XB�B?��� �Њ�7ـ�"����׋�;6�+�J ��~RR�� +iR�C�Pr��� �ˬ�c\�>�3@6���:R�҂:���(Iۃ/-�s4E&��!�EX�:c���h�>��\�<�+1R�h3��U�)� ��E�@W��z ��;{�W�Ÿ�ւT�*�����OM�h�a�1�n�3��6Z�t�x�]����d還�5�5��hA)�}��������ܲ�+80��kVӍZ4 �C��c�M���Q�b"�o��a��Pap\d�P������IJ��̮Tz��M���j����� E����E`������˽m�Π�(�|��W�������^/?�֮��� ��I�CTo�y�W E4�����gCɇzv+�qϭ��/T{�����M�l}H�%Z�����;��( ��/��R�r�6�Kñ/ĵA��Ƅ����Y{��pBD�B „���Xm�\���n.�})/�D~���I>�i���;���$g���ݙ�
ꕝ6�gc�&gC��4ߞ/��S�oJc�c�̅��ý�H�Y��0v��>���#=<�@�.�l��Sa���Q:���T8H� ��c�4+i4W��H&[���o��r][�-)Ɇ?�����%�7�]�j�L�1����l���o�.cEWK�������A<�������~�:򝡇��}+"��l��%هj8�hJ�շ
�cV�ܸp�k�ytV��3�����c�?Ɯ��K��X�w�r� ����~������[�K�p�U 2�1χ�,�u?/�P�5s(|��aȈ 2����5�&���n1�0��B��q����S�5����:�A�7�?T��ߩH䯘RE��-��t�_ ��t��k)�d�����r�nt8<5_A�ʛ� J��(�qi=��I�$Mq�����E�il8���Ӎ(�;$s����S� ��Bյ��1�v�Y����ԃ&3�J����σ�6�� ��rIe߉����@*74V��ji©jӊBd���9E-���8R`���2[�Fж����"�k�g�fnϑ��O*.r��d`��v���5<���u�1�������!�dUz�1���@� *�Q�ǁ,N 9� ����p�\���-�/�0��R��x0K ��5R]٭î�]�P5�������¡@a�Rnh-�#D�u����?RS@K��;��W_$�^���tjYXd�uC>d>rI��l{�tQ�1oL�,\��)��#M':�׳��^�'�xq�֍`�6�K~����Y���*�,���1s�S]e")'"�zS���U��m�}D7uB��ܹ�ݻ���a��l���
���h��mf���B�CiU ���QG�o�T ���L�a=^D�������^�f�X'-�=�r3�uk�j�!(�7�~?���7��������o�u1i��ُ侽6���I�)}@}��Z���� :=?�5�SBH'*�&ӯ����.�l�K� �1D�V�N�,aNn�}v�W ��밐��4�����r������䑷��`O��6����_�����-u�; �%}馭�P��.����.;�Xy.�@�~��3�g�};�3\���5�0��TA���� J�1ge��C�R���+�S�g�z��ɴ��ݤ��]���;����P�˱>�[��ǙȤ��E�|�!�h����y� ��z�7I�GI��Q���ғ=��p���Qs��ĝ��-`�@��X�QƔ����[�k�G�S�Y��Kx)�xۏ=�.����[[%&Z��\��3�96���>v:�).� �3�\u���t���v��8����
~� �c�Zv�]l�d��\�'�T��#�@|P���ݗW.0�&p��Q�N��q9C�ϓB���(�Q�� r�Ӥ'x8���c B��� �!�� 9�>��*w����:�>A2+�G@�>y�U�CK:�FI9OF���
p����o��M��/���}UONZ����ü��)� �3D|�]�������Kb0'��g;��^(6r���ZW5�-G"~�}k�\�J� �%)��5/۹�ZT�.���4L�{���.PV�±��}���?����ZG�?��_�|�#�WFl ��8�zrH-��bZ�����))�@��K�s�Q_�^��;��q�5��0 ����?t�!�1$;Qu�w��Й1� >��'Z�ۅ��y�LR�[V���G(|x�������w)�
�$�Y�iR�1��J�Iz=� <�(K�Nx��c��P�t�c�%f2�৹7,��!�[� ��w��~�$�yE��t[��mdr���C�` i��w��G�� Ș��*��M��K��jJv�h嘥s Ύ�(rh�gղ3�I3���w�FU�B"ǡh�B�m,���w��u�M�%�����������ن{��eAU����:�Ȋĩ;,j�h�+������n�Եfw�Ύ���O���홅�&|H��B�^ ���p����:8i�|��Z�w�����;�,!@��1r�wџ�=���/k[S�� t�jg>$N��U���}4pު�[u{[�핚("["�R�;�����H1R�)]�r��Y�a�� e
.�2DTR^e_���q��40�̿ٚ_�50�W��%��O��Gf�d�|!�YF�!��@.���cK�k�����O�v��2a02}Ic�����Ž����K!�!N� iU�`��n�0XO�sr���-���@��7���Tm�b�B�W�KQ� �X�"�&‹Vp�$��}�������o�C;�e�����$ۤ�x��07�aω< ���=�; Rn}_��̾�uB��xM3W���1���c0#�<ޜ�͟�Lώ4�KҮ���*y����u��ߡ ���Sv�ĘA���������q��:ė��t��P.Ub�v)� ����0�g��i�Q���A��@Ov����"-�-�\.6�Qfu)o���V�n�8q:=�'�C�--����9��ө-(@����^ �GoZ�n%�9A���xbYa�c������-
�B%��I��]ޓOǠC��,Gx:=���'E��*���`ɒ����ߘS2�fZ�bn鞛j�9ka��s�����������gm|~� �rH��;�T�}�fIw���c���*2��mlق�W#���LN��ӷ�~��ej#���r"�������f��6����Ouq�ގ �H��M��0�;"�n�Mm�Pw�y���Q�Lm��!s�Ƨ����Z@�r���3�/��ڴGȡ�����X�vO�X�A�B
���–{`z��P�Z����ϿK��ܟ�1"v�@nc-�Z,���r���T{h��7K>qx��Ӡ��F��~H^�����DAĒ&���bER��ݠ̱_6����X������r���PQ�5|*��k5�tVӸt��W4�њ|S� �+�c�H
�����&���xѳ��W%��š<��$@o���olEx�5H������_M�#�\݂8� ɢ(�� Y�����b?!�3ԢL�������IAxO���`�t�}|�1h�^��.ѣ;�\a��v���?���ۊ+��Xc�����'Fb�Q�XU��#�У�S����-�Dx�N�4����� #��+�n�q,ǣ,%�����I�,�7D��e���n����4Gd�O�'3fe���X�P�.�a��q�!�5����A���{� �[0 �����F�3a�\`^<����,Hh���T����ùwC�)�T�2Ha����@�9ƫ�#{k�~0����[� �8��Jb�I���;�,�/��@J�<"33�%�?x�S�'�XW�h�34�ȉ�
i��`Ůű�J�=��٥0���}� �VF�_k�6mץ`'D)�iI
��ӯC-*�mǬr��?�Y�����*+�ue�[A�?��Q��-�ʔB:3t�~��䓚�;��j�${����G�������Q�X�yi)���ۊ���:7Xe���"�ʺ�3��~7gfR��m7�/WOr�d��1���j���#��R�XF�����Ƒ��ѧ+ �hG ����iuEES���Z��
� dS ���l媧�����1NJV�ϔ;Q�d٧�������C������õ�����/5�5~.�Kp�p@�e�%�1.��PI q�穱3eh��Cg�0"��hbW�l/ ���D����ڍK�e�>���r�P�����v�{-�⣱$�n�(�7��"�xw���WQ+$�wǩ/�X�qiO��p�����1[����)~��[�)6�q��`��.�3؆����e���7��ܽF���W� 'ep���������s=���ؐ�G��-��X�`g��rD�ޫA ��,�4�;�lGc��q@��"��}�=���„�ߌ����b)��ä�@����&c�qA�Ji����C>���э����w�nM m���<欳�t��w�DIP��«C�>���RA�Z�y�EV��W���C����(�ɮs��r1*1��'�=� t��y&^8h���P٬5��_�8(~KIS6٫�\��D%ȇa� }�g����<�����<��F�*7�"���| #���1l��=j;d��p�M��@]k$�W ��O�,��D�D�I q"�F�,�T���y�q괊�p��X��_�1g�mx�y �� ��3��� �8P/ �� <�W�-{��F��W.��t�xa��L T>�U��­W�6���> �g3{5�������p�η�0S�֣�e=���(�5�<g��v�j3q3!��s����C�[�\�<�j����G��_�Ց<���]�3º�m�ٝԋq{~�h���dh��7�N�"л�J��ʘM�)~$�z��֣�{�k0����h ��M1��=��'��ҫ),�Y�]�.�H)������G^+��p�3�=����|ܹGw��?[j$k�jw �Q�=]��y���{�2 40ƙ�a�������� c60�ש�d�L~�2�<�:��e,���h�hȘ`�m�3�;F�;x�����*Ƨ����i"��q����_�)R�8��]�]C �� �%F�t4�{G9�� �� ��Q2� X`,T ��u��L �g�[�F��c�@ž�N�7.�����ǿ������o�i Ț=����bZ�Ě��ߌ.j����k�|�����D�&���7�ڲ���|��B�YhBč0����! @�*��v>m6(x�&0S��_Ә�*%�=gX�'*�(�]�C����7��1߉ �:�ﴟl�؉���?n-nSRڳ_��ޥ;�:�O&��q�xU��E/���ۛZkH��ԎqD���UI_K}��pI?�������^�Y��n�ٵ���.���,�/J�4/y
�ZbJ�����ԭ�%2�i�O�B ��<�7�as�����q�֗�WԴv����8��vd�Ey�������Oz+Ѭ��u���L��"�і��ذ)�4�k�i�0����~E�*�e1���}�=��`w�3�"12H!�����i�P��Ī*��_�Э.���6@WwI�����Ζ�#���:�$i+Jv�W9P��?��o�{�Q�c�YO�\�x����yX�@�ɦ�$dNX�� { ����-Pj^ ���1`�'�'ړ0nsH�>�p/�6��r�&dϛ�\��M�O)�YL���жh�����U|S����h�p�%��~Z.����_�X$�S׸����F����#k�g2Y�pŃ *��_l�|A�͵�ū��%{�ڷ��U��1h�x�%���$��G%"O�~���( ��Ś��b�=F������(k�����c�RR��! �����e�0��)�j�76�c��� Q�i>� O�c�W^~���븓�&.�+L��0��o�v���9��ˋ��@�λ0�7��9��xǜu�X��00��gȺً�QtE���'O@���^׮w�\��\ � �&�5��fL��|M�%�T��]���%Gg%��~Y��Xa,�ń��˂ &h�[�����:Xm|�
���U����Ϭ a �
û��<��� "L�A��_%�ܙE�f�FǺ!e��c�w��Uas�'��'�6���B�C�sG��d�E��.{�����`�x�n`R���1��,�� ���f�u��1�G��B�~5��=6&Y��i�Z� ���Q?l85��`���þ���Dn��/�_�w0�`1M���Þ�t����ޫ�TƩ��k��`�_������t�Uɘ���R]:�eX���.o���M
u!�� � ���^���3?� G*Λ괴i�$���jhI}C�����&f*4м�7:��o, co AYΔ�[r�h�w� �i���]����2�2��>�g"�k�(v.ʾ`�Q@�h�Z/-L�v�tϐH�¨��I~O�9$��C/���֋<Սu�춽�� r�-�����}�#���������-e��z��#�����P �h ��tU�u�FZi�p�] ���B� ��핾HB����HC7����;���*� L���29��!�4�ׇ�R0u�O�UY(�w�HZ�e��'O�ю#��J�)��ݿr��stʁom�)9Y�k���7�d�)�e!��� �8�c?)��l`Z��<��#���9A��2,��Yu�!�.M�;�ͭ;ͽ��;0��<#��ɝ&|�w���1$Z��D�o|{yDM�������� �}d�ke:�꤮5������~�/pM��ȷb����X2Iv-t��H�V�Ň����� ��l���/0q��4�����uM��/R������f�@,Ⲽ�<@n�,�����Qq�#�c� �ݩ�"0��\��6��#�����M��Mk�&Z; Zb�ا��qY���)G�IW�X�t�Τ�H/���g�Ãy�A��c�q��a�Ѥ$O�é���E�������DžJûn�7�r��OI^���[[0`=�!��-%8�[4�kC�I��4��|q=��U�}�]Фb;X�b�P��х�@�7���7č�1��ǭ@�� ��p�E��B��k_��;=x�*wlœ��ǐ���-ldi�@&��8S��F����
�ܡo"HD����{����5��OܜC� �����L��JG��[K�.��]r{�;ŏ� V��?������� �R�/�����2�]� �����Ń���Rcˋ3 >_��$ɘ�����6�}�%��tGvA��3K���5I���L#���C�@]o��ǵ��_#T����s��NǾ''����~EL�>4���&27� �-i�r:�m#�~�K��2�x��+]�?i�쨎O�(�Q���"�`e�Y����#)�H�SJ|3��3�P�NS� YC��S������F� ��o��ay�ȘL`ٵ;Xϝ�ՂrVo�cȜԍ�j����L|�fI���ȱ�S����ni���3P����:��=?<Lxs��OX��h��cd�΋@TjD�Ϝx�.�֫�q�o�@�`�כ͐- �I��|������s98-m�GEm�ɾ�Q�0� YfL@ >A'[�.H��g�R�E��r�R(;�%$�b�+��V���&�������3I�Yv�},u�S�����;#�'w�}4�*�MJ&�P�89x��/ʹ>)�]
7x����W���sn�����ĹUD�A!(��I֮*�M���0� ������=����ʱc��k�̽h�˷���0z��Je'q3���pB����A'���cM4v��z`E�1��� M��~��rM�r��m�Rq,�&*8� 9�&?�̷�d�Cx ���Oy�am��z�_��q�?�� !f��� ��0�D
��?�#!�A�| ��8��7�f��WW��,�L�W�E� �r���(�> @�]�� ��͌��Z5l����~\|6}��e��y���r� �`�΀m�����A0S1�����_B#g�˕�(�;�;&=�U�@ ~��K���<)�Z?�UZe���XӾ�G��✻D�+�M�v�bnΧ豷͛�$f�Gھ��� Ug+ws����#9�0���EU3�kU�$q��C�4�BϹ��^ ŷ�S�,�L�3M�~К���+���Fݕ�n>2�C4�ߠ̭$��Fj���Qh����j�Aj�y�<y�������J���G��$Jl��)Ƶ���|1 ���k.�n7H�Y}4���:�*U�&�.��A�$���2�t���C���Q�ރ������3w�Jc$�K���M*��z��є��<���l� n
=r7��ѮOL�d�+L���C���Y4�� c�*�\��xj#A��^�%����8��.�G����8,[˶8������S���Z��>�j�®���0LT`�)ғ������َP���T��t���._�\w�����������Q��n� �� �9�M��C�ْC�^ζ1��m���x�_h�R4����^)|N�M��}t�j%�YL�H��:�@ݛ �#�[ӆ2�����F�}�0��=��Ӌ��g�zB���3h�Q��X�@�Y��4iŚ�V$ ������t5RXXT������=��@y�rԖu��8\�k���&��Ś�-����)� �֚�����#r"��g�g�~PZ���qQN)��Ü����p��Լ�چ'(j�7����S�����h�R8��o��|��q]!������
��02�2=��+�qټ��]n�8�-T��7q2 d� ��,�h�{}p��޷�_�h�Y�����2X&Jٱ�t����^;A.��9ƴ�ĵ�����X֊�9�D ԩ�!Q!$�ְ�t�R%�<l�!1*XНے ����~4՟c6(g�����%��jN'�Q���Ρ��zum׌��.luƶ��de7�>H�w׏��,��ʈ'�$�m�k��բ��F��K��`o�Y�h�-�^>/��BU�.{��ݴ��l&F��Q.��C�Ț��e�ئ
�d�iUo,�c��68Q��갫r&�cvJ����Vx���V�H�k�r�zuTu�^I���ٽ}šG �aH /I�8u�����qqܮɳ]����EjZ�GV��8Ʉ8��_� {�Ĉu�R��i�v3���]w �s�����(�t��2�����|�A�ᇺ9�9��r�ߒ�8����1�[�c�@n�z�Q� �� r�n��t+�=ٿ����1������P�@���� 4e�~����A/_���L�dI�����gu�ɲ�� ������� �.��������� ���amܣ��{���F�}Z��i&������!�3��&�ܧ{�� P� �a�:D��k��n�c�pp��+�r�CC�o�z�1�ig���Yu~�X�R_��g ��h+��U�3S�� �) ޅj��4�y �C� �d����%0lcH`C����Lρk����Nm�z�l���L-��������ٲ3�0����41� t�!g�I�y�GB�kSw�߄����i ΄�q�6ǀ�ȑ���B{�j�jb}7�
.����9����*�s�9��yZ��~�e�\��g�Ż�c���7+Ꮑ{�A���=rG�<r_0� ��NQ�j�)ye�:��1��K�Ic�R���,e�A��P��M�e��Dw�n��T��Al���R�`#f.�H�x�I(����])���#^��X|a�!��Px�P��S�_+S=s���_ ԯ*R����؄e2�����K��* �nHdv�,��A���?)_�[��R�+Q�� �ka"hQҶc�ev���'�O���ҶC�����}��^���h��K�I�Ÿ �������(E͝�pzنLo�I��
���6�����������Ӥg��H�jd������e�C���gVm�[��Y�wS���\n�q���n�Ȍ���gu�a'.��
8��J�ᙦΝ���1Q� ��u�������=���I�(�/^s������� �P/�tc�4��e~�i�S�����4b�7�=f��X:����,�m�s�]�-�y �5+�d��f/�F叏�oN���~UVQ��3��=�M���" ���H���3�b㦞���u���7�#\�_�v8�<+�k�3tM2�Q��=�R 5R27j�$�pV������M�D��7������ O݋��"(�Λ'�,�c��E���RO��ed� �-�v:T�=őn�%4��w:��]��� �|3��9�a �t���Ep�'u���u����#0x�q��+ȋH.�PAeHf��OZu��1�ɝ2���s��&�� �DS�6���8��w�x�O�蒽QnDK7)��� t#�豊��Ú/Q�L?:�NS���ͽ�`��&^����F{;
&��=���@U
�`V:]�9*gVL����$d#�(G y�$=�%a�h�q@�;��|E��r^�K�ODd��T�O^�U�>�߬���Ѥ�� �{�g6���] �Q��a+��>YU�-�o㄃�������"'��b{+ ��&T����9��� ����e{���!~'�7��%Kh�00�yi�#�!&c��5�4�#vc�V��݉N(�.����w�#��ߖ�_��3 nn� ܐP�e֣���gI�z����뫫 ��e<_k0� RK�� .d�@��d�07G�H��Y��*�Z�����z]�����|z��E� {Q
��K-��؃�?RR�X��ʔ��� �R�Ó���?�7�[�Shҋ�!)�~@�O������u��;��,����Nz� �PM�"�T�8"_����H4e|g���,s�GL|6{�<.Tv�:x���F������%}����V�?+D����D��3�=mD[�Ea������S�>���Ei��%�o��/��}�����kh_9�H��L0� $N� /��Fn��e��K��F��h�dk"����>�7I��ԛي]�^�J�����N�48፝w-5��k@�;�0ns����NT�.�hJ�5�O�V �3dm�� \-��0�����lK�����) ����� -��k����)�R,�m�����7 ��4;����j��q��p�?�dK���o�<�GG4�a���hmuQ\�)C�dA� �]S�)���|�á�����k��A��c4I0�L,�]���6g�Cov��w� �66Ӑ��|���N&hU/��8�y���!\gF�j��6�U[ ��� \���6��xd�{���>����7%ɨ�sl�c���h��Ҷn��ģI�k�/m���U̶l̈́v�-�w�����x��i.�ͨ���)"�tdh�G��CsI��N�l#�x�����d��C�qgFT��<�T�[F����VPm>��X_�_Y]-f|aQ�@�x�1V�t�k�nB�j6u`�'ux��N���O�q�w"�e��\�
���sC���>&�� yj�r�v���R���׾��#8;��娹��IL�n��a� �;��l���Q�+H�4K}���c�mb� �.>W>V�,�q-��on�ڴ�w�n�nԩ��p@���$�߁~�^[\U�]�*�����m�����$��G����#U� 倷.��Ї w P��CI2]�݁Uo���{�>L���`a}o���x :�%2�7������)�9���V^bC��.�>�����Ҿ���EJ���Փ;����c��N�"W��#��w:G�O-��&a
��Ts��/�go�����z?�g�������mv��i$tw�"�CF����:�؉A�s��
bsZ�����@��w�2�����;� H�[G����^r`�p��1Za�ґ�;@�%A9_e�s��4^ sPr�������Ě�Ȇ�\��U�\���SW���R��N���䣌a����En��a񆧷�?�wD����z�b��2�.�7}���tǟ���E!��1��Gr��P��epu���j27� M�k7���S����_���B{_��?J�e�(�)��ŅYπ�Z
�R���E�~�]��ɲ���z��R�<�=�������v`�����WMr�)���>� ��������t���e���j.��C.�Чs!;��d��/,��\B�d^Z�@���1)D������(��F���'�W��{����*�Th2Y��Ĕ\�����&b2���A�Z��t5�2��~4�Dp�Ѓ�WD��c_8+�L1��X�2���H�q<�p�|�]��/y����[�fk�$�)����/�L�8����u��<��"�Z���R;��"�[�+Lܑ�,��F��>�& *2ځ �@)���)�κ��)�*`b^#���3�L,0��?��9�'��+��;��_DQ[I�\#O�+����Q�|^�Gf�ȶ�Bx���G��jEL��r��?�T?�R���WN'E���[�ª:�r�[�-4ѣ�A�E\�Fg���<��w?�*�i���c��ޢ�Lod q�a �����5\�x%?��,�f���V[�f.���Mu���DHXʍ��\X�`�FZW롽T�$m���=Z��7�grY����}Yzc�g1�,�[�x��Kq�;E�}59�i]�e���5[Ā߫��u8�C�Y7կ�ejȘ�c�7Q�׽>��<���I�*�(��� tK� i��q(���>��B�[�h�F�dY���d!c���ٵͺ���F����L��PQJ��nO�Ȓ�$����E��6�χ0O�rw�1{�o�ǒ��2Q^5Σ�X����2���6[�#����r��mJC�y���0��WV��S7yga;U�>�/J����+w��dC{�%�M)�ʀ�J���\Ֆ|���K����N{'r![�ټV��FdV�O|c�aR^�!|�W�T�h2��P�dU���au��?�kR���UJ�XC��N���˕� �'������Pn���[IaA����`�%z�yZkѸ��;ˏ�̗_� 1W�-������셣��?� q�y��2�j$������m�hNM��0n� �oG_�fo{���� ��Kʪ�9ȑC"�>� H �'� ߌ�?�{�E�����t� �9�@+�\�ͣ9Z��$�-����$6݁D�_�� �"s����-�a�8ܪ�Ѻ�����7����r>Kxx�܏c�>���u��W�
Ǐݪ\#푸Jͪ�;6�W(&���yp8_ ���7 -Q����U�Ӥ�}��j�L�;�e����q�H!e0(K�=��Ӑ���7��t)qd�ݣ�!f��X@S}�bƓ9���wn���>.C��'���X��}�S��5��z}�`D�ә�] *�U^+�}�z�D<xK_g��(! Ƭ���cnh^�bOx[��ITꝽ�R����e�㋚U��"�#N
�����=|� ��.��6O�)��[#@�v��]��5�
"t
�]Ͷ Y R�XE�g���׉��(�0X ��!Y4b�z�E&pb�8�) �q9��a�I@;��c�)T�n�#�IH�<}j�x9��;�B�$3k[��L꺱oͫ��Ee�
�������һP���<��6�ދ^� ��U �E�ɏao�r�{� a���.3���޼��H'~���$=�p���1DDmz�q��hhi.j�Įw�;�V�0K�E�H�Z2X?X����ռݝt����� ۫������@��&�D<MB~��t����+�����(0����cp \
s FNm[ȆN]�T#�N�ߠ=*�}z��Z�O�}�`]�'_a\/iN 1��^D��(�����+���MfJE(�E�n���Q77ٓ\�`t�r E\�,�������� ����s����[��y��U�D�S�]��9�L�@W��^�yyX[��h3�*�l�}>��-�fXE�&�D�ڮ�Q'�-'�,����na`t �r�R{}�}�:������np�I�o�5���/1�&Kw.O[�<�QJS9��C�뺘��?�� ��)�z�0�K‡�q`��v�NT��5.0�4Q��� �
�Q�Y�ěHK=��S��6�:�&Q�N���p�Y�L�;H��Ð�L�+��0�F���pl
���O�ȠOT[A�G{�کfߺ��Ƥ���O��g�E�G0D2S�{��=Vm߲�@���� ��a��z�w��=�D���A��R٠���j�3u��!o �,6��}���� G
�� �-Sg��/&��$AF��`��>#�n��5&�=gs��D��<��Y������?�S�
�p#���CNMX�XK<����o��+J��2U|�����>�=���L����� ��>O��EgS�Q�h ��i�j�ߊ��II�X�3π�ԧ�:I�&O�t3�%M��L~/�æh��B(wbaT����VP��W*~����ů��j�Ɛ`��EA $4�ZS��Y������u]\��h"�^������=�#�;�P��&�MpqH���A�{��I���d㟗���O8��3y[���b��<cn�uds�[��T�C�Ы�eHg&�k���6�=e���|mӓ����H�o7ݻ�#�ap,��#�s���47��K�_������Ԏ��@@�EY;Ҟ�Z��S�e��g �\��Sz%A�@]���Ȕ�$dPK_!��R�`�rg�c��@��{b)U��c�z̭- ��.Y��ס��^�v��Z1�Ν���ҸC��,Dn,���o��A͐U1iNH���� �QG��P�[čUw�9��'��^3�;�ʸ��:�7�.a�'M��?�1v�Й��C�:�U�e|�!��ܭ�qu8;���Ԅ�3UA�>5ϣJ�# +��-Niq1E��
�������B�)Y��ݿ�B�8�� �N�#��p��gfa ���A�EW!LkS��W��a�Q�O��[Xq�z �+���{Usu� ҝU%��F'��nm@5k�Y��\�ձ l��DB�-jH^��ԢBZ��
蠓<ъ�8�W� �qU۸
%@r���𜄃��7ng�2��-���s�^i2῕�Ô���qb�"�l�P�G�p�`a��L)Q�����
7�z!�����i���Դ]��T���Ũ��Ibw_:�'�I��~ix�%��~�.C�O2"�?��K���SBD쐺�jؗ,&��~��{-4�\!�9�}����b��!��F3�nzH���xO�:43Q� ��!�.����\�o�k!�l�!����E��h��q.���ʥ|�"��Y�"��|�(S��i�m��"�9��ھ�?��B�&L�M��%W�̢FD�wcE�JNx�;�`W������ɏs]Ԑg����A���� ��q�:ˊ�Sۜ���v8\m?�++xnz��Y�Z2L0�3�KZg���3���6�u�� ����ɢH�0@�v����9��W+� m�ı�N_-��ԍ1'V���E�|
��VʔN,ޝ-adܜ\ŵ�"9�h��+Tɞ�sZ��:K�� �K�H���v���fF\�Tm��F�z.ے���
��b���)�GJ5�%�}�W��XLe8��d.5���@��3���S��� ��e��"���v�:�6� M&�}�h�8d��~�]�J[��[�������N�Tn,����)gK/� c5�`�X��Vv.L�>�Ȣ/A���F���8i�FN7���1�bN�tT_ڝ��i�]�� M%mY�怃�Uq�2e,v=�Z$;��D}�>�\}#F�ӓ�}�����l���"����ҥ� D�z��2�������0� m�x'%P�ǥ}��]��|mKskʞ@E��%N̪/��c�3���D')�����Ǧ�������
��9���g^�����^)F���S�� �y�*�UJX8M�r�73z?j�i��~Z��b���:S����F
���MA�F��M�%�*����*�VZMxB��-���� �����{6`E?JP���Mt��E��� �R���F[��?�T��y!R
���J+�B�w��t� �����̯Ŧ��ĸ�r�"�٩� �d�`*�]���t�~�yHA����P9KΖ��y��E��Z$˻{�X���`FMY� ���1w��A'dq�T��_j��+M{&��"��̰��d�}?l���$��|���hb����׊6�N��߫�a`�����L���S�\�M����W���UR��l>+Ҩz��#�v��s�ư�NV0��GL���� �z{ �w����m�!����Yg=[�
�b��z���55ٴ�懶f��NI������� )cBR�R% X��&�}Jh�kV�#�����ٯ�р|J)�v-�z@��D�6�$eZ�ٿY�>�d�� ���7G6�ې�9���}��������k
���� $��u��x�L� 3�����vKlY��3�V�[7.�V��1���t�e�.e��Ů�Z'Dgq�"rQIo=�Z�3z+�߄y5蓠����\�~�����񡩭ii ��+O�Q�k�%t Z�Fn��s��bxnx��� zU5�L3aI`j�G���p��=K�
�~�'�@�9�T5��{�Kz,'+}�l-��9����804���Upb�l��t~���&D�-��]ۑߔ:��Ϥ�ә�6�G���hT�xfo���y���!��� �!��ɮv2yR�wS�Ly@�5��Q����DҸ��M���x���Js�תtT2=�=�t�x��9%kj�qW:�sG�P��_�.ɡ7�!H�h���z@�w˜p����� ok��A�o&��Eɴ*�k�bx�S
����?��`J�֏�? 8����tz����!����]��1��v<‹nۂ�`���e"�����:zN2�1���R�S���y��N���G���ˤ�!F1J� յ���iP,3� `�<���e"2j-0f؁4�RD
}��9�(�.� �=��`�����cO����[g��s�q��G��е��'ݖ�5 ��G��@|3t+p�K'��JK���;�M}|�Pf�f��Fj~�i�w�I�ܻ"W�Y�Wl��?�!7ٮ�x�]��[�ƪ������I
��K��y���ĵd�����Lo����� � ��:%A�.b�W�\#:$�+���|k�{F����tE�����:�5�a#���i�5�0�º�*Պ$>���Zh���W�SZ�ͳ��fv 2`�(�`}T��/�"�D�����3�n�����1%��UGٸ���M����ol�\ψ�����;6�k�~Bj��3��8��Ͻ�?�u}b†X�1����+M��Pj6�s;H ��cjf!� �,��E�|_��B����1�>v�eyc��� �~�з�+�.��lA�e�,Kw�]ƺt>�8f)�7^atL���RN���o|��}��\��v�.#U_�[`b������m�� �!�Z������x���(���Zf m/gdk�����~��Vҵ�R�$�o#�O�P��"L�
ST!a�b
S(&��l~&��!��|v�n"(��Q
b1 �os�Mmt�� ro
��' ~G�5K"'=�$� *g��C�: S@��L�� ���_ G�
�*�k$UF�$�,&�
4&
�!o*G�'� "u
�F\��S ,!�A v�
,�#>�HK�"Nj
�`&�U�e�p� g
�S&�"%�9�� ~'�d%$� �� c-�� �GK(�l �#� =��5"\&ܘ!C8$;���#+�dC*��#�
��&�#&��|�'
v�#��!��b� H $-o2 �
:��v#4*#��"0�
����$w�� I%<� �7 �~ �$A{$b�$���
b��<�]���'� � E�CB��%l3_ ��� �!S&��n_&*�Q
Qg ��� ��!�g H� ��z 6q#����'��!�� s2����"�^ ڍ�� ��"�'�<
����V#8�$�O�t �C �o�t�|/;*[*+$����#I �7#�.�#���|'��'`��� J��$���\&���i�X���#�:� ��!��%�7�"�'@��&�g �� '���!�� �}#� &�9�j�&�* ��^hG {�D֯!��%r���'G'\0Zd
�#7�&Lv'8��k
� �*
p �f$�#R��=$�&�"=��� ��#G���*^!$��U�� �Z
�%Ó.!$
�0! X �
-.'oA&�ktn$��$�u&թ
7���*^���#��"�^&L*�e%w�%j(��� � 'd$�'NZ��$�l&�e$�j
��H1!� �� a�!0�f2����!��!�� � ��" O�$
*� M��*l�!�&f� d�i+`��<$�W����&�g'��ɢ�$H�OP&��!�g/�e$��� b.&M�
����
>a2P |F'=� �%o�#;
�����@ �'*���'�j'���e5<*�� ���� ��'[)F ��k0/ ��
H�O
E�!�`!{2����!�e!5b�5'� &��&�'I*[����'bx~�Fՠ ۿ
�'$ �$�7H y��#��u�'<n&P $�v ��'<$���17&l
����jE ֔�IG ��� �Ks�rw
[J\�5{G'����$�tG|���%f�i�f ��'!�ж'� ��� !�"l�'����#@R��'2�$��'��3m C
Rb':%�:'��D
w^�$0_�!�d
o�Z���&�F�O�!�t%�9�K#z!�(��$��T �0!?�� K�&$�Ю#�� !}" kR P ���>"%��*^� �-]��'�!C�%�U���� D� �O�U�!#
T�"6#� 4�m��! ��*��
lS
:%��O
!�;%���$�g' 0D$^�'���C�� �ZN&�k<&�?
,�&ג#{zb�'�&���^%1
�#�Rp= `����t� �' ��*��&b$�D �9%p�H��4 �e  �"s%s
����� {�� �� ��7! �%|6���*'_e�>!��[q$�U ���'W�Gd5c$~��'j���eB |9&��&��
*P�l��!�b ��
hG'-"�l �� �~#���%;SD�v�"�8�
=�~�'��t�������baf#����"��'�y$����'G��=�!J&�a� Dc�2&�i$ܔ ���Y!ī $��$�G&��' %5
'Ϟ �H&�B� WGG�&� I��y`<eo'6�U�)'%F"�)
�4$q? p �'>�'a#�p� =�&��&$T =1q'�� k�<P!�P�� �� }�&�� �:*a2
F3 a5&���@&��
W� ����r
� !���! � A23��H*O� �+ؙ"��? ��#��(�&(G �M�v�
T[�Xb�)�I �#�� ��"�$��Dl0Xk�i��� Lb%]&G�<8�:w# 1H�
(�&�e " ��� ��!�:&-�$X��_ o���*\� �$���{�O&�E �!�,&d��6��$�'5F R���w�%�. Spc�"�$E�"8�!�/'��'�!4��X$���g� ���;� nvZ �$�&�#�&�J�&_��e$<�:$Nr&�%$��$k="�hN�!�� eh&���'5�&�!c�!7
�& ��5]�w2"'O�&ԋ$� Zy� t}�=
;��'��&�� �`ٙ��\sq%�� G�.�
���';���� ^�*F�*\!�f$��M�[�'=�&�
3 !�hJ"�!� '�(���'K�MD �'��G� |���+x�*1�y U� ��#tO
)u�"+�!��&� �K �� YO'� K ,!� �u*R�"��,B't� \:UT �H�&��� �1���%&�|$B�� M*T��� 3�!i��� ��b!*�~��!~�M6
\��� u�k{a ��*������%.#&�5(� P�!HI$=�}�
��%�b!������*��m�f"�j�&�A�$�F*�� T�a�%G�#�`HImd��z��*S� r���
?p#
P<��nw%� '��4��})�$��, w� �&�"cu*[�$�* X�bZ�p!��3�&��% 84�"f�b�&�ts�` &�'g Ph��"+�x��'�� ��!�"�A' �$��
��J
<O��*�����'V k3]-!���J'+T!76$��V
)&��
%^(�T L ,�
�2! � D��#�+��xa�Vf
k6 1� �p&�!��&��� � &��$�U B� NE�s. �K8&��'˥��
Yj&�^$D�� t�'h�'l��N�� �k �*�z��\oq�&,\�U �Y�� ��G=v���
_{%B�'e�\�i ���#��$[*�#�KP��Y#���R�B�7 ��_F*�� l�|!���!pd&�~� �&�� ��$��8j�!�y%�"�o�q=�!�#-f!m �-���i!"
�N$?!� X� ���IykEo �$��"�m��$�5!yP#�i�$\�
�$���y
�<'��;`#�rVL �� �m&A!���;�����%)6&�&���e%, Fj$��&�W#�W&� ���(
|����'&���"�R �Z%d�$>!~�*[|��#4� �>&h��%�K" B%t'&��$Y�$�*'X�#�� �y�9"�]3�'5"��!��� �&g q�&��!� F���� D���ya'���S&�&��Q������U1 ���1����}i0E1�s9��J`��g$
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment