Skip to content

Commit fe67ccb

Browse files
authored
Remove setOwnersExplicit from the docs (#291)
* Remove setOwnersExplicit from the docs * Update docs
1 parent a33cc64 commit fe67ccb

File tree

3 files changed

+9
-32
lines changed

3 files changed

+9
-32
lines changed

docs/erc721a-owners-explicit.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/sidebar.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
- API
66
- [ERC721A](erc721a.md)
77
- [ERC721ABurnable](erc721a-burnable.md)
8-
- [ERC721AOwnersExplicit](erc721a-owners-explicit.md)
98
- [ERC721AQueryable](erc721a-queryable.md)
109
- [Interfaces](interfaces.md)
1110
- **Theme**
@@ -23,4 +22,4 @@
2322
- **Links**
2423
- [<div class="s0cial"><i class="icon-github-circled"></i>Github</div>](https://github.com/chiru-labs/ERC721A)
2524
- [<div class="s0cial"><i class="icon-twitter"></i>Twitter</div>](https://twitter.com/AzukiOfficial)
26-
<div class="copyright"><a href="https://www.chirulabs.com/" target="_blank" title="Chiru Labs">© Chiru Labs 2022</a></div>
25+
<div class="copyright"><a href="https://www.chirulabs.com/" target="_blank" title="Chiru Labs">© Chiru Labs 2022</a></div>

docs/tips.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See [Design: Lower Fees](design.md#lower-fees).
1818

1919
## Aux
2020

21-
Consider using [`ERC721A._getAux`](erc721a.md#_getAux) and
21+
Consider using [`ERC721A._getAux`](erc721a.md#_getAux) and
2222
[`ERC721A._setAux`](erc721a.md#_setAux) to get / set per-address variables
2323
(e.g. number of whitelist mints per address).
2424

@@ -34,21 +34,21 @@ To prevent overly expensive transfer fees for tokens that are minted in large ba
3434

3535
- Restrict the max batch size for public mints to a reasonable number.
3636

37-
- Break up excessively large batches into mini batches internally when minting.
37+
- Break up excessively large batches into mini batches internally when minting.
3838

39-
- Look into [`ERC721AOwnersExplicit`](erc721a-owners-explicit.md).
39+
- Use \_initializeOwnershipAt every couple tokens to reduce number of reads during a transfer.
4040

4141
## Efficient Tokenomics
4242

4343
ERC721A keeps track of additional variables in the internal mappings.
4444

4545
- [`startTimestamp`](erc721a.md#_ownershipOf) (starting time of holding) per token.
46-
- [`numberMinted`](erc721a.md#_numberMinted) per address.
46+
- [`numberMinted`](erc721a.md#_numberMinted) per address.
4747
- [`numberBurned`](erc721a.md#_numberBurned) per address.
4848

4949
These variables hitchike on the `SLOAD`s and `SSTORE`s at near zero additional gas cost (< 1%).
5050

51-
You can use them to design tokenomics with very minimal gas overhead.
51+
You can use them to design tokenomics with very minimal gas overhead.
5252

5353
## ERC721A vs ERC1155
5454

@@ -67,15 +67,15 @@ ERC1155 requires centralized indexing services to emulate ERC721-like functional
6767

6868
## Other Implementations
6969

70-
ERC721A is not a one-size-fits-all solution.
70+
ERC721A is not a one-size-fits-all solution.
7171

7272
It is heavily optimized for generative artwork NFT collections.
7373

7474
If your collection does not expect a busy mint phase (e.g. a pure utility NFT),
7575
or does not require bulk minting,
76-
these excellent implementations can be better for lowering overall transaction fees:
76+
these excellent implementations can be better for lowering overall transaction fees:
7777

78-
- [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts)
78+
- [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts)
7979
- [Solmate](https://github.com/Rari-Capital/solmate)
8080

8181
Use the right tool for the job.

0 commit comments

Comments
 (0)