You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DropERC20.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -911,7 +911,7 @@ function setMaxTotalSupply(uint256 _maxTotalSupply) external nonpayable
911
911
912
912
913
913
914
-
*Lets a contract admin set the global maximum supply of tokens.*
914
+
*Set global maximum supply. Must be parsed to 18 decimals when setting, by adding 18 zeros after the desired value.*
915
915
916
916
#### Parameters
917
917
@@ -927,7 +927,7 @@ function setMaxWalletClaimCount(uint256 _count) external nonpayable
927
927
928
928
929
929
930
-
*Lets a contract admin set a maximum number of tokens that can be claimed by any wallet.*
930
+
*Set a maximum number of tokens that can be claimed by any wallet. Must be parsed to 18 decimals when setting, by adding 18 zeros after the desired value.*
Copy file name to clipboardExpand all lines: docs/ERC1155DelayedReveal.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,9 @@ Lets an owner or approved operator burn NFTs of the given tokenIds.
98
98
function claim(address _receiver, uint256 _tokenId, uint256 _quantity) external payable
99
99
```
100
100
101
-
Lets an address claim multiple lazy minted NFTs at once to a recipient. Contract creators should override this function to create custom logic for claiming, for e.g. price collection, allowlist, max quantity, etc.
101
+
Lets an address claim multiple lazy minted NFTs at once to a recipient. This function prevents any reentrant calls, and is not allowed to be overridden. Contract creators should override `verifyClaim` and `transferTokensOnClaim` functions to create custom logic for verification and claiming, for e.g. price collection, allowlist, max quantity, etc.
102
102
103
-
*The logic in the `verifyClaim`function determines whether the caller is authorized to mint NFTs.*
103
+
*The logic in `verifyClaim` determines whether the caller is authorized to mint NFTs. The logic in `transferTokensOnClaim` does actual minting of tokens, can also be used to apply other state changes.*
Copy file name to clipboardExpand all lines: docs/ERC1155LazyMint.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,9 @@ Lets an owner or approved operator burn NFTs of the given tokenIds.
98
98
function claim(address _receiver, uint256 _tokenId, uint256 _quantity) external payable
99
99
```
100
100
101
-
Lets an address claim multiple lazy minted NFTs at once to a recipient. Contract creators should override this function to create custom logic for claiming, for e.g. price collection, allowlist, max quantity, etc.
101
+
Lets an address claim multiple lazy minted NFTs at once to a recipient. This function prevents any reentrant calls, and is not allowed to be overridden. Contract creators should override `verifyClaim` and `transferTokensOnClaim` functions to create custom logic for verification and claiming, for e.g. price collection, allowlist, max quantity, etc.
102
102
103
-
*The logic in the `verifyClaim`function determines whether the caller is authorized to mint NFTs.*
103
+
*The logic in `verifyClaim` determines whether the caller is authorized to mint NFTs. The logic in `transferTokensOnClaim` does actual minting of tokens, can also be used to apply other state changes.*
Copy file name to clipboardExpand all lines: docs/ERC721DelayedReveal.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,9 @@ Lets an owner or approved operator burn the NFT of the given tokenId.
71
71
function claim(address _receiver, uint256 _quantity) external payable
72
72
```
73
73
74
-
Lets an address claim multiple lazy minted NFTs at once to a recipient. Contract creators should override this function to create custom logic for claiming, for e.g. price collection, allowlist, max quantity, etc.
74
+
Lets an address claim multiple lazy minted NFTs at once to a recipient. This function prevents any reentrant calls, and is not allowed to be overridden. Contract creators should override `verifyClaim` and `transferTokensOnClaim` functions to create custom logic for verification and claiming, for e.g. price collection, allowlist, max quantity, etc.
75
75
76
-
*The logic in the `verifyClaim`function determines whether the caller is authorized to mint NFTs.*
76
+
*The logic in `verifyClaim` determines whether the caller is authorized to mint NFTs. The logic in `transferTokensOnClaim` does actual minting of tokens, can also be used to apply other state changes.*
Copy file name to clipboardExpand all lines: docs/ERC721LazyMint.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,9 @@ Lets an owner or approved operator burn the NFT of the given tokenId.
71
71
function claim(address _receiver, uint256 _quantity) external payable
72
72
```
73
73
74
-
Lets an address claim multiple lazy minted NFTs at once to a recipient. Contract creators should override this function to create custom logic for claiming, for e.g. price collection, allowlist, max quantity, etc.
74
+
Lets an address claim multiple lazy minted NFTs at once to a recipient. This function prevents any reentrant calls, and is not allowed to be overridden. Contract creators should override `verifyClaim` and `transferTokensOnClaim` functions to create custom logic for verification and claiming, for e.g. price collection, allowlist, max quantity, etc.
75
75
76
-
*The logic in the `verifyClaim`function determines whether the caller is authorized to mint NFTs.*
76
+
*The logic in `verifyClaim` determines whether the caller is authorized to mint NFTs. The logic in `transferTokensOnClaim` does actual minting of tokens, can also be used to apply other state changes.*
0 commit comments