Skip to content

Commit

Permalink
Added public docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Sep 25, 2024
1 parent 3cd76b4 commit f506667
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions azero/contracts/most/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,16 +775,19 @@ pub mod most {
self.payout_accounts.get(member_id)
}

/// Query wazero(azero) psp22 token contract
#[ink(message)]
pub fn get_wazero(&self) -> Option<AccountId> {
self.wazero.get()
}

/// Query weth(azero) psp22 token contract
#[ink(message)]
pub fn get_weth(&self) -> Option<AccountId> {
self.weth.get()
}

/// Query if given token originates on AlephNode chain
#[ink(message)]
pub fn is_local_token(&self, token_address: AccountId) -> bool {
self.local_token.contains::<AccountId>(token_address)
Expand Down

0 comments on commit f506667

Please sign in to comment.