Skip to main content
Module

x/capi/rpc/known/contracts.ts

[WIP] A framework for crafting interactions with Substrate chains
Latest
import * as capi from "https://deno.land/x/capi@v0.1.1-beta.1/rpc/known/contracts.ts";

Enums

Flags used by a contract to customize exit behavior.

Interfaces

A struct that encodes RPC parameters required for a call to a smart-contract.

A struct that encodes RPC parameters required for a call to upload a new code.

The result of successfully uploading a contract.

Result type of a bare_call or bare_instantiate call.

Output of a contract call or instantiation which ran to completion.

A struct that encodes RPC parameters required to instantiate a new smart-contract.

The result of a successful contract instantiation.

Type Aliases

Arithmetic errors.

Reference to an existing code hash or a new wasm module

Reason why a dispatch call failed.

Reason why a pallet call failed.

The amount of balance that was either charged or refunded in order to pay for storage.

Description of what went wrong when trying to complete an operation on a token.

Errors related to transactional storage layers.