goosefx-stake-rewards-sdk
Version:
A SDK for interfacing with the GooseFX stake rewards program
32 lines (31 loc) • 688 B
TypeScript
import { BN } from "@project-serum/anchor";
import { PublicKey } from "@solana/web3.js";
export interface UnstakeableTicket {
index: number;
ticket: UnstakeTicket;
}
export interface UnstakeTicket {
totalUnstaked: BN;
createdAt: BN;
}
export interface UserMetadata {
owner: PublicKey;
accountOpenedAt: BN;
totalStaked: BN;
lastObservedTap: BN;
lastClaimed: BN;
totalEarned: BN;
unstakingTickets: UnstakeTicket[];
}
export interface StakePool {
totalAccumulatedProfit: BN;
protocolActivatedAt: BN;
}
export interface USDCRewardVault {
}
export interface FeesCollected {
}
export interface GOFXVault {
}
export interface GOFXUnstaked {
}