Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: cannot deploy invalid contract
--> 93ae043e65767c82264ca84cdeaae40041243c3cf14082858d8223e0048158c6:18:12
|
18 | owner.contracts.add(
| ^
error: cannot find declaration `IPackNFT` in `b6f2481eba4df97b.IPackNFT`
--> 19828057da4c75ad.PackNFT:3:7
|
3 | import IPackNFT from 0xb6f2481eba4df97b
| ^^^^^^^^ available exported declarations are:
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:46:42
|
46 | pub fun reveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:52:40
|
52 | pub fun open(id: UInt64, nfts: [{IPackNFT.Collectible}]) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:76:40
|
76 | access(self) fun _verify(nfts: [{IPackNFT.Collectible}], salt: String, commitHash: String): String {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:91:55
|
91 | access(contract) fun reveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:99:53
|
99 | access(contract) fun open(id: UInt64, nfts: [{IPackNFT.Collectible}]) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:214:44
|
214 | pub fun publicReveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:214:44
|
214 | pub fun publicReveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:46:42
|
46 | pub fun reveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:52:40
|
52 | pub fun open(id: UInt64, nfts: [{IPackNFT.Collectible}]) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:76:40
|
76 | access(self) fun _verify(nfts: [{IPackNFT.Collectible}], salt: String, commitHash: String): String {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:91:55
|
91 | access(contract) fun reveal(id: UInt64, nfts: [{IPackNFT.Collectible}], salt: String) {
| ^^^^^^^^^^^^^^^^^^^^^^
error: ambiguous restricted type
--> 19828057da4c75ad.PackNFT:99:53
|
99 | access(contract) fun open(id: UInt64, nfts: [{IPackNFT.Collectible}]) {
| ^^^^^^^^^^^^^^^^^^^^^^