Skip to content

Commit 52d32db

Browse files
authored
token-2022: Clarify CPI guard / permanent delegate interaction (#27)
#### Problem The interaction of CPI Guard and Permanent Delegate could be confusing to users. #### Summary of changes Clarify that Permanent Delegate has priority over CPI Guard.
1 parent 4e30214 commit 52d32db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/content/docs/token-2022/extensions.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,9 @@ account at will. When enabled, it has the following effects during CPI:
13731373
* Set Close Authority: prohibited unless unsetting
13741374
* Set Owner: always prohibited, including outside CPI
13751375

1376+
**Note**: If a mint is configured with the permanent delegate extension, the
1377+
permanent delegate may always burn or transfer tokens, bypassing CPI Guard.
1378+
13761379
#### Background
13771380

13781381
When interacting with a dapp, users sign transactions that are constructed by

0 commit comments

Comments
 (0)