Crate ic_certified_assets

Crate ic_certified_assets 

Source
Expand description

This module declares canister methods expected by the assets canister client.

Re-exports§

pub use crate::state_machine::StableState;

Modules§

asset_certification
evidence
state_machine
This module contains a pure implementation of the certified assets state machine.
types
This module defines types shared by the certified assets state machine and the canister endpoints.

Macros§

export_canister_methods
Exports the whole asset canister interface, but does not handle init/pre_/post_upgrade for initial configuration or state persistence across upgrades.

Statics§

SUPPORTED_CERTIFICATE_VERSIONS

Functions§

api_version
authorize
can
can_commit
can_prepare
certified_tree
clear
commit_batch
commit_proposed_batch
compute_evidence
configure
create_asset
create_batch
create_chunk
create_chunks
deauthorize
delete_asset
delete_batch
get
get_asset_properties
get_chunk
get_configuration
grant_permission
has_permission_or_is_controller
http_request
http_request_streaming_callback
init
is_controller
is_manager_or_controller
list
list_authorized
list_permitted
post_upgrade
pre_upgrade
propose_commit_batch
retrieve
revoke_permission
set_asset_content
set_asset_properties
store
take_ownership
unset_asset_content
validate_commit_proposed_batch
validate_configure
validate_grant_permission
validate_revoke_permission
validate_take_ownership
with_state
with_state_mut