Skip to content

Commit aa6ea50

Browse files
update docs
1 parent d331efc commit aa6ea50

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

Diff for: docs/Drop.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function getClaimTimestamp(uint256 _conditionId, address _claimer) external view
115115
### setClaimConditions
116116

117117
```solidity
118-
function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility, bytes) external nonpayable
118+
function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility) external nonpayable
119119
```
120120

121121

@@ -128,7 +128,6 @@ function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _
128128
|---|---|---|
129129
| _conditions | IClaimCondition.ClaimCondition[] | undefined
130130
| _resetClaimEligibility | bool | undefined
131-
| _2 | bytes | undefined
132131

133132
### verifyClaim
134133

Diff for: docs/IDrop.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Lets an account claim a given quantity of NFTs.
3434
### setClaimConditions
3535

3636
```solidity
37-
function setClaimConditions(IClaimCondition.ClaimCondition[] phases, bool resetClaimEligibility, bytes data) external nonpayable
37+
function setClaimConditions(IClaimCondition.ClaimCondition[] phases, bool resetClaimEligibility) external nonpayable
3838
```
3939

4040
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.
4747
|---|---|---|
4848
| phases | IClaimCondition.ClaimCondition[] | Claim conditions in ascending order by `startTimestamp`.
4949
| resetClaimEligibility | bool | Whether to reset `limitLastClaimTimestamp` and `limitMerkleProofClaim` values when setting new claim conditions.
50-
| data | bytes | Arbitrary bytes data that can be leveraged in the implementation of this interface.
5150

5251

5352

Diff for: docs/ILazyMint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
### lazyMint
1414

1515
```solidity
16-
function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseURI) external nonpayable returns (uint256 batchId)
16+
function lazyMint(uint256 amount, string baseURIForTokens, bytes extraData) external nonpayable returns (uint256 batchId)
1717
```
1818

1919

@@ -26,7 +26,7 @@ function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseUR
2626
|---|---|---|
2727
| amount | uint256 | undefined
2828
| baseURIForTokens | string | undefined
29-
| encryptedBaseURI | bytes | undefined
29+
| extraData | bytes | undefined
3030

3131
#### Returns
3232

Diff for: docs/LazyMint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function getBatchIdAtIndex(uint256 _index) external view returns (uint256)
5252
### lazyMint
5353

5454
```solidity
55-
function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseURI) external nonpayable returns (uint256 batchId)
55+
function lazyMint(uint256 amount, string baseURIForTokens, bytes extraData) external nonpayable returns (uint256 batchId)
5656
```
5757

5858

@@ -65,7 +65,7 @@ function lazyMint(uint256 amount, string baseURIForTokens, bytes encryptedBaseUR
6565
|---|---|---|
6666
| amount | uint256 | undefined
6767
| baseURIForTokens | string | undefined
68-
| encryptedBaseURI | bytes | undefined
68+
| extraData | bytes | undefined
6969

7070
#### Returns
7171

Diff for: docs/SignatureDrop.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ function setApprovalForAll(address operator, bool approved) external nonpayable
925925
### setClaimConditions
926926

927927
```solidity
928-
function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility, bytes) external nonpayable
928+
function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _resetClaimEligibility) external nonpayable
929929
```
930930

931931

@@ -938,7 +938,6 @@ function setClaimConditions(IClaimCondition.ClaimCondition[] _conditions, bool _
938938
|---|---|---|
939939
| _conditions | IClaimCondition.ClaimCondition[] | undefined
940940
| _resetClaimEligibility | bool | undefined
941-
| _2 | bytes | undefined
942941

943942
### setContractURI
944943

Diff for: docs/TWBitMaps.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# TWBitMaps
2+
3+
4+
5+
6+
7+
8+
9+
*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].*
10+
11+
12+

0 commit comments

Comments
 (0)