Expand description
Reference implementations of WalletRead and WalletWrite trait methods.
This module provides standalone free functions that implement the canonical semantics of selected trait methods in terms of other, more primitive operations. Wallet backend authors who do not have a more efficient implementation available can delegate the corresponding trait method to the function provided here; backends that can do better (e.g. via an indexed database lookup) should implement the trait method directly.
Functionsยง
- address_
receiver_ matches_ ua - Returns
trueifaddresscontains any receiver that matches one of the receivers of the givenUnifiedAddress. - find_
account_ for_ address - Reference implementation of
WalletRead::find_account_for_address.