Discount Vault

No lock vault that enables rate discounts for the depositor

InstantiateMsg

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
pub struct InstantiateMsg {
    pub owner: Option<String>,   
    pub positions_contract: String,
    pub osmosis_proxy: String,
    pub accepted_LPs: Vec<u64>, //Assumption that the LP is 50:50 
}
Key
Type
Description

*owner

String

Contract owner

positions_contract

String

Positions contract

osmosis_proxy

String

Osmosis Proxy contract

accepted_LPs

Vec<u64>

GAMM share tokens allowed to deposit for discounts

* = optional

ExecuteMsg

Deposit

Deposit accepted LP share token into the contract

Withdraw

Withdraw LPs from the contract

Key
Type
Description

withdrawal_assets

Vec<Asset>

List of assets to withdraw

ChangeOwner

Change contract owner

Key
Type
Description

owner

String

New contract owner

EditAcceptedLPs

Edit LPs accepted for deposits

Key
Type
Description

pool_ids

Vec<u64>

Osmosis Pool IDs

remove

bool

Toggle to remove/add IDs

ToggleDeposits

Enable or disable deposits

Key
Type
Description

enable

bool

Enable or disable deposits

QueryMsg

Config

Returns contract configuration

User

Returns User deposit information

Deposits

Returns subset of all deposits

Key
Type
Description

*limit

u64

Limit number of users in response

*start_after

String

Start after a user address

* = optional

Last updated