rmrk-ink
rmrk-ink copied to clipboard
RMRK ink! contract
As the title mentions this adds a new optional field to the existing `Asset` struct. With this new field, the `asset_catalog_address` mapping is not needed anymore. - [x] Add integration...
Currently the only way to mint a token which has an accepted asset is through multiple methods. This is due to the fact only the token owner can add an...
Use limits and check these limits in the related functions for all ever-growing structures. Mappings are not considered. Some of the data structures using ever-growing Vectors are: ``` Base::part_ids Base::equippable_address...
Currently we set access control on minting trait methods by default, protecting methods from unauthorized access. ```rust #[modifiers(only_role(CONTRIBUTOR))] default fn mint(&mut self, to: AccountId, token_id: Id) -> Result { self._check_amount(1)?;...
Initial e2e testing crate idea - In order for e2e tests to work in a cargo workspace project (and separate crate), we need to patch `ink` and `ink_e2e` with the...
Since #36 was closed I am looking forward to unify the event names as well as event fields with EMV.
Update royalty from u8 to u16 to represent basis points ( so client side could interpret two decimal fractional royalties ie 12.25% )
When calling `get_asset_and_equippable_data` I believe catalog address is missing from the result, so parts can be fetched from the catalog when rendering a NFT. Below is the current result from...