Skip to content

Commit

Permalink
Merge branch 'feat/sovereign-forge' into complete-phases
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiblt1304 committed Nov 20, 2024
2 parents 1db480b + 798f72a commit a3c96ac
Show file tree
Hide file tree
Showing 72 changed files with 63 additions and 3,236 deletions.
16 changes: 0 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions chain-factory/wasm-chain-factory-full/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions chain-factory/wasm-chain-factory-view/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions chain-factory/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions common/bls-signature/Cargo.toml

This file was deleted.

82 changes: 0 additions & 82 deletions common/bls-signature/src/lib.rs

This file was deleted.

127 changes: 0 additions & 127 deletions common/proxies/src/enshrine_esdt_safe_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,45 +161,6 @@ where
.original_result()
}

pub fn set_min_valid_signers<
Arg0: ProxyArg<u32>,
>(
self,
new_value: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ()> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("setMinValidSigners")
.argument(&new_value)
.original_result()
}

pub fn add_signers<
Arg0: ProxyArg<MultiValueEncoded<Env::Api, ManagedAddress<Env::Api>>>,
>(
self,
signers: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ()> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("addSigners")
.argument(&signers)
.original_result()
}

pub fn remove_signers<
Arg0: ProxyArg<MultiValueEncoded<Env::Api, ManagedAddress<Env::Api>>>,
>(
self,
signers: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ()> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("removeSigners")
.argument(&signers)
.original_result()
}

pub fn execute_operations<
Arg0: ProxyArg<ManagedBuffer<Env::Api>>,
Arg1: ProxyArg<transaction::Operation<Env::Api>>,
Expand Down Expand Up @@ -228,94 +189,6 @@ where
.original_result()
}

pub fn set_max_tx_batch_size<
Arg0: ProxyArg<usize>,
>(
self,
new_max_tx_batch_size: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ()> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("setMaxTxBatchSize")
.argument(&new_max_tx_batch_size)
.original_result()
}

pub fn set_max_tx_batch_block_duration<
Arg0: ProxyArg<u64>,
>(
self,
new_max_tx_batch_block_duration: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ()> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("setMaxTxBatchBlockDuration")
.argument(&new_max_tx_batch_block_duration)
.original_result()
}

pub fn get_current_tx_batch(
self,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, OptionalValue<MultiValue2<u64, MultiValueEncoded<Env::Api, MultiValue7<u64, u64, ManagedAddress<Env::Api>, ManagedAddress<Env::Api>, ManagedVec<Env::Api, EsdtTokenPayment<Env::Api>>, ManagedVec<Env::Api, EsdtTokenData<Env::Api>>, Option<transaction::TransferData<Env::Api>>>>>>> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getCurrentTxBatch")
.original_result()
}

pub fn get_first_batch_any_status(
self,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, OptionalValue<MultiValue2<u64, MultiValueEncoded<Env::Api, MultiValue7<u64, u64, ManagedAddress<Env::Api>, ManagedAddress<Env::Api>, ManagedVec<Env::Api, EsdtTokenPayment<Env::Api>>, ManagedVec<Env::Api, EsdtTokenData<Env::Api>>, Option<transaction::TransferData<Env::Api>>>>>>> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getFirstBatchAnyStatus")
.original_result()
}

pub fn get_batch<
Arg0: ProxyArg<u64>,
>(
self,
batch_id: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, OptionalValue<MultiValue2<u64, MultiValueEncoded<Env::Api, MultiValue7<u64, u64, ManagedAddress<Env::Api>, ManagedAddress<Env::Api>, ManagedVec<Env::Api, EsdtTokenPayment<Env::Api>>, ManagedVec<Env::Api, EsdtTokenData<Env::Api>>, Option<transaction::TransferData<Env::Api>>>>>>> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getBatch")
.argument(&batch_id)
.original_result()
}

pub fn get_batch_status<
Arg0: ProxyArg<u64>,
>(
self,
batch_id: Arg0,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, tx_batch_module::batch_status::BatchStatus<Env::Api>> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getBatchStatus")
.argument(&batch_id)
.original_result()
}

pub fn first_batch_id(
self,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, u64> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getFirstBatchId")
.original_result()
}

pub fn last_batch_id(
self,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, u64> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getLastBatchId")
.original_result()
}

pub fn set_max_bridged_amount<
Arg0: ProxyArg<TokenIdentifier<Env::Api>>,
Arg1: ProxyArg<BigUint<Env::Api>>,
Expand Down
Loading

0 comments on commit a3c96ac

Please sign in to comment.