Module sylvia::types

source ·
Expand description

Module providing utilities to build and use sylvia contracts.

Structs§

  • Wrapper around QuerierWrapper for more user friendly query experience. Most of the implementation should be provided via traits. contract and interface macros will generate the required implementation for each query message.
  • Represantation of reply context received in entry point as (DepsMut, Env, MessageInfo) tuple.
  • Represantation of instantiate context received in entry point as (DepsMut, Env, MessageInfo) tuple.
  • Represantation of reply context received in entry point as (DepsMut, Env) tuple.
  • Represantation of query context received in entry point as (Deps, Env) tuple.
  • Represents a contract on the chain and acts as a gateway to communicate with it.
  • Represantation of reply context received in entry point as (DepsMut, Env) tuple.
  • Represantation of sudo context received in entry point as (DepsMut, Env) tuple.

Traits§

  • Api trait for easier access to generated types and messages.
  • Set of trait bounds for custom messages.
  • Set of trait bounds for custom queries.
  • Api trait for easier access to generated types and messages.