Flow price: --
dfc17f8b6638fe8f8db340c5a596f52949245b7d45f3ea8f7efae567ff1e25bc

Transaction

Hash: dfc17f8b6638fe8f8db340c5a596f52949245b7d45f3ea8f7efae567ff1e25bc
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
 --> dfc17f8b6638fe8f8db340c5a596f52949245b7d45f3ea8f7efae567ff1e25bc:4:14
  |
4 |               acct.contracts.add(name: name, code: code.decodeHex())
  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `arrayToJSONString`
 --> 118a7b5d3ff8b83e.NFTMetadataSerializer:9:19
  |
9 |             return arrayToJSONString(arrayValue)
  |                    ^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `dictToJSONString`
  --> 118a7b5d3ff8b83e.NFTMetadataSerializer:11:19
   |
11 |             return dictToJSONString(dict: dictValue, excludedNames: nil)
   |                    ^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `serializePrimitive`
  --> 118a7b5d3ff8b83e.NFTMetadataSerializer:13:19
   |
13 |             return serializePrimitive(value)
   |                    ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `tryToJSONString`
  --> 118a7b5d3ff8b83e.NFTMetadataSerializer:86:36
   |
86 |             let serializedElement = tryToJSONString(element)
   |                                     ^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `tryToJSONString`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:107:34
    |
107 |             let serializedValue = tryToJSONString(dict[key]!)
    |                                   ^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `tryToJSONString`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:111:51
    |
111 |             serializedDict = serializedDict.concat(tryToJSONString(key)!).concat(": ").concat(serializedValue!)
    |                                                    ^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `serializeFromDisplays`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:123:22
    |
123 |         let display = serializeFromDisplays(nftDisplay: nftDisplay, collectionDisplay: collectionDisplay)
    |                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `serializeNFTTraitsAsAttributes`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:126:25
    |
126 |         let attributes = serializeNFTTraitsAsAttributes(traits: traits ?? MetadataViews.Traits([]))
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `tryToJSONString`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:166:24
    |
166 |             let value = tryToJSONString(trait.value)
    |                         ^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `tryToJSONString`
   --> 118a7b5d3ff8b83e.NFTMetadataSerializer:171:51
    |
171 |                 .concat("\"trait_type\": ").concat(tryToJSONString(trait.name)!)
    |                                                    ^^^^^^^^^^^^^^^ not found in this scope


Hash:
dfc17f8b6638fe8f8db340c5a596f52949245b7d45f3ea8f7efae567ff1e25bc
Status:
ERROR
Block height:
177379733
Block id:
f1986f5335f4ab6d9d8d53b3542d7ad7259bbdbd3f1b4281951951ec3361c955
Timestamp:
Wednesday 24 April 2024 at 21:25:40 UTC
()
Proposer:
Authorizers:
Gas used:
0