ItemsMigrator

Verified contract

Active on Base with 1,204 txns
Deployed by via 0x95a3b40d at 10008602
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x4505e47f0c3c9681df578784a5d050120945ff871395f37dcfd3ce240d9257fd
0x1e14bab98c549eee18fc20b648d9f1b19f66163f3e48dcd5ab3d59e40c46445a
0xb353362c79e6177a05ba101bb9b11febaa8762f71b662f6eb7cc6c296e680a2c
0xd0d9cccff1e84d843eeed836e46922419e2e5e2988eb370e3249c6dc40ccd5a0
0xff89813257cb73bff1e4643b952f655a15ef61fcc6757991bf3ce0bd7eb218ce
0xbe370e1a16ec84e153c74038d291311373b7a1e419749afbe3f80f76a6206706
0x291e99c2de1b041ff52dd6614965af576a268adc7b6b93d8f1f86a4ee59f4839
0x9a34ea5e08efb622360a9b4c85f9ad947e16f9eda3ef53dc7038da50416f054f
0x21dffa2fdc12a54cd078495f646262dba26beeb0c3b11a3ff930e53b2a58324a
0x21a408d3fbb937953853523f8640db481228a8af812715fc84f94a12612bf037

Functions
Getter at block 22004780
getMapperAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xcd7a0d098e3a750126b0fec54be401476812cfc0
Read-only
batchGetConfigForItems(address[] ownersview returns (struct ItemsMigratorItemWithAssetsAndId[][] configs)
batchGetEvmAddresses(string[] substrateAddressview returns (address[] evmAddresses)
batchGetItemIdsConfigured(uint256[] itemIdsview returns (bool[] configured)
batchGetItemIdsMigrated(uint256[] itemIdsview returns (bool[] migrated)
batchGetSubstrateAddresses(address[] evmAddressview returns (string[] substrateAddresses)
batchGetTotalItemsToMigrateForOwners(address[] ownersview returns (uint256[] total)
isContributor(address contributorview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
State-modifying
batchSetItemIdsConfiguredMigrated(uint256[] itemIds
batchSetSubstrateAddresses(address[] evmstring[] substrateAddress
configureItemMigrations(struct ItemsMigratorItemInputConfig[] itemsConfig
manageContributor(address contributorbool grantRole
migrateItems(address owneruint256 amount
renounceOwnership(
resetSubstrateAddress(address evmstring substrateAddress
setMapperAddress(address mapper
setSubstrateAddress(address evmstring substrateAddress
transferOwnership(address newOwner
updateItemConfiguration(address owneruint256 itemIdaddress contractAddressuint64[] assetIds
Events
ContributorUpdate(address indexed contributorbool isContributor
EvmToSubstrateAddressReset(address indexed evmAddressstring indexed substrateAddress
EvmToSubstrateAddressSet(address indexed evmAddressstring indexed substrateAddress
ItemMigrated(address indexed owneraddress contractAddressuint64[] itemsAssetIds
ItemsConfigured(struct ItemsMigratorItemInputConfig[] itemsConfig
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ItemAlreadyMigrated(
ItemNeverConfigured(
ItemNotFound(
ItemPreviouslyConfigured(
NotMapper(
NothingToMigrate(
RMRKNewContributorIsZeroAddress(
RMRKNewOwnerIsZeroAddress(
RMRKNotOwner(
RMRKNotOwnerOrContributor(