import type { ClientWithCoreApi, SuiClientTypes } from '@mysten/sui/client'; import { TypeName } from '../../_dependencies/std/type-name/structs'; import { ObjectTable } from '../../_dependencies/sui/object-table/structs'; import { ID, UID } from '../../_dependencies/sui/object/structs'; import { PhantomReified, PhantomToTypeStr, PhantomTypeArgument, Reified, StructClass, ToField, ToJSON, ToPhantomTypeArgument, ToTypeStr, ToTypeStr as ToPhantom } from '../../_framework/reified'; import { FieldsWithTypes } from '../../_framework/util'; import { Vector } from '../../_framework/vector'; import { Decimal } from '../decimal/structs'; import { Obligation } from '../obligation/structs'; import { RateLimiter } from '../rate-limiter/structs'; import { Reserve } from '../reserve/structs'; export declare function isLENDING_MARKET(type: string): boolean; export interface LENDING_MARKETFields { dummyField: ToField<'bool'>; } export type LENDING_MARKETReified = Reified; export type LENDING_MARKETJSONField = { dummyField: boolean; }; export type LENDING_MARKETJSON = { $typeName: typeof LENDING_MARKET.$typeName; $typeArgs: []; } & LENDING_MARKETJSONField; export declare class LENDING_MARKET implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::LENDING_MARKET`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof LENDING_MARKET.$typeName; readonly $fullTypeName: `${string}::lending_market::LENDING_MARKET`; readonly $typeArgs: []; readonly $isPhantom: typeof LENDING_MARKET.$isPhantom; readonly dummyField: ToField<'bool'>; private constructor(); static reified(): LENDING_MARKETReified; static get r(): LENDING_MARKETReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): LENDING_MARKET; static fromFieldsWithTypes(item: FieldsWithTypes): LENDING_MARKET; static fromBcs(data: Uint8Array): LENDING_MARKET; toJSONField(): LENDING_MARKETJSONField; toJSON(): LENDING_MARKETJSON; static fromJSONField(field: any): LENDING_MARKET; static fromJSON(json: Record): LENDING_MARKET; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): LENDING_MARKET; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isLendingMarket(type: string): boolean; export interface LendingMarketFields

{ id: ToField; version: ToField<'u64'>; reserves: ToField>>; obligations: ToField, ToPhantom>>>; rateLimiter: ToField; feeReceiver: ToField<'address'>; /** unused */ badDebtUsd: ToField; /** unused */ badDebtLimitUsd: ToField; } export type LendingMarketReified

= Reified, LendingMarketFields

>; export type LendingMarketJSONField

= { id: string; version: string; reserves: ToJSON>[]; obligations: ToJSON, ToPhantom>>>; rateLimiter: ToJSON; feeReceiver: string; badDebtUsd: ToJSON; badDebtLimitUsd: ToJSON; }; export type LendingMarketJSON

= { $typeName: typeof LendingMarket.$typeName; $typeArgs: [PhantomToTypeStr

]; } & LendingMarketJSONField

; export declare class LendingMarket

implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::LendingMarket`; static readonly $numTypeParams = 1; static readonly $isPhantom: readonly [true]; readonly $typeName: typeof LendingMarket.$typeName; readonly $fullTypeName: `${string}::lending_market::LendingMarket<${PhantomToTypeStr

}>`; readonly $typeArgs: [PhantomToTypeStr

]; readonly $isPhantom: typeof LendingMarket.$isPhantom; readonly id: ToField; readonly version: ToField<'u64'>; readonly reserves: ToField>>; readonly obligations: ToField, ToPhantom>>>; readonly rateLimiter: ToField; readonly feeReceiver: ToField<'address'>; /** unused */ readonly badDebtUsd: ToField; /** unused */ readonly badDebtLimitUsd: ToField; private constructor(); static reified

>(P: P): LendingMarketReified>; static get r(): typeof LendingMarket.reified; static phantom

>(P: P): PhantomReified>>>; static get p(): typeof LendingMarket.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields

>(typeArg: P, fields: Record): LendingMarket>; static fromFieldsWithTypes

>(typeArg: P, item: FieldsWithTypes): LendingMarket>; static fromBcs

>(typeArg: P, data: Uint8Array): LendingMarket>; toJSONField(): LendingMarketJSONField

