-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathAdvancedNestableExternalEquip.sol
37 lines (29 loc) · 1.46 KB
/
AdvancedNestableExternalEquip.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
27
28
29
30
31
32
33
34
35
36
37
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.18;
import "@rmrk-team/evm-contracts/contracts/RMRK/equippable/RMRKNestableExternalEquip.sol";
contract AdvancedNestableExternalEquip is RMRKNestableExternalEquip {
// NOTE: Additional custom arguments can be added to the constructor based on your needs.
constructor(string memory name, string memory symbol)
RMRKNestableExternalEquip(name, symbol)
{
// Custom optional: constructor logic
}
// Custom expected: external, optionally gated, functions to mint.
// Available internal functions:
// _mint(address to, uint256 tokenId)
// _safeMint(address to, uint256 tokenId)
// _safeMint(address to, uint256 tokenId, bytes memory data)
// Custom expected: external, optionally gated, functions to nest mint.
// Available internal functions:
// _nestMint(address to, uint256 tokenId, uint256 destinationId)
// Custom expected: external gated function to burn.
// Available internal functions:
// _burn(uint256 tokenId)
// Custom optional: external gated function to set equippableAddress
// Available internal functions:
// _setEquippableAddress(address equippable)
// Custom optional: utility functions to transfer and nest transfer from caller
// Available public functions:
// transferFrom(address from, address to, uint256 tokenId)
// nestTransfer(address from, address to, uint256 tokenId, uint256 destinationId)
}