Skip to content

Designed for rapid iteration in IC Canister development projects.

Notifications You must be signed in to change notification settings

david5537/IC_Utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IC_Utils

Designed for rapid iteration in IC Canister development projects.

IcContext

IcContext provides the context for ic canister object invocation, which is used to store the object type and facilitate the user to store and call the object data in canister.

let tll = ic_utils::get_mut::<VecDeque<SwapOrder>>();

In this example, an empty VecDeque of type VecDeque is returned if no object of type VecDeque exists in the context, or a stored object if one exists. The returned object is actually a mutable reference, and any user edits to the reference will modify the object.

About

Designed for rapid iteration in IC Canister development projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%