pub trait UnshieldTransitionMethodsV0 {
// Required method
fn try_from_bundle(
output_address: PlatformAddress,
actions: Vec<SerializedAction>,
unshielding_amount: u64,
anchor: [u8; 32],
proof: Vec<u8>,
binding_signature: [u8; 64],
platform_version: &PlatformVersion,
) -> Result<StateTransition, ProtocolError>;
// Provided method
fn get_type() -> StateTransitionType { ... }
}Required Methods§
fn try_from_bundle( output_address: PlatformAddress, actions: Vec<SerializedAction>, unshielding_amount: u64, anchor: [u8; 32], proof: Vec<u8>, binding_signature: [u8; 64], platform_version: &PlatformVersion, ) -> Result<StateTransition, ProtocolError>
Provided Methods§
Sourcefn get_type() -> StateTransitionType
fn get_type() -> StateTransitionType
Get State Transition Type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.