Skip to main content

TempoCallBuilderExt

Trait TempoCallBuilderExt 

Source
pub trait TempoCallBuilderExt {
    // Required methods
    fn fee_token(self, fee_token: Address) -> Self;
    fn nonce_key(self, nonce_key: U256) -> Self;
    fn valid_before(self, valid_before: NonZeroU64) -> Self;
    fn valid_after(self, valid_after: NonZeroU64) -> Self;
    fn key_id(self, key_id: Address) -> Self;
    fn key_type(self, key_type: SignatureType) -> Self;
    fn key_data(self, key_data: Bytes) -> Self;
    fn key_authorization(
        self,
        key_authorization: SignedKeyAuthorization,
    ) -> Self;
}
Expand description

Extension trait for [CallBuilder]

Required Methods§

Source

fn fee_token(self, fee_token: Address) -> Self

Sets the fee_token field in the TempoTransaction transaction to the provided value

Source

fn nonce_key(self, nonce_key: U256) -> Self

Sets the nonce_key field in the TempoTransaction transaction to the provided value

Source

fn valid_before(self, valid_before: NonZeroU64) -> Self

Sets the valid_before field in the TempoTransaction transaction.

Source

fn valid_after(self, valid_after: NonZeroU64) -> Self

Sets the valid_after field in the TempoTransaction transaction.

Source

fn key_id(self, key_id: Address) -> Self

Sets the key_id field in the TempoTransaction transaction.

Source

fn key_type(self, key_type: SignatureType) -> Self

Sets the key_type field in the TempoTransaction transaction.

Source

fn key_data(self, key_data: Bytes) -> Self

Sets the key_data field in the TempoTransaction transaction.

Source

fn key_authorization(self, key_authorization: SignedKeyAuthorization) -> Self

Sets the key_authorization field in the TempoTransaction transaction.

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<P: Provider<TempoNetwork>, D: CallDecoder> TempoCallBuilderExt for CallBuilder<P, D, TempoNetwork>

Source§

fn fee_token(self, fee_token: Address) -> Self

Source§

fn nonce_key(self, nonce_key: U256) -> Self

Source§

fn valid_before(self, valid_before: NonZeroU64) -> Self

Source§

fn valid_after(self, valid_after: NonZeroU64) -> Self

Source§

fn key_id(self, key_id: Address) -> Self

Source§

fn key_type(self, key_type: SignatureType) -> Self

Source§

fn key_data(self, key_data: Bytes) -> Self

Source§

fn key_authorization(self, key_authorization: SignedKeyAuthorization) -> Self

Implementors§