; toJSON(): LendingMarketJSON

; static fromJSONField

>(typeArg: P, field: any): LendingMarket>; static fromJSON

>(typeArg: P, json: Record): LendingMarket>; static fromCoreObject

>(typeArg: P, obj: SuiClientTypes.Object<{ content: true; }>): LendingMarket>; static fetch

>(client: ClientWithCoreApi, typeArg: P, id: string): Promise>>; } export declare function isLendingMarketOwnerCap(type: string): boolean; export interface LendingMarketOwnerCapFields

{ id: ToField; lendingMarketId: ToField; } export type LendingMarketOwnerCapReified

= Reified, LendingMarketOwnerCapFields

>; export type LendingMarketOwnerCapJSONField

= { id: string; lendingMarketId: string; }; export type LendingMarketOwnerCapJSON

= { $typeName: typeof LendingMarketOwnerCap.$typeName; $typeArgs: [PhantomToTypeStr

]; } & LendingMarketOwnerCapJSONField

; export declare class LendingMarketOwnerCap

implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::LendingMarketOwnerCap`; static readonly $numTypeParams = 1; static readonly $isPhantom: readonly [true]; readonly $typeName: typeof LendingMarketOwnerCap.$typeName; readonly $fullTypeName: `${string}::lending_market::LendingMarketOwnerCap<${PhantomToTypeStr

}>`; readonly $typeArgs: [PhantomToTypeStr

]; readonly $isPhantom: typeof LendingMarketOwnerCap.$isPhantom; readonly id: ToField; readonly lendingMarketId: ToField; private constructor(); static reified

>(P: P): LendingMarketOwnerCapReified>; static get r(): typeof LendingMarketOwnerCap.reified; static phantom

>(P: P): PhantomReified>>>; static get p(): typeof LendingMarketOwnerCap.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields

>(typeArg: P, fields: Record): LendingMarketOwnerCap>; static fromFieldsWithTypes

>(typeArg: P, item: FieldsWithTypes): LendingMarketOwnerCap>; static fromBcs

>(typeArg: P, data: Uint8Array): LendingMarketOwnerCap>; toJSONField(): LendingMarketOwnerCapJSONField

; toJSON(): LendingMarketOwnerCapJSON

; static fromJSONField

>(typeArg: P, field: any): LendingMarketOwnerCap>; static fromJSON

>(typeArg: P, json: Record): LendingMarketOwnerCap>; static fromCoreObject

>(typeArg: P, obj: SuiClientTypes.Object<{ content: true; }>): LendingMarketOwnerCap>; static fetch

>(client: ClientWithCoreApi, typeArg: P, id: string): Promise>>; } export declare function isObligationOwnerCap(type: string): boolean; export interface ObligationOwnerCapFields

{ id: ToField; obligationId: ToField; } export type ObligationOwnerCapReified

= Reified, ObligationOwnerCapFields

>; export type ObligationOwnerCapJSONField

= { id: string; obligationId: string; }; export type ObligationOwnerCapJSON

= { $typeName: typeof ObligationOwnerCap.$typeName; $typeArgs: [PhantomToTypeStr

]; } & ObligationOwnerCapJSONField

; export declare class ObligationOwnerCap

implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::ObligationOwnerCap`; static readonly $numTypeParams = 1; static readonly $isPhantom: readonly [true]; readonly $typeName: typeof ObligationOwnerCap.$typeName; readonly $fullTypeName: `${string}::lending_market::ObligationOwnerCap<${PhantomToTypeStr

}>`; readonly $typeArgs: [PhantomToTypeStr

]; readonly $isPhantom: typeof ObligationOwnerCap.$isPhantom; readonly id: ToField; readonly obligationId: ToField; private constructor(); static reified

>(P: P): ObligationOwnerCapReified>; static get r(): typeof ObligationOwnerCap.reified; static phantom

>(P: P): PhantomReified>>>; static get p(): typeof ObligationOwnerCap.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields

>(typeArg: P, fields: Record): ObligationOwnerCap>; static fromFieldsWithTypes

>(typeArg: P, item: FieldsWithTypes): ObligationOwnerCap>; static fromBcs

>(typeArg: P, data: Uint8Array): ObligationOwnerCap>; toJSONField(): ObligationOwnerCapJSONField

; toJSON(): ObligationOwnerCapJSON

