Skip to content

Commit

Permalink
restrict entitlements more
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan committed Sep 24, 2024
1 parent d1ee0bf commit 4f83e0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial/07-marketplace-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ transaction {
// Private reference to this account's minter resource
let minterRef: &ExampleNFT.NFTMinter
prepare(acct: auth(SaveValue, Capabilities, BorrowValue) &Account) {
prepare(acct: auth(BorrowValue, SaveValue, StorageCapabilities, PublishCapability) &Account) {
// create a new vault instance
let vaultA <- ExampleToken.createEmptyVault()
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/08-marketplace-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ transaction {
// but the NFT
let temporaryVault: @ExampleToken.Vault
prepare(acct: auth(Capabilities, BorrowValue) &Account) {
prepare(acct: auth(BorrowValue) &Account) {
// get the references to the buyer's fungible token Vault and NFT Collection Receiver
self.collectionCapability = acct.capabilities.get<&ExampleNFT.Collection>(ExampleNFT.CollectionPublicPath)
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/10-resources-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ import KittyVerse from 0x06
// This transaction creates a new kitty, creates two new hats and
// puts the hats on the cat. Then it stores the kitty in account storage.
transaction {
prepare(acct: auth(Storage) &Account) {
prepare(acct: auth(SaveValue) &Account) {
// Create the Kitty object
let kitty <- KittyVerse.createKitty()
Expand Down

0 comments on commit 4f83e0a

Please sign in to comment.