-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathAdvancedCatalog.sol
26 lines (21 loc) · 1022 Bytes
/
AdvancedCatalog.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.18;
import "@rmrk-team/evm-contracts/contracts/RMRK/catalog/RMRKCatalog.sol";
contract AdvancedCatalog is RMRKCatalog {
// NOTE: Additional custom arguments can be added to the constructor based on your needs.
constructor(string memory symbol, string memory type_)
RMRKCatalog(symbol, type_)
{
// Custom optional: constructor logic
}
// Custom expected: external gated functions to add parts.
// Available internal functions:
// _addPart(IntakeStruct memory intakeStruct)
// _addPartList(IntakeStruct[] memory intakeStructs)
// Custom expected: external gated functions to manage equippable addresses
// Available internal functions:
// _addEquippableAddresses(uint64 partId, address[] memory equippableAddresses)
// _setEquippableAddresses( uint64 partId, address[] memory equippableAddresses)
// _setEquippableToAll(uint64 partId)
// _resetEquippableAddresses(uint64 partId)
}