RMRKBulkWriterPerCollection
RMRK team
RMRKBulkWriterPerCollection
Smart contract of the RMRK Bulk Writer per collection module.
Extra utility functions for RMRK contracts.
Methods
bulkEquip
function bulkEquip(uint256 tokenId, RMRKBulkWriterPerCollection.IntakeUnequip[] unequips, IERC6220.IntakeEquip[] equips) external nonpayableParameters
| Name | Type | Description | 
|---|---|---|
| tokenId | uint256 | undefined | 
| unequips | RMRKBulkWriterPerCollection.IntakeUnequip[] | undefined | 
| equips | IERC6220.IntakeEquip[] | undefined | 
getCollection
function getCollection() external view returns (address collection)Returns the address of the collection that this contract is managing
Returns
| Name | Type | Description | 
|---|---|---|
| collection | address | Address of the collection that this contract is managing | 
replaceEquip
function replaceEquip(IERC6220.IntakeEquip data) external nonpayableParameters
| Name | Type | Description | 
|---|---|---|
| data | IERC6220.IntakeEquip | undefined | 
Errors
RMRKCanOnlyDoBulkOperationsOnOwnedTokens
error RMRKCanOnlyDoBulkOperationsOnOwnedTokens()RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime
error RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime()