Core
Other
Utils
Bulk Writer Per Collection

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 nonpayable

Parameters

NameTypeDescription
tokenIduint256undefined
unequipsRMRKBulkWriterPerCollection.IntakeUnequip[]undefined
equipsIERC6220.IntakeEquip[]undefined

getCollection

function getCollection() external view returns (address collection)

Returns the address of the collection that this contract is managing

Returns

NameTypeDescription
collectionaddressAddress of the collection that this contract is managing

replaceEquip

function replaceEquip(IERC6220.IntakeEquip data) external nonpayable

Parameters

NameTypeDescription
dataIERC6220.IntakeEquipundefined

Errors

RMRKCanOnlyDoBulkOperationsOnOwnedTokens

error RMRKCanOnlyDoBulkOperationsOnOwnedTokens()

RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime

error RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime()