Crate cap_sdk_core

Source
Expand description

cap_core is a low-level library for interacting with cap from an IC canister.

If you’re looking to interact with cap, you may be looking for the cap_dk instead.

Modules§

did
This file contains all of the type definitions used in the candid files across the different canisters and the services.
transaction
transaction_list

Structs§

Bucket
A contract-specific bucket canister.
BucketInitArgs
GetBucketResponse
GetIndexCanistersResponse
GetNextCanistersResponse
GetTokenContractRootBucketArg
GetTokenContractRootBucketResponse
GetTokenTransactionsArg
GetTransactionsArg
GetTransactionsResponse
GetTransactionsResponseBorrowed
GetUserRootBucketsArg
GetUserRootBucketsResponse
GetUserTransactionsArg
Index
A Cap index canister.
RootBucket
A root bucket.
Router
A router.
TransactionList
A list contains a series of transactions and appropriate indexers.
WithIdArg
WithWitnessArg
Witness

Enums§

GetContractRootError
An error thrown when querying for a contract’s root bucket.
GetTransactionResponse

Type Aliases§

BucketId
The principal id of a bucket canister.
EventHash
Hash of an even which is obtained by Event::hash
IndexCanisterId
The principal id of a index canister.
RootBucketId
The principal id of a root bucket canister.
TokenContractId
The principal id of a token contract this is integrating Cap.
TransactionId
The numeric type used to represent a transaction id.
UserId
The principal id of a user.