import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * BridgeValidator represents a validator's ETH address and its power * @name BridgeValidator * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.BridgeValidator */ export interface BridgeValidator { power: bigint; ethereumAddress: string; } export interface BridgeValidatorProtoMsg { typeUrl: "/injective.peggy.v1.BridgeValidator"; value: Uint8Array; } /** * BridgeValidator represents a validator's ETH address and its power * @name BridgeValidatorAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.BridgeValidator */ export interface BridgeValidatorAmino { power: string; ethereum_address: string; } export interface BridgeValidatorAminoMsg { type: "/injective.peggy.v1.BridgeValidator"; value: BridgeValidatorAmino; } /** * Valset is the Ethereum Bridge Multsig Set, each peggy validator also * maintains an ETH key to sign messages, these are used to check signatures on * ETH because of the significant gas savings * @name Valset * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.Valset */ export interface Valset { nonce: bigint; members: BridgeValidator[]; height: bigint; rewardAmount: string; /** * the reward token in it's Ethereum hex address representation */ rewardToken: string; } export interface ValsetProtoMsg { typeUrl: "/injective.peggy.v1.Valset"; value: Uint8Array; } /** * Valset is the Ethereum Bridge Multsig Set, each peggy validator also * maintains an ETH key to sign messages, these are used to check signatures on * ETH because of the significant gas savings * @name ValsetAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.Valset */ export interface ValsetAmino { nonce: string; members: BridgeValidatorAmino[]; height: string; reward_amount: string; /** * the reward token in it's Ethereum hex address representation */ reward_token: string; } export interface ValsetAminoMsg { type: "/injective.peggy.v1.Valset"; value: ValsetAmino; } /** * LastObservedEthereumBlockHeight stores the last observed * Ethereum block height along with the Cosmos block height that * it was observed at. These two numbers can be used to project * outward and always produce batches with timeouts in the future * even if no Ethereum block height has been relayed for a long time * @name LastObservedEthereumBlockHeight * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastObservedEthereumBlockHeight */ export interface LastObservedEthereumBlockHeight { cosmosBlockHeight: bigint; ethereumBlockHeight: bigint; } export interface LastObservedEthereumBlockHeightProtoMsg { typeUrl: "/injective.peggy.v1.LastObservedEthereumBlockHeight"; value: Uint8Array; } /** * LastObservedEthereumBlockHeight stores the last observed * Ethereum block height along with the Cosmos block height that * it was observed at. These two numbers can be used to project * outward and always produce batches with timeouts in the future * even if no Ethereum block height has been relayed for a long time * @name LastObservedEthereumBlockHeightAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastObservedEthereumBlockHeight */ export interface LastObservedEthereumBlockHeightAmino { cosmos_block_height: string; ethereum_block_height: string; } export interface LastObservedEthereumBlockHeightAminoMsg { type: "/injective.peggy.v1.LastObservedEthereumBlockHeight"; value: LastObservedEthereumBlockHeightAmino; } /** * LastClaimEvent stores last claim event details of validator. * @name LastClaimEvent * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastClaimEvent */ export interface LastClaimEvent { ethereumEventNonce: bigint; ethereumEventHeight: bigint; } export interface LastClaimEventProtoMsg { typeUrl: "/injective.peggy.v1.LastClaimEvent"; value: Uint8Array; } /** * LastClaimEvent stores last claim event details of validator. * @name LastClaimEventAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastClaimEvent */ export interface LastClaimEventAmino { ethereum_event_nonce: string; ethereum_event_height: string; } export interface LastClaimEventAminoMsg { type: "/injective.peggy.v1.LastClaimEvent"; value: LastClaimEventAmino; } /** * This records the relationship between an ERC20 token and the denom * of the corresponding Cosmos originated asset * @name ERC20ToDenom * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.ERC20ToDenom */ export interface ERC20ToDenom { erc20: string; denom: string; } export interface ERC20ToDenomProtoMsg { typeUrl: "/injective.peggy.v1.ERC20ToDenom"; value: Uint8Array; } /** * This records the relationship between an ERC20 token and the denom * of the corresponding Cosmos originated asset * @name ERC20ToDenomAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.ERC20ToDenom */ export interface ERC20ToDenomAmino { erc20: string; denom: string; } export interface ERC20ToDenomAminoMsg { type: "/injective.peggy.v1.ERC20ToDenom"; value: ERC20ToDenomAmino; } /** * BridgeValidator represents a validator's ETH address and its power * @name BridgeValidator * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.BridgeValidator */ export declare const BridgeValidator: { typeUrl: string; is(o: any): o is BridgeValidator; isAmino(o: any): o is BridgeValidatorAmino; encode(message: BridgeValidator, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BridgeValidator; fromPartial(object: DeepPartial): BridgeValidator; fromAmino(object: BridgeValidatorAmino): BridgeValidator; toAmino(message: BridgeValidator): BridgeValidatorAmino; fromAminoMsg(object: BridgeValidatorAminoMsg): BridgeValidator; fromProtoMsg(message: BridgeValidatorProtoMsg): BridgeValidator; toProto(message: BridgeValidator): Uint8Array; toProtoMsg(message: BridgeValidator): BridgeValidatorProtoMsg; registerTypeUrl(): void; }; /** * Valset is the Ethereum Bridge Multsig Set, each peggy validator also * maintains an ETH key to sign messages, these are used to check signatures on * ETH because of the significant gas savings * @name Valset * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.Valset */ export declare const Valset: { typeUrl: string; is(o: any): o is Valset; isAmino(o: any): o is ValsetAmino; encode(message: Valset, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Valset; fromPartial(object: DeepPartial): Valset; fromAmino(object: ValsetAmino): Valset; toAmino(message: Valset): ValsetAmino; fromAminoMsg(object: ValsetAminoMsg): Valset; fromProtoMsg(message: ValsetProtoMsg): Valset; toProto(message: Valset): Uint8Array; toProtoMsg(message: Valset): ValsetProtoMsg; registerTypeUrl(): void; }; /** * LastObservedEthereumBlockHeight stores the last observed * Ethereum block height along with the Cosmos block height that * it was observed at. These two numbers can be used to project * outward and always produce batches with timeouts in the future * even if no Ethereum block height has been relayed for a long time * @name LastObservedEthereumBlockHeight * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastObservedEthereumBlockHeight */ export declare const LastObservedEthereumBlockHeight: { typeUrl: string; is(o: any): o is LastObservedEthereumBlockHeight; isAmino(o: any): o is LastObservedEthereumBlockHeightAmino; encode(message: LastObservedEthereumBlockHeight, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LastObservedEthereumBlockHeight; fromPartial(object: DeepPartial): LastObservedEthereumBlockHeight; fromAmino(object: LastObservedEthereumBlockHeightAmino): LastObservedEthereumBlockHeight; toAmino(message: LastObservedEthereumBlockHeight): LastObservedEthereumBlockHeightAmino; fromAminoMsg(object: LastObservedEthereumBlockHeightAminoMsg): LastObservedEthereumBlockHeight; fromProtoMsg(message: LastObservedEthereumBlockHeightProtoMsg): LastObservedEthereumBlockHeight; toProto(message: LastObservedEthereumBlockHeight): Uint8Array; toProtoMsg(message: LastObservedEthereumBlockHeight): LastObservedEthereumBlockHeightProtoMsg; registerTypeUrl(): void; }; /** * LastClaimEvent stores last claim event details of validator. * @name LastClaimEvent * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.LastClaimEvent */ export declare const LastClaimEvent: { typeUrl: string; is(o: any): o is LastClaimEvent; isAmino(o: any): o is LastClaimEventAmino; encode(message: LastClaimEvent, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LastClaimEvent; fromPartial(object: DeepPartial): LastClaimEvent; fromAmino(object: LastClaimEventAmino): LastClaimEvent; toAmino(message: LastClaimEvent): LastClaimEventAmino; fromAminoMsg(object: LastClaimEventAminoMsg): LastClaimEvent; fromProtoMsg(message: LastClaimEventProtoMsg): LastClaimEvent; toProto(message: LastClaimEvent): Uint8Array; toProtoMsg(message: LastClaimEvent): LastClaimEventProtoMsg; registerTypeUrl(): void; }; /** * This records the relationship between an ERC20 token and the denom * of the corresponding Cosmos originated asset * @name ERC20ToDenom * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.ERC20ToDenom */ export declare const ERC20ToDenom: { typeUrl: string; is(o: any): o is ERC20ToDenom; isAmino(o: any): o is ERC20ToDenomAmino; encode(message: ERC20ToDenom, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ERC20ToDenom; fromPartial(object: DeepPartial): ERC20ToDenom; fromAmino(object: ERC20ToDenomAmino): ERC20ToDenom; toAmino(message: ERC20ToDenom): ERC20ToDenomAmino; fromAminoMsg(object: ERC20ToDenomAminoMsg): ERC20ToDenom; fromProtoMsg(message: ERC20ToDenomProtoMsg): ERC20ToDenom; toProto(message: ERC20ToDenom): Uint8Array; toProtoMsg(message: ERC20ToDenom): ERC20ToDenomProtoMsg; registerTypeUrl(): void; };