Core
Other
Utils
Bulk Writer

RMRKBulkWriter

RMRK team

RMRKBulkWriter

Smart contract of the RMRK Bulk Writer module.

Extra utility functions for RMRK contracts.

Methods

bulkEquip

function bulkEquip(address collection, uint256 tokenId, RMRKBulkWriter.IntakeUnequip[] unequips, IERC6220.IntakeEquip[] equips) external nonpayable

Parameters

NameTypeDescription
collectionaddressundefined
tokenIduint256undefined
unequipsRMRKBulkWriter.IntakeUnequip[]undefined
equipsIERC6220.IntakeEquip[]undefined

replaceEquip

function replaceEquip(address collection, IERC6220.IntakeEquip data) external nonpayable

Parameters

NameTypeDescription
collectionaddressundefined
dataIERC6220.IntakeEquipundefined

Errors

RMRKCanOnlyDoBulkOperationsOnOwnedTokens

error RMRKCanOnlyDoBulkOperationsOnOwnedTokens()

Attempting to do a bulk operation on a token that is not owned by the caller

RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime

error RMRKCanOnlyDoBulkOperationsWithOneTokenAtATime()

Attempting to do a bulk operation with multiple tokens at a time