Function solana_evm_loader_program::evm_address_for_program [−][src]
pub fn evm_address_for_program(program_account: Address) -> Address
Calculate evm::Address for solana::Pubkey, that can be used to call transaction from solana::bpf scope, into evm scope. Native chain address is hashed and prefixed with [0xac, 0xc0] bytes.