Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 2 errors occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: value of type `PublicAccount` has no member `borrow`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:18:24
|
18 | if acct.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {
| ^^^^^^ unknown member
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:18:66
|
18 | if acct.borrow<&NFTStorefrontV2.Storefront>(from: NFTStorefrontV2.StorefrontStoragePath) == nil {
| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:20:78
|
20 | let storefront <- NFTStorefrontV2.createStorefront() as! @NFTStorefrontV2.Storefront
| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:20:38
|
20 | let storefront <- NFTStorefrontV2.createStorefront() as! @NFTStorefrontV2.Storefront
| ^^^^^^^^^^^^^^^ not found in this scope
error: value of type `PublicAccount` has no member `save`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:22:25
|
22 | acct.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)
| ^^^^ unknown member
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:22:48
|
22 | acct.save(<-storefront, to: NFTStorefrontV2.StorefrontStoragePath)
| ^^^^^^^^^^^^^^^ not found in this scope
error: value of type `PublicAccount` has no member `unlink`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:24:25
|
24 | acct.unlink(NFTStorefrontV2.StorefrontPublicPath)
| ^^^^^^ unknown member
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:24:32
|
24 | acct.unlink(NFTStorefrontV2.StorefrontPublicPath)
| ^^^^^^^^^^^^^^^ not found in this scope
error: value of type `PublicAccount` has no member `link`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:25:25
|
25 | acct.link<&NFTStorefrontV2.Storefront{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath, target: NFTStorefrontV2.StorefrontStoragePath)
| ^^^^ unknown member
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:25:93
|
25 | acct.link<&NFTStorefrontV2.Storefront{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath, target: NFTStorefrontV2.StorefrontStoragePath)
| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NFTStorefrontV2`
--> 2738a0609761a9e9ff2215de7fc88abc245c64695f5465124bca713502ae7378:25:139
|
25 | acct.link<&NFTStorefrontV2.Storefront{NFTStorefrontV2.StorefrontPublic}>(NFTStorefrontV2.StorefrontPublicPath, target: NFTStorefrontV2.StorefrontStoragePath)
| ^^^^^^^^^^^^^^^ not found in this scope
* checking sequence number failed: [Error Code: 1007] invalid proposal key: public key 0 on account 3da781ebb211fca7 has sequence number 26, but given 25