1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-11 18:20:33 +09:00

Implement simple token gating

This commit is contained in:
Anthony Akentiev 2024-08-20 17:43:10 +02:00
parent fc32316661
commit ed9531bad6
No known key found for this signature in database
GPG key ID: 017A11DC01A79831
9 changed files with 1463 additions and 1122 deletions

View file

@ -17097,6 +17097,7 @@ Available undo/redo operations
| spaceId | [string](#string) | | |
| inviteCid | [string](#string) | | |
| inviteFileKey | [string](#string) | | |
| nftTokenAddress | [string](#string) | | not-empty if invite is token-gated |
@ -22202,6 +22203,8 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er
| LIMIT_REACHED | 106 | |
| NOT_SHAREABLE | 107 | |
| DIFFERENT_NETWORK | 108 | |
| BAD_NFT_TOKEN_ADDR | 109 | |
| NOT_AN_NFT_OWNER | 110 | if token-gating fails |