Skip to content

Commit 9bab734

Browse files
authored
token-2022: Clarify permanent delegate / confidential balances (#25)
#### Problem Permanent delegate doesn't work with confidential balances, but that isn't clear in the documentation. #### Summary of changes Add a note about how the two extensions interact.
1 parent 15c89ef commit 9bab734

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,12 @@ on an NFT, whereby an auction program has permanent delegate authority for the
12641264
token. After a sale, the permanent delegate can move the NFT from the owner to
12651265
the buyer if the previous owner doesn't pay the tax.
12661266

1267+
**Note**: The permanent delegate extension does not work with tokens stored in
1268+
the confidential balance of a token account. Users may get around the permanent
1269+
delegate using confidential balances. If you plan on using confidential transfers
1270+
and the permanent delegate extension, you will need to either set "auto approve
1271+
new accounts" to false or freeze accounts.
1272+
12671273
#### Example: Create a mint with a permanent delegate
12681274

12691275
<Tabs groupId="language" items={['CLI', 'JS']}>

0 commit comments

Comments
 (0)