Skip to main content

Crate ownable_std

Crate ownable_std 

Source

Re-exports§

pub use env::create_env;
pub use env::create_ownable_env;
pub use ingest::require_ownable_event_type;
pub use ingest::source_matches;
pub use ingest::OwnableEvent;
pub use ingest::OwnableEventError;
pub use ingest::OwnableEventSource;
pub use metadata::derive_rgb_values;
pub use metadata::get_random_color;
pub use metadata::package_title_from_name;
pub use metadata::rgb_hex;
pub use metadata::Metadata;
pub use metadata::NFT;
pub use ownership::ensure_owner;
pub use ownership::InfoResponse;
pub use ownership::OwnableInfo;
pub use ownership::OwnerAddress;
pub use register::decode_abi;
pub use register::decode_abi_for;
pub use register::encode_abi;
pub use register::require_event_type;
pub use register::EncodePublicEventRequest;
pub use register::PublicEvent;
pub use register::PublicEventError;
pub use storage::load_owned_deps;
pub use storage::EmptyApi;
pub use storage::EmptyQuerier;
pub use storage::IdbStateDump;
pub use storage::IdbStorage;
pub use storage::MemoryStorage;

Modules§

abi
env
ingest
metadata
ownership
register
storage

Macros§

ownable_host_abi_v1

Attribute Macros§

ownables_consume
Adds Consume {} to an ExecuteMsg enum.
ownables_instantiate_msg
Adds default ownables fields to an InstantiateMsg struct: InstantiateMsg { pub ownable_id: String, pub package: String, pub nft: Option, pub ownable_type: Option, pub network_id: u8, }
ownables_lock
Adds Lock {} to an ExecuteMsg enum.
ownables_query_consumed
Adds IsConsumed {} to a QueryMsg enum.
ownables_query_consumer_of
Adds IsConsumerOf { issuer: Addr, consumable_type: String } to a QueryMsg enum.
ownables_query_info
Adds GetInfo {} to a QueryMsg enum.
ownables_query_locked
Adds IsLocked {} to a QueryMsg enum.
ownables_query_metadata
Adds GetMetadata {} to a QueryMsg enum.
ownables_query_widget_state
Adds GetWidgetState {} to a QueryMsg enum.
ownables_transfer
Adds Transfer { to: Addr } to an ExecuteMsg enum.