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