client-aftermath-ts-sdk
Version:
Client Aftermath TypeScript SDK
31 lines • 1.44 kB
TypeScript
import { Balance, StakedSuiFrenInfo, SuiFrenAccessoryType, ObjectId, SuiAddress, CallerConfig } from "../../types";
import { SuiFren } from "./suiFren";
import { Caller } from "../../general/utils/caller";
import { AftermathApi } from "../../general/providers";
export declare class StakedSuiFren extends Caller {
readonly info: StakedSuiFrenInfo;
readonly isOwned: boolean;
private readonly Provider?;
readonly suiFren: SuiFren;
constructor(info: StakedSuiFrenInfo, config?: CallerConfig, isOwned?: boolean, Provider?: AftermathApi | undefined);
mixFee(): Balance;
suiFrenId(): ObjectId;
clone(): StakedSuiFren;
getAccessories(): Promise<import("./suiFrensTypes").SuiFrenAccessoryObject[]>;
getUnstakeTransaction(inputs: {
walletAddress: SuiAddress;
}): Promise<import("@mysten/sui/transactions").Transaction>;
getHarvestFeesTransaction(inputs: {
walletAddress: SuiAddress;
}): Promise<import("@mysten/sui/transactions").Transaction>;
getAddAccessoryTransaction(inputs: {
accessoryId: ObjectId;
walletAddress: SuiAddress;
}): Promise<import("@mysten/sui/transactions").Transaction>;
getRemoveAccessoryTransaction(inputs: {
accessoryType: SuiFrenAccessoryType;
walletAddress: SuiAddress;
}): Promise<import("@mysten/sui/transactions").Transaction>;
private useProvider;
}
//# sourceMappingURL=stakedSuiFren.d.ts.map