HeroesUpgraderV2

Verified contract

Active on Ethereum with 889 txns
Deployed by via 0x32dbfd5a at 13268113
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#2)
ERC-1555
--
 (#1)
ERC-1555
--
 (#3)
ERC-1555
--
0x3128670b3d937d3c8cd580ffad55777bcffecf19c6137b8cb3d90ccd41e920f3
0xa57250f6791965048320ba01d4389e230b44ece41dedc59f40c097eb2a5c77bc
0x297e8ef266b2e2575dd5081314e329d94f0afdb8562d159cc93b6f74a6ada8e3
0xc1ecfeca7aa1bfaf64c4e33da49e649051c96812993d3eac8e3c161f679ba4ed
0x0094bf697a53597a09937aa7c82791f749628234e19e79e7c0d6b55ac30ba52d
0x2037954b57f90df072d1c4a28e4e47c74269f138d2ad1fa8ad7d6a4a0575e506
0x2bc6bd75e032bd0b06ee5a46262c001e0bf03b382ab116bd98db672ff2013c39
0x6a9670d1c672f5d37448bba07069f46102a63fc8cd456816ba12e5f9ae8d528a
0x4e0be7f90d20120b295aa9f49ec53367dd44814371c202e1cd77e51aa821dfc7
0x468f19f62c028140b38974020ca9ac033447a327a2ed11bc75bb5b9dd8fb36d8

Functions
Getter at block 21163939
chainLinkAdapter(view returns (address)
0x0000000000000000000000000000000000000000
externalStorage(view returns (address)
0x9af9b71bbb8a94a4e37b11c2902031ed5eab3bf5
owner(view returns (address)
0x7436aa1a1a8e2300e295b87cf57fa1326fa46b0e
Read-only
enabledModifications(addressuint256view returns (address sourceContractuint8 sourceRarityaddress destinitionContractuint8 destinitionRarityuint256 balanceForUpgradebool enabled)
getRarity(address _contractuint256 _tokenIdview returns (uint8 r)
getRarity2(address _contractuint256 _tokenIdview returns (uint8 r)
rarity(addressuint256view returns (uint8)
sourceContracts(addressview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
loadRaritiesBatch(address _contractuint256[] _tokensuint8[] _rarities
onERC1155BatchReceived(address operatoraddress fromuint256[] idsuint256[] valuesbytes datareturns (bytes4)
onERC1155Received(address operatoraddress fromuint256 iduint256 valuebytes datareturns (bytes4)
renounceOwnership(
revokeOwnership(address _contract
setChainLink(bool _isOn
setChainLinkAdapter(address _adapter
setExternalStorage(address _storage
setModification(address _modifierContractuint256 _modifierIdaddress _sourceContractuint8 _sourceRarityaddress _destinitionContractuint8 _destinitionRarityuint256 _balanceForUpgradebool _isEnabled
setModificationState(address _modifierContractuint256 _modifierIdbool _isEnabled
setPartnerProxy(address _contractaddress _partneruint256 _newLimit
setWLBalancer(address _balancer
transferOwnership(address newOwner
upgrade(uint256 oldHeroaddress modifierContractuint256 modifierId
upgradeBatch(uint256[] oldHeroesaddress modifierContractuint256 modifierId
Events
ModificationChange(address modifierContractuint256 modifierId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Upgraded(address destinitionContractuint256 oldHerouint256 newHerouint8 newRarity
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.