Skip to content

Commit 8f7ed46

Browse files
committed
feat(docs): add setAllowedExecutor function details for minting tags
1 parent 74b2e0e commit 8f7ed46

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/fassets/reference/IMintingTagManager.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,20 @@ function allowedExecutor(uint256 _mintingTag) external view returns (address);
120120
#### Returns
121121

122122
- The address of the allowed executor, or `address(0)` if none is set.
123+
124+
### `setAllowedExecutor`
125+
126+
Set the allowed executor for a tag.
127+
Only callable by the tag owner.
128+
The allowed executor is the only address that can execute direct mintings with this tag.
129+
Setting an allowed executor is optional; if not set, anyone can execute mintings with the tag.
130+
Changes to the allowed executor are subject to a cooldown delay before they become active.
131+
132+
```solidity
133+
function setAllowedExecutor(uint256 _mintingTag, address _executor) external;
134+
```
135+
136+
#### Parameters
137+
138+
- `_mintingTag`: The minting tag ID.
139+
- `_executor`: The new allowed executor address (must not be the zero address).

0 commit comments

Comments
 (0)