abstract-std

Crates.ioabstract-std
lib.rsabstract-std
version0.24.1
sourcesrc
created_at2024-05-08 19:00:30.759616
updated_at2024-10-25 16:04:57.706828
descriptionAbstract contract interfaces and storage layouts
homepage
repositoryhttps://github.com/AbstractSDK/abstract
max_upload_size
id1234080
size370,534
crates (github:abstractsdk:crates)

documentation

README

Abstract

This package contains everything you need to interact with Abstract contracts.

This package contains:

  • Abstract contract interface messages
  • Abstract contract states
  • Abstract objects (preferably use the re-exported version in Abstract-SDK)

Usage

// Import a contract Exec/Init/Query message
abstract_std::contract::ExecuteMsg
// Import a contract state lay-out
abstract_std::contract::state::STATE
// Import a state object
abstract_std::object::ProxyValue;

Messages

Each interface in individually commented.

States

Each state-layout is also individually covered

Objects

Abstract Objects are used to store information along with helper functions. We provide these as imports so the data can be retrieved externally (using Raw Queries).

If you want to use these objects in your own contracts we suggest using the abstract-sdk package.

Commit count: 2352

cargo fmt