Skip to content

Commit

Permalink
chore: test and proxy update
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Jul 29, 2024
1 parent b88360b commit 2f28d69
Show file tree
Hide file tree
Showing 2 changed files with 573 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/life_bonding_sc_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,15 @@ where
.original_result()
}

pub fn liveliness_stake_address(
self,
) -> TxTypedCall<Env, From, To, NotPayable, Gas, ManagedAddress<Env::Api>> {
self.wrapped_tx
.payment(NotPayable)
.raw_call("getLivelinessStakeAddress")
.original_result()
}

pub fn get_bond<
Arg0: ProxyArg<u64>,
>(
Expand Down Expand Up @@ -673,6 +682,19 @@ where
.original_result()
}

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

pub fn set_administrator<
Arg0: ProxyArg<ManagedAddress<Env::Api>>,
>(
Expand Down
Loading

0 comments on commit 2f28d69

Please sign in to comment.