-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update TokenPropertiesRepository to ERC-7508 #228
Update TokenPropertiesRepository to ERC-7508 #228
Conversation
Token properites repository has now been proposed as ERC-7508 and the changes in the commit reflect the new proposal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good beside some things that prettier made ugly 😆 , thanks for updating ot!
CHANGELOG.md
Outdated
| **Statements** | 100.00 % | 100.00 % | + 0.00 % | | ||
| **Branches** | 95.53 % | 96.78 % | + 1.25 % | | ||
| **Functions** | 99.60 % | 99.72 % | + 0.12 % | | ||
| **Lines** | 99.63 % | 99.46 % | - 0.17 % | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's undo this changes.
private _emotesUsedByEmoter; // Cheaper than using a bool | ||
mapping(address collection => mapping(uint256 tokenId => mapping(string emoji => uint256 count))) | ||
mapping(address => mapping(uint256 => mapping(string => uint256))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's undo this changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn, didn't we fix prettier removing the parameter names? 🤔
@@ -20,7 +20,7 @@ error InsufficientBalance(); | |||
* @dev The RMRKTokenHolder extension is capable of holding ERC-20, ERC-721, and ERC-1155 tokens. | |||
*/ | |||
abstract contract RMRKTokenHolder is IRMRKTokenHolder { | |||
mapping(uint256 tokenId => mapping(address tokenAddress => mapping(TokenType tokenType => mapping(uint256 heldTokenId => uint256 balance)))) | |||
mapping(uint256 => mapping(address => mapping(TokenType => mapping(uint256 => uint256)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's undo this changes.
Description
The token properties repository has been proposed as ERC-7508, and the commit changes reflect the new proposal.
Checklist
PR-Codex overview
Detailed summary
docs/RMRK/extension/tokenProperties/RMRKTokenPropertiesRepository.mdtest/interfaces.ts
.IRMRKTokenPropertiesRepository
to'0x003f5b32'
.IERC7508
to'0x07cd44c7'
.network
value inhardhat.config.ts
for bothbaseGoerli
andbase
.RMRKTokenAttributesRepository
smart contract.