| | info : AssetInfo - asset information
amount : Uint128 - asset amount
|
| Represents a contract, either a Pool or Vault | address : String - contract address
contract_type : ContractType - type of the contract, vault or pool
|
| Represents a Factory for either Collecting or Querying fees for | factory_addr : String - factory address
factory_type : FactoryType - the type of factory, either pool or vault
|
| Feature toggle for the pair/pool contract | withdrawals_enabled : bool - toggle for withdrawals
deposits_enabled : bool - toggle for deposits
swaps_enabled : bool - toggle for swaps
|
| | share : Decimal - fee share
|
| Represents an incentive flow | flow_id : u64 - A unique identifier of the flow.
flow_label : Option<String> - An alternative flow label.
flow_creator : Addr - The account which opened the flow and can manage it.
flow_asset : Asset - The asset the flow was created to distribute.
claimed_amount : Uint128 - The amount of the flow_asset that has been claimed so far.
curve : Curve - The type of curve the flow has.
start_epoch : u64 - The epoch at which the flow starts.
end_epoch : u64 - The epoch at which the flow ends.
emitted_tokens : HashMap<u64, Uint128> - Map containing emitted tokens.
asset_history : BTreeMap<u64, (Uint128, u64)> - Map containing the amount of tokens it was expanded to at a given epoch.
|
| Provides an incentive contract information | incentive_address : Addr - The address of the incentive contract
lp_reference : Vec<u8> - A byte-array reference to the LP address
|
| Defines information about a pair/pool | asset_infos : [AssetInfo; 2] - asset infos within the pool
contract_addr : String - pool address
liquidity_token : String - LP token address
asset_decimals : [u8; 2] - decimals for the assets in the pool
|
| | protocol_fee : Fee - protocol fees
swap_fee : Fee - swap fees
burn_fee : Fee - burn fees
|
| Parameters to update the vault configuration with | flash_loan_enabled : Option<bool> - if users should be allowed to perform flash-loans
deposit_enabled : Option<bool> - if users should be able to deposit funds to the contract
withdraw_enabled : Option<bool> - if users should be able to withdraw funds from the contract
new_owner : Option<String> - the new owner of the contract
new_vault_fees : Option<VaultFee> - the new fees used for the vault
new_fee_collector_addr : Option<String> - the new address of the fee collector
|
| | protocol_fee : Fee - protocol fees
flash_loan_fee : Fee - flash loan fees
burn_fee : Fee - burn fees
|
| Response for the vaults query | vault : String - vault address
asset_info_reference : Vec<u8> - Asset info reference
|