Aptos Unity SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aptos.Accounts.RotationProofChallenge Class Reference

Used for the rotating proof challenge on the Aptos Blockchain. More...

Public Member Functions

 RotationProofChallenge (int SequenceNumber, AccountAddress Originator, AccountAddress CurrentAuthKey, byte[] NewPublicKey)
 Create a new Rotation Proof Challenge.
 
void Serialize (Serialization serializer)
 Serialize the account object using a provided Serializer object.
 

Detailed Description

Used for the rotating proof challenge on the Aptos Blockchain.

Constructor & Destructor Documentation

◆ RotationProofChallenge()

Aptos.Accounts.RotationProofChallenge.RotationProofChallenge ( int  SequenceNumber,
AccountAddress  Originator,
AccountAddress  CurrentAuthKey,
byte[]  NewPublicKey 
)
inline

Create a new Rotation Proof Challenge.

Parameters
SequenceNumberThe current sequence number of the account.
OriginatorThe account currently wanting to be changed over.
CurrentAuthKeyThe account currently wanting to be changed over.

<param name="NewPublicKey"The public key of the new account.>

Member Function Documentation

◆ Serialize()

void Aptos.Accounts.RotationProofChallenge.Serialize ( Serialization  serializer)
inline

Serialize the account object using a provided Serializer object.

This function takes a Serializer object and serializes the account object's properties, which includes the typeInfoAccountAddress, typeInfoModuleName, typeInfoStructName, sequence_number, originator, currentAuthKey and newPublicKey The Serializer object serializes values in the order specified, which is the order of the calls in this function.

Parameters
serializerThe Serializer object to serialize the account object with.

The documentation for this class was generated from the following file: