Crate levana_perpswap_cosmos

Crate levana_perpswap_cosmos 

Source
Expand description

Messages and helper data types for the perps protocol.

Modulesยง

bridge
compat
Backwards compatibility helpers
constants
Constants used within perps events.
contracts
Messages for each contract which is a part of perps.
cosmwasm
Address Helpers
direction
Different representations of the direction of a position.
error
Error handling helpers for within the perps protocol
event
Helpers for parsing event data into well typed event data types.
ibc
Ibc helpers
leverage
Data types to represent leverage
market_type
Data types for representing the assets covered by a market.
max_gains
Max gains of a position in terms of the quote asset.
namespace
This is a centralized location for cw_storage Item storage keys and Map namespaces
number
Number type and helpers Provides a number of data types, methods, and traits to have more fine-grained and strongly-typed control of numeric data.
prelude
Exports very commonly used items into the prelude glob
price
Data types and conversion functions for different price representations.
result
Contract result helpers
shutdown
Types for market kill switch and winddown.
storage
Helpers for dealing with CosmWasm storage.
time
Types to represent timestamps and durations.
token
Represents the native coin or CW20 used for collateral in a market.