pub trait MoveAuthenticatorExt: Sized + Sealed {
// Required methods
fn address(&self) -> Address;
fn call_args(&self) -> &[CallArg] ⓘ;
fn type_args(&self) -> &[TypeTag];
fn object_to_authenticate(&self) -> &CallArg;
fn object_to_authenticate_components(
&self,
) -> UserInputResult<(ObjectId, Option<Version>, Option<ObjectDigest>)>;
fn input_objects(&self) -> Vec<InputObjectKind>;
fn receiving_objects(&self) -> Vec<ObjectReference>;
fn shared_objects(&self) -> Vec<SharedObjectReference>;
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult;
}Required Methods§
Sourcefn address(&self) -> Address
fn address(&self) -> Address
Returns the address of the object being authenticated, which acts as the sender of the transaction.
Sourcefn call_args(&self) -> &[CallArg] ⓘ
fn call_args(&self) -> &[CallArg] ⓘ
Returns the input objects or primitive values passed to the authenticate function.
Sourcefn type_args(&self) -> &[TypeTag]
fn type_args(&self) -> &[TypeTag]
Returns the type arguments for the Move authenticate function.
Sourcefn object_to_authenticate(&self) -> &CallArg
fn object_to_authenticate(&self) -> &CallArg
Returns the object that is being authenticated (the account/sender).
fn object_to_authenticate_components( &self, ) -> UserInputResult<(ObjectId, Option<Version>, Option<ObjectDigest>)>
fn input_objects(&self) -> Vec<InputObjectKind>
fn receiving_objects(&self) -> Vec<ObjectReference>
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult
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.
Implementations on Foreign Types§
Source§impl MoveAuthenticatorExt for MoveAuthenticator
impl MoveAuthenticatorExt for MoveAuthenticator
fn address(&self) -> Address
fn call_args(&self) -> &[CallArg] ⓘ
fn type_args(&self) -> &[TypeTag]
fn object_to_authenticate(&self) -> &CallArg
fn object_to_authenticate_components( &self, ) -> UserInputResult<(ObjectId, Option<Version>, Option<ObjectDigest>)>
fn input_objects(&self) -> Vec<InputObjectKind>
fn receiving_objects(&self) -> Vec<ObjectReference>
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult
Source§impl MoveAuthenticatorExt for MoveAuthenticatorV1
impl MoveAuthenticatorExt for MoveAuthenticatorV1
Source§fn input_objects(&self) -> Vec<InputObjectKind>
fn input_objects(&self) -> Vec<InputObjectKind>
Returns all input objects used by the MoveAuthenticatorV1, including those from the object to authenticate.
Returns all shared input objects used by the MoveAuthenticatorV1, including those from the object to authenticate.
Source§fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult
Validity check for MoveAuthenticatorV1.