Module evm

Source
Expand description

Type conversion for IPC Agent struct with solidity contract struct

Functionsยง

fil_to_eth_amount
Converts a Fil TokenAmount into an ethers::U256 amount.
payload_to_evm_address
Util function to convert Fil address payload to evm address. Only delegated address is supported.
subnet_id_to_evm_addresses
Convert the ipc SubnetID type to a vec of evm addresses. It extracts all the children addresses in the subnet id and turns them as a vec of evm addresses.
vec_to_bytes32