@kamino-finance/klend-sdk
Version:
Typescript SDK for interacting with the Kamino Lending (klend) protocol
22 lines • 868 B
TypeScript
import { PublicKey, Connection } from "@solana/web3.js";
export interface ReferrerStateFields {
shortUrl: PublicKey;
owner: PublicKey;
}
export interface ReferrerStateJSON {
shortUrl: string;
owner: string;
}
export declare class ReferrerState {
readonly shortUrl: PublicKey;
readonly owner: PublicKey;
static readonly discriminator: Buffer;
static readonly layout: any;
constructor(fields: ReferrerStateFields);
static fetch(c: Connection, address: PublicKey, programId?: PublicKey): Promise<ReferrerState | null>;
static fetchMultiple(c: Connection, addresses: PublicKey[], programId?: PublicKey): Promise<Array<ReferrerState | null>>;
static decode(data: Buffer): ReferrerState;
toJSON(): ReferrerStateJSON;
static fromJSON(obj: ReferrerStateJSON): ReferrerState;
}
//# sourceMappingURL=ReferrerState.d.ts.map