Flow price: --
b95f7e1a4a4af0037a214f9652eeb75ff4b5a33fff046a9316a3bd2e09ba42d0

Transaction

Hash: b95f7e1a4a4af0037a214f9652eeb75ff4b5a33fff046a9316a3bd2e09ba42d0
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
 --> b95f7e1a4a4af0037a214f9652eeb75ff4b5a33fff046a9316a3bd2e09ba42d0:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
   --> a4d2016fdf7bea95.BulkPurchase:208:23
    |
208 |         let payment <- paymentVaultRef.withdraw(amount: listingDetails.salePrice)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
   --> a4d2016fdf7bea95.BulkPurchase:281:23
    |
281 |         let payment <- paymentVaultRef.withdraw(amount: listingDetails.salePrice)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
   --> a4d2016fdf7bea95.BulkPurchase:327:25
    |
327 |         let buyTokens <- paymentVaultRef.withdraw(amount: salePrice) as! @DapperUtilityCoin.Vault
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^


Loading...
0

Loading...

1

Loading...