32 releases (8 breaking)

0.12.1 Mar 20, 2023
0.11.1 Feb 24, 2023
0.4.2 Dec 30, 2022
0.2.0-beta.6 Nov 25, 2022
0.1.1-alpha2 Jul 25, 2022

#5 in #execute-msg

32 downloads per month
Used in 4 crates

GPL-3.0-or-later

220KB
5K SLoC

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_os::contract::ExecuteMsg
// Import a contract state lay-out
abstract_os::contract::state::STATE
// Import a state object
abstract_os::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.

Dependencies

~4.5–7MB
~146K SLoC