kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
28 lines • 740 B
TypeScript
import BN from "bn.js";
import * as types from "../types";
export interface ProtocolFeeFields {
amountX: BN;
amountY: BN;
}
export interface ProtocolFeeJSON {
amountX: string;
amountY: string;
}
export declare class ProtocolFee {
readonly amountX: BN;
readonly amountY: BN;
constructor(fields: ProtocolFeeFields);
static layout(property?: string): any;
static fromDecoded(obj: any): types.ProtocolFee;
static toEncodable(fields: ProtocolFeeFields): {
amountX: BN;
amountY: BN;
};
toJSON(): ProtocolFeeJSON;
static fromJSON(obj: ProtocolFeeJSON): ProtocolFee;
toEncodable(): {
amountX: BN;
amountY: BN;
};
}
//# sourceMappingURL=ProtocolFee.d.ts.map