astroport-maker 1.7.0

Astroport Maker contract
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use astroport::asset::AssetInfo;
use astroport::common::OwnershipProposal;
use astroport::maker::{Config, SeizeConfig};
use cw_storage_plus::{Item, Map};

/// Stores the contract configuration at the given key
pub const CONFIG: Item<Config> = Item::new("config");

/// Stores the latest proposal to change contract ownership
pub const OWNERSHIP_PROPOSAL: Item<OwnershipProposal> = Item::new("ownership_proposal");

/// Stores bridge tokens used to swap fee tokens to ASTRO
pub const BRIDGES: Map<String, AssetInfo> = Map::new("bridges");
/// Stores the latest timestamp when fees were collected
pub const LAST_COLLECT_TS: Item<u64> = Item::new("last_collect_ts");
/// Stores seize config
pub const SEIZE_CONFIG: Item<SeizeConfig> = Item::new("seize_config");