pylon_core/
pool_resp.rs

1use cosmwasm_bignumber::Uint256;
2use schemars::JsonSchema;
3use serde::{Deserialize, Serialize};
4
5#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
6pub struct DepositAmountResponse {
7    pub amount: Uint256,
8}
9
10#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
11pub struct TotalDepositAmountResponse {
12    pub amount: Uint256,
13}
14
15#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
16pub struct ConfigResponse {
17    pub beneficiary: String,
18    pub fee_collector: String,
19    pub moneymarket: String,
20    pub stable_denom: String,
21    pub anchor_token: String,
22    pub dp_token: String,
23}
24
25#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
26pub struct ClaimableRewardResponse {
27    pub amount: Uint256,
28    pub fee: Uint256,
29}