@algofi/v1
Version:
The official JavaScript SDK for the V2 Algofi Lending Market
40 lines (39 loc) • 1.22 kB
TypeScript
export default class V1StakingConfig {
name: string;
managerAppId: number;
marketAppId: number;
assetId: number;
oracleAppId: number;
constructor(name: string, managerAppId: number, marketAppId: number, assetId: number, oracleAppId: number);
}
export declare const V1StakingConfigs: {
0: V1StakingConfig[];
1: V1StakingConfig[];
2: V1StakingConfig[];
3: any[];
};
export declare const V1_STAKING_STRINGS: {
rewards_program_number: string;
user_storage_address: string;
total_staked: string;
user_total_staked: string;
rewards_amount: string;
rewards_asset_id: string;
rewards_per_second: string;
rewards_secondary_asset_id: string;
rewards_secondary_ratio: string;
user_pending_rewards: string;
user_secondary_pending_rewards: string;
user_rewards_program_number: string;
rewards_coefficient: string;
user_rewards_coefficient: string;
fetch_market_variables: string;
dummy: string;
oracle_app_id: string;
update_prices: string;
update_protocol_data: string;
update_rewards_program: string;
stake: string;
unstake: string;
claim_rewards: string;
};