Docs.rs
abstract-std-0.26.0
abstract-std 0.26.0
Docs.rs crate page
LGPL-3.0
Links
Repository
crates.io
Source
Owners
CyberHoward
github:abstractsdk:crates
Dependencies
cosmwasm-schema ^2.0
normal
cosmwasm-std ^2.0.0
normal
cw-address-like ^2.0
normal
cw-asset ^4.0
normal
cw-blob =0.2.0
normal
cw-clearable ^0.2.0
normal
cw-controllers ^2.0
normal
cw-orch ^0.27.0
normal
cw-ownable ^2.0
normal
cw-storage-plus ^2.0.0
normal
cw-utils ^2.0
normal
cw2 ^2.0
normal
function_name ^0.3.0
normal
schemars ^0.8
normal
semver ^1.0
normal
serde ^1.0
normal
sha2 ^0.10.8
normal
thiserror ^1.0.50
normal
anyhow ^1
dev
coverage-helper ^0.2.2
dev
cw20-base ^2.0
dev
rstest ^0.17.0
dev
workspace-hack ^0.1
normal
Versions
46.07%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
abstract_
std
0.26.0
Module ownership
Module Items
Re-exports
Modules
Structs
Enums
Functions
In abstract_
std::
objects
abstract_std
::
objects
Module
ownership
Copy item path
Source
Re-exports
§
pub use super::gov_type::
GovernanceDetails
;
pub use gov_ownable::
GovAction
;
Modules
§
cw721
This module used internally, for Nft Owners and could be removed at any point if cw721 will get upgraded to cosmwasm 2.0+
nested_
admin
Structs
§
Ownership
The contract’s ownership info
Enums
§
GovOwnership
Error
Errors associated with the contract’s ownership
Functions
§
assert_
nested_
owner
Assert that an account is the contract’s current owner.
get_
ownership
Get the current ownership value.
initialize_
owner
Set the given address as the contract owner.
is_
owner
Return Ok(true) if the contract has an owner and it’s the given address. Return Ok(false) if the contract doesn’t have an owner, of if it does but it’s not the given address. Return Err if fails to load ownership info from storage.
query_
ownership
update_
ownership
Update the contract’s ownership info based on the given action. Return the updated ownership.