File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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).
You can’t perform that action at this time.
0 commit comments