Migrator

Verified contract

Active on Base with 7,249 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
--
0x03b5bc0de5d4a52342fffac128ac5b08cbc8e4484873f3d62f8bf30f7a04c9e0
0xdb5c739a5578cb27aa4df86fedbfe0eee8615d7d5a86b26e5a7544d7492ba256
0x36431eb1e4335a865431db532b41795ba4d0f2044b9b82596a864a9620ee54d6
0x1c30814170c1bc957aa122acf50687bfde46e9ff0c979df6a6fcbaaeff1e15c0
0x4baf1094fc6c5d610156a83006366790a4c1e5184647e5f6123f9e5e7d592d4a
0x5a04866c143f463ed53e24082c14037cc6a33324b3f65592de58e3ffc7fa31dc
0x31cbad0661adb9b2831aa3bf6df3ca8f7e1bbdf8b07b79433909568e1596cbf4
0xddaabe4b89379a4d306c27c111a273314ca8df47b515da74eb853eca9490bd94
0xd310713353bc09920931f808b6bbc1b35b4cfe8cf718530404b035cdb8a7c984
0x2c6afccd691a25ccb8cdf0b81cbec44e6c3c4f63a4e13b3152bec870816b414e

Functions
Getter at block 22906246
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(