Attribute Macro oasis_runtime_sdk_macros::evm_contract_address

source ·
#[evm_contract_address]
Expand description

A helper attribute for #[sdk_derive(...)]. It doesn’t do anything on its own; it only marks the function within a contract implementation that returns its address.

The method marked with this attribute should take no arguments and return an object of type primitive_types::H160.