Migrator

Verified contract

Active on Base with 7,218 txns
Deployed by via 0x3563e0c1 at 6990159
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0xc3c258c9b7e250cb793f8004a5e8dff8607cc917dfe8c10fc5804915e60fd4ff
0xebd61a0dece254b1290b1d294abc9159ccae6ec18e42a46230481de8e6be3da8
0xee1878ba059a34e9d4ea011de60f35853fb10d0b40f16b3e1043540c58ae13b4
0xf8ff93f0667e22af64966ee1323a1e99659e8e45744cd03e21f0b5f11d4610a3
0xd9329b94a1bd590e34d493e7d038f6a225ab015511c22f4c36fcf47b0eb22637
0x810ff4fffe48f7d61648be3329cceb0ba6f04eebd42464acbd486c856365f147
0xc1c480f8605bd3ec900e041c40165b0d4575c65553f01da36eccb9a0365cc220
0x400f75843f1f17087b9e39aff8074338b68811b060a3c8bac0cf083dbdccba93
0x47b5e42cf3cde8220907f513cb807ac6e5eb7f239a79c62c90d414e1dd4cdb6f
0x0a4406007ef49968a7a0bd4b33614c8ec13d0d6b53a557b803e5c8f691aa62fd

Functions
Getter at block 21764986
getKanariaAddress(view returns (address)
0x011ff409bc4803ec5cfab41c3fd1db99fd05c004
getKanariaHolderAddress(view returns (address)
0xcd7a0d098e3a750126b0fec54be401476812cfc0
getMapperAddress(view returns (address)
0xa42a686ad12c13066549a469c4d31b2dab556f60
owner(view returns (address)
0xfbea1b97406c6945d07f50f588e54144ea8b684f
Read-only
batchGetEvmAddresses(string[] substrateAddressview returns (address[] evmAddresses)
batchGetSubstrateAddresses(address[] evmAddressview returns (string[] substrateAddresses)
getConfigForItems(address[] ownersview returns (struct MigratorItemWithAssetsAndId[][] configs)
getConfigForKanarias(uint256[] kanariaIdsview returns (struct MigratorKanariaMigrationConfig[])
getMigratedStateForKanarias(uint256[] kanariaIdsview returns (bool[])
getTotalItemsToMigrateForOwners(address[] ownersview returns (uint256[] total)
isContributor(address contributorview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
State-modifying
configureItemMigrations(struct MigratorItemInputConfig[] itemsConfig
configureKanariaMigrations(struct MigratorKanariaMigrationConfig[] kanariaMigrationConfigs
manageContributor(address contributorbool grantRole
migrateItems(address owneruint256 amount
migrateKanarias(uint256[] kanariaIds
renounceOwnership(
resetSubstrateAddress(address evmstring substrateAddress
setKanariaHolderAddress(address kanariaHolder
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(uint256 indexed kanariaIdaddress indexed owneraddress contractAddressuint64[] itemsAssetIds
KanariaMigrated(uint256 indexed kanariaIdaddress indexed owner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address kanaria
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyMigrated(
ItemNeverConfigured(
ItemPreviouslyConfigured(
MigrationNotAvailable(
NotMapper(
NothingToMigrate(
RMRKNewContributorIsZeroAddress(
RMRKNewOwnerIsZeroAddress(
RMRKNotOwner(
RMRKNotOwnerOrContributor(