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
--> 81282fd460ca40f422e35f39d72ea4576df3a907de2d2ab66c2e5fa22f7ed365:4:3
|
4 | signer.contracts.add(name: name, code: code.utf8 )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find declaration `SwapFactory` in `b78ef7afa52ff906.SwapFactory`
--> 3ddb31a3880d1d8f.FlashloanUSDCMigration:3:7
|
3 | import SwapFactory from 0xb78ef7afa52ff906
| ^^^^^^^^^^^ available exported declarations are:
error: cannot find declaration `LendingConfig` in `72d3a05910b6ffa3.LendingConfig`
--> 3ddb31a3880d1d8f.FlashloanUSDCMigration:6:7
|
6 | import LendingConfig from 0x72d3a05910b6ffa3
| ^^^^^^^^^^^^^ available exported declarations are:
error: cannot find variable in this scope: `USDCFlow`
--> 3ddb31a3880d1d8f.FlashloanUSDCMigration:22:30
|
22 | let usdcfVault <- USDCFlow.wrapFiatToken(<- migratedUSDCVault)
| ^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `migratedUSDCVault`
--> 3ddb31a3880d1d8f.FlashloanUSDCMigration:22:56
|
22 | let usdcfVault <- USDCFlow.wrapFiatToken(<- migratedUSDCVault)
| ^^^^^^^^^^^^^^^^^ not found in this scope
error: loss of resource
--> 3ddb31a3880d1d8f.FlashloanUSDCMigration:20:16
|
20 | let usdcVault <- usdcLendingPool.redeemUnderlying(userCertificateCap: userCertificateCap, numUnderlyingToRedeem: UFix64.max)
| ^^^^^^^^^