pub struct BootstrappedAttestationQueue {
pub attestation_queue: Pubkey,
pub queue_authority: Pubkey,
pub verifier: Pubkey,
pub verifier_permission: Pubkey,
pub verifier_signer: Arc<Keypair>,
}
Expand description
Represents a bootstrapped attestation queue with a verifier.
Fields§
§attestation_queue: Pubkey
The pubkey of the AttestationQueueAccountData
The pubkey designated as the authority of the AttestationQueueAccountData
verifier: Pubkey
The pubkey of the VerifierAccountData
verifier_permission: Pubkey
The pubkey of the AttestationPermissionAccountData
verifier_signer: Arc<Keypair>
The keypair of the verifier’s enclave generated signer.
Implementations§
source§impl BootstrappedAttestationQueue
impl BootstrappedAttestationQueue
pub async fn get_or_create_from_seed( rpc: &RpcClient, payer: Arc<Keypair>, seed: Option<&str>, params: Option<BootstrapAttestationQueueParams> ) -> Result<Self, SbError>
pub fn create_ixs( payer: Pubkey, attestation_queue: Pubkey, verifier: Pubkey, verifier_signer: Pubkey, params: Option<BootstrapAttestationQueueParams> ) -> Result<Vec<Instruction>, SbError>
pub fn create_tx( payer: &Keypair, recent_blockhash: Hash, params: Option<BootstrapAttestationQueueParams>, signers: Option<BootstrapAttestationQueueSigners> ) -> Result<(Self, Transaction), SbError>
sourcepub fn create(
client: &RpcClient,
payer: &Keypair,
params: Option<BootstrapAttestationQueueParams>,
signers: Option<BootstrapAttestationQueueSigners>
) -> Result<(Self, Signature), SbError>
pub fn create( client: &RpcClient, payer: &Keypair, params: Option<BootstrapAttestationQueueParams>, signers: Option<BootstrapAttestationQueueSigners> ) -> Result<(Self, Signature), SbError>
Create a new bootstrapped attestation queue using an [`RpcClient’]
sourcepub fn create_sync<C: SyncClient>(
client: &C,
payer: &Keypair,
params: Option<BootstrapAttestationQueueParams>,
signers: Option<BootstrapAttestationQueueSigners>
) -> Result<(Self, Signature), SbError>
pub fn create_sync<C: SyncClient>( client: &C, payer: &Keypair, params: Option<BootstrapAttestationQueueParams>, signers: Option<BootstrapAttestationQueueSigners> ) -> Result<(Self, Signature), SbError>
Create a new bootstrapped attestation queue using a [SyncClient
]
sourcepub async fn create_async(
client: &NonblockingRpcClient,
payer: &Keypair,
params: Option<BootstrapAttestationQueueParams>,
signers: Option<BootstrapAttestationQueueSigners>
) -> Result<(Self, Signature), SbError>
pub async fn create_async( client: &NonblockingRpcClient, payer: &Keypair, params: Option<BootstrapAttestationQueueParams>, signers: Option<BootstrapAttestationQueueSigners> ) -> Result<(Self, Signature), SbError>
Create a new bootstrapped attestation queue using the nonblocking async rpc client
pub fn build_function_verify_ix( &self, function: Pubkey, enclave_signer: Pubkey, function_escrow: Pubkey, params: FunctionVerifyParams, reward_receiver: Pubkey ) -> Result<Instruction, SbError>
pub fn build_request_verify_ix( &self, function: Pubkey, request: Pubkey, enclave_signer: Pubkey, params: FunctionRequestVerifyParams, reward_receiver: Pubkey, function_escrow_token_wallet: Option<Pubkey> ) -> Result<Instruction, SbError>
pub fn build_routine_verify_ix( &self, function: Pubkey, routine: Pubkey, enclave_signer: Pubkey, routine_escrow_wallet: Pubkey, params: FunctionRoutineVerifyParams, reward_receiver: Pubkey, function_escrow_token_wallet: Option<Pubkey> ) -> Result<Instruction, SbError>
Auto Trait Implementations§
impl RefUnwindSafe for BootstrappedAttestationQueue
impl Send for BootstrappedAttestationQueue
impl Sync for BootstrappedAttestationQueue
impl Unpin for BootstrappedAttestationQueue
impl UnwindSafe for BootstrappedAttestationQueue
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more