; static fromJSONField

>(typeArg: P, field: any): ObligationOwnerCap>; static fromJSON

>(typeArg: P, json: Record): ObligationOwnerCap>; static fromCoreObject

>(typeArg: P, obj: SuiClientTypes.Object<{ content: true; }>): ObligationOwnerCap>; static fetch

>(client: ClientWithCoreApi, typeArg: P, id: string): Promise>>; } export declare function isEmergencyPauseCap(type: string): boolean; export interface EmergencyPauseCapFields

{ id: ToField; lendingMarketId: ToField; generation: ToField<'u64'>; } export type EmergencyPauseCapReified

= Reified, EmergencyPauseCapFields

>; export type EmergencyPauseCapJSONField

= { id: string; lendingMarketId: string; generation: string; }; export type EmergencyPauseCapJSON

= { $typeName: typeof EmergencyPauseCap.$typeName; $typeArgs: [PhantomToTypeStr

]; } & EmergencyPauseCapJSONField

; /** * No `store`: can only be held directly by an address, never wrapped into another * object, and can never satisfy a `&LendingMarketOwnerCap

` parameter -- so it is * compile-time incapable of minting an `ObligationOwnerCap` or touching reserve * config/price feeds. Revocation is minting the next generation via `new_pause_cap`, * no package upgrade needed. */ export declare class EmergencyPauseCap

implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::EmergencyPauseCap`; static readonly $numTypeParams = 1; static readonly $isPhantom: readonly [true]; readonly $typeName: typeof EmergencyPauseCap.$typeName; readonly $fullTypeName: `${string}::lending_market::EmergencyPauseCap<${PhantomToTypeStr

}>`; readonly $typeArgs: [PhantomToTypeStr

]; readonly $isPhantom: typeof EmergencyPauseCap.$isPhantom; readonly id: ToField; readonly lendingMarketId: ToField; readonly generation: ToField<'u64'>; private constructor(); static reified

>(P: P): EmergencyPauseCapReified>; static get r(): typeof EmergencyPauseCap.reified; static phantom

>(P: P): PhantomReified>>>; static get p(): typeof EmergencyPauseCap.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields

>(typeArg: P, fields: Record): EmergencyPauseCap>; static fromFieldsWithTypes

>(typeArg: P, item: FieldsWithTypes): EmergencyPauseCap>; static fromBcs

>(typeArg: P, data: Uint8Array): EmergencyPauseCap>; toJSONField(): EmergencyPauseCapJSONField

; toJSON(): EmergencyPauseCapJSON

; static fromJSONField

>(typeArg: P, field: any): EmergencyPauseCap>; static fromJSON

>(typeArg: P, json: Record): EmergencyPauseCap>; static fromCoreObject

>(typeArg: P, obj: SuiClientTypes.Object<{ content: true; }>): EmergencyPauseCap>; static fetch

>(client: ClientWithCoreApi, typeArg: P, id: string): Promise>>; } export declare function isFeeReceiversKey(type: string): boolean; export interface FeeReceiversKeyFields { dummyField: ToField<'bool'>; } export type FeeReceiversKeyReified = Reified; export type FeeReceiversKeyJSONField = { dummyField: boolean; }; export type FeeReceiversKeyJSON = { $typeName: typeof FeeReceiversKey.$typeName; $typeArgs: []; } & FeeReceiversKeyJSONField; export declare class FeeReceiversKey implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::FeeReceiversKey`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof FeeReceiversKey.$typeName; readonly $fullTypeName: `${string}::lending_market::FeeReceiversKey`; readonly $typeArgs: []; readonly $isPhantom: typeof FeeReceiversKey.$isPhantom; readonly dummyField: ToField<'bool'>; private constructor(); static reified(): FeeReceiversKeyReified; static get r(): FeeReceiversKeyReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): FeeReceiversKey; static fromFieldsWithTypes(item: FieldsWithTypes): FeeReceiversKey; static fromBcs(data: Uint8Array): FeeReceiversKey; toJSONField(): FeeReceiversKeyJSONField; toJSON(): FeeReceiversKeyJSON; static fromJSONField(field: any): FeeReceiversKey; static fromJSON(json: Record): FeeReceiversKey; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): FeeReceiversKey; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isPauseKey(type: string): boolean; export interface PauseKeyFields { dummyField: ToField<'bool'>; } export type PauseKeyReified = Reified; export type PauseKeyJSONField = { dummyField: boolean; }; export type PauseKeyJSON = { $typeName: typeof PauseKey.$typeName; $typeArgs: []; } & PauseKeyJSONField; export declare class PauseKey implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::PauseKey`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof PauseKey.$typeName; readonly $fullTypeName: `${string}::lending_market::PauseKey`; readonly $typeArgs: []; readonly $isPhantom: typeof PauseKey.$isPhantom; readonly dummyField: ToField<'bool'>; private constructor(); static reified(): PauseKeyReified; static get r(): PauseKeyReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): PauseKey; static fromFieldsWithTypes(item: FieldsWithTypes): PauseKey; static fromBcs(data: Uint8Array): PauseKey; toJSONField(): PauseKeyJSONField; toJSON(): PauseKeyJSON; static fromJSONField(field: any): PauseKey; static fromJSON(json: Record): PauseKey; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): PauseKey; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isPauseCapGenerationKey(type: string): boolean; export interface PauseCapGenerationKeyFields { dummyField: ToField<'bool'>; } export type PauseCapGenerationKeyReified = Reified; export type PauseCapGenerationKeyJSONField = { dummyField: boolean; }; export type PauseCapGenerationKeyJSON = { $typeName: typeof PauseCapGenerationKey.$typeName; $typeArgs: []; } & PauseCapGenerationKeyJSONField; export declare class PauseCapGenerationKey implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::PauseCapGenerationKey`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof PauseCapGenerationKey.$typeName; readonly $fullTypeName: `${string}::lending_market::PauseCapGenerationKey`; readonly $typeArgs: []; readonly $isPhantom: typeof PauseCapGenerationKey.$isPhantom; readonly dummyField: ToField<'bool'>; private constructor(); static reified(): PauseCapGenerationKeyReified; static get r(): PauseCapGenerationKeyReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): PauseCapGenerationKey; static fromFieldsWithTypes(item: FieldsWithTypes): PauseCapGenerationKey; static fromBcs(data: Uint8Array): PauseCapGenerationKey; toJSONField(): PauseCapGenerationKeyJSONField; toJSON(): PauseCapGenerationKeyJSON; static fromJSONField(field: any): PauseCapGenerationKey; static fromJSON(json: Record): PauseCapGenerationKey; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): PauseCapGenerationKey; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isFeeReceivers(type: string): boolean; export interface FeeReceiversFields { receivers: ToField>; weights: ToField>; totalWeight: ToField<'u64'>; } export type FeeReceiversReified = Reified; export type FeeReceiversJSONField = { receivers: string[]; weights: string[]; totalWeight: string; }; export type FeeReceiversJSON = { $typeName: typeof FeeReceivers.$typeName; $typeArgs: []; } & FeeReceiversJSONField; export declare class FeeReceivers implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::FeeReceivers`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof FeeReceivers.$typeName; readonly $fullTypeName: `${string}::lending_market::FeeReceivers`; readonly $typeArgs: []; readonly $isPhantom: typeof FeeReceivers.$isPhantom; readonly receivers: ToField>; readonly weights: ToField>; readonly totalWeight: ToField<'u64'>; private constructor(); static reified(): FeeReceiversReified; static get r(): FeeReceiversReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): FeeReceivers; static fromFieldsWithTypes(item: FieldsWithTypes): FeeReceivers; static fromBcs(data: Uint8Array): FeeReceivers; toJSONField(): FeeReceiversJSONField; toJSON(): FeeReceiversJSON; static fromJSONField(field: any): FeeReceivers; static fromJSON(json: Record): FeeReceivers; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): FeeReceivers; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isRateLimiterExemption(type: string): boolean; export interface RateLimiterExemptionFields

{ amount: ToField<'u64'>; } export type RateLimiterExemptionReified

= Reified, RateLimiterExemptionFields>; export type RateLimiterExemptionJSONField

= { amount: string; }; export type RateLimiterExemptionJSON

= { $typeName: typeof RateLimiterExemption.$typeName; $typeArgs: [PhantomToTypeStr

, PhantomToTypeStr]; } & RateLimiterExemptionJSONField; export declare class RateLimiterExemption

implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::RateLimiterExemption`; static readonly $numTypeParams = 2; static readonly $isPhantom: readonly [true, true]; readonly $typeName: typeof RateLimiterExemption.$typeName; readonly $fullTypeName: `${string}::lending_market::RateLimiterExemption<${PhantomToTypeStr

}, ${PhantomToTypeStr}>`; readonly $typeArgs: [PhantomToTypeStr

, PhantomToTypeStr]; readonly $isPhantom: typeof RateLimiterExemption.$isPhantom; readonly amount: ToField<'u64'>; private constructor(); static reified

