Deploy a FEVM contract.
(
&mut self,
contract: Bytes,
constructor_args: Bytes,
value: TokenAmount,
gas_params: GasParams,
)
| 71 | |
| 72 | /// Deploy a FEVM contract. |
| 73 | async fn fevm_create( |
| 74 | &mut self, |
| 75 | contract: Bytes, |
| 76 | constructor_args: Bytes, |
| 77 | value: TokenAmount, |
| 78 | gas_params: GasParams, |
| 79 | ) -> anyhow::Result<M::Response<CreateReturn>> { |
| 80 | let mf = self.message_factory_mut(); |
| 81 | let msg = mf.fevm_create(contract, constructor_args, value, gas_params)?; |
| 82 | let fut = self.perform(msg, decode_fevm_create); |
| 83 | let res = fut.await?; |
| 84 | Ok(res) |
| 85 | } |
| 86 | |
| 87 | /// Invoke a method on a FEVM contract. |
| 88 | async fn fevm_invoke( |
nothing calls this directly
no test coverage detected