Struct ownable_std::EmptyApi
source · pub struct EmptyApi { /* private fields */ }
Trait Implementations§
source§impl Api for EmptyApi
impl Api for EmptyApi
source§fn addr_validate(&self, human: &str) -> StdResult<Addr>
fn addr_validate(&self, human: &str) -> StdResult<Addr>
Takes a human readable address and validates if it is valid.
If it the validation succeeds, a
Addr
containing the same data as the input is returned. Read moresource§fn addr_canonicalize(&self, human: &str) -> StdResult<CanonicalAddr>
fn addr_canonicalize(&self, human: &str) -> StdResult<CanonicalAddr>
Takes a human readable address and returns a canonical binary representation of it.
This can be used when a compact representation is needed. Read more
source§fn addr_humanize(&self, canonical: &CanonicalAddr) -> StdResult<Addr>
fn addr_humanize(&self, canonical: &CanonicalAddr) -> StdResult<Addr>
Takes a canonical address and returns a human readble address.
This is the inverse of
addr_canonicalize
.