UNPKG

@routerprotocol/chain-api

Version:

Router Chain API Query client with generated gRPC bindings.

1,270 lines (1,198 loc) 322 kB
// source: routerprotocol/routerchain/crosschain/events.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); var routerprotocol_routerchain_multichain_chain_type_pb = require('../../../routerprotocol/routerchain/multichain/chain_type_pb.js'); goog.object.extend(proto, routerprotocol_routerchain_multichain_chain_type_pb); var cosmos_base_v1beta1_coin_pb = require('../../../cosmos/base/v1beta1/coin_pb.js'); goog.object.extend(proto, cosmos_base_v1beta1_coin_pb); var gogoproto_gogo_pb = require('../../../gogoproto/gogo_pb.js'); goog.object.extend(proto, gogoproto_gogo_pb); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCreateIBCConfig', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckCompleted', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecuted', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecutionFailed', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckFeeSettlement', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckGasIncremented', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckIBCTransferred', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReadyToExecute', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptCreated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptValidated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestBlocked', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestConfirm', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestCreated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestExpired', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestValidated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainDestGasIncremented', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainExecuted', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainExecutionFailed', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainFeePayerUpdated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainIBCTransferred', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainReadyToExecute', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainReceiptCompleted', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestBlocked', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCompleted', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestConfirm', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestExpired', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestFeeSettlement', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestValidated', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventHandleNativeTransfer', null, global); goog.exportSymbol('proto.routerprotocol.routerchain.crosschain.EventUpdateIBCConfig', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestValidated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestValidated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestValidated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestValidated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestConfirm = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestConfirm, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestConfirm.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestConfirm'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventHandleNativeTransfer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventHandleNativeTransfer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventHandleNativeTransfer.displayName = 'proto.routerprotocol.routerchain.crosschain.EventHandleNativeTransfer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainReadyToExecute = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainReadyToExecute, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainReadyToExecute.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainReadyToExecute'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestBlocked = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestBlocked, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestBlocked.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestBlocked'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestExpired = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestExpired, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestExpired.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestExpired'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainExecuted = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainExecuted, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainExecuted.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainExecuted'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainExecutionFailed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainExecutionFailed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainExecutionFailed.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainExecutionFailed'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainIBCTransferred = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainIBCTransferred, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainIBCTransferred.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainIBCTransferred'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainFeePayerUpdated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainFeePayerUpdated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainFeePayerUpdated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainFeePayerUpdated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainDestGasIncremented = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainDestGasIncremented, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainDestGasIncremented.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainDestGasIncremented'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestFeeSettlement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestFeeSettlement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestFeeSettlement.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestFeeSettlement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCompleted = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCompleted, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCompleted.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCompleted'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestCreated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestCreated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestCreated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestCreated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestConfirm = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestConfirm, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestConfirm.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestConfirm'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestBlocked = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestBlocked, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestBlocked.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestBlocked'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestExpired = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestExpired, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestExpired.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestExpired'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReadyToExecute = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReadyToExecute, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReadyToExecute.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReadyToExecute'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestValidated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestValidated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestValidated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckRequestValidated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecuted = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecuted, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecuted.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecuted'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecutionFailed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecutionFailed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecutionFailed.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckExecutionFailed'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckIBCTransferred = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckIBCTransferred, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckIBCTransferred.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckIBCTransferred'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckFeeSettlement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckFeeSettlement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckFeeSettlement.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckFeeSettlement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckCompleted = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckCompleted, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckCompleted.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckCompleted'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckGasIncremented = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckGasIncremented, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckGasIncremented.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckGasIncremented'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptCreated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptCreated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptCreated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptCreated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptValidated = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptValidated, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptValidated.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainAckReceiptValidated'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCrosschainReceiptCompleted = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCrosschainReceiptCompleted, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCrosschainReceiptCompleted.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCrosschainReceiptCompleted'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventCreateIBCConfig = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventCreateIBCConfig, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventCreateIBCConfig.displayName = 'proto.routerprotocol.routerchain.crosschain.EventCreateIBCConfig'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.routerprotocol.routerchain.crosschain.EventUpdateIBCConfig = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.routerprotocol.routerchain.crosschain.EventUpdateIBCConfig, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.routerprotocol.routerchain.crosschain.EventUpdateIBCConfig.displayName = 'proto.routerprotocol.routerchain.crosschain.EventUpdateIBCConfig'; } if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.toObject = function(opt_includeInstance) { return proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.toObject = function(includeInstance, msg) { var f, obj = { attestationId: msg.getAttestationId_asB64(), srcChainId: jspb.Message.getFieldWithDefault(msg, 2, ""), requestIdentifier: jspb.Message.getFieldWithDefault(msg, 3, 0), blockHeight: jspb.Message.getFieldWithDefault(msg, 4, 0), sourceTxHash: jspb.Message.getFieldWithDefault(msg, 5, ""), srcTimestamp: jspb.Message.getFieldWithDefault(msg, 6, 0), srcTxOrigin: jspb.Message.getFieldWithDefault(msg, 7, ""), routeAmount: jspb.Message.getFieldWithDefault(msg, 9, ""), routeRecipient: jspb.Message.getFieldWithDefault(msg, 10, ""), destChainId: jspb.Message.getFieldWithDefault(msg, 11, ""), requestSender: jspb.Message.getFieldWithDefault(msg, 12, ""), requestMetadata: msg.getRequestMetadata_asB64(), requestPacket: msg.getRequestPacket_asB64(), srcChainType: jspb.Message.getFieldWithDefault(msg, 15, 0), destChainType: jspb.Message.getFieldWithDefault(msg, 16, 0), ibcChannelId: jspb.Message.getFieldWithDefault(msg, 17, ""), ibcPacketSequence: jspb.Message.getFieldWithDefault(msg, 18, 0) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated; return proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setAttestationId(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setSrcChainId(value); break; case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setRequestIdentifier(value); break; case 4: var value = /** @type {number} */ (reader.readUint64()); msg.setBlockHeight(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setSourceTxHash(value); break; case 6: var value = /** @type {number} */ (reader.readUint64()); msg.setSrcTimestamp(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setSrcTxOrigin(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setRouteAmount(value); break; case 10: var value = /** @type {string} */ (reader.readString()); msg.setRouteRecipient(value); break; case 11: var value = /** @type {string} */ (reader.readString()); msg.setDestChainId(value); break; case 12: var value = /** @type {string} */ (reader.readString()); msg.setRequestSender(value); break; case 13: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setRequestMetadata(value); break; case 14: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setRequestPacket(value); break; case 15: var value = /** @type {!proto.routerprotocol.routerchain.multichain.ChainType} */ (reader.readEnum()); msg.setSrcChainType(value); break; case 16: var value = /** @type {!proto.routerprotocol.routerchain.multichain.ChainType} */ (reader.readEnum()); msg.setDestChainType(value); break; case 17: var value = /** @type {string} */ (reader.readString()); msg.setIbcChannelId(value); break; case 18: var value = /** @type {number} */ (reader.readUint64()); msg.setIbcPacketSequence(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttestationId_asU8(); if (f.length > 0) { writer.writeBytes( 1, f ); } f = message.getSrcChainId(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getRequestIdentifier(); if (f !== 0) { writer.writeUint64( 3, f ); } f = message.getBlockHeight(); if (f !== 0) { writer.writeUint64( 4, f ); } f = message.getSourceTxHash(); if (f.length > 0) { writer.writeString( 5, f ); } f = message.getSrcTimestamp(); if (f !== 0) { writer.writeUint64( 6, f ); } f = message.getSrcTxOrigin(); if (f.length > 0) { writer.writeString( 7, f ); } f = message.getRouteAmount(); if (f.length > 0) { writer.writeString( 9, f ); } f = message.getRouteRecipient(); if (f.length > 0) { writer.writeString( 10, f ); } f = message.getDestChainId(); if (f.length > 0) { writer.writeString( 11, f ); } f = message.getRequestSender(); if (f.length > 0) { writer.writeString( 12, f ); } f = message.getRequestMetadata_asU8(); if (f.length > 0) { writer.writeBytes( 13, f ); } f = message.getRequestPacket_asU8(); if (f.length > 0) { writer.writeBytes( 14, f ); } f = message.getSrcChainType(); if (f !== 0.0) { writer.writeEnum( 15, f ); } f = message.getDestChainType(); if (f !== 0.0) { writer.writeEnum( 16, f ); } f = message.getIbcChannelId(); if (f.length > 0) { writer.writeString( 17, f ); } f = message.getIbcPacketSequence(); if (f !== 0) { writer.writeUint64( 18, f ); } }; /** * optional bytes attestation_id = 1; * @return {!(string|Uint8Array)} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getAttestationId = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * optional bytes attestation_id = 1; * This is a type-conversion wrapper around `getAttestationId()` * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getAttestationId_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getAttestationId())); }; /** * optional bytes attestation_id = 1; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getAttestationId()` * @return {!Uint8Array} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getAttestationId_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getAttestationId())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setAttestationId = function(value) { return jspb.Message.setProto3BytesField(this, 1, value); }; /** * optional string src_chain_id = 2; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getSrcChainId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setSrcChainId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional uint64 request_identifier = 3; * @return {number} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRequestIdentifier = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setRequestIdentifier = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; /** * optional uint64 block_height = 4; * @return {number} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getBlockHeight = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setBlockHeight = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; /** * optional string source_tx_hash = 5; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getSourceTxHash = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setSourceTxHash = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional uint64 src_timestamp = 6; * @return {number} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getSrcTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setSrcTimestamp = function(value) { return jspb.Message.setProto3IntField(this, 6, value); }; /** * optional string src_tx_origin = 7; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getSrcTxOrigin = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setSrcTxOrigin = function(value) { return jspb.Message.setProto3StringField(this, 7, value); }; /** * optional string route_amount = 9; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRouteAmount = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setRouteAmount = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * optional string route_recipient = 10; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRouteRecipient = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setRouteRecipient = function(value) { return jspb.Message.setProto3StringField(this, 10, value); }; /** * optional string dest_chain_id = 11; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getDestChainId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setDestChainId = function(value) { return jspb.Message.setProto3StringField(this, 11, value); }; /** * optional string request_sender = 12; * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRequestSender = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); }; /** * @param {string} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setRequestSender = function(value) { return jspb.Message.setProto3StringField(this, 12, value); }; /** * optional bytes request_metadata = 13; * @return {!(string|Uint8Array)} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRequestMetadata = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 13, "")); }; /** * optional bytes request_metadata = 13; * This is a type-conversion wrapper around `getRequestMetadata()` * @return {string} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRequestMetadata_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getRequestMetadata())); }; /** * optional bytes request_metadata = 13; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getRequestMetadata()` * @return {!Uint8Array} */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.getRequestMetadata_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getRequestMetadata())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated} returns this */ proto.routerprotocol.routerchain.crosschain.EventCrosschainRequestCreated.prototype.setRequestMetadata = function(value) { return jspb.M