Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo (change auxillary to auxiliary) #325

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/ERC721A.sol
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@ contract ERC721A is IERC721A {
}

/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* 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 {
Expand Down
4 changes: 2 additions & 2 deletions docs/erc721a.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,15 @@ Returns the number of tokens burned by or on behalf of `owner`.
function _getAux(address owner) internal view returns (uint64)
```

Returns the auxillary data for `owner` (e.g. number of whitelist mint slots used).
Returns the auxiliary data for `owner` (e.g. number of whitelist mint slots used).

### \_setAux

```solidity
function _setAux(address owner, uint64 aux) internal
```

Sets the auxillary data for `owner` (e.g. number of whitelist mint slots used).
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`.

Expand Down