Skip to content

Commit

Permalink
feat: update docs & newbieVilla storage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert committed Oct 13, 2023
1 parent 65d081b commit 9396b59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/misc/NewbieVilla.sol
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ contract NewbieVilla is Initializable, AccessControlEnumerable, IERC721Receiver,
*
* <b> Requirements: </b>:
* - `expires` is greater than the current timestamp
* - `proof` is signed by the one with the ADMIN_ROLE
* - `proof` is signed by the keeper or address with the ADMIN_ROLE
*
* @param to Receiver of the withdrawn character.
* @param characterId The token id of the character to withdraw.
Expand Down Expand Up @@ -227,7 +227,6 @@ contract NewbieVilla is Initializable, AccessControlEnumerable, IERC721Receiver,
* <b> Requirements: </b>:
*
* - `msg.sender` must be address of Web3Entry.
* - `operator` must has ADMIN_ROLE.
*
* @param data bytes encoded from the operator address to set for the incoming character.
*
Expand Down
2 changes: 2 additions & 0 deletions tools/storageLayout/NewbieVilla-storage-layout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
| _token | address | 5 | 0 | 20 | contracts/misc/NewbieVilla.sol:NewbieVilla |
| _balances | mapping(uint256 => uint256) | 6 | 0 | 32 | contracts/misc/NewbieVilla.sol:NewbieVilla |
| _tips | address | 7 | 0 | 20 | contracts/misc/NewbieVilla.sol:NewbieVilla |
| _keepers | mapping(uint256 => address) | 8 | 0 | 32 | contracts/misc/NewbieVilla.sol:NewbieVilla |

0 comments on commit 9396b59

Please sign in to comment.