, T extends PhantomReified>(P: P, T: T): RateLimiterExemptionReified, ToPhantomTypeArgument>; static get r(): typeof RateLimiterExemption.reified; static phantom

, T extends PhantomReified>(P: P, T: T): PhantomReified, ToPhantomTypeArgument>>>; static get p(): typeof RateLimiterExemption.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields

, T extends PhantomReified>(typeArgs: [P, T], fields: Record): RateLimiterExemption, ToPhantomTypeArgument>; static fromFieldsWithTypes

, T extends PhantomReified>(typeArgs: [P, T], item: FieldsWithTypes): RateLimiterExemption, ToPhantomTypeArgument>; static fromBcs

, T extends PhantomReified>(typeArgs: [P, T], data: Uint8Array): RateLimiterExemption, ToPhantomTypeArgument>; toJSONField(): RateLimiterExemptionJSONField; toJSON(): RateLimiterExemptionJSON; static fromJSONField

, T extends PhantomReified>(typeArgs: [P, T], field: any): RateLimiterExemption, ToPhantomTypeArgument>; static fromJSON

, T extends PhantomReified>(typeArgs: [P, T], json: Record): RateLimiterExemption, ToPhantomTypeArgument>; static fromCoreObject

, T extends PhantomReified>(typeArgs: [P, T], obj: SuiClientTypes.Object<{ content: true; }>): RateLimiterExemption, ToPhantomTypeArgument>; static fetch

