Struct SmartTransfersApiClient

Source
pub struct SmartTransfersApiClient { /* private fields */ }

Implementations§

Source§

impl SmartTransfersApiClient

Source

pub fn new(configuration: Arc<Configuration>) -> Self

Trait Implementations§

Source§

impl SmartTransfersApi for SmartTransfersApiClient

Source§

fn approve_dv_p_ticket_term<'life0, 'async_trait>( &'life0 self, params: ApproveDvPTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<ApproveDvPTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set funding source for ticket term and creating approving transaction for contract to transfer asset

Source§

fn cancel_ticket<'life0, 'async_trait>( &'life0 self, params: CancelTicketParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<CancelTicketError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Cancel Smart Transfer ticket.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn create_ticket<'life0, 'async_trait>( &'life0 self, params: CreateTicketParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<CreateTicketError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates new Smart Transfer ticket. Learn more about Fireblocks Smart Transfers in the following guide.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn create_ticket_term<'life0, 'async_trait>( &'life0 self, params: CreateTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<CreateTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates new smart transfer ticket term (when the ticket status is DRAFT). Learn more about Fireblocks Smart Transfers in the following guide.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn find_ticket_by_id<'life0, 'async_trait>( &'life0 self, params: FindTicketByIdParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<FindTicketByIdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Find Smart Transfer ticket by id.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn find_ticket_term_by_id<'life0, 'async_trait>( &'life0 self, params: FindTicketTermByIdParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<FindTicketTermByIdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Find a specific term of a specific Smart Transfer ticket.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn fulfill_ticket<'life0, 'async_trait>( &'life0 self, params: FulfillTicketParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<FulfillTicketError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Manually fulfill ticket, in case when all terms (legs) are funded manually.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn fund_dvp_ticket<'life0, 'async_trait>( &'life0 self, params: FundDvpTicketParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<FundDvpTicketError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Create or fulfill dvp ticket order

Source§

fn fund_ticket_term<'life0, 'async_trait>( &'life0 self, params: FundTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<FundTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately).
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn get_smart_transfer_statistic<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferStatistic, Error<GetSmartTransferStatisticError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get smart transfer statistic

Source§

fn get_smart_transfer_user_groups<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferUserGroupsResponse, Error<GetSmartTransferUserGroupsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get Smart Transfer user groups.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn manually_fund_ticket_term<'life0, 'async_trait>( &'life0 self, params: ManuallyFundTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<ManuallyFundTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Manually set ticket term transaction.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn remove_ticket_term<'life0, 'async_trait>( &'life0 self, params: RemoveTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete ticket term when ticket is in DRAFT status.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn search_tickets<'life0, 'async_trait>( &'life0 self, params: SearchTicketsParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketFilteredResponse, Error<SearchTicketsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Finds Smart Transfer tickets that match the submitted criteria.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

Source§

fn set_external_ref_id<'life0, 'async_trait>( &'life0 self, params: SetExternalRefIdParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<SetExternalRefIdError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set external id Smart Transfer ticket.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn set_ticket_expiration<'life0, 'async_trait>( &'life0 self, params: SetTicketExpirationParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<SetTicketExpirationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set expiration date on Smart Transfer ticket.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn set_user_groups<'life0, 'async_trait>( &'life0 self, params: SetUserGroupsParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferUserGroupsResponse, Error<SetUserGroupsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Set Smart Transfers user group to receive email notifications for Smart Transfers.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn submit_ticket<'life0, 'async_trait>( &'life0 self, params: SubmitTicketParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketResponse, Error<SubmitTicketError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Source§

fn update_ticket_term<'life0, 'async_trait>( &'life0 self, params: UpdateTicketTermParams, ) -> Pin<Box<dyn Future<Output = Result<SmartTransferTicketTermResponse, Error<UpdateTicketTermError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Update ticket term (when ticket status is DRAFT).
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,