// @generated by protoc-gen-es v1.2.0 with parameter "target=ts" // @generated from file injective/peggy/v1/msgs.proto (package injective.peggy.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; import { BridgeValidator } from "./types_pb.js"; import { Params } from "./params_pb.js"; /** * MsgSetOrchestratorAddresses * this message allows validators to delegate their voting responsibilities * to a given key. This key is then used as an optional authentication method * for sigining oracle claims * VALIDATOR * The validator field is a cosmosvaloper1... string (i.e. sdk.ValAddress) * that references a validator in the active set * ORCHESTRATOR * The orchestrator field is a cosmos1... string (i.e. sdk.AccAddress) that * references the key that is being delegated to * ETH_ADDRESS * This is a hex encoded 0x Ethereum public key that will be used by this * validator on Ethereum * * @generated from message injective.peggy.v1.MsgSetOrchestratorAddresses */ export class MsgSetOrchestratorAddresses extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string orchestrator = 2; */ orchestrator = ""; /** * @generated from field: string eth_address = 3; */ ethAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSetOrchestratorAddresses"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "eth_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetOrchestratorAddresses { return new MsgSetOrchestratorAddresses().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetOrchestratorAddresses { return new MsgSetOrchestratorAddresses().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetOrchestratorAddresses { return new MsgSetOrchestratorAddresses().fromJsonString(jsonString, options); } static equals(a: MsgSetOrchestratorAddresses | PlainMessage | undefined, b: MsgSetOrchestratorAddresses | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetOrchestratorAddresses, a, b); } } /** * @generated from message injective.peggy.v1.MsgSetOrchestratorAddressesResponse */ export class MsgSetOrchestratorAddressesResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSetOrchestratorAddressesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSetOrchestratorAddressesResponse { return new MsgSetOrchestratorAddressesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSetOrchestratorAddressesResponse { return new MsgSetOrchestratorAddressesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSetOrchestratorAddressesResponse { return new MsgSetOrchestratorAddressesResponse().fromJsonString(jsonString, options); } static equals(a: MsgSetOrchestratorAddressesResponse | PlainMessage | undefined, b: MsgSetOrchestratorAddressesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSetOrchestratorAddressesResponse, a, b); } } /** * MsgValsetConfirm * this is the message sent by the validators when they wish to submit their * signatures over the validator set at a given block height. A validator must * first call MsgSetEthAddress to set their Ethereum address to be used for * signing. Then someone (anyone) must make a ValsetRequest the request is * essentially a messaging mechanism to determine which block all validators * should submit signatures over. Finally validators sign the validator set, * powers, and Ethereum addresses of the entire validator set at the height of a * ValsetRequest and submit that signature with this message. * * If a sufficient number of validators (66% of voting power) (A) have set * Ethereum addresses and (B) submit ValsetConfirm messages with their * signatures it is then possible for anyone to view these signatures in the * chain store and submit them to Ethereum to update the validator set * ------------- * * @generated from message injective.peggy.v1.MsgValsetConfirm */ export class MsgValsetConfirm extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; /** * @generated from field: string orchestrator = 2; */ orchestrator = ""; /** * @generated from field: string eth_address = 3; */ ethAddress = ""; /** * @generated from field: string signature = 4; */ signature = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgValsetConfirm"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "eth_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgValsetConfirm { return new MsgValsetConfirm().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgValsetConfirm { return new MsgValsetConfirm().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgValsetConfirm { return new MsgValsetConfirm().fromJsonString(jsonString, options); } static equals(a: MsgValsetConfirm | PlainMessage | undefined, b: MsgValsetConfirm | PlainMessage | undefined): boolean { return proto3.util.equals(MsgValsetConfirm, a, b); } } /** * @generated from message injective.peggy.v1.MsgValsetConfirmResponse */ export class MsgValsetConfirmResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgValsetConfirmResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgValsetConfirmResponse { return new MsgValsetConfirmResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgValsetConfirmResponse { return new MsgValsetConfirmResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgValsetConfirmResponse { return new MsgValsetConfirmResponse().fromJsonString(jsonString, options); } static equals(a: MsgValsetConfirmResponse | PlainMessage | undefined, b: MsgValsetConfirmResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgValsetConfirmResponse, a, b); } } /** * MsgSendToEth * This is the message that a user calls when they want to bridge an asset * it will later be removed when it is included in a batch and successfully * submitted tokens are removed from the users balance immediately * ------------- * AMOUNT: * the coin to send across the bridge, note the restriction that this is a * single coin not a set of coins that is normal in other Cosmos messages * FEE: * the fee paid for the bridge, distinct from the fee paid to the chain to * actually send this message in the first place. So a successful send has * two layers of fees for the user * * @generated from message injective.peggy.v1.MsgSendToEth */ export class MsgSendToEth extends Message { /** * @generated from field: string sender = 1; */ sender = ""; /** * @generated from field: string eth_dest = 2; */ ethDest = ""; /** * @generated from field: cosmos.base.v1beta1.Coin amount = 3; */ amount?: Coin; /** * @generated from field: cosmos.base.v1beta1.Coin bridge_fee = 4; */ bridgeFee?: Coin; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSendToEth"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "eth_dest", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "amount", kind: "message", T: Coin }, { no: 4, name: "bridge_fee", kind: "message", T: Coin }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendToEth { return new MsgSendToEth().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendToEth { return new MsgSendToEth().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSendToEth { return new MsgSendToEth().fromJsonString(jsonString, options); } static equals(a: MsgSendToEth | PlainMessage | undefined, b: MsgSendToEth | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSendToEth, a, b); } } /** * @generated from message injective.peggy.v1.MsgSendToEthResponse */ export class MsgSendToEthResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSendToEthResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSendToEthResponse { return new MsgSendToEthResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSendToEthResponse { return new MsgSendToEthResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSendToEthResponse { return new MsgSendToEthResponse().fromJsonString(jsonString, options); } static equals(a: MsgSendToEthResponse | PlainMessage | undefined, b: MsgSendToEthResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSendToEthResponse, a, b); } } /** * MsgRequestBatch * this is a message anyone can send that requests a batch of transactions to * send across the bridge be created for whatever block height this message is * included in. This acts as a coordination point, the handler for this message * looks at the AddToOutgoingPool tx's in the store and generates a batch, also * available in the store tied to this message. The validators then grab this * batch, sign it, submit the signatures with a MsgConfirmBatch before a relayer * can finally submit the batch * ------------- * * @generated from message injective.peggy.v1.MsgRequestBatch */ export class MsgRequestBatch extends Message { /** * @generated from field: string orchestrator = 1; */ orchestrator = ""; /** * @generated from field: string denom = 2; */ denom = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgRequestBatch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRequestBatch { return new MsgRequestBatch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRequestBatch { return new MsgRequestBatch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRequestBatch { return new MsgRequestBatch().fromJsonString(jsonString, options); } static equals(a: MsgRequestBatch | PlainMessage | undefined, b: MsgRequestBatch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRequestBatch, a, b); } } /** * @generated from message injective.peggy.v1.MsgRequestBatchResponse */ export class MsgRequestBatchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgRequestBatchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgRequestBatchResponse { return new MsgRequestBatchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgRequestBatchResponse { return new MsgRequestBatchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgRequestBatchResponse { return new MsgRequestBatchResponse().fromJsonString(jsonString, options); } static equals(a: MsgRequestBatchResponse | PlainMessage | undefined, b: MsgRequestBatchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgRequestBatchResponse, a, b); } } /** * MsgConfirmBatch * When validators observe a MsgRequestBatch they form a batch by ordering * transactions currently in the txqueue in order of highest to lowest fee, * cutting off when the batch either reaches a hardcoded maximum size (to be * decided, probably around 100) or when transactions stop being profitable * (TODO determine this without nondeterminism) This message includes the batch * as well as an Ethereum signature over this batch by the validator * ------------- * * @generated from message injective.peggy.v1.MsgConfirmBatch */ export class MsgConfirmBatch extends Message { /** * @generated from field: uint64 nonce = 1; */ nonce = protoInt64.zero; /** * @generated from field: string token_contract = 2; */ tokenContract = ""; /** * @generated from field: string eth_signer = 3; */ ethSigner = ""; /** * @generated from field: string orchestrator = 4; */ orchestrator = ""; /** * @generated from field: string signature = 5; */ signature = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgConfirmBatch"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "token_contract", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "eth_signer", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgConfirmBatch { return new MsgConfirmBatch().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgConfirmBatch { return new MsgConfirmBatch().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgConfirmBatch { return new MsgConfirmBatch().fromJsonString(jsonString, options); } static equals(a: MsgConfirmBatch | PlainMessage | undefined, b: MsgConfirmBatch | PlainMessage | undefined): boolean { return proto3.util.equals(MsgConfirmBatch, a, b); } } /** * @generated from message injective.peggy.v1.MsgConfirmBatchResponse */ export class MsgConfirmBatchResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgConfirmBatchResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgConfirmBatchResponse { return new MsgConfirmBatchResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgConfirmBatchResponse { return new MsgConfirmBatchResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgConfirmBatchResponse { return new MsgConfirmBatchResponse().fromJsonString(jsonString, options); } static equals(a: MsgConfirmBatchResponse | PlainMessage | undefined, b: MsgConfirmBatchResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgConfirmBatchResponse, a, b); } } /** * EthereumBridgeDepositClaim * When more than 66% of the active validator set has * claimed to have seen the deposit enter the ethereum blockchain coins are * issued to the Cosmos address in question * ------------- * * @generated from message injective.peggy.v1.MsgDepositClaim */ export class MsgDepositClaim extends Message { /** * @generated from field: uint64 event_nonce = 1; */ eventNonce = protoInt64.zero; /** * @generated from field: uint64 block_height = 2; */ blockHeight = protoInt64.zero; /** * @generated from field: string token_contract = 3; */ tokenContract = ""; /** * @generated from field: string amount = 4; */ amount = ""; /** * @generated from field: string ethereum_sender = 5; */ ethereumSender = ""; /** * @generated from field: string cosmos_receiver = 6; */ cosmosReceiver = ""; /** * @generated from field: string orchestrator = 7; */ orchestrator = ""; /** * @generated from field: string data = 8; */ data = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgDepositClaim"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "event_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "block_height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "token_contract", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "ethereum_sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "cosmos_receiver", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgDepositClaim { return new MsgDepositClaim().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgDepositClaim { return new MsgDepositClaim().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgDepositClaim { return new MsgDepositClaim().fromJsonString(jsonString, options); } static equals(a: MsgDepositClaim | PlainMessage | undefined, b: MsgDepositClaim | PlainMessage | undefined): boolean { return proto3.util.equals(MsgDepositClaim, a, b); } } /** * @generated from message injective.peggy.v1.MsgDepositClaimResponse */ export class MsgDepositClaimResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgDepositClaimResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgDepositClaimResponse { return new MsgDepositClaimResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgDepositClaimResponse { return new MsgDepositClaimResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgDepositClaimResponse { return new MsgDepositClaimResponse().fromJsonString(jsonString, options); } static equals(a: MsgDepositClaimResponse | PlainMessage | undefined, b: MsgDepositClaimResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgDepositClaimResponse, a, b); } } /** * WithdrawClaim claims that a batch of withdrawal * operations on the bridge contract was executed. * * @generated from message injective.peggy.v1.MsgWithdrawClaim */ export class MsgWithdrawClaim extends Message { /** * @generated from field: uint64 event_nonce = 1; */ eventNonce = protoInt64.zero; /** * @generated from field: uint64 block_height = 2; */ blockHeight = protoInt64.zero; /** * @generated from field: uint64 batch_nonce = 3; */ batchNonce = protoInt64.zero; /** * @generated from field: string token_contract = 4; */ tokenContract = ""; /** * @generated from field: string orchestrator = 5; */ orchestrator = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgWithdrawClaim"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "event_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "block_height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "batch_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 4, name: "token_contract", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawClaim { return new MsgWithdrawClaim().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawClaim { return new MsgWithdrawClaim().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawClaim { return new MsgWithdrawClaim().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawClaim | PlainMessage | undefined, b: MsgWithdrawClaim | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawClaim, a, b); } } /** * @generated from message injective.peggy.v1.MsgWithdrawClaimResponse */ export class MsgWithdrawClaimResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgWithdrawClaimResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgWithdrawClaimResponse { return new MsgWithdrawClaimResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgWithdrawClaimResponse { return new MsgWithdrawClaimResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgWithdrawClaimResponse { return new MsgWithdrawClaimResponse().fromJsonString(jsonString, options); } static equals(a: MsgWithdrawClaimResponse | PlainMessage | undefined, b: MsgWithdrawClaimResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgWithdrawClaimResponse, a, b); } } /** * ERC20DeployedClaim allows the Cosmos module * to learn about an ERC20 that someone deployed * to represent a Cosmos asset * * @generated from message injective.peggy.v1.MsgERC20DeployedClaim */ export class MsgERC20DeployedClaim extends Message { /** * @generated from field: uint64 event_nonce = 1; */ eventNonce = protoInt64.zero; /** * @generated from field: uint64 block_height = 2; */ blockHeight = protoInt64.zero; /** * @generated from field: string cosmos_denom = 3; */ cosmosDenom = ""; /** * @generated from field: string token_contract = 4; */ tokenContract = ""; /** * @generated from field: string name = 5; */ name = ""; /** * @generated from field: string symbol = 6; */ symbol = ""; /** * @generated from field: uint64 decimals = 7; */ decimals = protoInt64.zero; /** * @generated from field: string orchestrator = 8; */ orchestrator = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgERC20DeployedClaim"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "event_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "block_height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "cosmos_denom", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "token_contract", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "decimals", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 8, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgERC20DeployedClaim { return new MsgERC20DeployedClaim().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgERC20DeployedClaim { return new MsgERC20DeployedClaim().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgERC20DeployedClaim { return new MsgERC20DeployedClaim().fromJsonString(jsonString, options); } static equals(a: MsgERC20DeployedClaim | PlainMessage | undefined, b: MsgERC20DeployedClaim | PlainMessage | undefined): boolean { return proto3.util.equals(MsgERC20DeployedClaim, a, b); } } /** * @generated from message injective.peggy.v1.MsgERC20DeployedClaimResponse */ export class MsgERC20DeployedClaimResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgERC20DeployedClaimResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgERC20DeployedClaimResponse { return new MsgERC20DeployedClaimResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgERC20DeployedClaimResponse { return new MsgERC20DeployedClaimResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgERC20DeployedClaimResponse { return new MsgERC20DeployedClaimResponse().fromJsonString(jsonString, options); } static equals(a: MsgERC20DeployedClaimResponse | PlainMessage | undefined, b: MsgERC20DeployedClaimResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgERC20DeployedClaimResponse, a, b); } } /** * This call allows the sender (and only the sender) * to cancel a given MsgSendToEth and recieve a refund * of the tokens * * @generated from message injective.peggy.v1.MsgCancelSendToEth */ export class MsgCancelSendToEth extends Message { /** * @generated from field: uint64 transaction_id = 1; */ transactionId = protoInt64.zero; /** * @generated from field: string sender = 2; */ sender = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgCancelSendToEth"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "transaction_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelSendToEth { return new MsgCancelSendToEth().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelSendToEth { return new MsgCancelSendToEth().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelSendToEth { return new MsgCancelSendToEth().fromJsonString(jsonString, options); } static equals(a: MsgCancelSendToEth | PlainMessage | undefined, b: MsgCancelSendToEth | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelSendToEth, a, b); } } /** * @generated from message injective.peggy.v1.MsgCancelSendToEthResponse */ export class MsgCancelSendToEthResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgCancelSendToEthResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgCancelSendToEthResponse { return new MsgCancelSendToEthResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgCancelSendToEthResponse { return new MsgCancelSendToEthResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgCancelSendToEthResponse { return new MsgCancelSendToEthResponse().fromJsonString(jsonString, options); } static equals(a: MsgCancelSendToEthResponse | PlainMessage | undefined, b: MsgCancelSendToEthResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgCancelSendToEthResponse, a, b); } } /** * This call allows anyone to submit evidence that a * validator has signed a valset, batch, or logic call that never * existed. Subject contains the batch, valset, or logic call. * * @generated from message injective.peggy.v1.MsgSubmitBadSignatureEvidence */ export class MsgSubmitBadSignatureEvidence extends Message { /** * @generated from field: google.protobuf.Any subject = 1; */ subject?: Any; /** * @generated from field: string signature = 2; */ signature = ""; /** * @generated from field: string sender = 3; */ sender = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSubmitBadSignatureEvidence"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "subject", kind: "message", T: Any }, { no: 2, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSubmitBadSignatureEvidence { return new MsgSubmitBadSignatureEvidence().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSubmitBadSignatureEvidence { return new MsgSubmitBadSignatureEvidence().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSubmitBadSignatureEvidence { return new MsgSubmitBadSignatureEvidence().fromJsonString(jsonString, options); } static equals(a: MsgSubmitBadSignatureEvidence | PlainMessage | undefined, b: MsgSubmitBadSignatureEvidence | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSubmitBadSignatureEvidence, a, b); } } /** * @generated from message injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse */ export class MsgSubmitBadSignatureEvidenceResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgSubmitBadSignatureEvidenceResponse { return new MsgSubmitBadSignatureEvidenceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgSubmitBadSignatureEvidenceResponse { return new MsgSubmitBadSignatureEvidenceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgSubmitBadSignatureEvidenceResponse { return new MsgSubmitBadSignatureEvidenceResponse().fromJsonString(jsonString, options); } static equals(a: MsgSubmitBadSignatureEvidenceResponse | PlainMessage | undefined, b: MsgSubmitBadSignatureEvidenceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgSubmitBadSignatureEvidenceResponse, a, b); } } /** * This informs the Cosmos module that a validator * set has been updated. * * @generated from message injective.peggy.v1.MsgValsetUpdatedClaim */ export class MsgValsetUpdatedClaim extends Message { /** * @generated from field: uint64 event_nonce = 1; */ eventNonce = protoInt64.zero; /** * @generated from field: uint64 valset_nonce = 2; */ valsetNonce = protoInt64.zero; /** * @generated from field: uint64 block_height = 3; */ blockHeight = protoInt64.zero; /** * @generated from field: repeated injective.peggy.v1.BridgeValidator members = 4; */ members: BridgeValidator[] = []; /** * @generated from field: string reward_amount = 5; */ rewardAmount = ""; /** * @generated from field: string reward_token = 6; */ rewardToken = ""; /** * @generated from field: string orchestrator = 7; */ orchestrator = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgValsetUpdatedClaim"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "event_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 2, name: "valset_nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "block_height", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 4, name: "members", kind: "message", T: BridgeValidator, repeated: true }, { no: 5, name: "reward_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "reward_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "orchestrator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgValsetUpdatedClaim { return new MsgValsetUpdatedClaim().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgValsetUpdatedClaim { return new MsgValsetUpdatedClaim().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgValsetUpdatedClaim { return new MsgValsetUpdatedClaim().fromJsonString(jsonString, options); } static equals(a: MsgValsetUpdatedClaim | PlainMessage | undefined, b: MsgValsetUpdatedClaim | PlainMessage | undefined): boolean { return proto3.util.equals(MsgValsetUpdatedClaim, a, b); } } /** * @generated from message injective.peggy.v1.MsgValsetUpdatedClaimResponse */ export class MsgValsetUpdatedClaimResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgValsetUpdatedClaimResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgValsetUpdatedClaimResponse { return new MsgValsetUpdatedClaimResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgValsetUpdatedClaimResponse { return new MsgValsetUpdatedClaimResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgValsetUpdatedClaimResponse { return new MsgValsetUpdatedClaimResponse().fromJsonString(jsonString, options); } static equals(a: MsgValsetUpdatedClaimResponse | PlainMessage | undefined, b: MsgValsetUpdatedClaimResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgValsetUpdatedClaimResponse, a, b); } } /** * @generated from message injective.peggy.v1.MsgUpdateParams */ export class MsgUpdateParams extends Message { /** * authority is the address of the governance account. * * @generated from field: string authority = 1; */ authority = ""; /** * params defines the peggy parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.peggy.v1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgUpdateParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "authority", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams { return new MsgUpdateParams().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParams, a, b); } } /** * @generated from message injective.peggy.v1.MsgUpdateParamsResponse */ export class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "injective.peggy.v1.MsgUpdateParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse { return new MsgUpdateParamsResponse().fromJsonString(jsonString, options); } static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(MsgUpdateParamsResponse, a, b); } }