Flow price: --
b2d2a6099ed553c5a25eda705409e25b8e39c2af27a267b635e590d980ba7a62

Transaction

Hash: b2d2a6099ed553c5a25eda705409e25b8e39c2af27a267b635e590d980ba7a62
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
 --> b2d2a6099ed553c5a25eda705409e25b8e39c2af27a267b635e590d980ba7a62:3:2
  |
3 | 		signer.contracts.update(name: name, code: code.decodeHex())
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: invalid use of interface as type
   --> 9212a87501a8a6a2.OrdinalVendor:492:43
    |
492 |         return self.account.storage.borrow<&IMinter>(from: /storage/ordinalMinter)!
    |                                            ^^^^^^^^ got `&OrdinalVendor.IMinter`; consider using `&{OrdinalVendor.IMinter}`

error: mismatched types
   --> 9212a87501a8a6a2.OrdinalVendor:492:15
    |
492 |         return self.account.storage.borrow<&IMinter>(from: /storage/ordinalMinter)!
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&{OrdinalVendor.IMinter}?`, got `&OrdinalVendor.IMinter?`


Loading...
0

Loading...

1

Loading...