pub struct SolifyClient { /* private fields */ }Implementations§
Source§impl SolifyClient
impl SolifyClient
pub fn new(rpc_url: impl AsRef<str>) -> Result<Self>
pub fn new_with_commitment( rpc_url: impl AsRef<str>, commitment: CommitmentConfig, ) -> Result<Self>
pub fn from_rpc_client(rpc: RpcClient, commitment: CommitmentConfig) -> Self
pub fn rpc(&self) -> &RpcClient
pub fn commitment(&self) -> CommitmentConfig
pub fn store_idl_data<S: Signer>( &self, authority: &S, program_id: Pubkey, idl_data: &CommonIdlData, ) -> Result<Signature>
pub fn update_idl_data<S: Signer>( &self, authority: &S, program_id: Pubkey, idl_data: &CommonIdlData, ) -> Result<Signature>
pub fn generate_metadata<S: Signer>( &self, authority: &S, program_id: Pubkey, execution_order: Vec<String>, paraphrase: &str, program_name: impl Into<String>, ) -> Result<Signature>
pub fn fetch_idl_storage( &self, authority: Pubkey, program_id: Pubkey, ) -> Result<Option<IdlStorageAccount>>
pub fn fetch_test_metadata( &self, authority: Pubkey, program_id: Pubkey, paraphrase: &str, ) -> Result<Option<TestMetadataAccount>>
Auto Trait Implementations§
impl !Freeze for SolifyClient
impl !RefUnwindSafe for SolifyClient
impl Send for SolifyClient
impl Sync for SolifyClient
impl Unpin for SolifyClient
impl !UnwindSafe for SolifyClient
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more