Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: value of type `auth(StakingManager.StakingOperator) &StakingManager.Staker` has no member `TransferToEVMPool`
--> 21f12580895eb286d6b0121984fcaad6d9faf33903c766420dcd0a5ea624ef29:17:23
|
17 | self.stakerRef.TransferToEVMPool(amount: instantUnstake, gasLimit: gasLimit)
| ^^^^^^^^^^^^^^^^^ unknown member
error: mismatched types
--> 21f12580895eb286d6b0121984fcaad6d9faf33903c766420dcd0a5ea624ef29:20:16
|
20 | to: self.stakerRef.EvmPoolAddress,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EVM.EVMAddress`, got `&EVM.EVMAddress`