, T extends PhantomReified>(client: ClientWithCoreApi, typeArgs: [P, T], id: string): Promise, ToPhantomTypeArgument>>; } export declare function isMintEvent(type: string): boolean; export interface MintEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; liquidityAmount: ToField<'u64'>; ctokenAmount: ToField<'u64'>; } export type MintEventReified = Reified; export type MintEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; liquidityAmount: string; ctokenAmount: string; }; export type MintEventJSON = { $typeName: typeof MintEvent.$typeName; $typeArgs: []; } & MintEventJSONField; export declare class MintEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::MintEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof MintEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::MintEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof MintEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly liquidityAmount: ToField<'u64'>; readonly ctokenAmount: ToField<'u64'>; private constructor(); static reified(): MintEventReified; static get r(): MintEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): MintEvent; static fromFieldsWithTypes(item: FieldsWithTypes): MintEvent; static fromBcs(data: Uint8Array): MintEvent; toJSONField(): MintEventJSONField; toJSON(): MintEventJSON; static fromJSONField(field: any): MintEvent; static fromJSON(json: Record): MintEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): MintEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isRedeemEvent(type: string): boolean; export interface RedeemEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; ctokenAmount: ToField<'u64'>; liquidityAmount: ToField<'u64'>; } export type RedeemEventReified = Reified; export type RedeemEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; ctokenAmount: string; liquidityAmount: string; }; export type RedeemEventJSON = { $typeName: typeof RedeemEvent.$typeName; $typeArgs: []; } & RedeemEventJSONField; export declare class RedeemEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::RedeemEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof RedeemEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::RedeemEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof RedeemEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly ctokenAmount: ToField<'u64'>; readonly liquidityAmount: ToField<'u64'>; private constructor(); static reified(): RedeemEventReified; static get r(): RedeemEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): RedeemEvent; static fromFieldsWithTypes(item: FieldsWithTypes): RedeemEvent; static fromBcs(data: Uint8Array): RedeemEvent; toJSONField(): RedeemEventJSONField; toJSON(): RedeemEventJSON; static fromJSONField(field: any): RedeemEvent; static fromJSON(json: Record): RedeemEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): RedeemEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isDepositEvent(type: string): boolean; export interface DepositEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; obligationId: ToField<'address'>; ctokenAmount: ToField<'u64'>; } export type DepositEventReified = Reified; export type DepositEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; obligationId: string; ctokenAmount: string; }; export type DepositEventJSON = { $typeName: typeof DepositEvent.$typeName; $typeArgs: []; } & DepositEventJSONField; export declare class DepositEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::DepositEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof DepositEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::DepositEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof DepositEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly ctokenAmount: ToField<'u64'>; private constructor(); static reified(): DepositEventReified; static get r(): DepositEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): DepositEvent; static fromFieldsWithTypes(item: FieldsWithTypes): DepositEvent; static fromBcs(data: Uint8Array): DepositEvent; toJSONField(): DepositEventJSONField; toJSON(): DepositEventJSON; static fromJSONField(field: any): DepositEvent; static fromJSON(json: Record): DepositEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): DepositEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isWithdrawEvent(type: string): boolean; export interface WithdrawEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; obligationId: ToField<'address'>; ctokenAmount: ToField<'u64'>; } export type WithdrawEventReified = Reified; export type WithdrawEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; obligationId: string; ctokenAmount: string; }; export type WithdrawEventJSON = { $typeName: typeof WithdrawEvent.$typeName; $typeArgs: []; } & WithdrawEventJSONField; export declare class WithdrawEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::WithdrawEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof WithdrawEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::WithdrawEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof WithdrawEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly ctokenAmount: ToField<'u64'>; private constructor(); static reified(): WithdrawEventReified; static get r(): WithdrawEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): WithdrawEvent; static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawEvent; static fromBcs(data: Uint8Array): WithdrawEvent; toJSONField(): WithdrawEventJSONField; toJSON(): WithdrawEventJSON; static fromJSONField(field: any): WithdrawEvent; static fromJSON(json: Record): WithdrawEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): WithdrawEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isBorrowEvent(type: string): boolean; export interface BorrowEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; obligationId: ToField<'address'>; liquidityAmount: ToField<'u64'>; originationFeeAmount: ToField<'u64'>; } export type BorrowEventReified = Reified; export type BorrowEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; obligationId: string; liquidityAmount: string; originationFeeAmount: string; }; export type BorrowEventJSON = { $typeName: typeof BorrowEvent.$typeName; $typeArgs: []; } & BorrowEventJSONField; export declare class BorrowEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::BorrowEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof BorrowEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::BorrowEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof BorrowEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly liquidityAmount: ToField<'u64'>; readonly originationFeeAmount: ToField<'u64'>; private constructor(); static reified(): BorrowEventReified; static get r(): BorrowEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): BorrowEvent; static fromFieldsWithTypes(item: FieldsWithTypes): BorrowEvent; static fromBcs(data: Uint8Array): BorrowEvent; toJSONField(): BorrowEventJSONField; toJSON(): BorrowEventJSON; static fromJSONField(field: any): BorrowEvent; static fromJSON(json: Record): BorrowEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): BorrowEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isRepayEvent(type: string): boolean; export interface RepayEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; obligationId: ToField<'address'>; liquidityAmount: ToField<'u64'>; } export type RepayEventReified = Reified; export type RepayEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; obligationId: string; liquidityAmount: string; }; export type RepayEventJSON = { $typeName: typeof RepayEvent.$typeName; $typeArgs: []; } & RepayEventJSONField; export declare class RepayEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::RepayEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof RepayEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::RepayEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof RepayEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly liquidityAmount: ToField<'u64'>; private constructor(); static reified(): RepayEventReified; static get r(): RepayEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): RepayEvent; static fromFieldsWithTypes(item: FieldsWithTypes): RepayEvent; static fromBcs(data: Uint8Array): RepayEvent; toJSONField(): RepayEventJSONField; toJSON(): RepayEventJSON; static fromJSONField(field: any): RepayEvent; static fromJSON(json: Record): RepayEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): RepayEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isForgiveEvent(type: string): boolean; export interface ForgiveEventFields { lendingMarketId: ToField<'address'>; coinType: ToField; reserveId: ToField<'address'>; obligationId: ToField<'address'>; liquidityAmount: ToField<'u64'>; } export type ForgiveEventReified = Reified; export type ForgiveEventJSONField = { lendingMarketId: string; coinType: string; reserveId: string; obligationId: string; liquidityAmount: string; }; export type ForgiveEventJSON = { $typeName: typeof ForgiveEvent.$typeName; $typeArgs: []; } & ForgiveEventJSONField; export declare class ForgiveEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::ForgiveEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof ForgiveEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::ForgiveEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof ForgiveEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly coinType: ToField; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly liquidityAmount: ToField<'u64'>; private constructor(); static reified(): ForgiveEventReified; static get r(): ForgiveEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): ForgiveEvent; static fromFieldsWithTypes(item: FieldsWithTypes): ForgiveEvent; static fromBcs(data: Uint8Array): ForgiveEvent; toJSONField(): ForgiveEventJSONField; toJSON(): ForgiveEventJSON; static fromJSONField(field: any): ForgiveEvent; static fromJSON(json: Record): ForgiveEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): ForgiveEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isLiquidateEvent(type: string): boolean; export interface LiquidateEventFields { lendingMarketId: ToField<'address'>; repayReserveId: ToField<'address'>; withdrawReserveId: ToField<'address'>; obligationId: ToField<'address'>; repayCoinType: ToField; withdrawCoinType: ToField; repayAmount: ToField<'u64'>; withdrawAmount: ToField<'u64'>; protocolFeeAmount: ToField<'u64'>; liquidatorBonusAmount: ToField<'u64'>; } export type LiquidateEventReified = Reified; export type LiquidateEventJSONField = { lendingMarketId: string; repayReserveId: string; withdrawReserveId: string; obligationId: string; repayCoinType: string; withdrawCoinType: string; repayAmount: string; withdrawAmount: string; protocolFeeAmount: string; liquidatorBonusAmount: string; }; export type LiquidateEventJSON = { $typeName: typeof LiquidateEvent.$typeName; $typeArgs: []; } & LiquidateEventJSONField; export declare class LiquidateEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::LiquidateEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof LiquidateEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::LiquidateEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof LiquidateEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly repayReserveId: ToField<'address'>; readonly withdrawReserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly repayCoinType: ToField; readonly withdrawCoinType: ToField; readonly repayAmount: ToField<'u64'>; readonly withdrawAmount: ToField<'u64'>; readonly protocolFeeAmount: ToField<'u64'>; readonly liquidatorBonusAmount: ToField<'u64'>; private constructor(); static reified(): LiquidateEventReified; static get r(): LiquidateEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): LiquidateEvent; static fromFieldsWithTypes(item: FieldsWithTypes): LiquidateEvent; static fromBcs(data: Uint8Array): LiquidateEvent; toJSONField(): LiquidateEventJSONField; toJSON(): LiquidateEventJSON; static fromJSONField(field: any): LiquidateEvent; static fromJSON(json: Record): LiquidateEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): LiquidateEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isClaimRewardEvent(type: string): boolean; export interface ClaimRewardEventFields { lendingMarketId: ToField<'address'>; reserveId: ToField<'address'>; obligationId: ToField<'address'>; isDepositReward: ToField<'bool'>; poolRewardId: ToField<'address'>; coinType: ToField; liquidityAmount: ToField<'u64'>; } export type ClaimRewardEventReified = Reified; export type ClaimRewardEventJSONField = { lendingMarketId: string; reserveId: string; obligationId: string; isDepositReward: boolean; poolRewardId: string; coinType: string; liquidityAmount: string; }; export type ClaimRewardEventJSON = { $typeName: typeof ClaimRewardEvent.$typeName; $typeArgs: []; } & ClaimRewardEventJSONField; export declare class ClaimRewardEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::ClaimRewardEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof ClaimRewardEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::ClaimRewardEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof ClaimRewardEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly reserveId: ToField<'address'>; readonly obligationId: ToField<'address'>; readonly isDepositReward: ToField<'bool'>; readonly poolRewardId: ToField<'address'>; readonly coinType: ToField; readonly liquidityAmount: ToField<'u64'>; private constructor(); static reified(): ClaimRewardEventReified; static get r(): ClaimRewardEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): ClaimRewardEvent; static fromFieldsWithTypes(item: FieldsWithTypes): ClaimRewardEvent; static fromBcs(data: Uint8Array): ClaimRewardEvent; toJSONField(): ClaimRewardEventJSONField; toJSON(): ClaimRewardEventJSON; static fromJSONField(field: any): ClaimRewardEvent; static fromJSON(json: Record): ClaimRewardEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): ClaimRewardEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isMarketPauseEvent(type: string): boolean; export interface MarketPauseEventFields { lendingMarketId: ToField<'address'>; paused: ToField<'bool'>; } export type MarketPauseEventReified = Reified; export type MarketPauseEventJSONField = { lendingMarketId: string; paused: boolean; }; export type MarketPauseEventJSON = { $typeName: typeof MarketPauseEvent.$typeName; $typeArgs: []; } & MarketPauseEventJSONField; export declare class MarketPauseEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::MarketPauseEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof MarketPauseEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::MarketPauseEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof MarketPauseEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly paused: ToField<'bool'>; private constructor(); static reified(): MarketPauseEventReified; static get r(): MarketPauseEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): MarketPauseEvent; static fromFieldsWithTypes(item: FieldsWithTypes): MarketPauseEvent; static fromBcs(data: Uint8Array): MarketPauseEvent; toJSONField(): MarketPauseEventJSONField; toJSON(): MarketPauseEventJSON; static fromJSONField(field: any): MarketPauseEvent; static fromJSON(json: Record): MarketPauseEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): MarketPauseEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isReservePauseEvent(type: string): boolean; export interface ReservePauseEventFields { lendingMarketId: ToField<'address'>; reserveId: ToField<'address'>; paused: ToField<'bool'>; } export type ReservePauseEventReified = Reified; export type ReservePauseEventJSONField = { lendingMarketId: string; reserveId: string; paused: boolean; }; export type ReservePauseEventJSON = { $typeName: typeof ReservePauseEvent.$typeName; $typeArgs: []; } & ReservePauseEventJSONField; export declare class ReservePauseEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::ReservePauseEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof ReservePauseEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::ReservePauseEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof ReservePauseEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly reserveId: ToField<'address'>; readonly paused: ToField<'bool'>; private constructor(); static reified(): ReservePauseEventReified; static get r(): ReservePauseEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): ReservePauseEvent; static fromFieldsWithTypes(item: FieldsWithTypes): ReservePauseEvent; static fromBcs(data: Uint8Array): ReservePauseEvent; toJSONField(): ReservePauseEventJSONField; toJSON(): ReservePauseEventJSON; static fromJSONField(field: any): ReservePauseEvent; static fromJSON(json: Record): ReservePauseEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): ReservePauseEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; } export declare function isPauseCapRotatedEvent(type: string): boolean; export interface PauseCapRotatedEventFields { lendingMarketId: ToField<'address'>; newCapId: ToField<'address'>; generation: ToField<'u64'>; } export type PauseCapRotatedEventReified = Reified; export type PauseCapRotatedEventJSONField = { lendingMarketId: string; newCapId: string; generation: string; }; export type PauseCapRotatedEventJSON = { $typeName: typeof PauseCapRotatedEvent.$typeName; $typeArgs: []; } & PauseCapRotatedEventJSONField; export declare class PauseCapRotatedEvent implements StructClass { __StructClass: true; static get $typeName(): `${string}::lending_market::PauseCapRotatedEvent`; static readonly $numTypeParams = 0; static readonly $isPhantom: readonly []; readonly $typeName: typeof PauseCapRotatedEvent.$typeName; readonly $fullTypeName: `${string}::lending_market::PauseCapRotatedEvent`; readonly $typeArgs: []; readonly $isPhantom: typeof PauseCapRotatedEvent.$isPhantom; readonly lendingMarketId: ToField<'address'>; readonly newCapId: ToField<'address'>; readonly generation: ToField<'u64'>; private constructor(); static reified(): PauseCapRotatedEventReified; static get r(): PauseCapRotatedEventReified; static phantom(): PhantomReified>; static get p(): PhantomReified>; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields(fields: Record): PauseCapRotatedEvent; static fromFieldsWithTypes(item: FieldsWithTypes): PauseCapRotatedEvent; static fromBcs(data: Uint8Array): PauseCapRotatedEvent; toJSONField(): PauseCapRotatedEventJSONField; toJSON(): PauseCapRotatedEventJSON; static fromJSONField(field: any): PauseCapRotatedEvent; static fromJSON(json: Record): PauseCapRotatedEvent; static fromCoreObject(obj: SuiClientTypes.Object<{ content: true; }>): PauseCapRotatedEvent; static fetch(client: ClientWithCoreApi, id: string): Promise; }