import { InsuranceFund, InsuranceFundAmino, RedemptionSchedule, RedemptionScheduleAmino } from "./insurance"; import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * @name EventInsuranceFundUpdate * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceFundUpdate */ export interface EventInsuranceFundUpdate { fund?: InsuranceFund; } export interface EventInsuranceFundUpdateProtoMsg { typeUrl: "/injective.insurance.v1beta1.EventInsuranceFundUpdate"; value: Uint8Array; } /** * @name EventInsuranceFundUpdateAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceFundUpdate */ export interface EventInsuranceFundUpdateAmino { fund?: InsuranceFundAmino; } export interface EventInsuranceFundUpdateAminoMsg { type: "/injective.insurance.v1beta1.EventInsuranceFundUpdate"; value: EventInsuranceFundUpdateAmino; } /** * @name EventRequestRedemption * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventRequestRedemption */ export interface EventRequestRedemption { schedule?: RedemptionSchedule; } export interface EventRequestRedemptionProtoMsg { typeUrl: "/injective.insurance.v1beta1.EventRequestRedemption"; value: Uint8Array; } /** * @name EventRequestRedemptionAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventRequestRedemption */ export interface EventRequestRedemptionAmino { schedule?: RedemptionScheduleAmino; } export interface EventRequestRedemptionAminoMsg { type: "/injective.insurance.v1beta1.EventRequestRedemption"; value: EventRequestRedemptionAmino; } /** * @name EventWithdrawRedemption * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventWithdrawRedemption */ export interface EventWithdrawRedemption { /** * redemption schedule triggered withdraw */ schedule?: RedemptionSchedule; /** * redeem coin amount in base_currency */ redeemCoin: Coin; } export interface EventWithdrawRedemptionProtoMsg { typeUrl: "/injective.insurance.v1beta1.EventWithdrawRedemption"; value: Uint8Array; } /** * @name EventWithdrawRedemptionAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventWithdrawRedemption */ export interface EventWithdrawRedemptionAmino { /** * redemption schedule triggered withdraw */ schedule?: RedemptionScheduleAmino; /** * redeem coin amount in base_currency */ redeem_coin: CoinAmino; } export interface EventWithdrawRedemptionAminoMsg { type: "/injective.insurance.v1beta1.EventWithdrawRedemption"; value: EventWithdrawRedemptionAmino; } /** * @name EventUnderwrite * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventUnderwrite */ export interface EventUnderwrite { /** * address of the underwriter */ underwriter: string; /** * marketId of insurance fund for the redemption */ marketId: string; /** * deposit coin amount */ deposit: Coin; /** * share coin amount */ shares: Coin; } export interface EventUnderwriteProtoMsg { typeUrl: "/injective.insurance.v1beta1.EventUnderwrite"; value: Uint8Array; } /** * @name EventUnderwriteAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventUnderwrite */ export interface EventUnderwriteAmino { /** * address of the underwriter */ underwriter: string; /** * marketId of insurance fund for the redemption */ marketId: string; /** * deposit coin amount */ deposit: CoinAmino; /** * share coin amount */ shares: CoinAmino; } export interface EventUnderwriteAminoMsg { type: "/injective.insurance.v1beta1.EventUnderwrite"; value: EventUnderwriteAmino; } /** * @name EventInsuranceWithdraw * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceWithdraw */ export interface EventInsuranceWithdraw { marketId: string; marketTicker: string; withdrawal: Coin; } export interface EventInsuranceWithdrawProtoMsg { typeUrl: "/injective.insurance.v1beta1.EventInsuranceWithdraw"; value: Uint8Array; } /** * @name EventInsuranceWithdrawAmino * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceWithdraw */ export interface EventInsuranceWithdrawAmino { market_id: string; market_ticker: string; withdrawal: CoinAmino; } export interface EventInsuranceWithdrawAminoMsg { type: "/injective.insurance.v1beta1.EventInsuranceWithdraw"; value: EventInsuranceWithdrawAmino; } /** * @name EventInsuranceFundUpdate * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceFundUpdate */ export declare const EventInsuranceFundUpdate: { typeUrl: string; is(o: any): o is EventInsuranceFundUpdate; isAmino(o: any): o is EventInsuranceFundUpdateAmino; encode(message: EventInsuranceFundUpdate, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventInsuranceFundUpdate; fromPartial(object: DeepPartial): EventInsuranceFundUpdate; fromAmino(object: EventInsuranceFundUpdateAmino): EventInsuranceFundUpdate; toAmino(message: EventInsuranceFundUpdate): EventInsuranceFundUpdateAmino; fromAminoMsg(object: EventInsuranceFundUpdateAminoMsg): EventInsuranceFundUpdate; fromProtoMsg(message: EventInsuranceFundUpdateProtoMsg): EventInsuranceFundUpdate; toProto(message: EventInsuranceFundUpdate): Uint8Array; toProtoMsg(message: EventInsuranceFundUpdate): EventInsuranceFundUpdateProtoMsg; registerTypeUrl(): void; }; /** * @name EventRequestRedemption * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventRequestRedemption */ export declare const EventRequestRedemption: { typeUrl: string; is(o: any): o is EventRequestRedemption; isAmino(o: any): o is EventRequestRedemptionAmino; encode(message: EventRequestRedemption, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventRequestRedemption; fromPartial(object: DeepPartial): EventRequestRedemption; fromAmino(object: EventRequestRedemptionAmino): EventRequestRedemption; toAmino(message: EventRequestRedemption): EventRequestRedemptionAmino; fromAminoMsg(object: EventRequestRedemptionAminoMsg): EventRequestRedemption; fromProtoMsg(message: EventRequestRedemptionProtoMsg): EventRequestRedemption; toProto(message: EventRequestRedemption): Uint8Array; toProtoMsg(message: EventRequestRedemption): EventRequestRedemptionProtoMsg; registerTypeUrl(): void; }; /** * @name EventWithdrawRedemption * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventWithdrawRedemption */ export declare const EventWithdrawRedemption: { typeUrl: string; is(o: any): o is EventWithdrawRedemption; isAmino(o: any): o is EventWithdrawRedemptionAmino; encode(message: EventWithdrawRedemption, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventWithdrawRedemption; fromPartial(object: DeepPartial): EventWithdrawRedemption; fromAmino(object: EventWithdrawRedemptionAmino): EventWithdrawRedemption; toAmino(message: EventWithdrawRedemption): EventWithdrawRedemptionAmino; fromAminoMsg(object: EventWithdrawRedemptionAminoMsg): EventWithdrawRedemption; fromProtoMsg(message: EventWithdrawRedemptionProtoMsg): EventWithdrawRedemption; toProto(message: EventWithdrawRedemption): Uint8Array; toProtoMsg(message: EventWithdrawRedemption): EventWithdrawRedemptionProtoMsg; registerTypeUrl(): void; }; /** * @name EventUnderwrite * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventUnderwrite */ export declare const EventUnderwrite: { typeUrl: string; is(o: any): o is EventUnderwrite; isAmino(o: any): o is EventUnderwriteAmino; encode(message: EventUnderwrite, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventUnderwrite; fromPartial(object: DeepPartial): EventUnderwrite; fromAmino(object: EventUnderwriteAmino): EventUnderwrite; toAmino(message: EventUnderwrite): EventUnderwriteAmino; fromAminoMsg(object: EventUnderwriteAminoMsg): EventUnderwrite; fromProtoMsg(message: EventUnderwriteProtoMsg): EventUnderwrite; toProto(message: EventUnderwrite): Uint8Array; toProtoMsg(message: EventUnderwrite): EventUnderwriteProtoMsg; registerTypeUrl(): void; }; /** * @name EventInsuranceWithdraw * @package injective.insurance.v1beta1 * @see proto type: injective.insurance.v1beta1.EventInsuranceWithdraw */ export declare const EventInsuranceWithdraw: { typeUrl: string; is(o: any): o is EventInsuranceWithdraw; isAmino(o: any): o is EventInsuranceWithdrawAmino; encode(message: EventInsuranceWithdraw, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventInsuranceWithdraw; fromPartial(object: DeepPartial): EventInsuranceWithdraw; fromAmino(object: EventInsuranceWithdrawAmino): EventInsuranceWithdraw; toAmino(message: EventInsuranceWithdraw): EventInsuranceWithdrawAmino; fromAminoMsg(object: EventInsuranceWithdrawAminoMsg): EventInsuranceWithdraw; fromProtoMsg(message: EventInsuranceWithdrawProtoMsg): EventInsuranceWithdraw; toProto(message: EventInsuranceWithdraw): Uint8Array; toProtoMsg(message: EventInsuranceWithdraw): EventInsuranceWithdrawProtoMsg; registerTypeUrl(): void; };