import { Duration, DurationAmino } from "../../../google/protobuf/duration"; import { OracleType } from "../../oracle/v1beta1/oracle"; import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * @name Params * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.Params */ export interface Params { /** * default_redemption_notice_period_duration defines the default minimum * notice period duration that must pass after an underwriter sends a * redemption request before the underwriter can claim his tokens */ defaultRedemptionNoticePeriodDuration: Duration; } export interface ParamsProtoMsg { typeUrl: "/injective.insurance.v1beta1.Params"; value: Uint8Array; } /** * @name ParamsAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.Params */ export interface ParamsAmino { /** * default_redemption_notice_period_duration defines the default minimum * notice period duration that must pass after an underwriter sends a * redemption request before the underwriter can claim his tokens */ default_redemption_notice_period_duration: DurationAmino; } export interface ParamsAminoMsg { type: "insurance/Params"; value: ParamsAmino; } /** * @name InsuranceFund * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.InsuranceFund */ export interface InsuranceFund { /** * deposit denomination for the given insurance fund */ depositDenom: string; /** * insurance fund pool token denomination for the given insurance fund */ insurancePoolTokenDenom: string; /** * redemption_notice_period_duration defines the minimum notice period * duration that must pass after an underwriter sends a redemption request * before the underwriter can claim his tokens */ redemptionNoticePeriodDuration: Duration; /** * balance of fund */ balance: string; /** * total share tokens minted */ totalShare: string; /** * marketID of the derivative market */ marketId: string; /** * ticker of the derivative market */ marketTicker: string; /** * Oracle base currency of the derivative market OR the oracle symbol for the * binary options market. */ oracleBase: string; /** * Oracle quote currency of the derivative market OR the oracle provider for * the binary options market. */ oracleQuote: string; /** * Oracle type of the binary options or derivative market */ oracleType: OracleType; /** * Expiration time of the derivative market. Should be -1 for perpetual or -2 * for binary options markets. */ expiry: bigint; } export interface InsuranceFundProtoMsg { typeUrl: "/injective.insurance.v1beta1.InsuranceFund"; value: Uint8Array; } /** * @name InsuranceFundAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.InsuranceFund */ export interface InsuranceFundAmino { /** * deposit denomination for the given insurance fund */ deposit_denom: string; /** * insurance fund pool token denomination for the given insurance fund */ insurance_pool_token_denom: string; /** * redemption_notice_period_duration defines the minimum notice period * duration that must pass after an underwriter sends a redemption request * before the underwriter can claim his tokens */ redemption_notice_period_duration: DurationAmino; /** * balance of fund */ balance: string; /** * total share tokens minted */ total_share: string; /** * marketID of the derivative market */ market_id: string; /** * ticker of the derivative market */ market_ticker: string; /** * Oracle base currency of the derivative market OR the oracle symbol for the * binary options market. */ oracle_base: string; /** * Oracle quote currency of the derivative market OR the oracle provider for * the binary options market. */ oracle_quote: string; /** * Oracle type of the binary options or derivative market */ oracle_type: OracleType; /** * Expiration time of the derivative market. Should be -1 for perpetual or -2 * for binary options markets. */ expiry: string; } export interface InsuranceFundAminoMsg { type: "/injective.insurance.v1beta1.InsuranceFund"; value: InsuranceFundAmino; } /** * @name RedemptionSchedule * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.RedemptionSchedule */ export interface RedemptionSchedule { /** * id of redemption schedule */ id: bigint; /** * marketId of insurance fund for the redemption */ marketId: string; /** * address of the redeemer */ redeemer: string; /** * the time after which the redemption can be claimed */ claimableRedemptionTime: Date; /** * the insurance_pool_token amount to redeem */ redemptionAmount: Coin; } export interface RedemptionScheduleProtoMsg { typeUrl: "/injective.insurance.v1beta1.RedemptionSchedule"; value: Uint8Array; } /** * @name RedemptionScheduleAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.RedemptionSchedule */ export interface RedemptionScheduleAmino { /** * id of redemption schedule */ id: string; /** * marketId of insurance fund for the redemption */ marketId: string; /** * address of the redeemer */ redeemer: string; /** * the time after which the redemption can be claimed */ claimable_redemption_time: string; /** * the insurance_pool_token amount to redeem */ redemption_amount: CoinAmino; } export interface RedemptionScheduleAminoMsg { type: "/injective.insurance.v1beta1.RedemptionSchedule"; value: RedemptionScheduleAmino; } /** * @name Params * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.Params */ export declare const Params: { typeUrl: string; aminoType: string; is(o: any): o is Params; isAmino(o: any): o is ParamsAmino; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromPartial(object: DeepPartial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; toAminoMsg(message: Params): ParamsAminoMsg; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; registerTypeUrl(): void; }; /** * @name InsuranceFund * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.InsuranceFund */ export declare const InsuranceFund: { typeUrl: string; is(o: any): o is InsuranceFund; isAmino(o: any): o is InsuranceFundAmino; encode(message: InsuranceFund, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): InsuranceFund; fromPartial(object: DeepPartial): InsuranceFund; fromAmino(object: InsuranceFundAmino): InsuranceFund; toAmino(message: InsuranceFund): InsuranceFundAmino; fromAminoMsg(object: InsuranceFundAminoMsg): InsuranceFund; fromProtoMsg(message: InsuranceFundProtoMsg): InsuranceFund; toProto(message: InsuranceFund): Uint8Array; toProtoMsg(message: InsuranceFund): InsuranceFundProtoMsg; registerTypeUrl(): void; }; /** * @name RedemptionSchedule * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.RedemptionSchedule */ export declare const RedemptionSchedule: { typeUrl: string; is(o: any): o is RedemptionSchedule; isAmino(o: any): o is RedemptionScheduleAmino; encode(message: RedemptionSchedule, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): RedemptionSchedule; fromPartial(object: DeepPartial): RedemptionSchedule; fromAmino(object: RedemptionScheduleAmino): RedemptionSchedule; toAmino(message: RedemptionSchedule): RedemptionScheduleAmino; fromAminoMsg(object: RedemptionScheduleAminoMsg): RedemptionSchedule; fromProtoMsg(message: RedemptionScheduleProtoMsg): RedemptionSchedule; toProto(message: RedemptionSchedule): Uint8Array; toProtoMsg(message: RedemptionSchedule): RedemptionScheduleProtoMsg; registerTypeUrl(): void; };