diff --git a/docs/Drop.md b/docs/Drop.md index f4d380507..81b08de4a 100644 --- a/docs/Drop.md +++ b/docs/Drop.md @@ -115,7 +115,7 @@ function getClaimTimestamp(uint256 _conditionId, address _claimer) external view ### setClaimConditions ```solidity -function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility, bytes) external nonpayable +function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility) external nonpayable ``` @@ -128,7 +128,6 @@ function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _ |---|---|---| | _conditions | IClaimCondition.ClaimCondition[] | undefined | _resetClaimEligibility | bool | undefined -| _2 | bytes | undefined ### verifyClaim diff --git a/docs/IDrop.md b/docs/IDrop.md index f4830e610..5accf1835 100644 --- a/docs/IDrop.md +++ b/docs/IDrop.md @@ -34,7 +34,7 @@ Lets an account claim a given quantity of NFTs. ### setClaimConditions ```solidity -function setClaimConditions(IClaimCondition.ClaimCondition[] phases, bool resetClaimEligibility, bytes data) external nonpayable +function setClaimConditions(IClaimCondition.ClaimCondition[] phases, bool resetClaimEligibility) external nonpayable ``` Lets a contract admin (account with `DEFAULT_ADMIN_ROLE`) set claim conditions. @@ -47,7 +47,6 @@ Lets a contract admin (account with `DEFAULT_ADMIN_ROLE`) set claim conditions. |---|---|---| | phases | IClaimCondition.ClaimCondition[] | Claim conditions in ascending order by `startTimestamp`. | resetClaimEligibility | bool | Whether to reset `limitLastClaimTimestamp` and `limitMerkleProofClaim` values when setting new claim conditions. -| data | bytes | Arbitrary bytes data that can be leveraged in the implementation of this interface. diff --git a/docs/ILazyMint.md b/docs/ILazyMint.md index 2d3babdd7..de1b76b89 100644 --- a/docs/ILazyMint.md +++ b/docs/ILazyMint.md @@ -13,7 +13,7 @@ ### lazyMint ```solidity -function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseURI) external nonpayable returns (uint256 batchId) +function lazyMint(uint256 amount, string baseURIForTokens, bytes extraData) external nonpayable returns (uint256 batchId) ``` @@ -26,7 +26,7 @@ function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseUR |---|---|---| | amount | uint256 | undefined | baseURIForTokens | string | undefined -| encryptedBaseURI | bytes | undefined +| extraData | bytes | undefined #### Returns diff --git a/docs/LazyMint.md b/docs/LazyMint.md index da9080096..f9fe22cd8 100644 --- a/docs/LazyMint.md +++ b/docs/LazyMint.md @@ -52,7 +52,7 @@ function getBatchIdAtIndex(uint256 _index) external view returns (uint256) ### lazyMint ```solidity -function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseURI) external nonpayable returns (uint256 batchId) +function lazyMint(uint256 amount, string baseURIForTokens, bytes extraData) external nonpayable returns (uint256 batchId) ``` @@ -65,7 +65,7 @@ function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseUR |---|---|---| | amount | uint256 | undefined | baseURIForTokens | string | undefined -| encryptedBaseURI | bytes | undefined +| extraData | bytes | undefined #### Returns diff --git a/docs/SignatureDrop.md b/docs/SignatureDrop.md index e7b90e6e0..5d6922784 100644 --- a/docs/SignatureDrop.md +++ b/docs/SignatureDrop.md @@ -925,7 +925,7 @@ function setApprovalForAll(address operator, bool approved) external nonpayable ### setClaimConditions ```solidity -function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility, bytes) external nonpayable +function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility) external nonpayable ``` @@ -938,7 +938,6 @@ function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _ |---|---|---| | _conditions | IClaimCondition.ClaimCondition[] | undefined | _resetClaimEligibility | bool | undefined -| _2 | bytes | undefined ### setContractURI diff --git a/docs/TWBitMaps.md b/docs/TWBitMaps.md new file mode 100644 index 000000000..0ac4af7c4 --- /dev/null +++ b/docs/TWBitMaps.md @@ -0,0 +1,12 @@ +# TWBitMaps + + + + + + + +*Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].* + + +