Struct algonaut_transaction::builder::CreateApplication
source · [−]pub struct CreateApplication { /* private fields */ }
Expand description
A builder for ApplicationCallTransaction.
Implementations
sourceimpl CreateApplication
impl CreateApplication
pub fn new(
sender: Address,
approval_program: CompiledTeal,
clear_state_program: CompiledTeal,
global_state_schema: StateSchema,
local_state_schema: StateSchema
) -> Self
pub fn accounts(self, accounts: Vec<Address>) -> Self
pub fn app_arguments(self, app_arguments: Vec<Vec<u8>>) -> Self
pub fn foreign_apps(self, foreign_apps: Vec<u64>) -> Self
pub fn foreign_assets(self, foreign_assets: Vec<u64>) -> Self
pub fn extra_pages(self, extra_pages: u32) -> Self
pub fn build(self) -> TransactionType
Auto Trait Implementations
impl RefUnwindSafe for CreateApplication
impl Send for CreateApplication
impl Sync for CreateApplication
impl Unpin for CreateApplication
impl UnwindSafe for CreateApplication
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more