pub trait Nep26Receiver {
// Required method
fn on_nep11_payment(
&self,
from: NeoByteString,
amount: NeoInteger,
token_id: NeoByteString,
data: NeoValue,
) -> NeoResult<()>;
}Expand description
NEP-26 NEP-11 payment callback.
Required Methods§
fn on_nep11_payment( &self, from: NeoByteString, amount: NeoInteger, token_id: NeoByteString, data: NeoValue, ) -> NeoResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".