Fund
Config
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct FundConfig {
pub gov: Addr,
pub ve_seilor_addr: Addr,
pub seilor_addr: Addr,
pub kusd_denom: String,
pub kusd_reward_addr: Addr,
pub kusd_reward_total_amount: Uint128,
pub kusd_reward_total_paid_amount: Uint128,
// Sum of (reward rate * dt * 1e18 / total supply)
pub reward_per_token_stored: Uint128,
// uint256 immutable exitCycle = 30 days;
pub exit_cycle: Uint64,
// uint256 public claimAbleTime;
pub claim_able_time: Uint64,
pub new_gov: Option<Addr>,
pub token_cap: Option<Uint128>,
}Key
Type
Description
InitMsg
InstantiateMsg
Key
Type
Description
ExecuteMsg
UpdateFundConfig
Key
Type
Description
Key
Type
Description
RefreshReward
Key
Type
Description
Stake
Key
Type
Description
Withdraw
Key
Type
Description
ReStake
GetReward
NotifyRewardAmount
SetVeFundMinter
Key
Type
Description
VeFundMint
Key
Type
Description
QueryMsg
FundConfig
FundConfigResponse
Key
Type
Description
GetClaimAbleSeilor
Key
Type
Description
GetClaimAbleSeilorResponse
Key
Type
Description
GetReservedSeilorForVesting
Key
Type
Description
GetReservedSeilorForVestingResponse
Key
Type
Description
Earned
Key
Type
Description
EarnedResponse
Key
Type
Description
GetClaimAbleKusd
Key
Type
Description
GetClaimAbleKusdResponse
Key
Type
Description
GetUserRewardPerTokenPaid
Key
Type
Description
GetUserRewardPerTokenPaidResponse
Key
Type
Description
GetUserRewards
Key
Type
Description
UserRewardsResponse
Key
Type
Description
GetUserTime2fullRedemption
Key
Type
Description
UserTime2fullRedemptionResponse
Key
Type
Description
GetUserUnstakeRate
Key
Type
Description
UserUnstakeRateResponse
Key
Type
Description
GetUserLastWithdrawTime
Key
Type
Description
UserLastWithdrawTimeResponse
Key
Type
Description
IsVeFundMinter
Key
Type
Description
Last updated