diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.d.ts b/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.d.ts index a4b5020..799abda 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.d.ts +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.d.ts @@ -393,6 +393,17 @@ export enum EthereumContractMethodIDType { ETHEREUM_CONTRACT_METHOD_ID_TYPE_INVALID = 0, ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_APPROVE = 1, ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL = 2, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_INITIALIZE = 3, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFIGURE_MINTER = 4, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT_AND_TRANSFER = 5, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT = 6, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BURN = 7, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_WHITELIST = 8, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_UNSET = 9, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_BLACKLIST = 10, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFISCATE = 11, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_PAUSE = 12, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_UNPAUSE = 13, } export enum IOSTActionType { diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.js b/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.js index fa16c79..4808cb3 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.js +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/enum_pb.js @@ -502,7 +502,18 @@ proto.adamant.global.v1.WalletConnectCallRequestType = { proto.adamant.global.v1.EthereumContractMethodIDType = { ETHEREUM_CONTRACT_METHOD_ID_TYPE_INVALID: 0, ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_APPROVE: 1, - ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL: 2 + ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL: 2, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_INITIALIZE: 3, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFIGURE_MINTER: 4, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT_AND_TRANSFER: 5, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT: 6, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BURN: 7, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_WHITELIST: 8, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_UNSET: 9, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_BLACKLIST: 10, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFISCATE: 11, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_PAUSE: 12, + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_UNPAUSE: 13 }; /** diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.d.ts b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.d.ts index 37009cd..ed14f19 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.d.ts +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.d.ts @@ -73,6 +73,7 @@ interface IGlobalAPIService extends grpc.ServiceDefinition; responseDeserialize: grpc.deserialize; } +interface IGlobalAPIService_IListUnconfirmedTransactionsByFilter extends grpc.MethodDefinition { + path: "/adamant.global.v1.GlobalAPI/ListUnconfirmedTransactionsByFilter"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface IGlobalAPIService_IGetSignInfo extends grpc.MethodDefinition { path: "/adamant.global.v1.GlobalAPI/GetSignInfo"; requestStream: false; @@ -1189,6 +1199,7 @@ export interface IGlobalAPIServer { getTransactionByTxID: grpc.handleUnaryCall; listTransactions: grpc.handleUnaryCall; listTransactionsByFilter: grpc.handleUnaryCall; + listUnconfirmedTransactionsByFilter: grpc.handleUnaryCall; getSignInfo: grpc.handleUnaryCall; listSignInfo: grpc.handleUnaryCall; listXRPInitSignInfo: grpc.handleUnaryCall; @@ -1419,6 +1430,9 @@ export interface IGlobalAPIClient { listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; @@ -1756,6 +1770,9 @@ export class GlobalAPIClient extends grpc.Client implements IGlobalAPIClient { public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; public getSignInfo(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.GetSignInfoRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.SignInfo) => void): grpc.ClientUnaryCall; diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.js b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.js index a0fb147..afc18a6 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.js +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_grpc_pb.js @@ -1320,6 +1320,28 @@ function deserialize_adamant_global_v1_ListTransfersResponse(buffer_arg) { return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransfersResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest)) { + throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse)) { + throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_adamant_global_v1_ListWalletGroupsRequest(arg) { if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListWalletGroupsRequest)) { throw new Error('Expected argument of type adamant.global.v1.ListWalletGroupsRequest'); @@ -2655,6 +2677,18 @@ createTransaction: { responseSerialize: serialize_adamant_global_v1_ListTransactionsResponse, responseDeserialize: deserialize_adamant_global_v1_ListTransactionsResponse, }, + // UnconfirmedTransaction +listUnconfirmedTransactionsByFilter: { + path: '/adamant.global.v1.GlobalAPI/ListUnconfirmedTransactionsByFilter', + requestStream: false, + responseStream: false, + requestType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, + responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse, + requestSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest, + requestDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest, + responseSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse, + responseDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse, + }, // SignInfo getSignInfo: { path: '/adamant.global.v1.GlobalAPI/GetSignInfo', diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.d.ts b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.d.ts index f58d58e..a978918 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.d.ts +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.d.ts @@ -1734,6 +1734,11 @@ export class CreateTransactionRequest extends jspb.Message { getAptosSpecific(): gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific | undefined; setAptosSpecific(value?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific): CreateTransactionRequest; + hasAvalancheSpecific(): boolean; + clearAvalancheSpecific(): void; + getAvalancheSpecific(): gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific | undefined; + setAvalancheSpecific(value?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific): CreateTransactionRequest; + hasUtxoSpecific(): boolean; clearUtxoSpecific(): void; getUtxoSpecific(): UtxoSpecific | undefined; @@ -1769,6 +1774,7 @@ export namespace CreateTransactionRequest { hederaSpecific?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionHederaSpecific.AsObject, solanaSpecific?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionSolanaSpecific.AsObject, aptosSpecific?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific.AsObject, + avalancheSpecific?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific.AsObject, utxoSpecific?: UtxoSpecific.AsObject, } } @@ -2378,6 +2384,98 @@ export namespace ListTransactionsResponse { } } +export class ListUnconfirmedTransactionsByFilterRequest extends jspb.Message { + getFilterType(): gincoinc_adamant_global_v1_adamantglobalv1_enum_pb.ListFilterType; + setFilterType(value: gincoinc_adamant_global_v1_adamantglobalv1_enum_pb.ListFilterType): ListUnconfirmedTransactionsByFilterRequest; + getTransactionId(): string; + setTransactionId(value: string): ListUnconfirmedTransactionsByFilterRequest; + getWalletId(): string; + setWalletId(value: string): ListUnconfirmedTransactionsByFilterRequest; + getWalletName(): string; + setWalletName(value: string): ListUnconfirmedTransactionsByFilterRequest; + getAddress(): string; + setAddress(value: string): ListUnconfirmedTransactionsByFilterRequest; + getTxid(): string; + setTxid(value: string): ListUnconfirmedTransactionsByFilterRequest; + getCoin(): gincoinc_global_v1_gincoincglobalv1_enum_pb.Coin; + setCoin(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.Coin): ListUnconfirmedTransactionsByFilterRequest; + + hasNetwork(): boolean; + clearNetwork(): void; + getNetwork(): gincoinc_global_v1_gincoincglobalv1_enum_pb.Network | undefined; + setNetwork(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.Network): ListUnconfirmedTransactionsByFilterRequest; + clearWalletTypeList(): void; + getWalletTypeList(): Array; + setWalletTypeList(value: Array): ListUnconfirmedTransactionsByFilterRequest; + addWalletType(value: gincoinc_adamant_global_v1_adamantglobalv1_enum_pb.WalletType, index?: number): gincoinc_adamant_global_v1_adamantglobalv1_enum_pb.WalletType; + getPageSize(): number; + setPageSize(value: number): ListUnconfirmedTransactionsByFilterRequest; + getPageToken(): string; + setPageToken(value: string): ListUnconfirmedTransactionsByFilterRequest; + + hasStartTime(): boolean; + clearStartTime(): void; + getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): ListUnconfirmedTransactionsByFilterRequest; + + hasEndTime(): boolean; + clearEndTime(): void; + getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): ListUnconfirmedTransactionsByFilterRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListUnconfirmedTransactionsByFilterRequest.AsObject; + static toObject(includeInstance: boolean, msg: ListUnconfirmedTransactionsByFilterRequest): ListUnconfirmedTransactionsByFilterRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListUnconfirmedTransactionsByFilterRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListUnconfirmedTransactionsByFilterRequest; + static deserializeBinaryFromReader(message: ListUnconfirmedTransactionsByFilterRequest, reader: jspb.BinaryReader): ListUnconfirmedTransactionsByFilterRequest; +} + +export namespace ListUnconfirmedTransactionsByFilterRequest { + export type AsObject = { + filterType: gincoinc_adamant_global_v1_adamantglobalv1_enum_pb.ListFilterType, + transactionId: string, + walletId: string, + walletName: string, + address: string, + txid: string, + coin: gincoinc_global_v1_gincoincglobalv1_enum_pb.Coin, + network?: gincoinc_global_v1_gincoincglobalv1_enum_pb.Network, + walletTypeList: Array, + pageSize: number, + pageToken: string, + startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class ListUnconfirmedTransactionsResponse extends jspb.Message { + clearUnconfirmedTransactionsList(): void; + getUnconfirmedTransactionsList(): Array; + setUnconfirmedTransactionsList(value: Array): ListUnconfirmedTransactionsResponse; + addUnconfirmedTransactions(value?: gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction, index?: number): gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction; + getNextPageToken(): string; + setNextPageToken(value: string): ListUnconfirmedTransactionsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListUnconfirmedTransactionsResponse.AsObject; + static toObject(includeInstance: boolean, msg: ListUnconfirmedTransactionsResponse): ListUnconfirmedTransactionsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListUnconfirmedTransactionsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListUnconfirmedTransactionsResponse; + static deserializeBinaryFromReader(message: ListUnconfirmedTransactionsResponse, reader: jspb.BinaryReader): ListUnconfirmedTransactionsResponse; +} + +export namespace ListUnconfirmedTransactionsResponse { + export type AsObject = { + unconfirmedTransactionsList: Array, + nextPageToken: string, + } +} + export class GetSignInfoRequest extends jspb.Message { getWalletId(): string; setWalletId(value: string): GetSignInfoRequest; @@ -3364,6 +3462,11 @@ export class CalculateFeeRequest extends jspb.Message { getSolanaSpecific(): CalculateFeeSolanaSpecific | undefined; setSolanaSpecific(value?: CalculateFeeSolanaSpecific): CalculateFeeRequest; + hasAvalancheSpecific(): boolean; + clearAvalancheSpecific(): void; + getAvalancheSpecific(): CalculateFeeAvalancheSpecific | undefined; + setAvalancheSpecific(value?: CalculateFeeAvalancheSpecific): CalculateFeeRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CalculateFeeRequest.AsObject; static toObject(includeInstance: boolean, msg: CalculateFeeRequest): CalculateFeeRequest.AsObject; @@ -3391,6 +3494,7 @@ export namespace CalculateFeeRequest { rbfSpecific?: CalculateFeeRbfSpecific.AsObject, utxoSpecific?: UtxoSpecific.AsObject, solanaSpecific?: CalculateFeeSolanaSpecific.AsObject, + avalancheSpecific?: CalculateFeeAvalancheSpecific.AsObject, } } @@ -3588,6 +3692,29 @@ export namespace UtxoSpecific { } } +export class CalculateFeeAvalancheSpecific extends jspb.Message { + + hasTxType(): boolean; + clearTxType(): void; + getTxType(): gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType | undefined; + setTxType(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType): CalculateFeeAvalancheSpecific; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CalculateFeeAvalancheSpecific.AsObject; + static toObject(includeInstance: boolean, msg: CalculateFeeAvalancheSpecific): CalculateFeeAvalancheSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CalculateFeeAvalancheSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CalculateFeeAvalancheSpecific; + static deserializeBinaryFromReader(message: CalculateFeeAvalancheSpecific, reader: jspb.BinaryReader): CalculateFeeAvalancheSpecific; +} + +export namespace CalculateFeeAvalancheSpecific { + export type AsObject = { + txType?: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType, + } +} + export class CalculateFeeResponse extends jspb.Message { getFee(): number; setFee(value: number): CalculateFeeResponse; @@ -3711,6 +3838,11 @@ export class ValidateAddressRequest extends jspb.Message { getAddress(): string; setAddress(value: string): ValidateAddressRequest; + hasNetwork(): boolean; + clearNetwork(): void; + getNetwork(): gincoinc_global_v1_gincoincglobalv1_enum_pb.Network | undefined; + setNetwork(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.Network): ValidateAddressRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ValidateAddressRequest.AsObject; static toObject(includeInstance: boolean, msg: ValidateAddressRequest): ValidateAddressRequest.AsObject; @@ -3725,6 +3857,7 @@ export namespace ValidateAddressRequest { export type AsObject = { coin: gincoinc_global_v1_gincoincglobalv1_enum_pb.Coin, address: string, + network?: gincoinc_global_v1_gincoincglobalv1_enum_pb.Network, } } diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.js b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.js index 35fd279..6aa2b3d 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.js +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/global_api_pb.js @@ -34,6 +34,7 @@ goog.exportSymbol('proto.adamant.global.v1.ApproveWalletRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.ArchiveWalletRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.BatchGetWalletsWithoutBalanceRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.BatchGetWalletsWithoutBalanceResponse', null, global); +goog.exportSymbol('proto.adamant.global.v1.CalculateFeeAvalancheSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CalculateFeeCosmosSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CalculateFeeEthereumSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CalculateFeeHederaSpecific', null, global); @@ -195,6 +196,8 @@ goog.exportSymbol('proto.adamant.global.v1.ListUTXOsRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.ListUTXOsResponse', null, global); goog.exportSymbol('proto.adamant.global.v1.ListUncheckedTransfersByFilterRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.ListUncheckedTransfersResponse', null, global); +goog.exportSymbol('proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest', null, global); +goog.exportSymbol('proto.adamant.global.v1.ListUnconfirmedTransactionsResponse', null, global); goog.exportSymbol('proto.adamant.global.v1.ListWalletBalanceSnapshotsRequest', null, global); goog.exportSymbol('proto.adamant.global.v1.ListWalletBalanceSnapshotsResponse', null, global); goog.exportSymbol('proto.adamant.global.v1.ListWalletFlushSettingsResponse', null, global); @@ -2214,6 +2217,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.ListTransactionsResponse.displayName = 'proto.adamant.global.v1.ListTransactionsResponse'; } +/** + * 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.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.displayName = 'proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest'; +} +/** + * 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.adamant.global.v1.ListUnconfirmedTransactionsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.ListUnconfirmedTransactionsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.displayName = 'proto.adamant.global.v1.ListUnconfirmedTransactionsResponse'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -3159,6 +3204,27 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.UtxoSpecific.displayName = 'proto.adamant.global.v1.UtxoSpecific'; } +/** + * 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.adamant.global.v1.CalculateFeeAvalancheSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.adamant.global.v1.CalculateFeeAvalancheSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.CalculateFeeAvalancheSpecific.displayName = 'proto.adamant.global.v1.CalculateFeeAvalancheSpecific'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -17021,6 +17087,7 @@ proto.adamant.global.v1.CreateTransactionRequest.toObject = function(includeInst hederaSpecific: (f = msg.getHederaSpecific()) && gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionHederaSpecific.toObject(includeInstance, f), solanaSpecific: (f = msg.getSolanaSpecific()) && gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionSolanaSpecific.toObject(includeInstance, f), aptosSpecific: (f = msg.getAptosSpecific()) && gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific.toObject(includeInstance, f), + avalancheSpecific: (f = msg.getAvalancheSpecific()) && gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific.toObject(includeInstance, f), utxoSpecific: (f = msg.getUtxoSpecific()) && proto.adamant.global.v1.UtxoSpecific.toObject(includeInstance, f) }; @@ -17142,6 +17209,11 @@ proto.adamant.global.v1.CreateTransactionRequest.deserializeBinaryFromReader = f reader.readMessage(value,gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific.deserializeBinaryFromReader); msg.setAptosSpecific(value); break; + case 20: + var value = new gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific; + reader.readMessage(value,gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific.deserializeBinaryFromReader); + msg.setAvalancheSpecific(value); + break; case 18: var value = new proto.adamant.global.v1.UtxoSpecific; reader.readMessage(value,proto.adamant.global.v1.UtxoSpecific.deserializeBinaryFromReader); @@ -17314,6 +17386,14 @@ proto.adamant.global.v1.CreateTransactionRequest.serializeBinaryToWriter = funct gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAptosSpecific.serializeBinaryToWriter ); } + f = message.getAvalancheSpecific(); + if (f != null) { + writer.writeMessage( + 20, + f, + gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific.serializeBinaryToWriter + ); + } f = message.getUtxoSpecific(); if (f != null) { writer.writeMessage( @@ -17878,6 +17958,43 @@ proto.adamant.global.v1.CreateTransactionRequest.prototype.hasAptosSpecific = fu }; +/** + * optional CreateTransactionAvalancheSpecific avalanche_specific = 20; + * @return {?proto.adamant.global.v1.CreateTransactionAvalancheSpecific} + */ +proto.adamant.global.v1.CreateTransactionRequest.prototype.getAvalancheSpecific = function() { + return /** @type{?proto.adamant.global.v1.CreateTransactionAvalancheSpecific} */ ( + jspb.Message.getWrapperField(this, gincoinc_adamant_global_v1_adamantglobalv1_model_pb.CreateTransactionAvalancheSpecific, 20)); +}; + + +/** + * @param {?proto.adamant.global.v1.CreateTransactionAvalancheSpecific|undefined} value + * @return {!proto.adamant.global.v1.CreateTransactionRequest} returns this +*/ +proto.adamant.global.v1.CreateTransactionRequest.prototype.setAvalancheSpecific = function(value) { + return jspb.Message.setWrapperField(this, 20, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionRequest} returns this + */ +proto.adamant.global.v1.CreateTransactionRequest.prototype.clearAvalancheSpecific = function() { + return this.setAvalancheSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CreateTransactionRequest.prototype.hasAvalancheSpecific = function() { + return jspb.Message.getField(this, 20) != null; +}; + + /** * optional UtxoSpecific utxo_specific = 18; * @return {?proto.adamant.global.v1.UtxoSpecific} @@ -22307,6 +22424,13 @@ proto.adamant.global.v1.ListTransactionsResponse.prototype.setNextPageToken = fu +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.repeatedFields_ = [9]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -22322,8 +22446,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.GetSignInfoRequest.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.GetSignInfoRequest.toObject(opt_includeInstance, this); +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.toObject(opt_includeInstance, this); }; @@ -22332,14 +22456,25 @@ proto.adamant.global.v1.GetSignInfoRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.GetSignInfoRequest} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.GetSignInfoRequest.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), - transactionId: jspb.Message.getFieldWithDefault(msg, 2, "") + filterType: jspb.Message.getFieldWithDefault(msg, 1, 0), + transactionId: jspb.Message.getFieldWithDefault(msg, 2, ""), + walletId: jspb.Message.getFieldWithDefault(msg, 3, ""), + walletName: jspb.Message.getFieldWithDefault(msg, 4, ""), + address: jspb.Message.getFieldWithDefault(msg, 5, ""), + txid: jspb.Message.getFieldWithDefault(msg, 6, ""), + coin: jspb.Message.getFieldWithDefault(msg, 7, 0), + network: jspb.Message.getFieldWithDefault(msg, 8, 0), + walletTypeList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, + pageSize: jspb.Message.getFieldWithDefault(msg, 10, 0), + pageToken: jspb.Message.getFieldWithDefault(msg, 11, ""), + startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -22353,23 +22488,23 @@ proto.adamant.global.v1.GetSignInfoRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.GetSignInfoRequest} + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} */ -proto.adamant.global.v1.GetSignInfoRequest.deserializeBinary = function(bytes) { +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.GetSignInfoRequest; - return proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest; + return proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.GetSignInfoRequest} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.GetSignInfoRequest} + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} */ -proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -22377,13 +22512,61 @@ proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setWalletId(value); + var value = /** @type {!proto.adamant.global.v1.ListFilterType} */ (reader.readEnum()); + msg.setFilterType(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setTransactionId(value); break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setWalletId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setWalletName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAddress(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTxid(value); + break; + case 7: + var value = /** @type {!proto.gincoinc.global.v1.Coin} */ (reader.readEnum()); + msg.setCoin(value); + break; + case 8: + var value = /** @type {!proto.gincoinc.global.v1.Network} */ (reader.readEnum()); + msg.setNetwork(value); + break; + case 9: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addWalletType(values[i]); + } + break; + case 10: + var value = /** @type {number} */ (reader.readUint32()); + msg.setPageSize(value); + break; + case 11: + var value = /** @type {string} */ (reader.readString()); + msg.setPageToken(value); + break; + case 12: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setStartTime(value); + break; + case 13: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setEndTime(value); + break; default: reader.skipField(); break; @@ -22397,9 +22580,9 @@ proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.GetSignInfoRequest.prototype.serializeBinary = function() { +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.GetSignInfoRequest.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -22407,15 +22590,15 @@ proto.adamant.global.v1.GetSignInfoRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.GetSignInfoRequest} message + * @param {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.GetSignInfoRequest.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getWalletId(); - if (f.length > 0) { - writer.writeString( + f = message.getFilterType(); + if (f !== 0.0) { + writer.writeEnum( 1, f ); @@ -22427,13 +22610,715 @@ proto.adamant.global.v1.GetSignInfoRequest.serializeBinaryToWriter = function(me f ); } + f = message.getWalletId(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getWalletName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAddress(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getTxid(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getCoin(); + if (f !== 0.0) { + writer.writeEnum( + 7, + f + ); + } + f = /** @type {!proto.gincoinc.global.v1.Network} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeEnum( + 8, + f + ); + } + f = message.getWalletTypeList(); + if (f.length > 0) { + writer.writePackedEnum( + 9, + f + ); + } + f = message.getPageSize(); + if (f !== 0) { + writer.writeUint32( + 10, + f + ); + } + f = message.getPageToken(); + if (f.length > 0) { + writer.writeString( + 11, + f + ); + } + f = message.getStartTime(); + if (f != null) { + writer.writeMessage( + 12, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getEndTime(); + if (f != null) { + writer.writeMessage( + 13, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } }; /** - * optional string wallet_id = 1; - * @return {string} - */ + * optional ListFilterType filter_type = 1; + * @return {!proto.adamant.global.v1.ListFilterType} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getFilterType = function() { + return /** @type {!proto.adamant.global.v1.ListFilterType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.adamant.global.v1.ListFilterType} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setFilterType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional string transaction_id = 2; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getTransactionId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setTransactionId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string wallet_id = 3; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getWalletId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setWalletId = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string wallet_name = 4; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getWalletName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setWalletName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string address = 5; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setAddress = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string txid = 6; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getTxid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setTxid = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional gincoinc.global.v1.Coin coin = 7; + * @return {!proto.gincoinc.global.v1.Coin} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getCoin = function() { + return /** @type {!proto.gincoinc.global.v1.Coin} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {!proto.gincoinc.global.v1.Coin} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setCoin = function(value) { + return jspb.Message.setProto3EnumField(this, 7, value); +}; + + +/** + * optional gincoinc.global.v1.Network network = 8; + * @return {!proto.gincoinc.global.v1.Network} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getNetwork = function() { + return /** @type {!proto.gincoinc.global.v1.Network} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); +}; + + +/** + * @param {!proto.gincoinc.global.v1.Network} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setNetwork = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.clearNetwork = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.hasNetwork = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * repeated WalletType wallet_type = 9; + * @return {!Array} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getWalletTypeList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 9)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setWalletTypeList = function(value) { + return jspb.Message.setField(this, 9, value || []); +}; + + +/** + * @param {!proto.adamant.global.v1.WalletType} value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.addWalletType = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 9, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.clearWalletTypeList = function() { + return this.setWalletTypeList([]); +}; + + +/** + * optional uint32 page_size = 10; + * @return {number} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getPageSize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setPageSize = function(value) { + return jspb.Message.setProto3IntField(this, 10, value); +}; + + +/** + * optional string page_token = 11; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setPageToken = function(value) { + return jspb.Message.setProto3StringField(this, 11, value); +}; + + +/** + * optional google.protobuf.Timestamp start_time = 12; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getStartTime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this +*/ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setStartTime = function(value) { + return jspb.Message.setWrapperField(this, 12, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.clearStartTime = function() { + return this.setStartTime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.hasStartTime = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * optional google.protobuf.Timestamp end_time = 13; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.getEndTime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this +*/ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.setEndTime = function(value) { + return jspb.Message.setWrapperField(this, 13, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.clearEndTime = function() { + return this.setEndTime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest.prototype.hasEndTime = function() { + return jspb.Message.getField(this, 13) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.repeatedFields_ = [1]; + + + +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_, 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.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.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.adamant.global.v1.ListUnconfirmedTransactionsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + unconfirmedTransactionsList: jspb.Message.toObjectList(msg.getUnconfirmedTransactionsList(), + gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction.toObject, includeInstance), + nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.ListUnconfirmedTransactionsResponse; + return proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction; + reader.readMessage(value,gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction.deserializeBinaryFromReader); + msg.addUnconfirmedTransactions(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUnconfirmedTransactionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction.serializeBinaryToWriter + ); + } + f = message.getNextPageToken(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * repeated UnconfirmedTransaction unconfirmed_transactions = 1; + * @return {!Array} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.getUnconfirmedTransactionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, gincoinc_adamant_global_v1_adamantglobalv1_model_pb.UnconfirmedTransaction, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} returns this +*/ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.setUnconfirmedTransactionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.adamant.global.v1.UnconfirmedTransaction=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.addUnconfirmedTransactions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.UnconfirmedTransaction, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.clearUnconfirmedTransactionsList = function() { + return this.setUnconfirmedTransactionsList([]); +}; + + +/** + * optional string next_page_token = 2; + * @return {string} + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ListUnconfirmedTransactionsResponse} returns this + */ +proto.adamant.global.v1.ListUnconfirmedTransactionsResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +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_, 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.adamant.global.v1.GetSignInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.GetSignInfoRequest.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.adamant.global.v1.GetSignInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.GetSignInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), + transactionId: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.GetSignInfoRequest} + */ +proto.adamant.global.v1.GetSignInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.GetSignInfoRequest; + return proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.GetSignInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.GetSignInfoRequest} + */ +proto.adamant.global.v1.GetSignInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setWalletId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTransactionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.GetSignInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.GetSignInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.GetSignInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.GetSignInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWalletId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTransactionId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string wallet_id = 1; + * @return {string} + */ proto.adamant.global.v1.GetSignInfoRequest.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; @@ -29108,7 +29993,8 @@ proto.adamant.global.v1.CalculateFeeRequest.toObject = function(includeInstance, hederaSpecific: (f = msg.getHederaSpecific()) && proto.adamant.global.v1.CalculateFeeHederaSpecific.toObject(includeInstance, f), rbfSpecific: (f = msg.getRbfSpecific()) && proto.adamant.global.v1.CalculateFeeRbfSpecific.toObject(includeInstance, f), utxoSpecific: (f = msg.getUtxoSpecific()) && proto.adamant.global.v1.UtxoSpecific.toObject(includeInstance, f), - solanaSpecific: (f = msg.getSolanaSpecific()) && proto.adamant.global.v1.CalculateFeeSolanaSpecific.toObject(includeInstance, f) + solanaSpecific: (f = msg.getSolanaSpecific()) && proto.adamant.global.v1.CalculateFeeSolanaSpecific.toObject(includeInstance, f), + avalancheSpecific: (f = msg.getAvalancheSpecific()) && proto.adamant.global.v1.CalculateFeeAvalancheSpecific.toObject(includeInstance, f) }; if (includeInstance) { @@ -29215,6 +30101,11 @@ proto.adamant.global.v1.CalculateFeeRequest.deserializeBinaryFromReader = functi reader.readMessage(value,proto.adamant.global.v1.CalculateFeeSolanaSpecific.deserializeBinaryFromReader); msg.setSolanaSpecific(value); break; + case 16: + var value = new proto.adamant.global.v1.CalculateFeeAvalancheSpecific; + reader.readMessage(value,proto.adamant.global.v1.CalculateFeeAvalancheSpecific.deserializeBinaryFromReader); + msg.setAvalancheSpecific(value); + break; default: reader.skipField(); break; @@ -29359,6 +30250,14 @@ proto.adamant.global.v1.CalculateFeeRequest.serializeBinaryToWriter = function(m proto.adamant.global.v1.CalculateFeeSolanaSpecific.serializeBinaryToWriter ); } + f = message.getAvalancheSpecific(); + if (f != null) { + writer.writeMessage( + 16, + f, + proto.adamant.global.v1.CalculateFeeAvalancheSpecific.serializeBinaryToWriter + ); + } }; @@ -29823,6 +30722,43 @@ proto.adamant.global.v1.CalculateFeeRequest.prototype.hasSolanaSpecific = functi }; +/** + * optional CalculateFeeAvalancheSpecific avalanche_specific = 16; + * @return {?proto.adamant.global.v1.CalculateFeeAvalancheSpecific} + */ +proto.adamant.global.v1.CalculateFeeRequest.prototype.getAvalancheSpecific = function() { + return /** @type{?proto.adamant.global.v1.CalculateFeeAvalancheSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.CalculateFeeAvalancheSpecific, 16)); +}; + + +/** + * @param {?proto.adamant.global.v1.CalculateFeeAvalancheSpecific|undefined} value + * @return {!proto.adamant.global.v1.CalculateFeeRequest} returns this +*/ +proto.adamant.global.v1.CalculateFeeRequest.prototype.setAvalancheSpecific = function(value) { + return jspb.Message.setWrapperField(this, 16, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.CalculateFeeRequest} returns this + */ +proto.adamant.global.v1.CalculateFeeRequest.prototype.clearAvalancheSpecific = function() { + return this.setAvalancheSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CalculateFeeRequest.prototype.hasAvalancheSpecific = function() { + return jspb.Message.getField(this, 16) != null; +}; + + @@ -31134,6 +32070,154 @@ proto.adamant.global.v1.UtxoSpecific.prototype.clearSelectedUtxosList = function +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_, 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.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CalculateFeeAvalancheSpecific.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.adamant.global.v1.CalculateFeeAvalancheSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + txType: jspb.Message.getFieldWithDefault(msg, 1, 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.adamant.global.v1.CalculateFeeAvalancheSpecific} + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.CalculateFeeAvalancheSpecific; + return proto.adamant.global.v1.CalculateFeeAvalancheSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.CalculateFeeAvalancheSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.CalculateFeeAvalancheSpecific} + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (reader.readEnum()); + msg.setTxType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.CalculateFeeAvalancheSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.CalculateFeeAvalancheSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * optional gincoinc.global.v1.AvalancheTxType tx_type = 1; + * @return {!proto.gincoinc.global.v1.AvalancheTxType} + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.gincoinc.global.v1.AvalancheTxType} value + * @return {!proto.adamant.global.v1.CalculateFeeAvalancheSpecific} returns this + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.setTxType = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.CalculateFeeAvalancheSpecific} returns this + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.clearTxType = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CalculateFeeAvalancheSpecific.prototype.hasTxType = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -31983,7 +33067,8 @@ proto.adamant.global.v1.ValidateAddressRequest.prototype.toObject = function(opt proto.adamant.global.v1.ValidateAddressRequest.toObject = function(includeInstance, msg) { var f, obj = { coin: jspb.Message.getFieldWithDefault(msg, 1, 0), - address: jspb.Message.getFieldWithDefault(msg, 2, "") + address: jspb.Message.getFieldWithDefault(msg, 2, ""), + network: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -32028,6 +33113,10 @@ proto.adamant.global.v1.ValidateAddressRequest.deserializeBinaryFromReader = fun var value = /** @type {string} */ (reader.readString()); msg.setAddress(value); break; + case 3: + var value = /** @type {!proto.gincoinc.global.v1.Network} */ (reader.readEnum()); + msg.setNetwork(value); + break; default: reader.skipField(); break; @@ -32071,6 +33160,13 @@ proto.adamant.global.v1.ValidateAddressRequest.serializeBinaryToWriter = functio f ); } + f = /** @type {!proto.gincoinc.global.v1.Network} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeEnum( + 3, + f + ); + } }; @@ -32110,6 +33206,42 @@ proto.adamant.global.v1.ValidateAddressRequest.prototype.setAddress = function(v }; +/** + * optional gincoinc.global.v1.Network network = 3; + * @return {!proto.gincoinc.global.v1.Network} + */ +proto.adamant.global.v1.ValidateAddressRequest.prototype.getNetwork = function() { + return /** @type {!proto.gincoinc.global.v1.Network} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.gincoinc.global.v1.Network} value + * @return {!proto.adamant.global.v1.ValidateAddressRequest} returns this + */ +proto.adamant.global.v1.ValidateAddressRequest.prototype.setNetwork = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.ValidateAddressRequest} returns this + */ +proto.adamant.global.v1.ValidateAddressRequest.prototype.clearNetwork = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.ValidateAddressRequest.prototype.hasNetwork = function() { + return jspb.Message.getField(this, 3) != null; +}; + + diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.d.ts b/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.d.ts index 1c6700d..3ba9bc8 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.d.ts +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.d.ts @@ -840,6 +840,11 @@ export class Transaction extends jspb.Message { getDogecoinSpecific(): DogecoinSpecific | undefined; setDogecoinSpecific(value?: DogecoinSpecific): Transaction; + hasAvalanchePlatformChainSpecific(): boolean; + clearAvalanchePlatformChainSpecific(): void; + getAvalanchePlatformChainSpecific(): AvalanchePlatformChainSpecific | undefined; + setAvalanchePlatformChainSpecific(value?: AvalanchePlatformChainSpecific): Transaction; + hasCreateTime(): boolean; clearCreateTime(): void; getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; @@ -907,11 +912,104 @@ export namespace Transaction { arbitrumOneSpecific?: ArbitrumOneSpecific.AsObject, aptosSpecific?: AptosSpecific.AsObject, dogecoinSpecific?: DogecoinSpecific.AsObject, + avalanchePlatformChainSpecific?: AvalanchePlatformChainSpecific.AsObject, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, } } +export class UnconfirmedTransaction extends jspb.Message { + getWalletId(): string; + setWalletId(value: string): UnconfirmedTransaction; + getTransactionId(): string; + setTransactionId(value: string): UnconfirmedTransaction; + getTxId(): string; + setTxId(value: string): UnconfirmedTransaction; + getValue(): number; + setValue(value: number): UnconfirmedTransaction; + getStringValue(): string; + setStringValue(value: string): UnconfirmedTransaction; + getAddress(): string; + setAddress(value: string): UnconfirmedTransaction; + getFee(): number; + setFee(value: number): UnconfirmedTransaction; + getStringFee(): string; + setStringFee(value: string): UnconfirmedTransaction; + getFeeRate(): number; + setFeeRate(value: number): UnconfirmedTransaction; + + hasCreateTime(): boolean; + clearCreateTime(): void; + getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): UnconfirmedTransaction; + + hasBitcoinSpecific(): boolean; + clearBitcoinSpecific(): void; + getBitcoinSpecific(): BitcoinSpecific | undefined; + setBitcoinSpecific(value?: BitcoinSpecific): UnconfirmedTransaction; + + hasLitecoinSpecific(): boolean; + clearLitecoinSpecific(): void; + getLitecoinSpecific(): LitecoinSpecific | undefined; + setLitecoinSpecific(value?: LitecoinSpecific): UnconfirmedTransaction; + + hasBitcoincashSpecific(): boolean; + clearBitcoincashSpecific(): void; + getBitcoincashSpecific(): BitcoincashSpecific | undefined; + setBitcoincashSpecific(value?: BitcoincashSpecific): UnconfirmedTransaction; + + hasC0banSpecific(): boolean; + clearC0banSpecific(): void; + getC0banSpecific(): C0banSpecific | undefined; + setC0banSpecific(value?: C0banSpecific): UnconfirmedTransaction; + + hasCardanoSpecific(): boolean; + clearCardanoSpecific(): void; + getCardanoSpecific(): CardanoSpecific | undefined; + setCardanoSpecific(value?: CardanoSpecific): UnconfirmedTransaction; + + hasMonacoinSpecific(): boolean; + clearMonacoinSpecific(): void; + getMonacoinSpecific(): MonacoinSpecific | undefined; + setMonacoinSpecific(value?: MonacoinSpecific): UnconfirmedTransaction; + + hasAvalanchePlatformChainSpecific(): boolean; + clearAvalanchePlatformChainSpecific(): void; + getAvalanchePlatformChainSpecific(): AvalanchePlatformChainSpecific | undefined; + setAvalanchePlatformChainSpecific(value?: AvalanchePlatformChainSpecific): UnconfirmedTransaction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UnconfirmedTransaction.AsObject; + static toObject(includeInstance: boolean, msg: UnconfirmedTransaction): UnconfirmedTransaction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UnconfirmedTransaction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UnconfirmedTransaction; + static deserializeBinaryFromReader(message: UnconfirmedTransaction, reader: jspb.BinaryReader): UnconfirmedTransaction; +} + +export namespace UnconfirmedTransaction { + export type AsObject = { + walletId: string, + transactionId: string, + txId: string, + value: number, + stringValue: string, + address: string, + fee: number, + stringFee: string, + feeRate: number, + createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + bitcoinSpecific?: BitcoinSpecific.AsObject, + litecoinSpecific?: LitecoinSpecific.AsObject, + bitcoincashSpecific?: BitcoincashSpecific.AsObject, + c0banSpecific?: C0banSpecific.AsObject, + cardanoSpecific?: CardanoSpecific.AsObject, + monacoinSpecific?: MonacoinSpecific.AsObject, + avalanchePlatformChainSpecific?: AvalanchePlatformChainSpecific.AsObject, + } +} + export class TransactionMember extends jspb.Message { getAccountId(): string; setAccountId(value: string): TransactionMember; @@ -1027,6 +1125,11 @@ export class UTXO extends jspb.Message { getCardanoSpecific(): CardanoUTXOSpecific | undefined; setCardanoSpecific(value?: CardanoUTXOSpecific): UTXO; + hasAvalanchePlatformChainSpecific(): boolean; + clearAvalanchePlatformChainSpecific(): void; + getAvalanchePlatformChainSpecific(): AvalanchePlatformChainUTXOSpecific | undefined; + setAvalanchePlatformChainSpecific(value?: AvalanchePlatformChainUTXOSpecific): UTXO; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UTXO.AsObject; static toObject(includeInstance: boolean, msg: UTXO): UTXO.AsObject; @@ -1046,6 +1149,7 @@ export namespace UTXO { address: string, transactionId: string, cardanoSpecific?: CardanoUTXOSpecific.AsObject, + avalanchePlatformChainSpecific?: AvalanchePlatformChainUTXOSpecific.AsObject, } } @@ -1071,6 +1175,31 @@ export namespace CardanoUTXOSpecific { } } +export class AvalanchePlatformChainUTXOSpecific extends jspb.Message { + getThreshold(): number; + setThreshold(value: number): AvalanchePlatformChainUTXOSpecific; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): AvalanchePlatformChainUTXOSpecific; + addAddresses(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AvalanchePlatformChainUTXOSpecific.AsObject; + static toObject(includeInstance: boolean, msg: AvalanchePlatformChainUTXOSpecific): AvalanchePlatformChainUTXOSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AvalanchePlatformChainUTXOSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AvalanchePlatformChainUTXOSpecific; + static deserializeBinaryFromReader(message: AvalanchePlatformChainUTXOSpecific, reader: jspb.BinaryReader): AvalanchePlatformChainUTXOSpecific; +} + +export namespace AvalanchePlatformChainUTXOSpecific { + export type AsObject = { + threshold: number, + addressesList: Array, + } +} + export class CardanoCustomToken extends jspb.Message { getPolicyId(): string; setPolicyId(value: string): CardanoCustomToken; @@ -1587,6 +1716,11 @@ export class AvalancheSpecific extends jspb.Message { getIsNextNonce(): boolean; setIsNextNonce(value: boolean): AvalancheSpecific; + hasAtomicTx(): boolean; + clearAtomicTx(): void; + getAtomicTx(): AtomicTx | undefined; + setAtomicTx(value?: AtomicTx): AvalancheSpecific; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AvalancheSpecific.AsObject; static toObject(includeInstance: boolean, msg: AvalancheSpecific): AvalancheSpecific.AsObject; @@ -1602,6 +1736,7 @@ export namespace AvalancheSpecific { gasLimit: number, nonce: number, isNextNonce: boolean, + atomicTx?: AtomicTx.AsObject, } } @@ -1944,6 +2079,152 @@ export namespace ArbitrumOneSpecific { } } +export class AtomicTx extends jspb.Message { + getTxType(): gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType; + setTxType(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType): AtomicTx; + clearTxInputsList(): void; + getTxInputsList(): Array; + setTxInputsList(value: Array): AtomicTx; + addTxInputs(value?: AvalancheTxInput, index?: number): AvalancheTxInput; + clearTxOutputsList(): void; + getTxOutputsList(): Array; + setTxOutputsList(value: Array): AtomicTx; + addTxOutputs(value?: AvalancheTxOutput, index?: number): AvalancheTxOutput; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AtomicTx.AsObject; + static toObject(includeInstance: boolean, msg: AtomicTx): AtomicTx.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AtomicTx, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AtomicTx; + static deserializeBinaryFromReader(message: AtomicTx, reader: jspb.BinaryReader): AtomicTx; +} + +export namespace AtomicTx { + export type AsObject = { + txType: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType, + txInputsList: Array, + txOutputsList: Array, + } +} + +export class AvalanchePlatformChainSpecific extends jspb.Message { + getTxType(): gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType; + setTxType(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType): AvalanchePlatformChainSpecific; + clearTxInputsList(): void; + getTxInputsList(): Array; + setTxInputsList(value: Array): AvalanchePlatformChainSpecific; + addTxInputs(value?: AvalancheTxInput, index?: number): AvalancheTxInput; + clearTxOutputsList(): void; + getTxOutputsList(): Array; + setTxOutputsList(value: Array): AvalanchePlatformChainSpecific; + addTxOutputs(value?: AvalancheTxOutput, index?: number): AvalancheTxOutput; + getStartTime(): number; + setStartTime(value: number): AvalanchePlatformChainSpecific; + getEndTime(): number; + setEndTime(value: number): AvalanchePlatformChainSpecific; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AvalanchePlatformChainSpecific.AsObject; + static toObject(includeInstance: boolean, msg: AvalanchePlatformChainSpecific): AvalanchePlatformChainSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AvalanchePlatformChainSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AvalanchePlatformChainSpecific; + static deserializeBinaryFromReader(message: AvalanchePlatformChainSpecific, reader: jspb.BinaryReader): AvalanchePlatformChainSpecific; +} + +export namespace AvalanchePlatformChainSpecific { + export type AsObject = { + txType: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType, + txInputsList: Array, + txOutputsList: Array, + startTime: number, + endTime: number, + } +} + +export class AvalancheTxInput extends jspb.Message { + getTxId(): string; + setTxId(value: string): AvalancheTxInput; + getInputIndex(): number; + setInputIndex(value: number): AvalancheTxInput; + getInputIndexType(): number; + setInputIndexType(value: number): AvalancheTxInput; + getValue(): number; + setValue(value: number): AvalancheTxInput; + getStringValue(): string; + setStringValue(value: string): AvalancheTxInput; + clearAddressIndicesList(): void; + getAddressIndicesList(): Array; + setAddressIndicesList(value: Array): AvalancheTxInput; + addAddressIndices(value: number, index?: number): number; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AvalancheTxInput.AsObject; + static toObject(includeInstance: boolean, msg: AvalancheTxInput): AvalancheTxInput.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AvalancheTxInput, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AvalancheTxInput; + static deserializeBinaryFromReader(message: AvalancheTxInput, reader: jspb.BinaryReader): AvalancheTxInput; +} + +export namespace AvalancheTxInput { + export type AsObject = { + txId: string, + inputIndex: number, + inputIndexType: number, + value: number, + stringValue: string, + addressIndicesList: Array, + } +} + +export class AvalancheTxOutput extends jspb.Message { + getOutputIndex(): number; + setOutputIndex(value: number): AvalancheTxOutput; + getOutputType(): number; + setOutputType(value: number): AvalancheTxOutput; + getValue(): number; + setValue(value: number): AvalancheTxOutput; + getStringValue(): string; + setStringValue(value: string): AvalancheTxOutput; + getLocktime(): number; + setLocktime(value: number): AvalancheTxOutput; + getThreshold(): number; + setThreshold(value: number): AvalancheTxOutput; + getIsChange(): boolean; + setIsChange(value: boolean): AvalancheTxOutput; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): AvalancheTxOutput; + addAddresses(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AvalancheTxOutput.AsObject; + static toObject(includeInstance: boolean, msg: AvalancheTxOutput): AvalancheTxOutput.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AvalancheTxOutput, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AvalancheTxOutput; + static deserializeBinaryFromReader(message: AvalancheTxOutput, reader: jspb.BinaryReader): AvalancheTxOutput; +} + +export namespace AvalancheTxOutput { + export type AsObject = { + outputIndex: number, + outputType: number, + value: number, + stringValue: string, + locktime: number, + threshold: number, + isChange: boolean, + addressesList: Array, + } +} + export class CreateTransactionSubstrateSpecific extends jspb.Message { getTransactionId(): string; setTransactionId(value: string): CreateTransactionSubstrateSpecific; @@ -2094,6 +2375,11 @@ export class CreateTransactionEthereumSpecific extends jspb.Message { getCallMethod(): gincoinc_global_v1_gincoincglobalv1_enum_pb.EthereumCallMethod | undefined; setCallMethod(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.EthereumCallMethod): CreateTransactionEthereumSpecific; + hasUtilsAddress(): boolean; + clearUtilsAddress(): void; + getUtilsAddress(): string | undefined; + setUtilsAddress(value: string): CreateTransactionEthereumSpecific; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateTransactionEthereumSpecific.AsObject; static toObject(includeInstance: boolean, msg: CreateTransactionEthereumSpecific): CreateTransactionEthereumSpecific.AsObject; @@ -2109,6 +2395,7 @@ export namespace CreateTransactionEthereumSpecific { data: string, stakingRecipientWalletId?: string, callMethod?: gincoinc_global_v1_gincoincglobalv1_enum_pb.EthereumCallMethod, + utilsAddress?: string, } } @@ -2221,6 +2508,84 @@ export namespace CreateTransactionAptosSpecific { } } +export class CreateTransactionAvalancheSpecific extends jspb.Message { + + hasTxType(): boolean; + clearTxType(): void; + getTxType(): gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType | undefined; + setTxType(value: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType): CreateTransactionAvalancheSpecific; + + hasImportTxSpecific(): boolean; + clearImportTxSpecific(): void; + getImportTxSpecific(): ImportTxSpecific | undefined; + setImportTxSpecific(value?: ImportTxSpecific): CreateTransactionAvalancheSpecific; + + hasStakingSpecific(): boolean; + clearStakingSpecific(): void; + getStakingSpecific(): StakingSpecific | undefined; + setStakingSpecific(value?: StakingSpecific): CreateTransactionAvalancheSpecific; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateTransactionAvalancheSpecific.AsObject; + static toObject(includeInstance: boolean, msg: CreateTransactionAvalancheSpecific): CreateTransactionAvalancheSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateTransactionAvalancheSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateTransactionAvalancheSpecific; + static deserializeBinaryFromReader(message: CreateTransactionAvalancheSpecific, reader: jspb.BinaryReader): CreateTransactionAvalancheSpecific; +} + +export namespace CreateTransactionAvalancheSpecific { + export type AsObject = { + txType?: gincoinc_global_v1_gincoincglobalv1_enum_pb.AvalancheTxType, + importTxSpecific?: ImportTxSpecific.AsObject, + stakingSpecific?: StakingSpecific.AsObject, + } +} + +export class ImportTxSpecific extends jspb.Message { + getTxId(): string; + setTxId(value: string): ImportTxSpecific; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ImportTxSpecific.AsObject; + static toObject(includeInstance: boolean, msg: ImportTxSpecific): ImportTxSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ImportTxSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ImportTxSpecific; + static deserializeBinaryFromReader(message: ImportTxSpecific, reader: jspb.BinaryReader): ImportTxSpecific; +} + +export namespace ImportTxSpecific { + export type AsObject = { + txId: string, + } +} + +export class StakingSpecific extends jspb.Message { + getStartTime(): number; + setStartTime(value: number): StakingSpecific; + getEndTime(): number; + setEndTime(value: number): StakingSpecific; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StakingSpecific.AsObject; + static toObject(includeInstance: boolean, msg: StakingSpecific): StakingSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StakingSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StakingSpecific; + static deserializeBinaryFromReader(message: StakingSpecific, reader: jspb.BinaryReader): StakingSpecific; +} + +export namespace StakingSpecific { + export type AsObject = { + startTime: number, + endTime: number, + } +} + export class SelectedUTXO extends jspb.Message { getTxId(): string; setTxId(value: string): SelectedUTXO; @@ -4034,6 +4399,11 @@ export class StakingHistory extends jspb.Message { getEthereumSpecific(): StakingHistoryEthereumSpecific | undefined; setEthereumSpecific(value?: StakingHistoryEthereumSpecific): StakingHistory; + hasAvalancheSpecific(): boolean; + clearAvalancheSpecific(): void; + getAvalancheSpecific(): StakingHistoryAvalancheSpecific | undefined; + setAvalancheSpecific(value?: StakingHistoryAvalancheSpecific): StakingHistory; + hasCreateTime(): boolean; clearCreateTime(): void; getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; @@ -4069,6 +4439,7 @@ export namespace StakingHistory { eventType: gincoinc_global_v1_gincoincglobalv1_enum_pb.StakingEventType, eventId: string, ethereumSpecific?: StakingHistoryEthereumSpecific.AsObject, + avalancheSpecific?: StakingHistoryAvalancheSpecific.AsObject, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, } @@ -4115,6 +4486,37 @@ export namespace StakingHistoryEthereumSpecific { } } +export class StakingHistoryAvalancheSpecific extends jspb.Message { + getStartTime(): number; + setStartTime(value: number): StakingHistoryAvalancheSpecific; + getEndTime(): number; + setEndTime(value: number): StakingHistoryAvalancheSpecific; + getRewardsOwnerThreshold(): number; + setRewardsOwnerThreshold(value: number): StakingHistoryAvalancheSpecific; + clearRewardsOwnerAddressesList(): void; + getRewardsOwnerAddressesList(): Array; + setRewardsOwnerAddressesList(value: Array): StakingHistoryAvalancheSpecific; + addRewardsOwnerAddresses(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StakingHistoryAvalancheSpecific.AsObject; + static toObject(includeInstance: boolean, msg: StakingHistoryAvalancheSpecific): StakingHistoryAvalancheSpecific.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StakingHistoryAvalancheSpecific, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StakingHistoryAvalancheSpecific; + static deserializeBinaryFromReader(message: StakingHistoryAvalancheSpecific, reader: jspb.BinaryReader): StakingHistoryAvalancheSpecific; +} + +export namespace StakingHistoryAvalancheSpecific { + export type AsObject = { + startTime: number, + endTime: number, + rewardsOwnerThreshold: number, + rewardsOwnerAddressesList: Array, + } +} + export class StakingValidator extends jspb.Message { getStakingValidatorId(): string; setStakingValidatorId(value: string): StakingValidator; diff --git a/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.js b/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.js index 4faccfe..3c503a9 100644 --- a/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.js +++ b/gen/gincoinc/adamant/global/v1/adamantglobalv1/model_pb.js @@ -29,7 +29,12 @@ goog.exportSymbol('proto.adamant.global.v1.AddressWithoutBalance', null, global) goog.exportSymbol('proto.adamant.global.v1.AlgorandSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.AptosSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.ArbitrumOneSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.AtomicTx', null, global); +goog.exportSymbol('proto.adamant.global.v1.AvalanchePlatformChainSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.AvalancheSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.AvalancheTxInput', null, global); +goog.exportSymbol('proto.adamant.global.v1.AvalancheTxOutput', null, global); goog.exportSymbol('proto.adamant.global.v1.BNBSmartChainSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.BalanceSnapshot', null, global); goog.exportSymbol('proto.adamant.global.v1.BitcoinSpecific', null, global); @@ -45,6 +50,7 @@ goog.exportSymbol('proto.adamant.global.v1.CosmosDelegation', null, global); goog.exportSymbol('proto.adamant.global.v1.CosmosSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CreateTransactionAlgorandSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CreateTransactionAptosSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.CreateTransactionAvalancheSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CreateTransactionCosmosSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CreateTransactionEthereumSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.CreateTransactionHederaSpecific', null, global); @@ -67,6 +73,7 @@ goog.exportSymbol('proto.adamant.global.v1.HederaSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.IOSTCallerAccount', null, global); goog.exportSymbol('proto.adamant.global.v1.IOSTChildAccount', null, global); goog.exportSymbol('proto.adamant.global.v1.IOSTSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.ImportTxSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.JapanOpenChainSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.Key', null, global); goog.exportSymbol('proto.adamant.global.v1.KlaytnSpecific', null, global); @@ -95,7 +102,9 @@ goog.exportSymbol('proto.adamant.global.v1.SignInfo', null, global); goog.exportSymbol('proto.adamant.global.v1.SignTxInput', null, global); goog.exportSymbol('proto.adamant.global.v1.SolanaSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.StakingHistory', null, global); +goog.exportSymbol('proto.adamant.global.v1.StakingHistoryAvalancheSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.StakingHistoryEthereumSpecific', null, global); +goog.exportSymbol('proto.adamant.global.v1.StakingSpecific', null, global); goog.exportSymbol('proto.adamant.global.v1.StakingValidator', null, global); goog.exportSymbol('proto.adamant.global.v1.StakingWallet', null, global); goog.exportSymbol('proto.adamant.global.v1.StellarSpecific', null, global); @@ -121,6 +130,7 @@ goog.exportSymbol('proto.adamant.global.v1.TxInput', null, global); goog.exportSymbol('proto.adamant.global.v1.TxOutput', null, global); goog.exportSymbol('proto.adamant.global.v1.UTXO', null, global); goog.exportSymbol('proto.adamant.global.v1.UncheckedTransfer', null, global); +goog.exportSymbol('proto.adamant.global.v1.UnconfirmedTransaction', null, global); goog.exportSymbol('proto.adamant.global.v1.Wallet', null, global); goog.exportSymbol('proto.adamant.global.v1.WalletBalanceSnapshot', null, global); goog.exportSymbol('proto.adamant.global.v1.WalletBalanceSnapshotMap', null, global); @@ -387,6 +397,27 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.Transaction.displayName = 'proto.adamant.global.v1.Transaction'; } +/** + * 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.adamant.global.v1.UnconfirmedTransaction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.adamant.global.v1.UnconfirmedTransaction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.UnconfirmedTransaction.displayName = 'proto.adamant.global.v1.UnconfirmedTransaction'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -492,6 +523,27 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.CardanoUTXOSpecific.displayName = 'proto.adamant.global.v1.CardanoUTXOSpecific'; } +/** + * 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.adamant.global.v1.AvalanchePlatformChainUTXOSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.displayName = 'proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -1143,6 +1195,90 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.ArbitrumOneSpecific.displayName = 'proto.adamant.global.v1.ArbitrumOneSpecific'; } +/** + * 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.adamant.global.v1.AtomicTx = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.AtomicTx.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.AtomicTx, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.AtomicTx.displayName = 'proto.adamant.global.v1.AtomicTx'; +} +/** + * 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.adamant.global.v1.AvalanchePlatformChainSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.AvalanchePlatformChainSpecific.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.AvalanchePlatformChainSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.AvalanchePlatformChainSpecific.displayName = 'proto.adamant.global.v1.AvalanchePlatformChainSpecific'; +} +/** + * 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.adamant.global.v1.AvalancheTxInput = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.AvalancheTxInput.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.AvalancheTxInput, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.AvalancheTxInput.displayName = 'proto.adamant.global.v1.AvalancheTxInput'; +} +/** + * 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.adamant.global.v1.AvalancheTxOutput = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.AvalancheTxOutput.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.AvalancheTxOutput, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.AvalancheTxOutput.displayName = 'proto.adamant.global.v1.AvalancheTxOutput'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -1374,6 +1510,69 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.CreateTransactionAptosSpecific.displayName = 'proto.adamant.global.v1.CreateTransactionAptosSpecific'; } +/** + * 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.adamant.global.v1.CreateTransactionAvalancheSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.adamant.global.v1.CreateTransactionAvalancheSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.CreateTransactionAvalancheSpecific.displayName = 'proto.adamant.global.v1.CreateTransactionAvalancheSpecific'; +} +/** + * 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.adamant.global.v1.ImportTxSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.adamant.global.v1.ImportTxSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.ImportTxSpecific.displayName = 'proto.adamant.global.v1.ImportTxSpecific'; +} +/** + * 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.adamant.global.v1.StakingSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.adamant.global.v1.StakingSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.StakingSpecific.displayName = 'proto.adamant.global.v1.StakingSpecific'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -2466,6 +2665,27 @@ if (goog.DEBUG && !COMPILED) { */ proto.adamant.global.v1.StakingHistoryEthereumSpecific.displayName = 'proto.adamant.global.v1.StakingHistoryEthereumSpecific'; } +/** + * 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.adamant.global.v1.StakingHistoryAvalancheSpecific = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.global.v1.StakingHistoryAvalancheSpecific.repeatedFields_, null); +}; +goog.inherits(proto.adamant.global.v1.StakingHistoryAvalancheSpecific, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.adamant.global.v1.StakingHistoryAvalancheSpecific.displayName = 'proto.adamant.global.v1.StakingHistoryAvalancheSpecific'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -8167,6 +8387,7 @@ proto.adamant.global.v1.Transaction.toObject = function(includeInstance, msg) { arbitrumOneSpecific: (f = msg.getArbitrumOneSpecific()) && proto.adamant.global.v1.ArbitrumOneSpecific.toObject(includeInstance, f), aptosSpecific: (f = msg.getAptosSpecific()) && proto.adamant.global.v1.AptosSpecific.toObject(includeInstance, f), dogecoinSpecific: (f = msg.getDogecoinSpecific()) && proto.adamant.global.v1.DogecoinSpecific.toObject(includeInstance, f), + avalanchePlatformChainSpecific: (f = msg.getAvalanchePlatformChainSpecific()) && proto.adamant.global.v1.AvalanchePlatformChainSpecific.toObject(includeInstance, f), createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; @@ -8417,6 +8638,11 @@ proto.adamant.global.v1.Transaction.deserializeBinaryFromReader = function(msg, reader.readMessage(value,proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader); msg.setDogecoinSpecific(value); break; + case 51: + var value = new proto.adamant.global.v1.AvalanchePlatformChainSpecific; + reader.readMessage(value,proto.adamant.global.v1.AvalanchePlatformChainSpecific.deserializeBinaryFromReader); + msg.setAvalanchePlatformChainSpecific(value); + break; case 18: var value = new google_protobuf_timestamp_pb.Timestamp; reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); @@ -8803,6 +9029,14 @@ proto.adamant.global.v1.Transaction.serializeBinaryToWriter = function(message, proto.adamant.global.v1.DogecoinSpecific.serializeBinaryToWriter ); } + f = message.getAvalanchePlatformChainSpecific(); + if (f != null) { + writer.writeMessage( + 51, + f, + proto.adamant.global.v1.AvalanchePlatformChainSpecific.serializeBinaryToWriter + ); + } f = message.getCreateTime(); if (f != null) { writer.writeMessage( @@ -10242,6 +10476,43 @@ proto.adamant.global.v1.Transaction.prototype.hasDogecoinSpecific = function() { }; +/** + * optional AvalanchePlatformChainSpecific avalanche_platform_chain_specific = 51; + * @return {?proto.adamant.global.v1.AvalanchePlatformChainSpecific} + */ +proto.adamant.global.v1.Transaction.prototype.getAvalanchePlatformChainSpecific = function() { + return /** @type{?proto.adamant.global.v1.AvalanchePlatformChainSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.AvalanchePlatformChainSpecific, 51)); +}; + + +/** + * @param {?proto.adamant.global.v1.AvalanchePlatformChainSpecific|undefined} value + * @return {!proto.adamant.global.v1.Transaction} returns this +*/ +proto.adamant.global.v1.Transaction.prototype.setAvalanchePlatformChainSpecific = function(value) { + return jspb.Message.setWrapperField(this, 51, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.Transaction} returns this + */ +proto.adamant.global.v1.Transaction.prototype.clearAvalanchePlatformChainSpecific = function() { + return this.setAvalanchePlatformChainSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.Transaction.prototype.hasAvalanchePlatformChainSpecific = function() { + return jspb.Message.getField(this, 51) != null; +}; + + /** * optional google.protobuf.Timestamp create_time = 18; * @return {?proto.google.protobuf.Timestamp} @@ -10332,8 +10603,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.TransactionMember.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.TransactionMember.toObject(opt_includeInstance, this); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.UnconfirmedTransaction.toObject(opt_includeInstance, this); }; @@ -10342,19 +10613,29 @@ proto.adamant.global.v1.TransactionMember.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.TransactionMember} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.UnconfirmedTransaction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TransactionMember.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.UnconfirmedTransaction.toObject = function(includeInstance, msg) { var f, obj = { - accountId: jspb.Message.getFieldWithDefault(msg, 1, ""), - accountType: jspb.Message.getFieldWithDefault(msg, 2, 0), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - email: jspb.Message.getFieldWithDefault(msg, 4, ""), - role: jspb.Message.getFieldWithDefault(msg, 5, 0), - signed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - validated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), + transactionId: jspb.Message.getFieldWithDefault(msg, 2, ""), + txId: jspb.Message.getFieldWithDefault(msg, 5, ""), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 7, ""), + address: jspb.Message.getFieldWithDefault(msg, 8, ""), + fee: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), + stringFee: jspb.Message.getFieldWithDefault(msg, 10, ""), + feeRate: jspb.Message.getFieldWithDefault(msg, 11, 0), + createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + bitcoinSpecific: (f = msg.getBitcoinSpecific()) && proto.adamant.global.v1.BitcoinSpecific.toObject(includeInstance, f), + litecoinSpecific: (f = msg.getLitecoinSpecific()) && proto.adamant.global.v1.LitecoinSpecific.toObject(includeInstance, f), + bitcoincashSpecific: (f = msg.getBitcoincashSpecific()) && proto.adamant.global.v1.BitcoincashSpecific.toObject(includeInstance, f), + c0banSpecific: (f = msg.getC0banSpecific()) && proto.adamant.global.v1.C0banSpecific.toObject(includeInstance, f), + cardanoSpecific: (f = msg.getCardanoSpecific()) && proto.adamant.global.v1.CardanoSpecific.toObject(includeInstance, f), + monacoinSpecific: (f = msg.getMonacoinSpecific()) && proto.adamant.global.v1.MonacoinSpecific.toObject(includeInstance, f), + avalanchePlatformChainSpecific: (f = msg.getAvalanchePlatformChainSpecific()) && proto.adamant.global.v1.AvalanchePlatformChainSpecific.toObject(includeInstance, f) }; if (includeInstance) { @@ -10368,23 +10649,23 @@ proto.adamant.global.v1.TransactionMember.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.TransactionMember} + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} */ -proto.adamant.global.v1.TransactionMember.deserializeBinary = function(bytes) { +proto.adamant.global.v1.UnconfirmedTransaction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.TransactionMember; - return proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.UnconfirmedTransaction; + return proto.adamant.global.v1.UnconfirmedTransaction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.TransactionMember} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.UnconfirmedTransaction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.TransactionMember} + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} */ -proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.UnconfirmedTransaction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10393,31 +10674,79 @@ proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader = function switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setAccountId(value); + msg.setWalletId(value); break; case 2: - var value = /** @type {!proto.adamant.global.v1.AccountType} */ (reader.readEnum()); - msg.setAccountType(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: var value = /** @type {string} */ (reader.readString()); - msg.setEmail(value); + msg.setTransactionId(value); break; case 5: - var value = /** @type {!proto.adamant.global.v1.RoleType} */ (reader.readEnum()); - msg.setRole(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTxId(value); break; case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setSigned(value); + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); break; case 7: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setValidated(value); + var value = /** @type {string} */ (reader.readString()); + msg.setStringValue(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setAddress(value); + break; + case 9: + var value = /** @type {number} */ (reader.readDouble()); + msg.setFee(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setStringFee(value); + break; + case 11: + var value = /** @type {number} */ (reader.readUint64()); + msg.setFeeRate(value); + break; + case 12: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreateTime(value); + break; + case 13: + var value = new proto.adamant.global.v1.BitcoinSpecific; + reader.readMessage(value,proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader); + msg.setBitcoinSpecific(value); + break; + case 14: + var value = new proto.adamant.global.v1.LitecoinSpecific; + reader.readMessage(value,proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader); + msg.setLitecoinSpecific(value); + break; + case 15: + var value = new proto.adamant.global.v1.BitcoincashSpecific; + reader.readMessage(value,proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader); + msg.setBitcoincashSpecific(value); + break; + case 16: + var value = new proto.adamant.global.v1.C0banSpecific; + reader.readMessage(value,proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader); + msg.setC0banSpecific(value); + break; + case 17: + var value = new proto.adamant.global.v1.CardanoSpecific; + reader.readMessage(value,proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader); + msg.setCardanoSpecific(value); + break; + case 18: + var value = new proto.adamant.global.v1.MonacoinSpecific; + reader.readMessage(value,proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader); + msg.setMonacoinSpecific(value); + break; + case 19: + var value = new proto.adamant.global.v1.AvalanchePlatformChainSpecific; + reader.readMessage(value,proto.adamant.global.v1.AvalanchePlatformChainSpecific.deserializeBinaryFromReader); + msg.setAvalanchePlatformChainSpecific(value); break; default: reader.skipField(); @@ -10432,9 +10761,9 @@ proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.TransactionMember.prototype.serializeBinary = function() { +proto.adamant.global.v1.UnconfirmedTransaction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.TransactionMember.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.UnconfirmedTransaction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10442,187 +10771,2075 @@ proto.adamant.global.v1.TransactionMember.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.TransactionMember} message + * @param {!proto.adamant.global.v1.UnconfirmedTransaction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TransactionMember.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.UnconfirmedTransaction.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getAccountId(); + f = message.getWalletId(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getAccountType(); - if (f !== 0.0) { - writer.writeEnum( + f = message.getTransactionId(); + if (f.length > 0) { + writer.writeString( 2, f ); } - f = message.getName(); + f = message.getTxId(); if (f.length > 0) { writer.writeString( - 3, + 5, f ); } - f = message.getEmail(); + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( + 6, + f + ); + } + f = message.getStringValue(); if (f.length > 0) { writer.writeString( - 4, + 7, f ); } - f = message.getRole(); + f = message.getAddress(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } + f = message.getFee(); if (f !== 0.0) { - writer.writeEnum( - 5, + writer.writeDouble( + 9, f ); } - f = message.getSigned(); - if (f) { - writer.writeBool( - 6, + f = message.getStringFee(); + if (f.length > 0) { + writer.writeString( + 10, f ); } - f = message.getValidated(); - if (f) { - writer.writeBool( - 7, + f = message.getFeeRate(); + if (f !== 0) { + writer.writeUint64( + 11, f ); } + f = message.getCreateTime(); + if (f != null) { + writer.writeMessage( + 12, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getBitcoinSpecific(); + if (f != null) { + writer.writeMessage( + 13, + f, + proto.adamant.global.v1.BitcoinSpecific.serializeBinaryToWriter + ); + } + f = message.getLitecoinSpecific(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.adamant.global.v1.LitecoinSpecific.serializeBinaryToWriter + ); + } + f = message.getBitcoincashSpecific(); + if (f != null) { + writer.writeMessage( + 15, + f, + proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter + ); + } + f = message.getC0banSpecific(); + if (f != null) { + writer.writeMessage( + 16, + f, + proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter + ); + } + f = message.getCardanoSpecific(); + if (f != null) { + writer.writeMessage( + 17, + f, + proto.adamant.global.v1.CardanoSpecific.serializeBinaryToWriter + ); + } + f = message.getMonacoinSpecific(); + if (f != null) { + writer.writeMessage( + 18, + f, + proto.adamant.global.v1.MonacoinSpecific.serializeBinaryToWriter + ); + } + f = message.getAvalanchePlatformChainSpecific(); + if (f != null) { + writer.writeMessage( + 19, + f, + proto.adamant.global.v1.AvalanchePlatformChainSpecific.serializeBinaryToWriter + ); + } }; /** - * optional string account_id = 1; + * optional string wallet_id = 1; * @return {string} */ -proto.adamant.global.v1.TransactionMember.prototype.getAccountId = function() { +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setAccountId = function(value) { +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setWalletId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional AccountType account_type = 2; - * @return {!proto.adamant.global.v1.AccountType} + * optional string transaction_id = 2; + * @return {string} */ -proto.adamant.global.v1.TransactionMember.prototype.getAccountType = function() { - return /** @type {!proto.adamant.global.v1.AccountType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getTransactionId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {!proto.adamant.global.v1.AccountType} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setAccountType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setTransactionId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string name = 3; + * optional string tx_id = 5; * @return {string} */ -proto.adamant.global.v1.TransactionMember.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getTxId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setTxId = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); }; /** - * optional string email = 4; - * @return {string} + * optional double value = 6; + * @return {number} */ -proto.adamant.global.v1.TransactionMember.prototype.getEmail = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setEmail = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 6, value); }; /** - * optional RoleType role = 5; - * @return {!proto.adamant.global.v1.RoleType} + * optional string string_value = 7; + * @return {string} */ -proto.adamant.global.v1.TransactionMember.prototype.getRole = function() { - return /** @type {!proto.adamant.global.v1.RoleType} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getStringValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** - * @param {!proto.adamant.global.v1.RoleType} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setRole = function(value) { - return jspb.Message.setProto3EnumField(this, 5, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setStringValue = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); }; /** - * optional bool signed = 6; - * @return {boolean} + * optional string address = 8; + * @return {string} */ -proto.adamant.global.v1.TransactionMember.prototype.getSigned = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setSigned = function(value) { - return jspb.Message.setProto3BooleanField(this, 6, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setAddress = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); }; /** - * optional bool validated = 7; - * @return {boolean} + * optional double fee = 9; + * @return {number} */ -proto.adamant.global.v1.TransactionMember.prototype.getValidated = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getFee = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.TransactionMember} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this */ -proto.adamant.global.v1.TransactionMember.prototype.setValidated = function(value) { - return jspb.Message.setProto3BooleanField(this, 7, value); +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setFee = function(value) { + return jspb.Message.setProto3FloatField(this, 9, value); +}; + + +/** + * optional string string_fee = 10; + * @return {string} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getStringFee = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setStringFee = function(value) { + return jspb.Message.setProto3StringField(this, 10, value); +}; + + +/** + * optional uint64 fee_rate = 11; + * @return {number} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getFeeRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setFeeRate = function(value) { + return jspb.Message.setProto3IntField(this, 11, value); +}; + + +/** + * optional google.protobuf.Timestamp create_time = 12; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getCreateTime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setCreateTime = function(value) { + return jspb.Message.setWrapperField(this, 12, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearCreateTime = function() { + return this.setCreateTime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasCreateTime = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * optional BitcoinSpecific bitcoin_specific = 13; + * @return {?proto.adamant.global.v1.BitcoinSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getBitcoinSpecific = function() { + return /** @type{?proto.adamant.global.v1.BitcoinSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.BitcoinSpecific, 13)); +}; + + +/** + * @param {?proto.adamant.global.v1.BitcoinSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setBitcoinSpecific = function(value) { + return jspb.Message.setWrapperField(this, 13, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearBitcoinSpecific = function() { + return this.setBitcoinSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasBitcoinSpecific = function() { + return jspb.Message.getField(this, 13) != null; +}; + + +/** + * optional LitecoinSpecific litecoin_specific = 14; + * @return {?proto.adamant.global.v1.LitecoinSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getLitecoinSpecific = function() { + return /** @type{?proto.adamant.global.v1.LitecoinSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.LitecoinSpecific, 14)); +}; + + +/** + * @param {?proto.adamant.global.v1.LitecoinSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setLitecoinSpecific = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearLitecoinSpecific = function() { + return this.setLitecoinSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasLitecoinSpecific = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * optional BitcoincashSpecific bitcoincash_specific = 15; + * @return {?proto.adamant.global.v1.BitcoincashSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getBitcoincashSpecific = function() { + return /** @type{?proto.adamant.global.v1.BitcoincashSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.BitcoincashSpecific, 15)); +}; + + +/** + * @param {?proto.adamant.global.v1.BitcoincashSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setBitcoincashSpecific = function(value) { + return jspb.Message.setWrapperField(this, 15, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearBitcoincashSpecific = function() { + return this.setBitcoincashSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasBitcoincashSpecific = function() { + return jspb.Message.getField(this, 15) != null; +}; + + +/** + * optional C0banSpecific c0ban_specific = 16; + * @return {?proto.adamant.global.v1.C0banSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getC0banSpecific = function() { + return /** @type{?proto.adamant.global.v1.C0banSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.C0banSpecific, 16)); +}; + + +/** + * @param {?proto.adamant.global.v1.C0banSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setC0banSpecific = function(value) { + return jspb.Message.setWrapperField(this, 16, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearC0banSpecific = function() { + return this.setC0banSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasC0banSpecific = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional CardanoSpecific cardano_specific = 17; + * @return {?proto.adamant.global.v1.CardanoSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getCardanoSpecific = function() { + return /** @type{?proto.adamant.global.v1.CardanoSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.CardanoSpecific, 17)); +}; + + +/** + * @param {?proto.adamant.global.v1.CardanoSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setCardanoSpecific = function(value) { + return jspb.Message.setWrapperField(this, 17, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearCardanoSpecific = function() { + return this.setCardanoSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasCardanoSpecific = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional MonacoinSpecific monacoin_specific = 18; + * @return {?proto.adamant.global.v1.MonacoinSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getMonacoinSpecific = function() { + return /** @type{?proto.adamant.global.v1.MonacoinSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.MonacoinSpecific, 18)); +}; + + +/** + * @param {?proto.adamant.global.v1.MonacoinSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setMonacoinSpecific = function(value) { + return jspb.Message.setWrapperField(this, 18, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearMonacoinSpecific = function() { + return this.setMonacoinSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasMonacoinSpecific = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional AvalanchePlatformChainSpecific avalanche_platform_chain_specific = 19; + * @return {?proto.adamant.global.v1.AvalanchePlatformChainSpecific} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.getAvalanchePlatformChainSpecific = function() { + return /** @type{?proto.adamant.global.v1.AvalanchePlatformChainSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.AvalanchePlatformChainSpecific, 19)); +}; + + +/** + * @param {?proto.adamant.global.v1.AvalanchePlatformChainSpecific|undefined} value + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this +*/ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.setAvalanchePlatformChainSpecific = function(value) { + return jspb.Message.setWrapperField(this, 19, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UnconfirmedTransaction} returns this + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.clearAvalanchePlatformChainSpecific = function() { + return this.setAvalanchePlatformChainSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UnconfirmedTransaction.prototype.hasAvalanchePlatformChainSpecific = function() { + return jspb.Message.getField(this, 19) != null; +}; + + + + + +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_, 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.adamant.global.v1.TransactionMember.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.TransactionMember.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.adamant.global.v1.TransactionMember} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TransactionMember.toObject = function(includeInstance, msg) { + var f, obj = { + accountId: jspb.Message.getFieldWithDefault(msg, 1, ""), + accountType: jspb.Message.getFieldWithDefault(msg, 2, 0), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + email: jspb.Message.getFieldWithDefault(msg, 4, ""), + role: jspb.Message.getFieldWithDefault(msg, 5, 0), + signed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + validated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.TransactionMember} + */ +proto.adamant.global.v1.TransactionMember.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.TransactionMember; + return proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.TransactionMember} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.TransactionMember} + */ +proto.adamant.global.v1.TransactionMember.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountId(value); + break; + case 2: + var value = /** @type {!proto.adamant.global.v1.AccountType} */ (reader.readEnum()); + msg.setAccountType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setEmail(value); + break; + case 5: + var value = /** @type {!proto.adamant.global.v1.RoleType} */ (reader.readEnum()); + msg.setRole(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setSigned(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setValidated(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.TransactionMember.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.TransactionMember.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.TransactionMember} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TransactionMember.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccountId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAccountType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getEmail(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getRole(); + if (f !== 0.0) { + writer.writeEnum( + 5, + f + ); + } + f = message.getSigned(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getValidated(); + if (f) { + writer.writeBool( + 7, + f + ); + } +}; + + +/** + * optional string account_id = 1; + * @return {string} + */ +proto.adamant.global.v1.TransactionMember.prototype.getAccountId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setAccountId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional AccountType account_type = 2; + * @return {!proto.adamant.global.v1.AccountType} + */ +proto.adamant.global.v1.TransactionMember.prototype.getAccountType = function() { + return /** @type {!proto.adamant.global.v1.AccountType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.adamant.global.v1.AccountType} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setAccountType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.adamant.global.v1.TransactionMember.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string email = 4; + * @return {string} + */ +proto.adamant.global.v1.TransactionMember.prototype.getEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setEmail = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional RoleType role = 5; + * @return {!proto.adamant.global.v1.RoleType} + */ +proto.adamant.global.v1.TransactionMember.prototype.getRole = function() { + return /** @type {!proto.adamant.global.v1.RoleType} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.adamant.global.v1.RoleType} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setRole = function(value) { + return jspb.Message.setProto3EnumField(this, 5, value); +}; + + +/** + * optional bool signed = 6; + * @return {boolean} + */ +proto.adamant.global.v1.TransactionMember.prototype.getSigned = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setSigned = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional bool validated = 7; + * @return {boolean} + */ +proto.adamant.global.v1.TransactionMember.prototype.getValidated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.TransactionMember} returns this + */ +proto.adamant.global.v1.TransactionMember.prototype.setValidated = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + + + + +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_, 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.adamant.global.v1.TxInput.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.TxInput.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.adamant.global.v1.TxInput} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TxInput.toObject = function(includeInstance, msg) { + var f, obj = { + txId: jspb.Message.getFieldWithDefault(msg, 1, ""), + txIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.TxInput} + */ +proto.adamant.global.v1.TxInput.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.TxInput; + return proto.adamant.global.v1.TxInput.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.TxInput} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.TxInput} + */ +proto.adamant.global.v1.TxInput.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTxId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setTxIndex(value); + break; + case 3: + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setStringValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.TxInput.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.TxInput.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.TxInput} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TxInput.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTxIndex(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( + 3, + f + ); + } + f = message.getStringValue(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional string tx_id = 1; + * @return {string} + */ +proto.adamant.global.v1.TxInput.prototype.getTxId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TxInput} returns this + */ +proto.adamant.global.v1.TxInput.prototype.setTxId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint32 tx_index = 2; + * @return {number} + */ +proto.adamant.global.v1.TxInput.prototype.getTxIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.TxInput} returns this + */ +proto.adamant.global.v1.TxInput.prototype.setTxIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional double value = 3; + * @return {number} + */ +proto.adamant.global.v1.TxInput.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.TxInput} returns this + */ +proto.adamant.global.v1.TxInput.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 3, value); +}; + + +/** + * optional string string_value = 4; + * @return {string} + */ +proto.adamant.global.v1.TxInput.prototype.getStringValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TxInput} returns this + */ +proto.adamant.global.v1.TxInput.prototype.setStringValue = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + +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_, 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.adamant.global.v1.TxOutput.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.TxOutput.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.adamant.global.v1.TxOutput} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TxOutput.toObject = function(includeInstance, msg) { + var f, obj = { + address: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 3, ""), + isChange: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.TxOutput} + */ +proto.adamant.global.v1.TxOutput.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.TxOutput; + return proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.TxOutput} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.TxOutput} + */ +proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setAddress(value); + break; + case 2: + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setStringValue(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsChange(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.TxOutput.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.TxOutput} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.TxOutput.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( + 2, + f + ); + } + f = message.getStringValue(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getIsChange(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string address = 1; + * @return {string} + */ +proto.adamant.global.v1.TxOutput.prototype.getAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TxOutput} returns this + */ +proto.adamant.global.v1.TxOutput.prototype.setAddress = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional double value = 2; + * @return {number} + */ +proto.adamant.global.v1.TxOutput.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.TxOutput} returns this + */ +proto.adamant.global.v1.TxOutput.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 2, value); +}; + + +/** + * optional string string_value = 3; + * @return {string} + */ +proto.adamant.global.v1.TxOutput.prototype.getStringValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.TxOutput} returns this + */ +proto.adamant.global.v1.TxOutput.prototype.setStringValue = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional bool is_change = 4; + * @return {boolean} + */ +proto.adamant.global.v1.TxOutput.prototype.getIsChange = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.TxOutput} returns this + */ +proto.adamant.global.v1.TxOutput.prototype.setIsChange = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + + + + +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_, 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.adamant.global.v1.UTXO.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.UTXO.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.adamant.global.v1.UTXO} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.UTXO.toObject = function(includeInstance, msg) { + var f, obj = { + txId: jspb.Message.getFieldWithDefault(msg, 1, ""), + vout: jspb.Message.getFieldWithDefault(msg, 2, 0), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 4, ""), + address: jspb.Message.getFieldWithDefault(msg, 5, ""), + transactionId: jspb.Message.getFieldWithDefault(msg, 6, ""), + cardanoSpecific: (f = msg.getCardanoSpecific()) && proto.adamant.global.v1.CardanoUTXOSpecific.toObject(includeInstance, f), + avalanchePlatformChainSpecific: (f = msg.getAvalanchePlatformChainSpecific()) && proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.UTXO} + */ +proto.adamant.global.v1.UTXO.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.UTXO; + return proto.adamant.global.v1.UTXO.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.UTXO} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.UTXO} + */ +proto.adamant.global.v1.UTXO.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTxId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setVout(value); + break; + case 3: + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setStringValue(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAddress(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTransactionId(value); + break; + case 7: + var value = new proto.adamant.global.v1.CardanoUTXOSpecific; + reader.readMessage(value,proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader); + msg.setCardanoSpecific(value); + break; + case 8: + var value = new proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific; + reader.readMessage(value,proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.deserializeBinaryFromReader); + msg.setAvalanchePlatformChainSpecific(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.UTXO.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.UTXO.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.UTXO} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.UTXO.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getVout(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( + 3, + f + ); + } + f = message.getStringValue(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getAddress(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getTransactionId(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getCardanoSpecific(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter + ); + } + f = message.getAvalanchePlatformChainSpecific(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string tx_id = 1; + * @return {string} + */ +proto.adamant.global.v1.UTXO.prototype.getTxId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setTxId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint32 vout = 2; + * @return {number} + */ +proto.adamant.global.v1.UTXO.prototype.getVout = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setVout = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional double value = 3; + * @return {number} + */ +proto.adamant.global.v1.UTXO.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 3, value); +}; + + +/** + * optional string string_value = 4; + * @return {string} + */ +proto.adamant.global.v1.UTXO.prototype.getStringValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setStringValue = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string address = 5; + * @return {string} + */ +proto.adamant.global.v1.UTXO.prototype.getAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setAddress = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string transaction_id = 6; + * @return {string} + */ +proto.adamant.global.v1.UTXO.prototype.getTransactionId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.setTransactionId = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional CardanoUTXOSpecific cardano_specific = 7; + * @return {?proto.adamant.global.v1.CardanoUTXOSpecific} + */ +proto.adamant.global.v1.UTXO.prototype.getCardanoSpecific = function() { + return /** @type{?proto.adamant.global.v1.CardanoUTXOSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.CardanoUTXOSpecific, 7)); +}; + + +/** + * @param {?proto.adamant.global.v1.CardanoUTXOSpecific|undefined} value + * @return {!proto.adamant.global.v1.UTXO} returns this +*/ +proto.adamant.global.v1.UTXO.prototype.setCardanoSpecific = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.clearCardanoSpecific = function() { + return this.setCardanoSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UTXO.prototype.hasCardanoSpecific = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional AvalanchePlatformChainUTXOSpecific avalanche_platform_chain_specific = 8; + * @return {?proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} + */ +proto.adamant.global.v1.UTXO.prototype.getAvalanchePlatformChainSpecific = function() { + return /** @type{?proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific, 8)); +}; + + +/** + * @param {?proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific|undefined} value + * @return {!proto.adamant.global.v1.UTXO} returns this +*/ +proto.adamant.global.v1.UTXO.prototype.setAvalanchePlatformChainSpecific = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.UTXO} returns this + */ +proto.adamant.global.v1.UTXO.prototype.clearAvalanchePlatformChainSpecific = function() { + return this.setAvalanchePlatformChainSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.UTXO.prototype.hasAvalanchePlatformChainSpecific = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.CardanoUTXOSpecific.repeatedFields_ = [1]; + + + +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_, 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.adamant.global.v1.CardanoUTXOSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CardanoUTXOSpecific.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.adamant.global.v1.CardanoUTXOSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CardanoUTXOSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + tokensList: jspb.Message.toObjectList(msg.getTokensList(), + proto.adamant.global.v1.CardanoCustomToken.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} + */ +proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.CardanoUTXOSpecific; + return proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.CardanoUTXOSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} + */ +proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.adamant.global.v1.CardanoCustomToken; + reader.readMessage(value,proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader); + msg.addTokens(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.CardanoUTXOSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.CardanoUTXOSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTokensList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated CardanoCustomToken tokens = 1; + * @return {!Array} + */ +proto.adamant.global.v1.CardanoUTXOSpecific.prototype.getTokensList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.CardanoCustomToken, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} returns this +*/ +proto.adamant.global.v1.CardanoUTXOSpecific.prototype.setTokensList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.adamant.global.v1.CardanoCustomToken=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.CardanoCustomToken} + */ +proto.adamant.global.v1.CardanoUTXOSpecific.prototype.addTokens = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.CardanoCustomToken, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} returns this + */ +proto.adamant.global.v1.CardanoUTXOSpecific.prototype.clearTokensList = function() { + return this.setTokensList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.repeatedFields_ = [2]; + + + +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_, 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.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.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.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + threshold: jspb.Message.getFieldWithDefault(msg, 1, 0), + addressesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific; + return proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setThreshold(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getThreshold(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 2, + f + ); + } +}; + + +/** + * optional uint32 threshold = 1; + * @return {number} + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.getThreshold = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.setThreshold = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * repeated string addresses = 2; + * @return {!Array} + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainUTXOSpecific.prototype.clearAddressesList = function() { + return this.setAddressesList([]); }; @@ -10642,8 +12859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.TxInput.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.TxInput.toObject(opt_includeInstance, this); +proto.adamant.global.v1.CardanoCustomToken.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CardanoCustomToken.toObject(opt_includeInstance, this); }; @@ -10652,16 +12869,15 @@ proto.adamant.global.v1.TxInput.prototype.toObject = function(opt_includeInstanc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.TxInput} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.CardanoCustomToken} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TxInput.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.CardanoCustomToken.toObject = function(includeInstance, msg) { var f, obj = { - txId: jspb.Message.getFieldWithDefault(msg, 1, ""), - txIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 4, "") + policyId: jspb.Message.getFieldWithDefault(msg, 1, ""), + assetName: jspb.Message.getFieldWithDefault(msg, 2, ""), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -10675,23 +12891,23 @@ proto.adamant.global.v1.TxInput.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.TxInput} + * @return {!proto.adamant.global.v1.CardanoCustomToken} */ -proto.adamant.global.v1.TxInput.deserializeBinary = function(bytes) { +proto.adamant.global.v1.CardanoCustomToken.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.TxInput; - return proto.adamant.global.v1.TxInput.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.CardanoCustomToken; + return proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.TxInput} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.CardanoCustomToken} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.TxInput} + * @return {!proto.adamant.global.v1.CardanoCustomToken} */ -proto.adamant.global.v1.TxInput.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10700,20 +12916,16 @@ proto.adamant.global.v1.TxInput.deserializeBinaryFromReader = function(msg, read switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setTxId(value); + msg.setPolicyId(value); break; case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setTxIndex(value); + var value = /** @type {string} */ (reader.readString()); + msg.setAssetName(value); break; case 3: var value = /** @type {number} */ (reader.readDouble()); msg.setValue(value); break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setStringValue(value); - break; default: reader.skipField(); break; @@ -10727,9 +12939,9 @@ proto.adamant.global.v1.TxInput.deserializeBinaryFromReader = function(msg, read * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.TxInput.prototype.serializeBinary = function() { +proto.adamant.global.v1.CardanoCustomToken.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.TxInput.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10737,22 +12949,22 @@ proto.adamant.global.v1.TxInput.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.TxInput} message + * @param {!proto.adamant.global.v1.CardanoCustomToken} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TxInput.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxId(); + f = message.getPolicyId(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getTxIndex(); - if (f !== 0) { - writer.writeUint32( + f = message.getAssetName(); + if (f.length > 0) { + writer.writeString( 2, f ); @@ -10764,49 +12976,42 @@ proto.adamant.global.v1.TxInput.serializeBinaryToWriter = function(message, writ f ); } - f = message.getStringValue(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } }; /** - * optional string tx_id = 1; + * optional string policy_id = 1; * @return {string} */ -proto.adamant.global.v1.TxInput.prototype.getTxId = function() { +proto.adamant.global.v1.CardanoCustomToken.prototype.getPolicyId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.global.v1.TxInput} returns this + * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this */ -proto.adamant.global.v1.TxInput.prototype.setTxId = function(value) { +proto.adamant.global.v1.CardanoCustomToken.prototype.setPolicyId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional uint32 tx_index = 2; - * @return {number} + * optional string asset_name = 2; + * @return {string} */ -proto.adamant.global.v1.TxInput.prototype.getTxIndex = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.CardanoCustomToken.prototype.getAssetName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.TxInput} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this */ -proto.adamant.global.v1.TxInput.prototype.setTxIndex = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.CardanoCustomToken.prototype.setAssetName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; @@ -10814,38 +13019,27 @@ proto.adamant.global.v1.TxInput.prototype.setTxIndex = function(value) { * optional double value = 3; * @return {number} */ -proto.adamant.global.v1.TxInput.prototype.getValue = function() { +proto.adamant.global.v1.CardanoCustomToken.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.TxInput} returns this + * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this */ -proto.adamant.global.v1.TxInput.prototype.setValue = function(value) { +proto.adamant.global.v1.CardanoCustomToken.prototype.setValue = function(value) { return jspb.Message.setProto3FloatField(this, 3, value); }; -/** - * optional string string_value = 4; - * @return {string} - */ -proto.adamant.global.v1.TxInput.prototype.getStringValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - /** - * @param {string} value - * @return {!proto.adamant.global.v1.TxInput} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.adamant.global.v1.TxInput.prototype.setStringValue = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - +proto.adamant.global.v1.BitcoinSpecific.repeatedFields_ = [1,2]; @@ -10862,8 +13056,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.TxOutput.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.TxOutput.toObject(opt_includeInstance, this); +proto.adamant.global.v1.BitcoinSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.BitcoinSpecific.toObject(opt_includeInstance, this); }; @@ -10872,16 +13066,16 @@ proto.adamant.global.v1.TxOutput.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.TxOutput} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.BitcoinSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TxOutput.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.BitcoinSpecific.toObject = function(includeInstance, msg) { var f, obj = { - address: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 3, ""), - isChange: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.TxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.TxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -10895,23 +13089,23 @@ proto.adamant.global.v1.TxOutput.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.TxOutput} + * @return {!proto.adamant.global.v1.BitcoinSpecific} */ -proto.adamant.global.v1.TxOutput.deserializeBinary = function(bytes) { +proto.adamant.global.v1.BitcoinSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.TxOutput; - return proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.BitcoinSpecific; + return proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.TxOutput} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.BitcoinSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.TxOutput} + * @return {!proto.adamant.global.v1.BitcoinSpecific} */ -proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10919,20 +13113,14 @@ proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader = function(msg, rea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); + var value = new proto.adamant.global.v1.TxInput; + reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 2: - var value = /** @type {number} */ (reader.readDouble()); - msg.setValue(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setStringValue(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsChange(value); + var value = new proto.adamant.global.v1.TxOutput; + reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -10947,9 +13135,9 @@ proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.TxOutput.prototype.serializeBinary = function() { +proto.adamant.global.v1.BitcoinSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.BitcoinSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10957,116 +13145,115 @@ proto.adamant.global.v1.TxOutput.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.TxOutput} message + * @param {!proto.adamant.global.v1.BitcoinSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TxOutput.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.BitcoinSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getAddress(); + f = message.getTxInputsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 1, - f - ); - } - f = message.getValue(); - if (f !== 0.0) { - writer.writeDouble( - 2, - f + f, + proto.adamant.global.v1.TxInput.serializeBinaryToWriter ); } - f = message.getStringValue(); + f = message.getTxOutputsList(); if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getIsChange(); - if (f) { - writer.writeBool( - 4, - f + writer.writeRepeatedMessage( + 2, + f, + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter ); } }; /** - * optional string address = 1; - * @return {string} + * repeated TxInput tx_inputs = 1; + * @return {!Array} */ -proto.adamant.global.v1.TxOutput.prototype.getAddress = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.BitcoinSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.TxOutput} returns this - */ -proto.adamant.global.v1.TxOutput.prototype.setAddress = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this +*/ +proto.adamant.global.v1.BitcoinSpecific.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional double value = 2; - * @return {number} + * @param {!proto.adamant.global.v1.TxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.TxOutput.prototype.getValue = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); +proto.adamant.global.v1.BitcoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.TxOutput} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this */ -proto.adamant.global.v1.TxOutput.prototype.setValue = function(value) { - return jspb.Message.setProto3FloatField(this, 2, value); +proto.adamant.global.v1.BitcoinSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); }; /** - * optional string string_value = 3; - * @return {string} + * repeated TxOutput tx_outputs = 2; + * @return {!Array} */ -proto.adamant.global.v1.TxOutput.prototype.getStringValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.adamant.global.v1.BitcoinSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.TxOutput} returns this - */ -proto.adamant.global.v1.TxOutput.prototype.setStringValue = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this +*/ +proto.adamant.global.v1.BitcoinSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * optional bool is_change = 4; - * @return {boolean} + * @param {!proto.adamant.global.v1.TxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxOutput} */ -proto.adamant.global.v1.TxOutput.prototype.getIsChange = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +proto.adamant.global.v1.BitcoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.TxOutput} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this */ -proto.adamant.global.v1.TxOutput.prototype.setIsChange = function(value) { - return jspb.Message.setProto3BooleanField(this, 4, value); +proto.adamant.global.v1.BitcoinSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.LitecoinSpecific.repeatedFields_ = [1,2]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -11082,8 +13269,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.UTXO.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.UTXO.toObject(opt_includeInstance, this); +proto.adamant.global.v1.LitecoinSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.LitecoinSpecific.toObject(opt_includeInstance, this); }; @@ -11092,19 +13279,16 @@ proto.adamant.global.v1.UTXO.prototype.toObject = function(opt_includeInstance) * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.UTXO} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.LitecoinSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.UTXO.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.LitecoinSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txId: jspb.Message.getFieldWithDefault(msg, 1, ""), - vout: jspb.Message.getFieldWithDefault(msg, 2, 0), - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 4, ""), - address: jspb.Message.getFieldWithDefault(msg, 5, ""), - transactionId: jspb.Message.getFieldWithDefault(msg, 6, ""), - cardanoSpecific: (f = msg.getCardanoSpecific()) && proto.adamant.global.v1.CardanoUTXOSpecific.toObject(includeInstance, f) + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.TxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.TxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -11118,23 +13302,23 @@ proto.adamant.global.v1.UTXO.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.UTXO} + * @return {!proto.adamant.global.v1.LitecoinSpecific} */ -proto.adamant.global.v1.UTXO.deserializeBinary = function(bytes) { +proto.adamant.global.v1.LitecoinSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.UTXO; - return proto.adamant.global.v1.UTXO.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.LitecoinSpecific; + return proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.UTXO} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.LitecoinSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.UTXO} + * @return {!proto.adamant.global.v1.LitecoinSpecific} */ -proto.adamant.global.v1.UTXO.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11142,33 +13326,14 @@ proto.adamant.global.v1.UTXO.deserializeBinaryFromReader = function(msg, reader) var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTxId(value); + var value = new proto.adamant.global.v1.TxInput; + reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setVout(value); - break; - case 3: - var value = /** @type {number} */ (reader.readDouble()); - msg.setValue(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setStringValue(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setTransactionId(value); - break; - case 7: - var value = new proto.adamant.global.v1.CardanoUTXOSpecific; - reader.readMessage(value,proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader); - msg.setCardanoSpecific(value); + var value = new proto.adamant.global.v1.TxOutput; + reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -11183,9 +13348,9 @@ proto.adamant.global.v1.UTXO.deserializeBinaryFromReader = function(msg, reader) * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.UTXO.prototype.serializeBinary = function() { +proto.adamant.global.v1.LitecoinSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.UTXO.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.LitecoinSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11193,207 +13358,104 @@ proto.adamant.global.v1.UTXO.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.UTXO} message + * @param {!proto.adamant.global.v1.LitecoinSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.UTXO.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.LitecoinSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxId(); + f = message.getTxInputsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 1, - f - ); - } - f = message.getVout(); - if (f !== 0) { - writer.writeUint32( - 2, - f - ); - } - f = message.getValue(); - if (f !== 0.0) { - writer.writeDouble( - 3, - f - ); - } - f = message.getStringValue(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getAddress(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = message.getTransactionId(); - if (f.length > 0) { - writer.writeString( - 6, - f - ); - } - f = message.getCardanoSpecific(); - if (f != null) { - writer.writeMessage( - 7, - f, - proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string tx_id = 1; - * @return {string} - */ -proto.adamant.global.v1.UTXO.prototype.getTxId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.adamant.global.v1.UTXO} returns this - */ -proto.adamant.global.v1.UTXO.prototype.setTxId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional uint32 vout = 2; - * @return {number} - */ -proto.adamant.global.v1.UTXO.prototype.getVout = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.UTXO} returns this - */ -proto.adamant.global.v1.UTXO.prototype.setVout = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - -/** - * optional double value = 3; - * @return {number} - */ -proto.adamant.global.v1.UTXO.prototype.getValue = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.UTXO} returns this - */ -proto.adamant.global.v1.UTXO.prototype.setValue = function(value) { - return jspb.Message.setProto3FloatField(this, 3, value); -}; - - -/** - * optional string string_value = 4; - * @return {string} - */ -proto.adamant.global.v1.UTXO.prototype.getStringValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.adamant.global.v1.UTXO} returns this - */ -proto.adamant.global.v1.UTXO.prototype.setStringValue = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); + f, + proto.adamant.global.v1.TxInput.serializeBinaryToWriter + ); + } + f = message.getTxOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter + ); + } }; /** - * optional string address = 5; - * @return {string} + * repeated TxInput tx_inputs = 1; + * @return {!Array} */ -proto.adamant.global.v1.UTXO.prototype.getAddress = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +proto.adamant.global.v1.LitecoinSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.UTXO} returns this - */ -proto.adamant.global.v1.UTXO.prototype.setAddress = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this +*/ +proto.adamant.global.v1.LitecoinSpecific.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional string transaction_id = 6; - * @return {string} + * @param {!proto.adamant.global.v1.TxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.UTXO.prototype.getTransactionId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +proto.adamant.global.v1.LitecoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.UTXO} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this */ -proto.adamant.global.v1.UTXO.prototype.setTransactionId = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); +proto.adamant.global.v1.LitecoinSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); }; /** - * optional CardanoUTXOSpecific cardano_specific = 7; - * @return {?proto.adamant.global.v1.CardanoUTXOSpecific} + * repeated TxOutput tx_outputs = 2; + * @return {!Array} */ -proto.adamant.global.v1.UTXO.prototype.getCardanoSpecific = function() { - return /** @type{?proto.adamant.global.v1.CardanoUTXOSpecific} */ ( - jspb.Message.getWrapperField(this, proto.adamant.global.v1.CardanoUTXOSpecific, 7)); +proto.adamant.global.v1.LitecoinSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; /** - * @param {?proto.adamant.global.v1.CardanoUTXOSpecific|undefined} value - * @return {!proto.adamant.global.v1.UTXO} returns this + * @param {!Array} value + * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this */ -proto.adamant.global.v1.UTXO.prototype.setCardanoSpecific = function(value) { - return jspb.Message.setWrapperField(this, 7, value); +proto.adamant.global.v1.LitecoinSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.adamant.global.v1.UTXO} returns this + * @param {!proto.adamant.global.v1.TxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxOutput} */ -proto.adamant.global.v1.UTXO.prototype.clearCardanoSpecific = function() { - return this.setCardanoSpecific(undefined); +proto.adamant.global.v1.LitecoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this */ -proto.adamant.global.v1.UTXO.prototype.hasCardanoSpecific = function() { - return jspb.Message.getField(this, 7) != null; +proto.adamant.global.v1.LitecoinSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); }; @@ -11403,7 +13465,7 @@ proto.adamant.global.v1.UTXO.prototype.hasCardanoSpecific = function() { * @private {!Array} * @const */ -proto.adamant.global.v1.CardanoUTXOSpecific.repeatedFields_ = [1]; +proto.adamant.global.v1.DogecoinSpecific.repeatedFields_ = [1,2]; @@ -11420,8 +13482,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CardanoUTXOSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.DogecoinSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.DogecoinSpecific.toObject(opt_includeInstance, this); }; @@ -11430,14 +13492,16 @@ proto.adamant.global.v1.CardanoUTXOSpecific.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CardanoUTXOSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.DogecoinSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoUTXOSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.DogecoinSpecific.toObject = function(includeInstance, msg) { var f, obj = { - tokensList: jspb.Message.toObjectList(msg.getTokensList(), - proto.adamant.global.v1.CardanoCustomToken.toObject, includeInstance) + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.TxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.TxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -11451,23 +13515,23 @@ proto.adamant.global.v1.CardanoUTXOSpecific.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} + * @return {!proto.adamant.global.v1.DogecoinSpecific} */ -proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.DogecoinSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CardanoUTXOSpecific; - return proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.DogecoinSpecific; + return proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CardanoUTXOSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.DogecoinSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} + * @return {!proto.adamant.global.v1.DogecoinSpecific} */ -proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11475,9 +13539,14 @@ proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader = functi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.CardanoCustomToken; - reader.readMessage(value,proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader); - msg.addTokens(value); + var value = new proto.adamant.global.v1.TxInput; + reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); + break; + case 2: + var value = new proto.adamant.global.v1.TxOutput; + reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -11492,9 +13561,9 @@ proto.adamant.global.v1.CardanoUTXOSpecific.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.DogecoinSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.DogecoinSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11502,62 +13571,115 @@ proto.adamant.global.v1.CardanoUTXOSpecific.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CardanoUTXOSpecific} message + * @param {!proto.adamant.global.v1.DogecoinSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoUTXOSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.DogecoinSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTokensList(); + f = message.getTxInputsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter + proto.adamant.global.v1.TxInput.serializeBinaryToWriter + ); + } + f = message.getTxOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter ); } }; /** - * repeated CardanoCustomToken tokens = 1; - * @return {!Array} + * repeated TxInput tx_inputs = 1; + * @return {!Array} */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.getTokensList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.CardanoCustomToken, 1)); +proto.adamant.global.v1.DogecoinSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} returns this + * @param {!Array} value + * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.setTokensList = function(value) { +proto.adamant.global.v1.DogecoinSpecific.prototype.setTxInputsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.adamant.global.v1.CardanoCustomToken=} opt_value + * @param {!proto.adamant.global.v1.TxInput=} opt_value * @param {number=} opt_index - * @return {!proto.adamant.global.v1.CardanoCustomToken} + * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.addTokens = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.CardanoCustomToken, opt_index); +proto.adamant.global.v1.DogecoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.CardanoUTXOSpecific} returns this + * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this */ -proto.adamant.global.v1.CardanoUTXOSpecific.prototype.clearTokensList = function() { - return this.setTokensList([]); +proto.adamant.global.v1.DogecoinSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); +}; + + +/** + * repeated TxOutput tx_outputs = 2; + * @return {!Array} + */ +proto.adamant.global.v1.DogecoinSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this +*/ +proto.adamant.global.v1.DogecoinSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.adamant.global.v1.TxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxOutput} + */ +proto.adamant.global.v1.DogecoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this + */ +proto.adamant.global.v1.DogecoinSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.BitcoincashSpecific.repeatedFields_ = [1,2]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -11573,8 +13695,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CardanoCustomToken.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CardanoCustomToken.toObject(opt_includeInstance, this); +proto.adamant.global.v1.BitcoincashSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.BitcoincashSpecific.toObject(opt_includeInstance, this); }; @@ -11583,15 +13705,16 @@ proto.adamant.global.v1.CardanoCustomToken.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CardanoCustomToken} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.BitcoincashSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoCustomToken.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.BitcoincashSpecific.toObject = function(includeInstance, msg) { var f, obj = { - policyId: jspb.Message.getFieldWithDefault(msg, 1, ""), - assetName: jspb.Message.getFieldWithDefault(msg, 2, ""), - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.TxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.TxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -11605,23 +13728,23 @@ proto.adamant.global.v1.CardanoCustomToken.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CardanoCustomToken} + * @return {!proto.adamant.global.v1.BitcoincashSpecific} */ -proto.adamant.global.v1.CardanoCustomToken.deserializeBinary = function(bytes) { +proto.adamant.global.v1.BitcoincashSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CardanoCustomToken; - return proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.BitcoincashSpecific; + return proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CardanoCustomToken} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.BitcoincashSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CardanoCustomToken} + * @return {!proto.adamant.global.v1.BitcoincashSpecific} */ -proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11629,16 +13752,14 @@ proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setPolicyId(value); + var value = new proto.adamant.global.v1.TxInput; + reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setAssetName(value); - break; - case 3: - var value = /** @type {number} */ (reader.readDouble()); - msg.setValue(value); + var value = new proto.adamant.global.v1.TxOutput; + reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -11653,9 +13774,9 @@ proto.adamant.global.v1.CardanoCustomToken.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CardanoCustomToken.prototype.serializeBinary = function() { +proto.adamant.global.v1.BitcoincashSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11663,97 +13784,107 @@ proto.adamant.global.v1.CardanoCustomToken.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CardanoCustomToken} message + * @param {!proto.adamant.global.v1.BitcoincashSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoCustomToken.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getPolicyId(); + f = message.getTxInputsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 1, - f + f, + proto.adamant.global.v1.TxInput.serializeBinaryToWriter ); } - f = message.getAssetName(); + f = message.getTxOutputsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 2, - f - ); - } - f = message.getValue(); - if (f !== 0.0) { - writer.writeDouble( - 3, - f + f, + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter ); } }; /** - * optional string policy_id = 1; - * @return {string} + * repeated TxInput tx_inputs = 1; + * @return {!Array} */ -proto.adamant.global.v1.CardanoCustomToken.prototype.getPolicyId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this - */ -proto.adamant.global.v1.CardanoCustomToken.prototype.setPolicyId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this +*/ +proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional string asset_name = 2; - * @return {string} + * @param {!proto.adamant.global.v1.TxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.CardanoCustomToken.prototype.getAssetName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.adamant.global.v1.BitcoincashSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this */ -proto.adamant.global.v1.CardanoCustomToken.prototype.setAssetName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.adamant.global.v1.BitcoincashSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); }; /** - * optional double value = 3; - * @return {number} + * repeated TxOutput tx_outputs = 2; + * @return {!Array} */ -proto.adamant.global.v1.CardanoCustomToken.prototype.getValue = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); +proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.CardanoCustomToken} returns this - */ -proto.adamant.global.v1.CardanoCustomToken.prototype.setValue = function(value) { - return jspb.Message.setProto3FloatField(this, 3, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this +*/ +proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; +/** + * @param {!proto.adamant.global.v1.TxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxOutput} + */ +proto.adamant.global.v1.BitcoincashSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this */ -proto.adamant.global.v1.BitcoinSpecific.repeatedFields_ = [1,2]; +proto.adamant.global.v1.BitcoincashSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); +}; + + @@ -11770,8 +13901,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.BitcoinSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.EthereumSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.EthereumSpecific.toObject(opt_includeInstance, this); }; @@ -11780,16 +13911,19 @@ proto.adamant.global.v1.BitcoinSpecific.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.BitcoinSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.EthereumSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.BitcoinSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.EthereumSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), - proto.adamant.global.v1.TxInput.toObject, includeInstance), - txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), - proto.adamant.global.v1.TxOutput.toObject, includeInstance) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + methodIdType: jspb.Message.getFieldWithDefault(msg, 4, 0), + expiration: jspb.Message.getFieldWithDefault(msg, 5, 0), + data: jspb.Message.getFieldWithDefault(msg, 6, ""), + isStakingTransaction: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) }; if (includeInstance) { @@ -11803,23 +13937,23 @@ proto.adamant.global.v1.BitcoinSpecific.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.BitcoinSpecific} + * @return {!proto.adamant.global.v1.EthereumSpecific} */ -proto.adamant.global.v1.BitcoinSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.EthereumSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.BitcoinSpecific; - return proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.EthereumSpecific; + return proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.BitcoinSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.EthereumSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.BitcoinSpecific} + * @return {!proto.adamant.global.v1.EthereumSpecific} */ -proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11827,14 +13961,32 @@ proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader = function(m var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.TxInput; - reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); - msg.addTxInputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasLimit(value); break; case 2: - var value = new proto.adamant.global.v1.TxOutput; - reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); - msg.addTxOutputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setNonce(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); + break; + case 4: + var value = /** @type {!proto.adamant.global.v1.EthereumContractMethodIDType} */ (reader.readEnum()); + msg.setMethodIdType(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setData(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsStakingTransaction(value); break; default: reader.skipField(); @@ -11846,127 +13998,203 @@ proto.adamant.global.v1.BitcoinSpecific.deserializeBinaryFromReader = function(m /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.EthereumSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.EthereumSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.EthereumSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.EthereumSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getMethodIdType(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getData(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getIsStakingTransaction(); + if (f) { + writer.writeBool( + 7, + f + ); + } +}; + + +/** + * optional uint64 gas_limit = 1; + * @return {number} + */ +proto.adamant.global.v1.EthereumSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + */ +proto.adamant.global.v1.EthereumSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 nonce = 2; + * @return {number} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.BitcoinSpecific.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.adamant.global.v1.EthereumSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.BitcoinSpecific} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {number} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this */ -proto.adamant.global.v1.BitcoinSpecific.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTxInputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - proto.adamant.global.v1.TxInput.serializeBinaryToWriter - ); - } - f = message.getTxOutputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter - ); - } +proto.adamant.global.v1.EthereumSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * repeated TxInput tx_inputs = 1; - * @return {!Array} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.getTxInputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); +proto.adamant.global.v1.EthereumSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this -*/ -proto.adamant.global.v1.BitcoinSpecific.prototype.setTxInputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {boolean} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + */ +proto.adamant.global.v1.EthereumSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; /** - * @param {!proto.adamant.global.v1.TxInput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxInput} + * optional EthereumContractMethodIDType method_id_type = 4; + * @return {!proto.adamant.global.v1.EthereumContractMethodIDType} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); +proto.adamant.global.v1.EthereumSpecific.prototype.getMethodIdType = function() { + return /** @type {!proto.adamant.global.v1.EthereumContractMethodIDType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this + * @param {!proto.adamant.global.v1.EthereumContractMethodIDType} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this */ -proto.adamant.global.v1.BitcoinSpecific.prototype.clearTxInputsList = function() { - return this.setTxInputsList([]); +proto.adamant.global.v1.EthereumSpecific.prototype.setMethodIdType = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); }; /** - * repeated TxOutput tx_outputs = 2; - * @return {!Array} + * optional uint64 expiration = 5; + * @return {number} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.getTxOutputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); +proto.adamant.global.v1.EthereumSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this -*/ -proto.adamant.global.v1.BitcoinSpecific.prototype.setTxOutputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); + * @param {number} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + */ +proto.adamant.global.v1.EthereumSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); }; /** - * @param {!proto.adamant.global.v1.TxOutput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxOutput} + * optional string data = 6; + * @return {string} */ -proto.adamant.global.v1.BitcoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +proto.adamant.global.v1.EthereumSpecific.prototype.getData = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.BitcoinSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this */ -proto.adamant.global.v1.BitcoinSpecific.prototype.clearTxOutputsList = function() { - return this.setTxOutputsList([]); +proto.adamant.global.v1.EthereumSpecific.prototype.setData = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); }; +/** + * optional bool is_staking_transaction = 7; + * @return {boolean} + */ +proto.adamant.global.v1.EthereumSpecific.prototype.getIsStakingTransaction = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * @param {boolean} value + * @return {!proto.adamant.global.v1.EthereumSpecific} returns this */ -proto.adamant.global.v1.LitecoinSpecific.repeatedFields_ = [1,2]; +proto.adamant.global.v1.EthereumSpecific.prototype.setIsStakingTransaction = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + @@ -11983,8 +14211,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.LitecoinSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.XrpSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.XrpSpecific.toObject(opt_includeInstance, this); }; @@ -11993,16 +14221,16 @@ proto.adamant.global.v1.LitecoinSpecific.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.LitecoinSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.XrpSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.LitecoinSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.XrpSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), - proto.adamant.global.v1.TxInput.toObject, includeInstance), - txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), - proto.adamant.global.v1.TxOutput.toObject, includeInstance) + sequenceNumber: jspb.Message.getFieldWithDefault(msg, 1, 0), + destinationTag: jspb.Message.getFieldWithDefault(msg, 2, 0), + txType: jspb.Message.getFieldWithDefault(msg, 3, 0), + isNextSequenceNumber: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -12016,23 +14244,23 @@ proto.adamant.global.v1.LitecoinSpecific.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.LitecoinSpecific} + * @return {!proto.adamant.global.v1.XrpSpecific} */ -proto.adamant.global.v1.LitecoinSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.XrpSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.LitecoinSpecific; - return proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.XrpSpecific; + return proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.LitecoinSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.XrpSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.LitecoinSpecific} + * @return {!proto.adamant.global.v1.XrpSpecific} */ -proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12040,14 +14268,20 @@ proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.TxInput; - reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); - msg.addTxInputs(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setSequenceNumber(value); break; case 2: - var value = new proto.adamant.global.v1.TxOutput; - reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); - msg.addTxOutputs(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setDestinationTag(value); + break; + case 3: + var value = /** @type {!proto.gincoinc.global.v1.XRPTransactionType} */ (reader.readEnum()); + msg.setTxType(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextSequenceNumber(value); break; default: reader.skipField(); @@ -12062,9 +14296,9 @@ proto.adamant.global.v1.LitecoinSpecific.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.XrpSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.LitecoinSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.XrpSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12072,115 +14306,116 @@ proto.adamant.global.v1.LitecoinSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.LitecoinSpecific} message + * @param {!proto.adamant.global.v1.XrpSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.LitecoinSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.XrpSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxInputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getSequenceNumber(); + if (f !== 0) { + writer.writeUint32( 1, - f, - proto.adamant.global.v1.TxInput.serializeBinaryToWriter + f ); } - f = message.getTxOutputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getDestinationTag(); + if (f !== 0) { + writer.writeUint32( 2, - f, - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter + f + ); + } + f = message.getTxType(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getIsNextSequenceNumber(); + if (f) { + writer.writeBool( + 4, + f ); } }; /** - * repeated TxInput tx_inputs = 1; - * @return {!Array} + * optional uint32 sequence_number = 1; + * @return {number} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.getTxInputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); +proto.adamant.global.v1.XrpSpecific.prototype.getSequenceNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this -*/ -proto.adamant.global.v1.LitecoinSpecific.prototype.setTxInputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {number} value + * @return {!proto.adamant.global.v1.XrpSpecific} returns this + */ +proto.adamant.global.v1.XrpSpecific.prototype.setSequenceNumber = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * @param {!proto.adamant.global.v1.TxInput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxInput} + * optional uint32 destination_tag = 2; + * @return {number} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); +proto.adamant.global.v1.XrpSpecific.prototype.getDestinationTag = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.XrpSpecific} returns this */ -proto.adamant.global.v1.LitecoinSpecific.prototype.clearTxInputsList = function() { - return this.setTxInputsList([]); +proto.adamant.global.v1.XrpSpecific.prototype.setDestinationTag = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * repeated TxOutput tx_outputs = 2; - * @return {!Array} + * optional gincoinc.global.v1.XRPTransactionType tx_type = 3; + * @return {!proto.gincoinc.global.v1.XRPTransactionType} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.getTxOutputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); +proto.adamant.global.v1.XrpSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.XRPTransactionType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this -*/ -proto.adamant.global.v1.LitecoinSpecific.prototype.setTxOutputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); + * @param {!proto.gincoinc.global.v1.XRPTransactionType} value + * @return {!proto.adamant.global.v1.XrpSpecific} returns this + */ +proto.adamant.global.v1.XrpSpecific.prototype.setTxType = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); }; /** - * @param {!proto.adamant.global.v1.TxOutput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxOutput} + * optional bool is_next_sequence_number = 4; + * @return {boolean} */ -proto.adamant.global.v1.LitecoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +proto.adamant.global.v1.XrpSpecific.prototype.getIsNextSequenceNumber = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.LitecoinSpecific} returns this + * @param {boolean} value + * @return {!proto.adamant.global.v1.XrpSpecific} returns this */ -proto.adamant.global.v1.LitecoinSpecific.prototype.clearTxOutputsList = function() { - return this.setTxOutputsList([]); +proto.adamant.global.v1.XrpSpecific.prototype.setIsNextSequenceNumber = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.adamant.global.v1.DogecoinSpecific.repeatedFields_ = [1,2]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -12196,8 +14431,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.DogecoinSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.DogecoinSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.TronSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.TronSpecific.toObject(opt_includeInstance, this); }; @@ -12206,16 +14441,13 @@ proto.adamant.global.v1.DogecoinSpecific.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.DogecoinSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.TronSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.DogecoinSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.TronSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), - proto.adamant.global.v1.TxInput.toObject, includeInstance), - txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), - proto.adamant.global.v1.TxOutput.toObject, includeInstance) + expiration: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -12229,23 +14461,23 @@ proto.adamant.global.v1.DogecoinSpecific.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.DogecoinSpecific} + * @return {!proto.adamant.global.v1.TronSpecific} */ -proto.adamant.global.v1.DogecoinSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.TronSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.DogecoinSpecific; - return proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.TronSpecific; + return proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.DogecoinSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.TronSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.DogecoinSpecific} + * @return {!proto.adamant.global.v1.TronSpecific} */ -proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12253,14 +14485,8 @@ proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.TxInput; - reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); - msg.addTxInputs(value); - break; - case 2: - var value = new proto.adamant.global.v1.TxOutput; - reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); - msg.addTxOutputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); break; default: reader.skipField(); @@ -12275,9 +14501,9 @@ proto.adamant.global.v1.DogecoinSpecific.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.DogecoinSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.TronSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.DogecoinSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.TronSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12285,104 +14511,37 @@ proto.adamant.global.v1.DogecoinSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.DogecoinSpecific} message + * @param {!proto.adamant.global.v1.TronSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.DogecoinSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.TronSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxInputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( 1, - f, - proto.adamant.global.v1.TxInput.serializeBinaryToWriter - ); - } - f = message.getTxOutputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter + f ); } }; /** - * repeated TxInput tx_inputs = 1; - * @return {!Array} - */ -proto.adamant.global.v1.DogecoinSpecific.prototype.getTxInputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this -*/ -proto.adamant.global.v1.DogecoinSpecific.prototype.setTxInputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.adamant.global.v1.TxInput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxInput} - */ -proto.adamant.global.v1.DogecoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this - */ -proto.adamant.global.v1.DogecoinSpecific.prototype.clearTxInputsList = function() { - return this.setTxInputsList([]); -}; - - -/** - * repeated TxOutput tx_outputs = 2; - * @return {!Array} - */ -proto.adamant.global.v1.DogecoinSpecific.prototype.getTxOutputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this -*/ -proto.adamant.global.v1.DogecoinSpecific.prototype.setTxOutputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.adamant.global.v1.TxOutput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxOutput} + * optional uint64 expiration = 1; + * @return {number} */ -proto.adamant.global.v1.DogecoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +proto.adamant.global.v1.TronSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.DogecoinSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.TronSpecific} returns this */ -proto.adamant.global.v1.DogecoinSpecific.prototype.clearTxOutputsList = function() { - return this.setTxOutputsList([]); +proto.adamant.global.v1.TronSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; @@ -12392,7 +14551,7 @@ proto.adamant.global.v1.DogecoinSpecific.prototype.clearTxOutputsList = function * @private {!Array} * @const */ -proto.adamant.global.v1.BitcoincashSpecific.repeatedFields_ = [1,2]; +proto.adamant.global.v1.C0banSpecific.repeatedFields_ = [1,2]; @@ -12409,8 +14568,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.BitcoincashSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.C0banSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.C0banSpecific.toObject(opt_includeInstance, this); }; @@ -12419,11 +14578,11 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.BitcoincashSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.C0banSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.BitcoincashSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.C0banSpecific.toObject = function(includeInstance, msg) { var f, obj = { txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), proto.adamant.global.v1.TxInput.toObject, includeInstance), @@ -12442,23 +14601,23 @@ proto.adamant.global.v1.BitcoincashSpecific.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.BitcoincashSpecific} + * @return {!proto.adamant.global.v1.C0banSpecific} */ -proto.adamant.global.v1.BitcoincashSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.C0banSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.BitcoincashSpecific; - return proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.C0banSpecific; + return proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.BitcoincashSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.C0banSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.BitcoincashSpecific} + * @return {!proto.adamant.global.v1.C0banSpecific} */ -proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12488,9 +14647,9 @@ proto.adamant.global.v1.BitcoincashSpecific.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.C0banSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12498,11 +14657,11 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.BitcoincashSpecific} message + * @param {!proto.adamant.global.v1.C0banSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTxInputsList(); if (f.length > 0) { @@ -12527,7 +14686,7 @@ proto.adamant.global.v1.BitcoincashSpecific.serializeBinaryToWriter = function(m * repeated TxInput tx_inputs = 1; * @return {!Array} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxInputsList = function() { +proto.adamant.global.v1.C0banSpecific.prototype.getTxInputsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; @@ -12535,9 +14694,9 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxInputsList = function /** * @param {!Array} value - * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this + * @return {!proto.adamant.global.v1.C0banSpecific} returns this */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxInputsList = function(value) { +proto.adamant.global.v1.C0banSpecific.prototype.setTxInputsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -12547,16 +14706,16 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxInputsList = function * @param {number=} opt_index * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.addTxInputs = function(opt_value, opt_index) { +proto.adamant.global.v1.C0banSpecific.prototype.addTxInputs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this + * @return {!proto.adamant.global.v1.C0banSpecific} returns this */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.clearTxInputsList = function() { +proto.adamant.global.v1.C0banSpecific.prototype.clearTxInputsList = function() { return this.setTxInputsList([]); }; @@ -12565,7 +14724,7 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.clearTxInputsList = functi * repeated TxOutput tx_outputs = 2; * @return {!Array} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxOutputsList = function() { +proto.adamant.global.v1.C0banSpecific.prototype.getTxOutputsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; @@ -12573,9 +14732,9 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.getTxOutputsList = functio /** * @param {!Array} value - * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this + * @return {!proto.adamant.global.v1.C0banSpecific} returns this */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxOutputsList = function(value) { +proto.adamant.global.v1.C0banSpecific.prototype.setTxOutputsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; @@ -12585,16 +14744,16 @@ proto.adamant.global.v1.BitcoincashSpecific.prototype.setTxOutputsList = functio * @param {number=} opt_index * @return {!proto.adamant.global.v1.TxOutput} */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { +proto.adamant.global.v1.C0banSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.BitcoincashSpecific} returns this + * @return {!proto.adamant.global.v1.C0banSpecific} returns this */ -proto.adamant.global.v1.BitcoincashSpecific.prototype.clearTxOutputsList = function() { +proto.adamant.global.v1.C0banSpecific.prototype.clearTxOutputsList = function() { return this.setTxOutputsList([]); }; @@ -12615,8 +14774,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.EthereumSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.EthereumSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.StellarSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.StellarSpecific.toObject(opt_includeInstance, this); }; @@ -12625,19 +14784,15 @@ proto.adamant.global.v1.EthereumSpecific.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.EthereumSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.StellarSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.EthereumSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.StellarSpecific.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - methodIdType: jspb.Message.getFieldWithDefault(msg, 4, 0), - expiration: jspb.Message.getFieldWithDefault(msg, 5, 0), - data: jspb.Message.getFieldWithDefault(msg, 6, ""), - isStakingTransaction: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + sequenceNumber: jspb.Message.getFieldWithDefault(msg, 1, 0), + memoId: jspb.Message.getFieldWithDefault(msg, 2, "0"), + isNextSequenceNumber: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -12651,23 +14806,23 @@ proto.adamant.global.v1.EthereumSpecific.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.EthereumSpecific} + * @return {!proto.adamant.global.v1.StellarSpecific} */ -proto.adamant.global.v1.EthereumSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.StellarSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.EthereumSpecific; - return proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.StellarSpecific; + return proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.EthereumSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.StellarSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.EthereumSpecific} + * @return {!proto.adamant.global.v1.StellarSpecific} */ -proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12675,32 +14830,16 @@ proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setSequenceNumber(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + var value = /** @type {string} */ (reader.readUint64String()); + msg.setMemoId(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); - break; - case 4: - var value = /** @type {!proto.adamant.global.v1.EthereumContractMethodIDType} */ (reader.readEnum()); - msg.setMethodIdType(value); - break; - case 5: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setData(value); - break; - case 7: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsStakingTransaction(value); + msg.setIsNextSequenceNumber(value); break; default: reader.skipField(); @@ -12715,9 +14854,9 @@ proto.adamant.global.v1.EthereumSpecific.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.EthereumSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.StellarSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.EthereumSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.StellarSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12725,190 +14864,97 @@ proto.adamant.global.v1.EthereumSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.EthereumSpecific} message + * @param {!proto.adamant.global.v1.StellarSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.EthereumSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.StellarSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); + f = message.getSequenceNumber(); if (f !== 0) { - writer.writeUint64( + writer.writeInt64( 1, f ); } - f = message.getNonce(); - if (f !== 0) { - writer.writeUint64( + f = message.getMemoId(); + if (parseInt(f, 10) !== 0) { + writer.writeUint64String( 2, f ); } - f = message.getIsNextNonce(); + f = message.getIsNextSequenceNumber(); if (f) { writer.writeBool( 3, f ); } - f = message.getMethodIdType(); - if (f !== 0.0) { - writer.writeEnum( - 4, - f - ); - } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( - 5, - f - ); - } - f = message.getData(); - if (f.length > 0) { - writer.writeString( - 6, - f - ); - } - f = message.getIsStakingTransaction(); - if (f) { - writer.writeBool( - 7, - f - ); - } }; /** - * optional uint64 gas_limit = 1; + * optional int64 sequence_number = 1; * @return {number} */ -proto.adamant.global.v1.EthereumSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.StellarSpecific.prototype.getSequenceNumber = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + * @return {!proto.adamant.global.v1.StellarSpecific} returns this */ -proto.adamant.global.v1.EthereumSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.StellarSpecific.prototype.setSequenceNumber = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional uint64 nonce = 2; - * @return {number} + * optional uint64 memo_id = 2; + * @return {string} */ -proto.adamant.global.v1.EthereumSpecific.prototype.getNonce = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.StellarSpecific.prototype.getMemoId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.StellarSpecific} returns this */ -proto.adamant.global.v1.EthereumSpecific.prototype.setNonce = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.StellarSpecific.prototype.setMemoId = function(value) { + return jspb.Message.setProto3StringIntField(this, 2, value); }; /** - * optional bool is_next_nonce = 3; + * optional bool is_next_sequence_number = 3; * @return {boolean} */ -proto.adamant.global.v1.EthereumSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.StellarSpecific.prototype.getIsNextSequenceNumber = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + * @return {!proto.adamant.global.v1.StellarSpecific} returns this */ -proto.adamant.global.v1.EthereumSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.StellarSpecific.prototype.setIsNextSequenceNumber = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; -/** - * optional EthereumContractMethodIDType method_id_type = 4; - * @return {!proto.adamant.global.v1.EthereumContractMethodIDType} - */ -proto.adamant.global.v1.EthereumSpecific.prototype.getMethodIdType = function() { - return /** @type {!proto.adamant.global.v1.EthereumContractMethodIDType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - - -/** - * @param {!proto.adamant.global.v1.EthereumContractMethodIDType} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this - */ -proto.adamant.global.v1.EthereumSpecific.prototype.setMethodIdType = function(value) { - return jspb.Message.setProto3EnumField(this, 4, value); -}; - - -/** - * optional uint64 expiration = 5; - * @return {number} - */ -proto.adamant.global.v1.EthereumSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this - */ -proto.adamant.global.v1.EthereumSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - - -/** - * optional string data = 6; - * @return {string} - */ -proto.adamant.global.v1.EthereumSpecific.prototype.getData = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - - -/** - * @param {string} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this - */ -proto.adamant.global.v1.EthereumSpecific.prototype.setData = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); -}; - - -/** - * optional bool is_staking_transaction = 7; - * @return {boolean} - */ -proto.adamant.global.v1.EthereumSpecific.prototype.getIsStakingTransaction = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); -}; - /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.EthereumSpecific} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.adamant.global.v1.EthereumSpecific.prototype.setIsStakingTransaction = function(value) { - return jspb.Message.setProto3BooleanField(this, 7, value); -}; - - +proto.adamant.global.v1.CardanoSpecific.repeatedFields_ = [1,2]; @@ -12925,8 +14971,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.XrpSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.XrpSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.CardanoSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CardanoSpecific.toObject(opt_includeInstance, this); }; @@ -12935,16 +14981,16 @@ proto.adamant.global.v1.XrpSpecific.prototype.toObject = function(opt_includeIns * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.XrpSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.CardanoSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.XrpSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.CardanoSpecific.toObject = function(includeInstance, msg) { var f, obj = { - sequenceNumber: jspb.Message.getFieldWithDefault(msg, 1, 0), - destinationTag: jspb.Message.getFieldWithDefault(msg, 2, 0), - txType: jspb.Message.getFieldWithDefault(msg, 3, 0), - isNextSequenceNumber: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.TxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.TxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -12958,23 +15004,23 @@ proto.adamant.global.v1.XrpSpecific.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.XrpSpecific} + * @return {!proto.adamant.global.v1.CardanoSpecific} */ -proto.adamant.global.v1.XrpSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.CardanoSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.XrpSpecific; - return proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.CardanoSpecific; + return proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.XrpSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.CardanoSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.XrpSpecific} + * @return {!proto.adamant.global.v1.CardanoSpecific} */ -proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12982,20 +15028,14 @@ proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSequenceNumber(value); + var value = new proto.adamant.global.v1.TxInput; + reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setDestinationTag(value); - break; - case 3: - var value = /** @type {!proto.gincoinc.global.v1.XRPTransactionType} */ (reader.readEnum()); - msg.setTxType(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextSequenceNumber(value); + var value = new proto.adamant.global.v1.TxOutput; + reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -13010,9 +15050,9 @@ proto.adamant.global.v1.XrpSpecific.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.XrpSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.CardanoSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.XrpSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.CardanoSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13020,116 +15060,115 @@ proto.adamant.global.v1.XrpSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.XrpSpecific} message + * @param {!proto.adamant.global.v1.CardanoSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.XrpSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.CardanoSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getSequenceNumber(); - if (f !== 0) { - writer.writeUint32( + f = message.getTxInputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, - f + f, + proto.adamant.global.v1.TxInput.serializeBinaryToWriter ); } - f = message.getDestinationTag(); - if (f !== 0) { - writer.writeUint32( + f = message.getTxOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 2, - f - ); - } - f = message.getTxType(); - if (f !== 0.0) { - writer.writeEnum( - 3, - f - ); - } - f = message.getIsNextSequenceNumber(); - if (f) { - writer.writeBool( - 4, - f + f, + proto.adamant.global.v1.TxOutput.serializeBinaryToWriter ); } }; /** - * optional uint32 sequence_number = 1; - * @return {number} + * repeated TxInput tx_inputs = 1; + * @return {!Array} */ -proto.adamant.global.v1.XrpSpecific.prototype.getSequenceNumber = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.CardanoSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.XrpSpecific} returns this - */ -proto.adamant.global.v1.XrpSpecific.prototype.setSequenceNumber = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.CardanoSpecific} returns this +*/ +proto.adamant.global.v1.CardanoSpecific.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional uint32 destination_tag = 2; - * @return {number} + * @param {!proto.adamant.global.v1.TxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.XrpSpecific.prototype.getDestinationTag = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.CardanoSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.XrpSpecific} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.CardanoSpecific} returns this */ -proto.adamant.global.v1.XrpSpecific.prototype.setDestinationTag = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.CardanoSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); }; /** - * optional gincoinc.global.v1.XRPTransactionType tx_type = 3; - * @return {!proto.gincoinc.global.v1.XRPTransactionType} + * repeated TxOutput tx_outputs = 2; + * @return {!Array} */ -proto.adamant.global.v1.XrpSpecific.prototype.getTxType = function() { - return /** @type {!proto.gincoinc.global.v1.XRPTransactionType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.adamant.global.v1.CardanoSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; /** - * @param {!proto.gincoinc.global.v1.XRPTransactionType} value - * @return {!proto.adamant.global.v1.XrpSpecific} returns this - */ -proto.adamant.global.v1.XrpSpecific.prototype.setTxType = function(value) { - return jspb.Message.setProto3EnumField(this, 3, value); + * @param {!Array} value + * @return {!proto.adamant.global.v1.CardanoSpecific} returns this +*/ +proto.adamant.global.v1.CardanoSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * optional bool is_next_sequence_number = 4; - * @return {boolean} + * @param {!proto.adamant.global.v1.TxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.TxOutput} */ -proto.adamant.global.v1.XrpSpecific.prototype.getIsNextSequenceNumber = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +proto.adamant.global.v1.CardanoSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.XrpSpecific} returns this + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.CardanoSpecific} returns this */ -proto.adamant.global.v1.XrpSpecific.prototype.setIsNextSequenceNumber = function(value) { - return jspb.Message.setProto3BooleanField(this, 4, value); +proto.adamant.global.v1.CardanoSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.SubstrateSpecific.repeatedFields_ = [4]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13145,8 +15184,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.TronSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.TronSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.SubstrateSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.SubstrateSpecific.toObject(opt_includeInstance, this); }; @@ -13155,13 +15194,17 @@ proto.adamant.global.v1.TronSpecific.prototype.toObject = function(opt_includeIn * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.TronSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.SubstrateSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TronSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.SubstrateSpecific.toObject = function(includeInstance, msg) { var f, obj = { - expiration: jspb.Message.getFieldWithDefault(msg, 1, 0) + nonce: jspb.Message.getFieldWithDefault(msg, 1, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + substrateMultisigTransactionsList: jspb.Message.toObjectList(msg.getSubstrateMultisigTransactionsList(), + proto.adamant.global.v1.SubstrateMultisigTransaction.toObject, includeInstance), + callType: jspb.Message.getFieldWithDefault(msg, 6, 0) }; if (includeInstance) { @@ -13175,23 +15218,23 @@ proto.adamant.global.v1.TronSpecific.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.TronSpecific} + * @return {!proto.adamant.global.v1.SubstrateSpecific} */ -proto.adamant.global.v1.TronSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.SubstrateSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.TronSpecific; - return proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.SubstrateSpecific; + return proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.TronSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.SubstrateSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.TronSpecific} + * @return {!proto.adamant.global.v1.SubstrateSpecific} */ -proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13200,7 +15243,20 @@ proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader = function(msg, switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + msg.setNonce(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); + break; + case 4: + var value = new proto.adamant.global.v1.SubstrateMultisigTransaction; + reader.readMessage(value,proto.adamant.global.v1.SubstrateMultisigTransaction.deserializeBinaryFromReader); + msg.addSubstrateMultisigTransactions(value); + break; + case 6: + var value = /** @type {!proto.adamant.global.v1.SubstrateCallType} */ (reader.readEnum()); + msg.setCallType(value); break; default: reader.skipField(); @@ -13215,9 +15271,9 @@ proto.adamant.global.v1.TronSpecific.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.TronSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.SubstrateSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.TronSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.SubstrateSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13225,37 +15281,133 @@ proto.adamant.global.v1.TronSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.TronSpecific} message + * @param {!proto.adamant.global.v1.SubstrateSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.TronSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.SubstrateSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExpiration(); + f = message.getNonce(); if (f !== 0) { writer.writeUint64( 1, f ); } + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 2, + f + ); + } + f = message.getSubstrateMultisigTransactionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.adamant.global.v1.SubstrateMultisigTransaction.serializeBinaryToWriter + ); + } + f = message.getCallType(); + if (f !== 0.0) { + writer.writeEnum( + 6, + f + ); + } }; /** - * optional uint64 expiration = 1; + * optional uint64 nonce = 1; * @return {number} */ -proto.adamant.global.v1.TronSpecific.prototype.getExpiration = function() { +proto.adamant.global.v1.SubstrateSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.TronSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bool is_next_nonce = 2; + * @return {boolean} + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * repeated SubstrateMultisigTransaction substrate_multisig_transactions = 4; + * @return {!Array} + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.getSubstrateMultisigTransactionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.SubstrateMultisigTransaction, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this +*/ +proto.adamant.global.v1.SubstrateSpecific.prototype.setSubstrateMultisigTransactionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.adamant.global.v1.SubstrateMultisigTransaction=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.SubstrateMultisigTransaction} + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.addSubstrateMultisigTransactions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.adamant.global.v1.SubstrateMultisigTransaction, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.clearSubstrateMultisigTransactionsList = function() { + return this.setSubstrateMultisigTransactionsList([]); +}; + + +/** + * optional SubstrateCallType call_type = 6; + * @return {!proto.adamant.global.v1.SubstrateCallType} + */ +proto.adamant.global.v1.SubstrateSpecific.prototype.getCallType = function() { + return /** @type {!proto.adamant.global.v1.SubstrateCallType} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {!proto.adamant.global.v1.SubstrateCallType} value + * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this */ -proto.adamant.global.v1.TronSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.SubstrateSpecific.prototype.setCallType = function(value) { + return jspb.Message.setProto3EnumField(this, 6, value); }; @@ -13265,7 +15417,7 @@ proto.adamant.global.v1.TronSpecific.prototype.setExpiration = function(value) { * @private {!Array} * @const */ -proto.adamant.global.v1.C0banSpecific.repeatedFields_ = [1,2]; +proto.adamant.global.v1.MonacoinSpecific.repeatedFields_ = [1,2]; @@ -13282,8 +15434,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.C0banSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.C0banSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.MonacoinSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.MonacoinSpecific.toObject(opt_includeInstance, this); }; @@ -13292,11 +15444,11 @@ proto.adamant.global.v1.C0banSpecific.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.C0banSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.MonacoinSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.C0banSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.MonacoinSpecific.toObject = function(includeInstance, msg) { var f, obj = { txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), proto.adamant.global.v1.TxInput.toObject, includeInstance), @@ -13315,23 +15467,23 @@ proto.adamant.global.v1.C0banSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.C0banSpecific} + * @return {!proto.adamant.global.v1.MonacoinSpecific} */ -proto.adamant.global.v1.C0banSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.MonacoinSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.C0banSpecific; - return proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.MonacoinSpecific; + return proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.C0banSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.MonacoinSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.C0banSpecific} + * @return {!proto.adamant.global.v1.MonacoinSpecific} */ -proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13361,9 +15513,9 @@ proto.adamant.global.v1.C0banSpecific.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.C0banSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.MonacoinSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.MonacoinSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13371,11 +15523,11 @@ proto.adamant.global.v1.C0banSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.C0banSpecific} message + * @param {!proto.adamant.global.v1.MonacoinSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.MonacoinSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTxInputsList(); if (f.length > 0) { @@ -13400,7 +15552,7 @@ proto.adamant.global.v1.C0banSpecific.serializeBinaryToWriter = function(message * repeated TxInput tx_inputs = 1; * @return {!Array} */ -proto.adamant.global.v1.C0banSpecific.prototype.getTxInputsList = function() { +proto.adamant.global.v1.MonacoinSpecific.prototype.getTxInputsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); }; @@ -13408,9 +15560,9 @@ proto.adamant.global.v1.C0banSpecific.prototype.getTxInputsList = function() { /** * @param {!Array} value - * @return {!proto.adamant.global.v1.C0banSpecific} returns this + * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this */ -proto.adamant.global.v1.C0banSpecific.prototype.setTxInputsList = function(value) { +proto.adamant.global.v1.MonacoinSpecific.prototype.setTxInputsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -13420,16 +15572,16 @@ proto.adamant.global.v1.C0banSpecific.prototype.setTxInputsList = function(value * @param {number=} opt_index * @return {!proto.adamant.global.v1.TxInput} */ -proto.adamant.global.v1.C0banSpecific.prototype.addTxInputs = function(opt_value, opt_index) { +proto.adamant.global.v1.MonacoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.C0banSpecific} returns this + * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this */ -proto.adamant.global.v1.C0banSpecific.prototype.clearTxInputsList = function() { +proto.adamant.global.v1.MonacoinSpecific.prototype.clearTxInputsList = function() { return this.setTxInputsList([]); }; @@ -13438,7 +15590,7 @@ proto.adamant.global.v1.C0banSpecific.prototype.clearTxInputsList = function() { * repeated TxOutput tx_outputs = 2; * @return {!Array} */ -proto.adamant.global.v1.C0banSpecific.prototype.getTxOutputsList = function() { +proto.adamant.global.v1.MonacoinSpecific.prototype.getTxOutputsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); }; @@ -13446,9 +15598,9 @@ proto.adamant.global.v1.C0banSpecific.prototype.getTxOutputsList = function() { /** * @param {!Array} value - * @return {!proto.adamant.global.v1.C0banSpecific} returns this + * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this */ -proto.adamant.global.v1.C0banSpecific.prototype.setTxOutputsList = function(value) { +proto.adamant.global.v1.MonacoinSpecific.prototype.setTxOutputsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; @@ -13458,21 +15610,28 @@ proto.adamant.global.v1.C0banSpecific.prototype.setTxOutputsList = function(valu * @param {number=} opt_index * @return {!proto.adamant.global.v1.TxOutput} */ -proto.adamant.global.v1.C0banSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { +proto.adamant.global.v1.MonacoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.C0banSpecific} returns this + * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this */ -proto.adamant.global.v1.C0banSpecific.prototype.clearTxOutputsList = function() { +proto.adamant.global.v1.MonacoinSpecific.prototype.clearTxOutputsList = function() { return this.setTxOutputsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.NemSpecific.repeatedFields_ = [3]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13488,8 +15647,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.StellarSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.StellarSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.NemSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.NemSpecific.toObject(opt_includeInstance, this); }; @@ -13498,15 +15657,18 @@ proto.adamant.global.v1.StellarSpecific.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.StellarSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.NemSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.StellarSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.NemSpecific.toObject = function(includeInstance, msg) { var f, obj = { - sequenceNumber: jspb.Message.getFieldWithDefault(msg, 1, 0), - memoId: jspb.Message.getFieldWithDefault(msg, 2, "0"), - isNextSequenceNumber: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + message: jspb.Message.getFieldWithDefault(msg, 1, ""), + txType: jspb.Message.getFieldWithDefault(msg, 2, 0), + nemMultisigTransactionsList: jspb.Message.toObjectList(msg.getNemMultisigTransactionsList(), + proto.adamant.global.v1.NemMultisigTransaction.toObject, includeInstance), + expiration: jspb.Message.getFieldWithDefault(msg, 4, 0), + timestamp: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { @@ -13520,23 +15682,23 @@ proto.adamant.global.v1.StellarSpecific.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.StellarSpecific} + * @return {!proto.adamant.global.v1.NemSpecific} */ -proto.adamant.global.v1.StellarSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.NemSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.StellarSpecific; - return proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.NemSpecific; + return proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.StellarSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.NemSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.StellarSpecific} + * @return {!proto.adamant.global.v1.NemSpecific} */ -proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13544,16 +15706,25 @@ proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader = function(m var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setSequenceNumber(value); + var value = /** @type {string} */ (reader.readString()); + msg.setMessage(value); break; case 2: - var value = /** @type {string} */ (reader.readUint64String()); - msg.setMemoId(value); + var value = /** @type {!proto.gincoinc.global.v1.NemTransactionType} */ (reader.readEnum()); + msg.setTxType(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextSequenceNumber(value); + var value = new proto.adamant.global.v1.NemMultisigTransaction; + reader.readMessage(value,proto.adamant.global.v1.NemMultisigTransaction.deserializeBinaryFromReader); + msg.addNemMultisigTransactions(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimestamp(value); break; default: reader.skipField(); @@ -13568,9 +15739,9 @@ proto.adamant.global.v1.StellarSpecific.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.StellarSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.NemSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.StellarSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13578,30 +15749,45 @@ proto.adamant.global.v1.StellarSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.StellarSpecific} message + * @param {!proto.adamant.global.v1.NemSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.StellarSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getSequenceNumber(); - if (f !== 0) { - writer.writeInt64( + f = message.getMessage(); + if (f.length > 0) { + writer.writeString( 1, f ); } - f = message.getMemoId(); - if (parseInt(f, 10) !== 0) { - writer.writeUint64String( + f = message.getTxType(); + if (f !== 0.0) { + writer.writeEnum( 2, f ); } - f = message.getIsNextSequenceNumber(); - if (f) { - writer.writeBool( + f = message.getNemMultisigTransactionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 3, + f, + proto.adamant.global.v1.NemMultisigTransaction.serializeBinaryToWriter + ); + } + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } + f = message.getTimestamp(); + if (f !== 0) { + writer.writeUint64( + 5, f ); } @@ -13609,66 +15795,115 @@ proto.adamant.global.v1.StellarSpecific.serializeBinaryToWriter = function(messa /** - * optional int64 sequence_number = 1; - * @return {number} + * optional string message = 1; + * @return {string} */ -proto.adamant.global.v1.StellarSpecific.prototype.getSequenceNumber = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.NemSpecific.prototype.getMessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.StellarSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.NemSpecific} returns this */ -proto.adamant.global.v1.StellarSpecific.prototype.setSequenceNumber = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.NemSpecific.prototype.setMessage = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional uint64 memo_id = 2; - * @return {string} + * optional gincoinc.global.v1.NemTransactionType tx_type = 2; + * @return {!proto.gincoinc.global.v1.NemTransactionType} */ -proto.adamant.global.v1.StellarSpecific.prototype.getMemoId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0")); +proto.adamant.global.v1.NemSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.NemTransactionType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.StellarSpecific} returns this + * @param {!proto.gincoinc.global.v1.NemTransactionType} value + * @return {!proto.adamant.global.v1.NemSpecific} returns this */ -proto.adamant.global.v1.StellarSpecific.prototype.setMemoId = function(value) { - return jspb.Message.setProto3StringIntField(this, 2, value); +proto.adamant.global.v1.NemSpecific.prototype.setTxType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); }; /** - * optional bool is_next_sequence_number = 3; - * @return {boolean} + * repeated NemMultisigTransaction nem_multisig_transactions = 3; + * @return {!Array} */ -proto.adamant.global.v1.StellarSpecific.prototype.getIsNextSequenceNumber = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.NemSpecific.prototype.getNemMultisigTransactionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.NemMultisigTransaction, 3)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.StellarSpecific} returns this + * @param {!Array} value + * @return {!proto.adamant.global.v1.NemSpecific} returns this +*/ +proto.adamant.global.v1.NemSpecific.prototype.setNemMultisigTransactionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.adamant.global.v1.NemMultisigTransaction=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.NemMultisigTransaction} */ -proto.adamant.global.v1.StellarSpecific.prototype.setIsNextSequenceNumber = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.NemSpecific.prototype.addNemMultisigTransactions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.NemMultisigTransaction, opt_index); }; +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.NemSpecific} returns this + */ +proto.adamant.global.v1.NemSpecific.prototype.clearNemMultisigTransactionsList = function() { + return this.setNemMultisigTransactionsList([]); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * optional uint64 expiration = 4; + * @return {number} */ -proto.adamant.global.v1.CardanoSpecific.repeatedFields_ = [1,2]; +proto.adamant.global.v1.NemSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.NemSpecific} returns this + */ +proto.adamant.global.v1.NemSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional uint64 timestamp = 5; + * @return {number} + */ +proto.adamant.global.v1.NemSpecific.prototype.getTimestamp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.NemSpecific} returns this + */ +proto.adamant.global.v1.NemSpecific.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + @@ -13685,8 +15920,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CardanoSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CardanoSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.IOSTSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.IOSTSpecific.toObject(opt_includeInstance, this); }; @@ -13695,16 +15930,16 @@ proto.adamant.global.v1.CardanoSpecific.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CardanoSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.IOSTSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.IOSTSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), - proto.adamant.global.v1.TxInput.toObject, includeInstance), - txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), - proto.adamant.global.v1.TxOutput.toObject, includeInstance) + memo: jspb.Message.getFieldWithDefault(msg, 1, ""), + timestamp: jspb.Message.getFieldWithDefault(msg, 2, 0), + expiration: jspb.Message.getFieldWithDefault(msg, 3, 0), + type: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -13718,23 +15953,23 @@ proto.adamant.global.v1.CardanoSpecific.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CardanoSpecific} + * @return {!proto.adamant.global.v1.IOSTSpecific} */ -proto.adamant.global.v1.CardanoSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.IOSTSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CardanoSpecific; - return proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.IOSTSpecific; + return proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CardanoSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.IOSTSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CardanoSpecific} + * @return {!proto.adamant.global.v1.IOSTSpecific} */ -proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13742,14 +15977,20 @@ proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader = function(m var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.TxInput; - reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); - msg.addTxInputs(value); + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); break; case 2: - var value = new proto.adamant.global.v1.TxOutput; - reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); - msg.addTxOutputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimestamp(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); + break; + case 4: + var value = /** @type {!proto.adamant.global.v1.IOSTActionType} */ (reader.readEnum()); + msg.setType(value); break; default: reader.skipField(); @@ -13764,9 +16005,9 @@ proto.adamant.global.v1.CardanoSpecific.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CardanoSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.IOSTSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CardanoSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.IOSTSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13774,115 +16015,116 @@ proto.adamant.global.v1.CardanoSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CardanoSpecific} message + * @param {!proto.adamant.global.v1.IOSTSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CardanoSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.IOSTSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxInputsList(); + f = message.getMemo(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeString( 1, - f, - proto.adamant.global.v1.TxInput.serializeBinaryToWriter + f ); } - f = message.getTxOutputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getTimestamp(); + if (f !== 0) { + writer.writeUint64( 2, - f, - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter + f + ); + } + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f ); } }; /** - * repeated TxInput tx_inputs = 1; - * @return {!Array} + * optional string memo = 1; + * @return {string} */ -proto.adamant.global.v1.CardanoSpecific.prototype.getTxInputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); +proto.adamant.global.v1.IOSTSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.CardanoSpecific} returns this -*/ -proto.adamant.global.v1.CardanoSpecific.prototype.setTxInputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {string} value + * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + */ +proto.adamant.global.v1.IOSTSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * @param {!proto.adamant.global.v1.TxInput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxInput} + * optional uint64 timestamp = 2; + * @return {number} */ -proto.adamant.global.v1.CardanoSpecific.prototype.addTxInputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); +proto.adamant.global.v1.IOSTSpecific.prototype.getTimestamp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.CardanoSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.IOSTSpecific} returns this */ -proto.adamant.global.v1.CardanoSpecific.prototype.clearTxInputsList = function() { - return this.setTxInputsList([]); +proto.adamant.global.v1.IOSTSpecific.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * repeated TxOutput tx_outputs = 2; - * @return {!Array} + * optional uint64 expiration = 3; + * @return {number} */ -proto.adamant.global.v1.CardanoSpecific.prototype.getTxOutputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); +proto.adamant.global.v1.IOSTSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.CardanoSpecific} returns this -*/ -proto.adamant.global.v1.CardanoSpecific.prototype.setTxOutputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); + * @param {number} value + * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + */ +proto.adamant.global.v1.IOSTSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); }; /** - * @param {!proto.adamant.global.v1.TxOutput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxOutput} + * optional IOSTActionType type = 4; + * @return {!proto.adamant.global.v1.IOSTActionType} */ -proto.adamant.global.v1.CardanoSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +proto.adamant.global.v1.IOSTSpecific.prototype.getType = function() { + return /** @type {!proto.adamant.global.v1.IOSTActionType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.CardanoSpecific} returns this + * @param {!proto.adamant.global.v1.IOSTActionType} value + * @return {!proto.adamant.global.v1.IOSTSpecific} returns this */ -proto.adamant.global.v1.CardanoSpecific.prototype.clearTxOutputsList = function() { - return this.setTxOutputsList([]); +proto.adamant.global.v1.IOSTSpecific.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.adamant.global.v1.SubstrateSpecific.repeatedFields_ = [4]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13898,8 +16140,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.SubstrateSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.SubstrateSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.PolygonSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.PolygonSpecific.toObject(opt_includeInstance, this); }; @@ -13908,17 +16150,15 @@ proto.adamant.global.v1.SubstrateSpecific.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.SubstrateSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.PolygonSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SubstrateSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.PolygonSpecific.toObject = function(includeInstance, msg) { var f, obj = { - nonce: jspb.Message.getFieldWithDefault(msg, 1, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - substrateMultisigTransactionsList: jspb.Message.toObjectList(msg.getSubstrateMultisigTransactionsList(), - proto.adamant.global.v1.SubstrateMultisigTransaction.toObject, includeInstance), - callType: jspb.Message.getFieldWithDefault(msg, 6, 0) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -13932,23 +16172,23 @@ proto.adamant.global.v1.SubstrateSpecific.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.SubstrateSpecific} + * @return {!proto.adamant.global.v1.PolygonSpecific} */ -proto.adamant.global.v1.SubstrateSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.PolygonSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.SubstrateSpecific; - return proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.PolygonSpecific; + return proto.adamant.global.v1.PolygonSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.SubstrateSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.PolygonSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.SubstrateSpecific} + * @return {!proto.adamant.global.v1.PolygonSpecific} */ -proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.PolygonSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13957,21 +16197,16 @@ proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader = function switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + msg.setGasLimit(value); break; case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setNonce(value); + break; + case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsNextNonce(value); break; - case 4: - var value = new proto.adamant.global.v1.SubstrateMultisigTransaction; - reader.readMessage(value,proto.adamant.global.v1.SubstrateMultisigTransaction.deserializeBinaryFromReader); - msg.addSubstrateMultisigTransactions(value); - break; - case 6: - var value = /** @type {!proto.adamant.global.v1.SubstrateCallType} */ (reader.readEnum()); - msg.setCallType(value); - break; default: reader.skipField(); break; @@ -13985,9 +16220,9 @@ proto.adamant.global.v1.SubstrateSpecific.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.SubstrateSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.PolygonSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.SubstrateSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.PolygonSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13995,38 +16230,30 @@ proto.adamant.global.v1.SubstrateSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.SubstrateSpecific} message + * @param {!proto.adamant.global.v1.PolygonSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SubstrateSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.PolygonSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getNonce(); + f = message.getGasLimit(); if (f !== 0) { writer.writeUint64( 1, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( 2, f ); } - f = message.getSubstrateMultisigTransactionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 4, - f, - proto.adamant.global.v1.SubstrateMultisigTransaction.serializeBinaryToWriter - ); - } - f = message.getCallType(); - if (f !== 0.0) { - writer.writeEnum( - 6, + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, f ); } @@ -14034,105 +16261,60 @@ proto.adamant.global.v1.SubstrateSpecific.serializeBinaryToWriter = function(mes /** - * optional uint64 nonce = 1; + * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.SubstrateSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.PolygonSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + * @return {!proto.adamant.global.v1.PolygonSpecific} returns this */ -proto.adamant.global.v1.SubstrateSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.PolygonSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional bool is_next_nonce = 2; - * @return {boolean} - */ -proto.adamant.global.v1.SubstrateSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this - */ -proto.adamant.global.v1.SubstrateSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 2, value); -}; - - -/** - * repeated SubstrateMultisigTransaction substrate_multisig_transactions = 4; - * @return {!Array} - */ -proto.adamant.global.v1.SubstrateSpecific.prototype.getSubstrateMultisigTransactionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.SubstrateMultisigTransaction, 4)); -}; - - -/** - * @param {!Array} value - * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this -*/ -proto.adamant.global.v1.SubstrateSpecific.prototype.setSubstrateMultisigTransactionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 4, value); -}; - - -/** - * @param {!proto.adamant.global.v1.SubstrateMultisigTransaction=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.SubstrateMultisigTransaction} + * optional uint64 nonce = 2; + * @return {number} */ -proto.adamant.global.v1.SubstrateSpecific.prototype.addSubstrateMultisigTransactions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.adamant.global.v1.SubstrateMultisigTransaction, opt_index); +proto.adamant.global.v1.PolygonSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.PolygonSpecific} returns this */ -proto.adamant.global.v1.SubstrateSpecific.prototype.clearSubstrateMultisigTransactionsList = function() { - return this.setSubstrateMultisigTransactionsList([]); +proto.adamant.global.v1.PolygonSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional SubstrateCallType call_type = 6; - * @return {!proto.adamant.global.v1.SubstrateCallType} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.SubstrateSpecific.prototype.getCallType = function() { - return /** @type {!proto.adamant.global.v1.SubstrateCallType} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.adamant.global.v1.PolygonSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {!proto.adamant.global.v1.SubstrateCallType} value - * @return {!proto.adamant.global.v1.SubstrateSpecific} returns this + * @param {boolean} value + * @return {!proto.adamant.global.v1.PolygonSpecific} returns this */ -proto.adamant.global.v1.SubstrateSpecific.prototype.setCallType = function(value) { - return jspb.Message.setProto3EnumField(this, 6, value); +proto.adamant.global.v1.PolygonSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.adamant.global.v1.MonacoinSpecific.repeatedFields_ = [1,2]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -14148,8 +16330,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.MonacoinSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.MonacoinSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.KlaytnSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.KlaytnSpecific.toObject(opt_includeInstance, this); }; @@ -14158,16 +16340,15 @@ proto.adamant.global.v1.MonacoinSpecific.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.MonacoinSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.KlaytnSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.MonacoinSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.KlaytnSpecific.toObject = function(includeInstance, msg) { var f, obj = { - txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), - proto.adamant.global.v1.TxInput.toObject, includeInstance), - txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), - proto.adamant.global.v1.TxOutput.toObject, includeInstance) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -14181,23 +16362,23 @@ proto.adamant.global.v1.MonacoinSpecific.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.MonacoinSpecific} + * @return {!proto.adamant.global.v1.KlaytnSpecific} */ -proto.adamant.global.v1.MonacoinSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.KlaytnSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.MonacoinSpecific; - return proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.KlaytnSpecific; + return proto.adamant.global.v1.KlaytnSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.MonacoinSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.KlaytnSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.MonacoinSpecific} + * @return {!proto.adamant.global.v1.KlaytnSpecific} */ -proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.KlaytnSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14205,14 +16386,16 @@ proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.adamant.global.v1.TxInput; - reader.readMessage(value,proto.adamant.global.v1.TxInput.deserializeBinaryFromReader); - msg.addTxInputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasLimit(value); break; case 2: - var value = new proto.adamant.global.v1.TxOutput; - reader.readMessage(value,proto.adamant.global.v1.TxOutput.deserializeBinaryFromReader); - msg.addTxOutputs(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setNonce(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); break; default: reader.skipField(); @@ -14227,9 +16410,9 @@ proto.adamant.global.v1.MonacoinSpecific.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.MonacoinSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.KlaytnSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.MonacoinSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.KlaytnSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14237,104 +16420,87 @@ proto.adamant.global.v1.MonacoinSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.MonacoinSpecific} message + * @param {!proto.adamant.global.v1.KlaytnSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.MonacoinSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.KlaytnSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTxInputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( 1, - f, - proto.adamant.global.v1.TxInput.serializeBinaryToWriter + f ); } - f = message.getTxOutputsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( 2, - f, - proto.adamant.global.v1.TxOutput.serializeBinaryToWriter + f + ); + } + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, + f ); } }; /** - * repeated TxInput tx_inputs = 1; - * @return {!Array} + * optional uint64 gas_limit = 1; + * @return {number} */ -proto.adamant.global.v1.MonacoinSpecific.prototype.getTxInputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxInput, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this -*/ -proto.adamant.global.v1.MonacoinSpecific.prototype.setTxInputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.adamant.global.v1.KlaytnSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.adamant.global.v1.TxInput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxInput} + * @param {number} value + * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this */ -proto.adamant.global.v1.MonacoinSpecific.prototype.addTxInputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.adamant.global.v1.TxInput, opt_index); +proto.adamant.global.v1.KlaytnSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this + * optional uint64 nonce = 2; + * @return {number} */ -proto.adamant.global.v1.MonacoinSpecific.prototype.clearTxInputsList = function() { - return this.setTxInputsList([]); +proto.adamant.global.v1.KlaytnSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * repeated TxOutput tx_outputs = 2; - * @return {!Array} + * @param {number} value + * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this */ -proto.adamant.global.v1.MonacoinSpecific.prototype.getTxOutputsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.TxOutput, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this -*/ -proto.adamant.global.v1.MonacoinSpecific.prototype.setTxOutputsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); +proto.adamant.global.v1.KlaytnSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * @param {!proto.adamant.global.v1.TxOutput=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.TxOutput} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.MonacoinSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.TxOutput, opt_index); +proto.adamant.global.v1.KlaytnSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.MonacoinSpecific} returns this + * @param {boolean} value + * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this */ -proto.adamant.global.v1.MonacoinSpecific.prototype.clearTxOutputsList = function() { - return this.setTxOutputsList([]); +proto.adamant.global.v1.KlaytnSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -14344,7 +16510,7 @@ proto.adamant.global.v1.MonacoinSpecific.prototype.clearTxOutputsList = function * @private {!Array} * @const */ -proto.adamant.global.v1.NemSpecific.repeatedFields_ = [3]; +proto.adamant.global.v1.SymbolSpecific.repeatedFields_ = [3]; @@ -14361,8 +16527,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.NemSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.NemSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.SymbolSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.SymbolSpecific.toObject(opt_includeInstance, this); }; @@ -14371,16 +16537,16 @@ proto.adamant.global.v1.NemSpecific.prototype.toObject = function(opt_includeIns * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.NemSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.SymbolSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.NemSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.SymbolSpecific.toObject = function(includeInstance, msg) { var f, obj = { message: jspb.Message.getFieldWithDefault(msg, 1, ""), txType: jspb.Message.getFieldWithDefault(msg, 2, 0), - nemMultisigTransactionsList: jspb.Message.toObjectList(msg.getNemMultisigTransactionsList(), - proto.adamant.global.v1.NemMultisigTransaction.toObject, includeInstance), + symbolMultisigTransactionsList: jspb.Message.toObjectList(msg.getSymbolMultisigTransactionsList(), + proto.adamant.global.v1.SymbolMultisigTransaction.toObject, includeInstance), expiration: jspb.Message.getFieldWithDefault(msg, 4, 0), timestamp: jspb.Message.getFieldWithDefault(msg, 5, 0) }; @@ -14396,23 +16562,23 @@ proto.adamant.global.v1.NemSpecific.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.NemSpecific} + * @return {!proto.adamant.global.v1.SymbolSpecific} */ -proto.adamant.global.v1.NemSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.SymbolSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.NemSpecific; - return proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.SymbolSpecific; + return proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.NemSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.SymbolSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.NemSpecific} + * @return {!proto.adamant.global.v1.SymbolSpecific} */ -proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14424,13 +16590,13 @@ proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader = function(msg, msg.setMessage(value); break; case 2: - var value = /** @type {!proto.gincoinc.global.v1.NemTransactionType} */ (reader.readEnum()); + var value = /** @type {!proto.gincoinc.global.v1.SymbolTransactionType} */ (reader.readEnum()); msg.setTxType(value); break; case 3: - var value = new proto.adamant.global.v1.NemMultisigTransaction; - reader.readMessage(value,proto.adamant.global.v1.NemMultisigTransaction.deserializeBinaryFromReader); - msg.addNemMultisigTransactions(value); + var value = new proto.adamant.global.v1.SymbolMultisigTransaction; + reader.readMessage(value,proto.adamant.global.v1.SymbolMultisigTransaction.deserializeBinaryFromReader); + msg.addSymbolMultisigTransactions(value); break; case 4: var value = /** @type {number} */ (reader.readUint64()); @@ -14453,9 +16619,9 @@ proto.adamant.global.v1.NemSpecific.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.NemSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.SymbolSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.SymbolSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14463,11 +16629,11 @@ proto.adamant.global.v1.NemSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.NemSpecific} message + * @param {!proto.adamant.global.v1.SymbolSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.SymbolSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMessage(); if (f.length > 0) { @@ -14483,12 +16649,12 @@ proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter = function(message, f ); } - f = message.getNemMultisigTransactionsList(); + f = message.getSymbolMultisigTransactionsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, - proto.adamant.global.v1.NemMultisigTransaction.serializeBinaryToWriter + proto.adamant.global.v1.SymbolMultisigTransaction.serializeBinaryToWriter ); } f = message.getExpiration(); @@ -14512,73 +16678,73 @@ proto.adamant.global.v1.NemSpecific.serializeBinaryToWriter = function(message, * optional string message = 1; * @return {string} */ -proto.adamant.global.v1.NemSpecific.prototype.getMessage = function() { +proto.adamant.global.v1.SymbolSpecific.prototype.getMessage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.setMessage = function(value) { +proto.adamant.global.v1.SymbolSpecific.prototype.setMessage = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional gincoinc.global.v1.NemTransactionType tx_type = 2; - * @return {!proto.gincoinc.global.v1.NemTransactionType} + * optional gincoinc.global.v1.SymbolTransactionType tx_type = 2; + * @return {!proto.gincoinc.global.v1.SymbolTransactionType} */ -proto.adamant.global.v1.NemSpecific.prototype.getTxType = function() { - return /** @type {!proto.gincoinc.global.v1.NemTransactionType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.SymbolSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.SymbolTransactionType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.gincoinc.global.v1.NemTransactionType} value - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @param {!proto.gincoinc.global.v1.SymbolTransactionType} value + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.setTxType = function(value) { +proto.adamant.global.v1.SymbolSpecific.prototype.setTxType = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; /** - * repeated NemMultisigTransaction nem_multisig_transactions = 3; - * @return {!Array} + * repeated SymbolMultisigTransaction symbol_multisig_transactions = 3; + * @return {!Array} */ -proto.adamant.global.v1.NemSpecific.prototype.getNemMultisigTransactionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.NemMultisigTransaction, 3)); +proto.adamant.global.v1.SymbolSpecific.prototype.getSymbolMultisigTransactionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.SymbolMultisigTransaction, 3)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @param {!Array} value + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.setNemMultisigTransactionsList = function(value) { +proto.adamant.global.v1.SymbolSpecific.prototype.setSymbolMultisigTransactionsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.adamant.global.v1.NemMultisigTransaction=} opt_value + * @param {!proto.adamant.global.v1.SymbolMultisigTransaction=} opt_value * @param {number=} opt_index - * @return {!proto.adamant.global.v1.NemMultisigTransaction} + * @return {!proto.adamant.global.v1.SymbolMultisigTransaction} */ -proto.adamant.global.v1.NemSpecific.prototype.addNemMultisigTransactions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.NemMultisigTransaction, opt_index); +proto.adamant.global.v1.SymbolSpecific.prototype.addSymbolMultisigTransactions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.SymbolMultisigTransaction, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.clearNemMultisigTransactionsList = function() { - return this.setNemMultisigTransactionsList([]); +proto.adamant.global.v1.SymbolSpecific.prototype.clearSymbolMultisigTransactionsList = function() { + return this.setSymbolMultisigTransactionsList([]); }; @@ -14586,16 +16752,16 @@ proto.adamant.global.v1.NemSpecific.prototype.clearNemMultisigTransactionsList = * optional uint64 expiration = 4; * @return {number} */ -proto.adamant.global.v1.NemSpecific.prototype.getExpiration = function() { +proto.adamant.global.v1.SymbolSpecific.prototype.getExpiration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.setExpiration = function(value) { +proto.adamant.global.v1.SymbolSpecific.prototype.setExpiration = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; @@ -14604,16 +16770,16 @@ proto.adamant.global.v1.NemSpecific.prototype.setExpiration = function(value) { * optional uint64 timestamp = 5; * @return {number} */ -proto.adamant.global.v1.NemSpecific.prototype.getTimestamp = function() { +proto.adamant.global.v1.SymbolSpecific.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.NemSpecific} returns this + * @return {!proto.adamant.global.v1.SymbolSpecific} returns this */ -proto.adamant.global.v1.NemSpecific.prototype.setTimestamp = function(value) { +proto.adamant.global.v1.SymbolSpecific.prototype.setTimestamp = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -14634,8 +16800,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.IOSTSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.IOSTSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AvalancheSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AvalancheSpecific.toObject(opt_includeInstance, this); }; @@ -14644,16 +16810,16 @@ proto.adamant.global.v1.IOSTSpecific.prototype.toObject = function(opt_includeIn * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.IOSTSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AvalancheSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.IOSTSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AvalancheSpecific.toObject = function(includeInstance, msg) { var f, obj = { - memo: jspb.Message.getFieldWithDefault(msg, 1, ""), - timestamp: jspb.Message.getFieldWithDefault(msg, 2, 0), - expiration: jspb.Message.getFieldWithDefault(msg, 3, 0), - type: jspb.Message.getFieldWithDefault(msg, 4, 0) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + atomicTx: (f = msg.getAtomicTx()) && proto.adamant.global.v1.AtomicTx.toObject(includeInstance, f) }; if (includeInstance) { @@ -14667,23 +16833,23 @@ proto.adamant.global.v1.IOSTSpecific.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.IOSTSpecific} + * @return {!proto.adamant.global.v1.AvalancheSpecific} */ -proto.adamant.global.v1.IOSTSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AvalancheSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.IOSTSpecific; - return proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AvalancheSpecific; + return proto.adamant.global.v1.AvalancheSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.IOSTSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AvalancheSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.IOSTSpecific} + * @return {!proto.adamant.global.v1.AvalancheSpecific} */ -proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AvalancheSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14691,20 +16857,21 @@ proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasLimit(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); + msg.setNonce(value); break; case 3: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); break; case 4: - var value = /** @type {!proto.adamant.global.v1.IOSTActionType} */ (reader.readEnum()); - msg.setType(value); + var value = new proto.adamant.global.v1.AtomicTx; + reader.readMessage(value,proto.adamant.global.v1.AtomicTx.deserializeBinaryFromReader); + msg.setAtomicTx(value); break; default: reader.skipField(); @@ -14719,9 +16886,9 @@ proto.adamant.global.v1.IOSTSpecific.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.IOSTSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AvalancheSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.IOSTSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AvalancheSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14729,112 +16896,132 @@ proto.adamant.global.v1.IOSTSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.IOSTSpecific} message + * @param {!proto.adamant.global.v1.AvalancheSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.IOSTSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.AvalancheSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getMemo(); - if (f.length > 0) { - writer.writeString( + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( 1, f ); } - f = message.getTimestamp(); + f = message.getNonce(); if (f !== 0) { writer.writeUint64( 2, f ); } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( 3, f ); } - f = message.getType(); - if (f !== 0.0) { - writer.writeEnum( + f = message.getAtomicTx(); + if (f != null) { + writer.writeMessage( 4, - f + f, + proto.adamant.global.v1.AtomicTx.serializeBinaryToWriter ); } }; /** - * optional string memo = 1; - * @return {string} + * optional uint64 gas_limit = 1; + * @return {number} */ -proto.adamant.global.v1.IOSTSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.AvalancheSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this */ -proto.adamant.global.v1.IOSTSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.adamant.global.v1.AvalancheSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional uint64 timestamp = 2; + * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.IOSTSpecific.prototype.getTimestamp = function() { +proto.adamant.global.v1.AvalancheSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this */ -proto.adamant.global.v1.IOSTSpecific.prototype.setTimestamp = function(value) { +proto.adamant.global.v1.AvalancheSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional uint64 expiration = 3; - * @return {number} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.IOSTSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.adamant.global.v1.AvalancheSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + * @param {boolean} value + * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this */ -proto.adamant.global.v1.IOSTSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); +proto.adamant.global.v1.AvalancheSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; /** - * optional IOSTActionType type = 4; - * @return {!proto.adamant.global.v1.IOSTActionType} + * optional AtomicTx atomic_tx = 4; + * @return {?proto.adamant.global.v1.AtomicTx} */ -proto.adamant.global.v1.IOSTSpecific.prototype.getType = function() { - return /** @type {!proto.adamant.global.v1.IOSTActionType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.adamant.global.v1.AvalancheSpecific.prototype.getAtomicTx = function() { + return /** @type{?proto.adamant.global.v1.AtomicTx} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.AtomicTx, 4)); }; /** - * @param {!proto.adamant.global.v1.IOSTActionType} value - * @return {!proto.adamant.global.v1.IOSTSpecific} returns this + * @param {?proto.adamant.global.v1.AtomicTx|undefined} value + * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this +*/ +proto.adamant.global.v1.AvalancheSpecific.prototype.setAtomicTx = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this */ -proto.adamant.global.v1.IOSTSpecific.prototype.setType = function(value) { - return jspb.Message.setProto3EnumField(this, 4, value); +proto.adamant.global.v1.AvalancheSpecific.prototype.clearAtomicTx = function() { + return this.setAtomicTx(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.AvalancheSpecific.prototype.hasAtomicTx = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -14854,8 +17041,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.PolygonSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.PolygonSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.OasysSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.OasysSpecific.toObject(opt_includeInstance, this); }; @@ -14864,11 +17051,11 @@ proto.adamant.global.v1.PolygonSpecific.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.PolygonSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.OasysSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.PolygonSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.OasysSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -14886,23 +17073,23 @@ proto.adamant.global.v1.PolygonSpecific.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.PolygonSpecific} + * @return {!proto.adamant.global.v1.OasysSpecific} */ -proto.adamant.global.v1.PolygonSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.OasysSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.PolygonSpecific; - return proto.adamant.global.v1.PolygonSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.OasysSpecific; + return proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.PolygonSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.OasysSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.PolygonSpecific} + * @return {!proto.adamant.global.v1.OasysSpecific} */ -proto.adamant.global.v1.PolygonSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14934,9 +17121,9 @@ proto.adamant.global.v1.PolygonSpecific.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.PolygonSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.OasysSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.PolygonSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.OasysSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14944,11 +17131,11 @@ proto.adamant.global.v1.PolygonSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.PolygonSpecific} message + * @param {!proto.adamant.global.v1.OasysSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.PolygonSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.OasysSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGasLimit(); if (f !== 0) { @@ -14978,16 +17165,16 @@ proto.adamant.global.v1.PolygonSpecific.serializeBinaryToWriter = function(messa * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.PolygonSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.OasysSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.PolygonSpecific} returns this + * @return {!proto.adamant.global.v1.OasysSpecific} returns this */ -proto.adamant.global.v1.PolygonSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.OasysSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -14996,16 +17183,16 @@ proto.adamant.global.v1.PolygonSpecific.prototype.setGasLimit = function(value) * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.PolygonSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.OasysSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.PolygonSpecific} returns this + * @return {!proto.adamant.global.v1.OasysSpecific} returns this */ -proto.adamant.global.v1.PolygonSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.OasysSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -15014,16 +17201,16 @@ proto.adamant.global.v1.PolygonSpecific.prototype.setNonce = function(value) { * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.PolygonSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.OasysSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.PolygonSpecific} returns this + * @return {!proto.adamant.global.v1.OasysSpecific} returns this */ -proto.adamant.global.v1.PolygonSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.OasysSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -15044,8 +17231,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.KlaytnSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.KlaytnSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.XdcSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.XdcSpecific.toObject(opt_includeInstance, this); }; @@ -15054,11 +17241,11 @@ proto.adamant.global.v1.KlaytnSpecific.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.KlaytnSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.XdcSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.KlaytnSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.XdcSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -15076,23 +17263,23 @@ proto.adamant.global.v1.KlaytnSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.KlaytnSpecific} + * @return {!proto.adamant.global.v1.XdcSpecific} */ -proto.adamant.global.v1.KlaytnSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.XdcSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.KlaytnSpecific; - return proto.adamant.global.v1.KlaytnSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.XdcSpecific; + return proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.KlaytnSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.XdcSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.KlaytnSpecific} + * @return {!proto.adamant.global.v1.XdcSpecific} */ -proto.adamant.global.v1.KlaytnSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15124,9 +17311,9 @@ proto.adamant.global.v1.KlaytnSpecific.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.KlaytnSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.XdcSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.KlaytnSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.XdcSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15134,11 +17321,11 @@ proto.adamant.global.v1.KlaytnSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.KlaytnSpecific} message + * @param {!proto.adamant.global.v1.XdcSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.KlaytnSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.XdcSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGasLimit(); if (f !== 0) { @@ -15168,16 +17355,16 @@ proto.adamant.global.v1.KlaytnSpecific.serializeBinaryToWriter = function(messag * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.KlaytnSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.XdcSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this + * @return {!proto.adamant.global.v1.XdcSpecific} returns this */ -proto.adamant.global.v1.KlaytnSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.XdcSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -15186,16 +17373,16 @@ proto.adamant.global.v1.KlaytnSpecific.prototype.setGasLimit = function(value) { * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.KlaytnSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.XdcSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this + * @return {!proto.adamant.global.v1.XdcSpecific} returns this */ -proto.adamant.global.v1.KlaytnSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.XdcSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -15204,28 +17391,21 @@ proto.adamant.global.v1.KlaytnSpecific.prototype.setNonce = function(value) { * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.KlaytnSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.XdcSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.KlaytnSpecific} returns this + * @return {!proto.adamant.global.v1.XdcSpecific} returns this */ -proto.adamant.global.v1.KlaytnSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.XdcSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.adamant.global.v1.SymbolSpecific.repeatedFields_ = [3]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -15241,8 +17421,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.SymbolSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.SymbolSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.CosmosSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CosmosSpecific.toObject(opt_includeInstance, this); }; @@ -15251,18 +17431,18 @@ proto.adamant.global.v1.SymbolSpecific.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.SymbolSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.CosmosSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SymbolSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.CosmosSpecific.toObject = function(includeInstance, msg) { var f, obj = { - message: jspb.Message.getFieldWithDefault(msg, 1, ""), - txType: jspb.Message.getFieldWithDefault(msg, 2, 0), - symbolMultisigTransactionsList: jspb.Message.toObjectList(msg.getSymbolMultisigTransactionsList(), - proto.adamant.global.v1.SymbolMultisigTransaction.toObject, includeInstance), - expiration: jspb.Message.getFieldWithDefault(msg, 4, 0), - timestamp: jspb.Message.getFieldWithDefault(msg, 5, 0) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + type: jspb.Message.getFieldWithDefault(msg, 4, 0), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), + gasAdjustment: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -15276,23 +17456,23 @@ proto.adamant.global.v1.SymbolSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.SymbolSpecific} + * @return {!proto.adamant.global.v1.CosmosSpecific} */ -proto.adamant.global.v1.SymbolSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.CosmosSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.SymbolSpecific; - return proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.CosmosSpecific; + return proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.SymbolSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.CosmosSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.SymbolSpecific} + * @return {!proto.adamant.global.v1.CosmosSpecific} */ -proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15300,25 +17480,28 @@ proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMessage(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasLimit(value); break; case 2: - var value = /** @type {!proto.gincoinc.global.v1.SymbolTransactionType} */ (reader.readEnum()); - msg.setTxType(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setNonce(value); break; case 3: - var value = new proto.adamant.global.v1.SymbolMultisigTransaction; - reader.readMessage(value,proto.adamant.global.v1.SymbolMultisigTransaction.deserializeBinaryFromReader); - msg.addSymbolMultisigTransactions(value); + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); break; case 4: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + var value = /** @type {!proto.gincoinc.global.v1.CosmosMsgType} */ (reader.readEnum()); + msg.setType(value); break; case 5: - var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 6: + var value = /** @type {number} */ (reader.readDouble()); + msg.setGasAdjustment(value); break; default: reader.skipField(); @@ -15333,9 +17516,9 @@ proto.adamant.global.v1.SymbolSpecific.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.SymbolSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.CosmosSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.SymbolSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15343,158 +17526,162 @@ proto.adamant.global.v1.SymbolSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.SymbolSpecific} message + * @param {!proto.adamant.global.v1.CosmosSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SymbolSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getMessage(); - if (f.length > 0) { - writer.writeString( + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( 1, f ); } - f = message.getTxType(); - if (f !== 0.0) { - writer.writeEnum( + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( 2, f ); } - f = message.getSymbolMultisigTransactionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( 3, - f, - proto.adamant.global.v1.SymbolMultisigTransaction.serializeBinaryToWriter + f ); } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( 4, f ); } - f = message.getTimestamp(); - if (f !== 0) { - writer.writeUint64( + f = message.getMemo(); + if (f.length > 0) { + writer.writeString( 5, f ); } + f = message.getGasAdjustment(); + if (f !== 0.0) { + writer.writeDouble( + 6, + f + ); + } }; /** - * optional string message = 1; - * @return {string} + * optional uint64 gas_limit = 1; + * @return {number} */ -proto.adamant.global.v1.SymbolSpecific.prototype.getMessage = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.CosmosSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this */ -proto.adamant.global.v1.SymbolSpecific.prototype.setMessage = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.adamant.global.v1.CosmosSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional gincoinc.global.v1.SymbolTransactionType tx_type = 2; - * @return {!proto.gincoinc.global.v1.SymbolTransactionType} + * optional uint64 nonce = 2; + * @return {number} */ -proto.adamant.global.v1.SymbolSpecific.prototype.getTxType = function() { - return /** @type {!proto.gincoinc.global.v1.SymbolTransactionType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.CosmosSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.gincoinc.global.v1.SymbolTransactionType} value - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this */ -proto.adamant.global.v1.SymbolSpecific.prototype.setTxType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); +proto.adamant.global.v1.CosmosSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; /** - * repeated SymbolMultisigTransaction symbol_multisig_transactions = 3; - * @return {!Array} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.SymbolSpecific.prototype.getSymbolMultisigTransactionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.SymbolMultisigTransaction, 3)); +proto.adamant.global.v1.CosmosSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {!Array} value - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this -*/ -proto.adamant.global.v1.SymbolSpecific.prototype.setSymbolMultisigTransactionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); + * @param {boolean} value + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this + */ +proto.adamant.global.v1.CosmosSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; /** - * @param {!proto.adamant.global.v1.SymbolMultisigTransaction=} opt_value - * @param {number=} opt_index - * @return {!proto.adamant.global.v1.SymbolMultisigTransaction} + * optional gincoinc.global.v1.CosmosMsgType type = 4; + * @return {!proto.gincoinc.global.v1.CosmosMsgType} */ -proto.adamant.global.v1.SymbolSpecific.prototype.addSymbolMultisigTransactions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.SymbolMultisigTransaction, opt_index); +proto.adamant.global.v1.CosmosSpecific.prototype.getType = function() { + return /** @type {!proto.gincoinc.global.v1.CosmosMsgType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this + * @param {!proto.gincoinc.global.v1.CosmosMsgType} value + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this */ -proto.adamant.global.v1.SymbolSpecific.prototype.clearSymbolMultisigTransactionsList = function() { - return this.setSymbolMultisigTransactionsList([]); +proto.adamant.global.v1.CosmosSpecific.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); }; /** - * optional uint64 expiration = 4; - * @return {number} + * optional string memo = 5; + * @return {string} */ -proto.adamant.global.v1.SymbolSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.adamant.global.v1.CosmosSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this */ -proto.adamant.global.v1.SymbolSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); +proto.adamant.global.v1.CosmosSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); }; /** - * optional uint64 timestamp = 5; + * optional double gas_adjustment = 6; * @return {number} */ -proto.adamant.global.v1.SymbolSpecific.prototype.getTimestamp = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +proto.adamant.global.v1.CosmosSpecific.prototype.getGasAdjustment = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.SymbolSpecific} returns this + * @return {!proto.adamant.global.v1.CosmosSpecific} returns this */ -proto.adamant.global.v1.SymbolSpecific.prototype.setTimestamp = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); +proto.adamant.global.v1.CosmosSpecific.prototype.setGasAdjustment = function(value) { + return jspb.Message.setProto3FloatField(this, 6, value); }; @@ -15514,8 +17701,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.AvalancheSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.AvalancheSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.EthereumClassicSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.EthereumClassicSpecific.toObject(opt_includeInstance, this); }; @@ -15524,11 +17711,11 @@ proto.adamant.global.v1.AvalancheSpecific.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.AvalancheSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.EthereumClassicSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AvalancheSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.EthereumClassicSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -15546,23 +17733,23 @@ proto.adamant.global.v1.AvalancheSpecific.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.AvalancheSpecific} + * @return {!proto.adamant.global.v1.EthereumClassicSpecific} */ -proto.adamant.global.v1.AvalancheSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.AvalancheSpecific; - return proto.adamant.global.v1.AvalancheSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.EthereumClassicSpecific; + return proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.AvalancheSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.EthereumClassicSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.AvalancheSpecific} + * @return {!proto.adamant.global.v1.EthereumClassicSpecific} */ -proto.adamant.global.v1.AvalancheSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15594,9 +17781,9 @@ proto.adamant.global.v1.AvalancheSpecific.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.AvalancheSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.AvalancheSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.EthereumClassicSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15604,11 +17791,11 @@ proto.adamant.global.v1.AvalancheSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.AvalancheSpecific} message + * @param {!proto.adamant.global.v1.EthereumClassicSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AvalancheSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.EthereumClassicSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGasLimit(); if (f !== 0) { @@ -15638,16 +17825,16 @@ proto.adamant.global.v1.AvalancheSpecific.serializeBinaryToWriter = function(mes * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.AvalancheSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this + * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this */ -proto.adamant.global.v1.AvalancheSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -15656,16 +17843,16 @@ proto.adamant.global.v1.AvalancheSpecific.prototype.setGasLimit = function(value * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.AvalancheSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this + * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this */ -proto.adamant.global.v1.AvalancheSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -15674,16 +17861,16 @@ proto.adamant.global.v1.AvalancheSpecific.prototype.setNonce = function(value) { * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.AvalancheSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.AvalancheSpecific} returns this + * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this */ -proto.adamant.global.v1.AvalancheSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.EthereumClassicSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -15704,8 +17891,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.OasysSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.OasysSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AlgorandSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AlgorandSpecific.toObject(opt_includeInstance, this); }; @@ -15714,15 +17901,20 @@ proto.adamant.global.v1.OasysSpecific.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.OasysSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AlgorandSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.OasysSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AlgorandSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + memo: jspb.Message.getFieldWithDefault(msg, 4, ""), + firstRound: jspb.Message.getFieldWithDefault(msg, 5, 0), + lastRound: jspb.Message.getFieldWithDefault(msg, 6, 0), + expiration: jspb.Message.getFieldWithDefault(msg, 7, 0), + timestamp: jspb.Message.getFieldWithDefault(msg, 8, 0) }; if (includeInstance) { @@ -15736,23 +17928,23 @@ proto.adamant.global.v1.OasysSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.OasysSpecific} + * @return {!proto.adamant.global.v1.AlgorandSpecific} */ -proto.adamant.global.v1.OasysSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AlgorandSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.OasysSpecific; - return proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AlgorandSpecific; + return proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.OasysSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AlgorandSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.OasysSpecific} + * @return {!proto.adamant.global.v1.AlgorandSpecific} */ -proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15771,6 +17963,26 @@ proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader = function(msg var value = /** @type {boolean} */ (reader.readBool()); msg.setIsNextNonce(value); break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setFirstRound(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLastRound(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); + break; + case 8: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimestamp(value); + break; default: reader.skipField(); break; @@ -15781,100 +17993,225 @@ proto.adamant.global.v1.OasysSpecific.deserializeBinaryFromReader = function(msg /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.AlgorandSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.AlgorandSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.AlgorandSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getMemo(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getFirstRound(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getLastRound(); + if (f !== 0) { + writer.writeUint64( + 6, + f + ); + } + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( + 7, + f + ); + } + f = message.getTimestamp(); + if (f !== 0) { + writer.writeUint64( + 8, + f + ); + } +}; + + +/** + * optional uint64 gas_limit = 1; + * @return {number} + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 nonce = 2; + * @return {number} + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bool is_next_nonce = 3; + * @return {boolean} + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional string memo = 4; + * @return {string} + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + */ +proto.adamant.global.v1.AlgorandSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional uint64 first_round = 5; + * @return {number} */ -proto.adamant.global.v1.OasysSpecific.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.OasysSpecific.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.adamant.global.v1.AlgorandSpecific.prototype.getFirstRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.OasysSpecific} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {number} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this */ -proto.adamant.global.v1.OasysSpecific.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( - 1, - f - ); - } - f = message.getNonce(); - if (f !== 0) { - writer.writeUint64( - 2, - f - ); - } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( - 3, - f - ); - } +proto.adamant.global.v1.AlgorandSpecific.prototype.setFirstRound = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); }; /** - * optional uint64 gas_limit = 1; + * optional uint64 last_round = 6; * @return {number} */ -proto.adamant.global.v1.OasysSpecific.prototype.getGasLimit = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.AlgorandSpecific.prototype.getLastRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.OasysSpecific} returns this + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this */ -proto.adamant.global.v1.OasysSpecific.prototype.setGasLimit = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.AlgorandSpecific.prototype.setLastRound = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); }; /** - * optional uint64 nonce = 2; + * optional uint64 expiration = 7; * @return {number} */ -proto.adamant.global.v1.OasysSpecific.prototype.getNonce = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.AlgorandSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.OasysSpecific} returns this + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this */ -proto.adamant.global.v1.OasysSpecific.prototype.setNonce = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.AlgorandSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional uint64 timestamp = 8; + * @return {number} */ -proto.adamant.global.v1.OasysSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.AlgorandSpecific.prototype.getTimestamp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.OasysSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this */ -proto.adamant.global.v1.OasysSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.AlgorandSpecific.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3IntField(this, 8, value); }; @@ -15894,8 +18231,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.XdcSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.XdcSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.HederaSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.HederaSpecific.toObject(opt_includeInstance, this); }; @@ -15904,15 +18241,15 @@ proto.adamant.global.v1.XdcSpecific.prototype.toObject = function(opt_includeIns * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.XdcSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.HederaSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.XdcSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.HederaSpecific.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + memo: jspb.Message.getFieldWithDefault(msg, 1, ""), + timestamp: jspb.Message.getFieldWithDefault(msg, 2, 0), + expiration: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -15926,23 +18263,23 @@ proto.adamant.global.v1.XdcSpecific.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.XdcSpecific} + * @return {!proto.adamant.global.v1.HederaSpecific} */ -proto.adamant.global.v1.XdcSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.HederaSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.XdcSpecific; - return proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.HederaSpecific; + return proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.XdcSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.HederaSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.XdcSpecific} + * @return {!proto.adamant.global.v1.HederaSpecific} */ -proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15950,16 +18287,16 @@ proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + msg.setTimestamp(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiration(value); break; default: reader.skipField(); @@ -15974,9 +18311,9 @@ proto.adamant.global.v1.XdcSpecific.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.XdcSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.HederaSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.XdcSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.HederaSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15984,29 +18321,29 @@ proto.adamant.global.v1.XdcSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.XdcSpecific} message + * @param {!proto.adamant.global.v1.HederaSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.XdcSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.HederaSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( + f = message.getMemo(); + if (f.length > 0) { + writer.writeString( 1, f ); } - f = message.getNonce(); + f = message.getTimestamp(); if (f !== 0) { writer.writeUint64( 2, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( + f = message.getExpiration(); + if (f !== 0) { + writer.writeUint64( 3, f ); @@ -16015,56 +18352,56 @@ proto.adamant.global.v1.XdcSpecific.serializeBinaryToWriter = function(message, /** - * optional uint64 gas_limit = 1; - * @return {number} + * optional string memo = 1; + * @return {string} */ -proto.adamant.global.v1.XdcSpecific.prototype.getGasLimit = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.HederaSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.XdcSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.HederaSpecific} returns this */ -proto.adamant.global.v1.XdcSpecific.prototype.setGasLimit = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.HederaSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional uint64 nonce = 2; + * optional uint64 timestamp = 2; * @return {number} */ -proto.adamant.global.v1.XdcSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.HederaSpecific.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.XdcSpecific} returns this + * @return {!proto.adamant.global.v1.HederaSpecific} returns this */ -proto.adamant.global.v1.XdcSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.HederaSpecific.prototype.setTimestamp = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional uint64 expiration = 3; + * @return {number} */ -proto.adamant.global.v1.XdcSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.HederaSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.XdcSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.HederaSpecific} returns this */ -proto.adamant.global.v1.XdcSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.HederaSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); }; @@ -16084,8 +18421,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CosmosSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CosmosSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.JapanOpenChainSpecific.toObject(opt_includeInstance, this); }; @@ -16094,18 +18431,15 @@ proto.adamant.global.v1.CosmosSpecific.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CosmosSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CosmosSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.JapanOpenChainSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - type: jspb.Message.getFieldWithDefault(msg, 4, 0), - memo: jspb.Message.getFieldWithDefault(msg, 5, ""), - gasAdjustment: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -16119,23 +18453,23 @@ proto.adamant.global.v1.CosmosSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CosmosSpecific} + * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} */ -proto.adamant.global.v1.CosmosSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CosmosSpecific; - return proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.JapanOpenChainSpecific; + return proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CosmosSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CosmosSpecific} + * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} */ -proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16154,18 +18488,6 @@ proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader = function(ms var value = /** @type {boolean} */ (reader.readBool()); msg.setIsNextNonce(value); break; - case 4: - var value = /** @type {!proto.gincoinc.global.v1.CosmosMsgType} */ (reader.readEnum()); - msg.setType(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 6: - var value = /** @type {number} */ (reader.readDouble()); - msg.setGasAdjustment(value); - break; default: reader.skipField(); break; @@ -16179,9 +18501,9 @@ proto.adamant.global.v1.CosmosSpecific.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CosmosSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.JapanOpenChainSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16189,11 +18511,11 @@ proto.adamant.global.v1.CosmosSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CosmosSpecific} message + * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.JapanOpenChainSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGasLimit(); if (f !== 0) { @@ -16216,27 +18538,6 @@ proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter = function(messag f ); } - f = message.getType(); - if (f !== 0.0) { - writer.writeEnum( - 4, - f - ); - } - f = message.getMemo(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = message.getGasAdjustment(); - if (f !== 0.0) { - writer.writeDouble( - 6, - f - ); - } }; @@ -16244,16 +18545,16 @@ proto.adamant.global.v1.CosmosSpecific.serializeBinaryToWriter = function(messag * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.CosmosSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this + * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this */ -proto.adamant.global.v1.CosmosSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -16262,16 +18563,16 @@ proto.adamant.global.v1.CosmosSpecific.prototype.setGasLimit = function(value) { * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.CosmosSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this + * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this */ -proto.adamant.global.v1.CosmosSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -16280,74 +18581,20 @@ proto.adamant.global.v1.CosmosSpecific.prototype.setNonce = function(value) { * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.CosmosSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this + * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this */ -proto.adamant.global.v1.CosmosSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; -/** - * optional gincoinc.global.v1.CosmosMsgType type = 4; - * @return {!proto.gincoinc.global.v1.CosmosMsgType} - */ -proto.adamant.global.v1.CosmosSpecific.prototype.getType = function() { - return /** @type {!proto.gincoinc.global.v1.CosmosMsgType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - - -/** - * @param {!proto.gincoinc.global.v1.CosmosMsgType} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this - */ -proto.adamant.global.v1.CosmosSpecific.prototype.setType = function(value) { - return jspb.Message.setProto3EnumField(this, 4, value); -}; - - -/** - * optional string memo = 5; - * @return {string} - */ -proto.adamant.global.v1.CosmosSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this - */ -proto.adamant.global.v1.CosmosSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - - -/** - * optional double gas_adjustment = 6; - * @return {number} - */ -proto.adamant.global.v1.CosmosSpecific.prototype.getGasAdjustment = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.CosmosSpecific} returns this - */ -proto.adamant.global.v1.CosmosSpecific.prototype.setGasAdjustment = function(value) { - return jspb.Message.setProto3FloatField(this, 6, value); -}; - - @@ -16364,8 +18611,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.EthereumClassicSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.SolanaSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.SolanaSpecific.toObject(opt_includeInstance, this); }; @@ -16374,15 +18621,14 @@ proto.adamant.global.v1.EthereumClassicSpecific.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.EthereumClassicSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.SolanaSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.EthereumClassicSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.SolanaSpecific.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + expiration: jspb.Message.getFieldWithDefault(msg, 1, 0), + eventType: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -16396,23 +18642,23 @@ proto.adamant.global.v1.EthereumClassicSpecific.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.EthereumClassicSpecific} + * @return {!proto.adamant.global.v1.SolanaSpecific} */ -proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.SolanaSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.EthereumClassicSpecific; - return proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.SolanaSpecific; + return proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.EthereumClassicSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.SolanaSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.EthereumClassicSpecific} + * @return {!proto.adamant.global.v1.SolanaSpecific} */ -proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16421,15 +18667,11 @@ proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader = fu switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + msg.setExpiration(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); + var value = /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (reader.readEnum()); + msg.setEventType(value); break; default: reader.skipField(); @@ -16444,9 +18686,9 @@ proto.adamant.global.v1.EthereumClassicSpecific.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.SolanaSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.EthereumClassicSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.SolanaSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16454,87 +18696,62 @@ proto.adamant.global.v1.EthereumClassicSpecific.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.EthereumClassicSpecific} message + * @param {!proto.adamant.global.v1.SolanaSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.EthereumClassicSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.SolanaSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); + f = message.getExpiration(); if (f !== 0) { writer.writeUint64( 1, f ); } - f = message.getNonce(); - if (f !== 0) { - writer.writeUint64( + f = message.getEventType(); + if (f !== 0.0) { + writer.writeEnum( 2, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( - 3, - f - ); - } }; /** - * optional uint64 gas_limit = 1; + * optional uint64 expiration = 1; * @return {number} */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.SolanaSpecific.prototype.getExpiration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this + * @return {!proto.adamant.global.v1.SolanaSpecific} returns this */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.SolanaSpecific.prototype.setExpiration = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional uint64 nonce = 2; - * @return {number} - */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.getNonce = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this - */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.setNonce = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - -/** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional gincoinc.global.v1.SolanaEventType event_type = 2; + * @return {!proto.gincoinc.global.v1.SolanaEventType} */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.SolanaSpecific.prototype.getEventType = function() { + return /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.EthereumClassicSpecific} returns this + * @param {!proto.gincoinc.global.v1.SolanaEventType} value + * @return {!proto.adamant.global.v1.SolanaSpecific} returns this */ -proto.adamant.global.v1.EthereumClassicSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.SolanaSpecific.prototype.setEventType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -16554,8 +18771,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.AlgorandSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AptosSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AptosSpecific.toObject(opt_includeInstance, this); }; @@ -16564,20 +18781,16 @@ proto.adamant.global.v1.AlgorandSpecific.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.AlgorandSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AptosSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AlgorandSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AptosSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - memo: jspb.Message.getFieldWithDefault(msg, 4, ""), - firstRound: jspb.Message.getFieldWithDefault(msg, 5, 0), - lastRound: jspb.Message.getFieldWithDefault(msg, 6, 0), - expiration: jspb.Message.getFieldWithDefault(msg, 7, 0), - timestamp: jspb.Message.getFieldWithDefault(msg, 8, 0) + expiration: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -16591,23 +18804,23 @@ proto.adamant.global.v1.AlgorandSpecific.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.AlgorandSpecific} + * @return {!proto.adamant.global.v1.AptosSpecific} */ -proto.adamant.global.v1.AlgorandSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AptosSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.AlgorandSpecific; - return proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AptosSpecific; + return proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.AlgorandSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AptosSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.AlgorandSpecific} + * @return {!proto.adamant.global.v1.AptosSpecific} */ -proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16627,25 +18840,9 @@ proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader = function( msg.setIsNextNonce(value); break; case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 5: - var value = /** @type {number} */ (reader.readUint64()); - msg.setFirstRound(value); - break; - case 6: - var value = /** @type {number} */ (reader.readUint64()); - msg.setLastRound(value); - break; - case 7: var value = /** @type {number} */ (reader.readUint64()); msg.setExpiration(value); break; - case 8: - var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); - break; default: reader.skipField(); break; @@ -16659,9 +18856,9 @@ proto.adamant.global.v1.AlgorandSpecific.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AptosSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.AlgorandSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AptosSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16669,65 +18866,37 @@ proto.adamant.global.v1.AlgorandSpecific.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.AlgorandSpecific} message + * @param {!proto.adamant.global.v1.AptosSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AlgorandSpecific.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( - 1, - f - ); - } - f = message.getNonce(); - if (f !== 0) { - writer.writeUint64( - 2, - f - ); - } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( - 3, - f - ); - } - f = message.getMemo(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getFirstRound(); +proto.adamant.global.v1.AptosSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGasLimit(); if (f !== 0) { writer.writeUint64( - 5, + 1, f ); } - f = message.getLastRound(); + f = message.getNonce(); if (f !== 0) { writer.writeUint64( - 6, + 2, f ); } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( - 7, + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, f ); } - f = message.getTimestamp(); + f = message.getExpiration(); if (f !== 0) { writer.writeUint64( - 8, + 4, f ); } @@ -16738,16 +18907,16 @@ proto.adamant.global.v1.AlgorandSpecific.serializeBinaryToWriter = function(mess * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.AptosSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + * @return {!proto.adamant.global.v1.AptosSpecific} returns this */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.AptosSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -16756,16 +18925,16 @@ proto.adamant.global.v1.AlgorandSpecific.prototype.setGasLimit = function(value) * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.AptosSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + * @return {!proto.adamant.global.v1.AptosSpecific} returns this */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.AptosSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -16774,107 +18943,35 @@ proto.adamant.global.v1.AlgorandSpecific.prototype.setNonce = function(value) { * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.AptosSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + * @return {!proto.adamant.global.v1.AptosSpecific} returns this */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.AptosSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; /** - * optional string memo = 4; - * @return {string} - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional uint64 first_round = 5; - * @return {number} - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getFirstRound = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setFirstRound = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - - -/** - * optional uint64 last_round = 6; - * @return {number} - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getLastRound = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setLastRound = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); -}; - - -/** - * optional uint64 expiration = 7; - * @return {number} - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this - */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 7, value); -}; - - -/** - * optional uint64 timestamp = 8; + * optional uint64 expiration = 4; * @return {number} */ -proto.adamant.global.v1.AlgorandSpecific.prototype.getTimestamp = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); +proto.adamant.global.v1.AptosSpecific.prototype.getExpiration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.AlgorandSpecific} returns this + * @return {!proto.adamant.global.v1.AptosSpecific} returns this */ -proto.adamant.global.v1.AlgorandSpecific.prototype.setTimestamp = function(value) { - return jspb.Message.setProto3IntField(this, 8, value); +proto.adamant.global.v1.AptosSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); }; @@ -16894,8 +18991,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.HederaSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.HederaSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.BNBSmartChainSpecific.toObject(opt_includeInstance, this); }; @@ -16904,15 +19001,15 @@ proto.adamant.global.v1.HederaSpecific.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.HederaSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.HederaSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.BNBSmartChainSpecific.toObject = function(includeInstance, msg) { var f, obj = { - memo: jspb.Message.getFieldWithDefault(msg, 1, ""), - timestamp: jspb.Message.getFieldWithDefault(msg, 2, 0), - expiration: jspb.Message.getFieldWithDefault(msg, 3, 0) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -16926,23 +19023,23 @@ proto.adamant.global.v1.HederaSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.HederaSpecific} + * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} */ -proto.adamant.global.v1.HederaSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.HederaSpecific; - return proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.BNBSmartChainSpecific; + return proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.HederaSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.HederaSpecific} + * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} */ -proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16950,16 +19047,16 @@ proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasLimit(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); + msg.setNonce(value); break; case 3: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); break; default: reader.skipField(); @@ -16974,9 +19071,9 @@ proto.adamant.global.v1.HederaSpecific.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.HederaSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.HederaSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.BNBSmartChainSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16984,29 +19081,29 @@ proto.adamant.global.v1.HederaSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.HederaSpecific} message + * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.HederaSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.BNBSmartChainSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getMemo(); - if (f.length > 0) { - writer.writeString( + f = message.getGasLimit(); + if (f !== 0) { + writer.writeUint64( 1, f ); } - f = message.getTimestamp(); + f = message.getNonce(); if (f !== 0) { writer.writeUint64( 2, f ); } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( 3, f ); @@ -17015,56 +19112,56 @@ proto.adamant.global.v1.HederaSpecific.serializeBinaryToWriter = function(messag /** - * optional string memo = 1; - * @return {string} + * optional uint64 gas_limit = 1; + * @return {number} */ -proto.adamant.global.v1.HederaSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getGasLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.HederaSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this */ -proto.adamant.global.v1.HederaSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setGasLimit = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional uint64 timestamp = 2; + * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.HederaSpecific.prototype.getTimestamp = function() { +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.HederaSpecific} returns this + * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this */ -proto.adamant.global.v1.HederaSpecific.prototype.setTimestamp = function(value) { +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional uint64 expiration = 3; - * @return {number} + * optional bool is_next_nonce = 3; + * @return {boolean} */ -proto.adamant.global.v1.HederaSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.HederaSpecific} returns this + * @param {boolean} value + * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this */ -proto.adamant.global.v1.HederaSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); +proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -17084,8 +19181,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.JapanOpenChainSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.FlareSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.FlareSpecific.toObject(opt_includeInstance, this); }; @@ -17094,11 +19191,11 @@ proto.adamant.global.v1.JapanOpenChainSpecific.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.FlareSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.JapanOpenChainSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.FlareSpecific.toObject = function(includeInstance, msg) { var f, obj = { gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -17116,23 +19213,23 @@ proto.adamant.global.v1.JapanOpenChainSpecific.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} + * @return {!proto.adamant.global.v1.FlareSpecific} */ -proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.FlareSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.JapanOpenChainSpecific; - return proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.FlareSpecific; + return proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.FlareSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} + * @return {!proto.adamant.global.v1.FlareSpecific} */ -proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17164,9 +19261,9 @@ proto.adamant.global.v1.JapanOpenChainSpecific.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.FlareSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.JapanOpenChainSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.FlareSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17174,11 +19271,11 @@ proto.adamant.global.v1.JapanOpenChainSpecific.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.JapanOpenChainSpecific} message + * @param {!proto.adamant.global.v1.FlareSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.JapanOpenChainSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.FlareSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGasLimit(); if (f !== 0) { @@ -17208,16 +19305,16 @@ proto.adamant.global.v1.JapanOpenChainSpecific.serializeBinaryToWriter = functio * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.FlareSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this + * @return {!proto.adamant.global.v1.FlareSpecific} returns this */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.FlareSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -17226,16 +19323,16 @@ proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setGasLimit = function( * optional uint64 nonce = 2; * @return {number} */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.FlareSpecific.prototype.getNonce = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this + * @return {!proto.adamant.global.v1.FlareSpecific} returns this */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.FlareSpecific.prototype.setNonce = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -17244,16 +19341,16 @@ proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setNonce = function(val * optional bool is_next_nonce = 3; * @return {boolean} */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.getIsNextNonce = function() { +proto.adamant.global.v1.FlareSpecific.prototype.getIsNextNonce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.adamant.global.v1.JapanOpenChainSpecific} returns this + * @return {!proto.adamant.global.v1.FlareSpecific} returns this */ -proto.adamant.global.v1.JapanOpenChainSpecific.prototype.setIsNextNonce = function(value) { +proto.adamant.global.v1.FlareSpecific.prototype.setIsNextNonce = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -17274,8 +19371,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.SolanaSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.SolanaSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.ArbitrumOneSpecific.toObject(opt_includeInstance, this); }; @@ -17284,14 +19381,16 @@ proto.adamant.global.v1.SolanaSpecific.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.SolanaSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SolanaSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.ArbitrumOneSpecific.toObject = function(includeInstance, msg) { var f, obj = { - expiration: jspb.Message.getFieldWithDefault(msg, 1, 0), - eventType: jspb.Message.getFieldWithDefault(msg, 2, 0) + gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), + nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), + isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + data: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -17305,23 +19404,23 @@ proto.adamant.global.v1.SolanaSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.SolanaSpecific} + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} */ -proto.adamant.global.v1.SolanaSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.SolanaSpecific; - return proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.ArbitrumOneSpecific; + return proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.SolanaSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.SolanaSpecific} + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} */ -proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17330,11 +19429,19 @@ proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader = function(ms switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + msg.setGasLimit(value); break; case 2: - var value = /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (reader.readEnum()); - msg.setEventType(value); + var value = /** @type {number} */ (reader.readUint64()); + msg.setNonce(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsNextNonce(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setData(value); break; default: reader.skipField(); @@ -17349,9 +19456,9 @@ proto.adamant.global.v1.SolanaSpecific.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.SolanaSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.SolanaSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.ArbitrumOneSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17359,65 +19466,122 @@ proto.adamant.global.v1.SolanaSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.SolanaSpecific} message + * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.SolanaSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.ArbitrumOneSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExpiration(); + f = message.getGasLimit(); if (f !== 0) { writer.writeUint64( 1, f ); } - f = message.getEventType(); - if (f !== 0.0) { - writer.writeEnum( + f = message.getNonce(); + if (f !== 0) { + writer.writeUint64( 2, f ); } + f = message.getIsNextNonce(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getData(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } }; /** - * optional uint64 expiration = 1; + * optional uint64 gas_limit = 1; * @return {number} */ -proto.adamant.global.v1.SolanaSpecific.prototype.getExpiration = function() { +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getGasLimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.SolanaSpecific} returns this + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this */ -proto.adamant.global.v1.SolanaSpecific.prototype.setExpiration = function(value) { +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setGasLimit = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional gincoinc.global.v1.SolanaEventType event_type = 2; - * @return {!proto.gincoinc.global.v1.SolanaEventType} + * optional uint64 nonce = 2; + * @return {number} */ -proto.adamant.global.v1.SolanaSpecific.prototype.getEventType = function() { - return /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getNonce = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.gincoinc.global.v1.SolanaEventType} value - * @return {!proto.adamant.global.v1.SolanaSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this */ -proto.adamant.global.v1.SolanaSpecific.prototype.setEventType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setNonce = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bool is_next_nonce = 3; + * @return {boolean} + */ +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getIsNextNonce = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + */ +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setIsNextNonce = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); }; +/** + * optional string data = 4; + * @return {string} + */ +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getData = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + */ +proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setData = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.AtomicTx.repeatedFields_ = [2,3]; @@ -17434,8 +19598,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.AptosSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.AptosSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AtomicTx.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AtomicTx.toObject(opt_includeInstance, this); }; @@ -17444,16 +19608,17 @@ proto.adamant.global.v1.AptosSpecific.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.AptosSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AtomicTx} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AptosSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AtomicTx.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - expiration: jspb.Message.getFieldWithDefault(msg, 4, 0) + txType: jspb.Message.getFieldWithDefault(msg, 1, 0), + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.AvalancheTxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.AvalancheTxOutput.toObject, includeInstance) }; if (includeInstance) { @@ -17467,23 +19632,23 @@ proto.adamant.global.v1.AptosSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.AptosSpecific} + * @return {!proto.adamant.global.v1.AtomicTx} */ -proto.adamant.global.v1.AptosSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AtomicTx.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.AptosSpecific; - return proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AtomicTx; + return proto.adamant.global.v1.AtomicTx.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.AptosSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AtomicTx} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.AptosSpecific} + * @return {!proto.adamant.global.v1.AtomicTx} */ -proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AtomicTx.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17491,20 +19656,18 @@ proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (reader.readEnum()); + msg.setTxType(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + var value = new proto.adamant.global.v1.AvalancheTxInput; + reader.readMessage(value,proto.adamant.global.v1.AvalancheTxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); - break; - case 4: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + var value = new proto.adamant.global.v1.AvalancheTxOutput; + reader.readMessage(value,proto.adamant.global.v1.AvalancheTxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); break; default: reader.skipField(); @@ -17519,9 +19682,9 @@ proto.adamant.global.v1.AptosSpecific.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.AptosSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AtomicTx.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.AptosSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AtomicTx.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17529,115 +19692,139 @@ proto.adamant.global.v1.AptosSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.AptosSpecific} message + * @param {!proto.adamant.global.v1.AtomicTx} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.AptosSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.AtomicTx.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( + f = message.getTxType(); + if (f !== 0.0) { + writer.writeEnum( 1, f ); } - f = message.getNonce(); - if (f !== 0) { - writer.writeUint64( + f = message.getTxInputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 2, - f + f, + proto.adamant.global.v1.AvalancheTxInput.serializeBinaryToWriter ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( + f = message.getTxOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 3, - f - ); - } - f = message.getExpiration(); - if (f !== 0) { - writer.writeUint64( - 4, - f + f, + proto.adamant.global.v1.AvalancheTxOutput.serializeBinaryToWriter ); } }; /** - * optional uint64 gas_limit = 1; - * @return {number} + * optional gincoinc.global.v1.AvalancheTxType tx_type = 1; + * @return {!proto.gincoinc.global.v1.AvalancheTxType} */ -proto.adamant.global.v1.AptosSpecific.prototype.getGasLimit = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.AtomicTx.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.AptosSpecific} returns this + * @param {!proto.gincoinc.global.v1.AvalancheTxType} value + * @return {!proto.adamant.global.v1.AtomicTx} returns this */ -proto.adamant.global.v1.AptosSpecific.prototype.setGasLimit = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.AtomicTx.prototype.setTxType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); }; /** - * optional uint64 nonce = 2; - * @return {number} + * repeated AvalancheTxInput tx_inputs = 2; + * @return {!Array} */ -proto.adamant.global.v1.AptosSpecific.prototype.getNonce = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.AtomicTx.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.AvalancheTxInput, 2)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.AptosSpecific} returns this + * @param {!Array} value + * @return {!proto.adamant.global.v1.AtomicTx} returns this +*/ +proto.adamant.global.v1.AtomicTx.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.adamant.global.v1.AvalancheTxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxInput} */ -proto.adamant.global.v1.AptosSpecific.prototype.setNonce = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.AtomicTx.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.AvalancheTxInput, opt_index); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AtomicTx} returns this */ -proto.adamant.global.v1.AptosSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.AtomicTx.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); +}; + + +/** + * repeated AvalancheTxOutput tx_outputs = 3; + * @return {!Array} + */ +proto.adamant.global.v1.AtomicTx.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.AvalancheTxOutput, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AtomicTx} returns this +*/ +proto.adamant.global.v1.AtomicTx.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.AptosSpecific} returns this + * @param {!proto.adamant.global.v1.AvalancheTxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxOutput} */ -proto.adamant.global.v1.AptosSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.AtomicTx.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.AvalancheTxOutput, opt_index); }; /** - * optional uint64 expiration = 4; - * @return {number} + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AtomicTx} returns this */ -proto.adamant.global.v1.AptosSpecific.prototype.getExpiration = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.adamant.global.v1.AtomicTx.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); }; + /** - * @param {number} value - * @return {!proto.adamant.global.v1.AptosSpecific} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.adamant.global.v1.AptosSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); -}; - - +proto.adamant.global.v1.AvalanchePlatformChainSpecific.repeatedFields_ = [2,3]; @@ -17654,8 +19841,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.BNBSmartChainSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AvalanchePlatformChainSpecific.toObject(opt_includeInstance, this); }; @@ -17664,15 +19851,19 @@ proto.adamant.global.v1.BNBSmartChainSpecific.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.BNBSmartChainSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AvalanchePlatformChainSpecific.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + txType: jspb.Message.getFieldWithDefault(msg, 1, 0), + txInputsList: jspb.Message.toObjectList(msg.getTxInputsList(), + proto.adamant.global.v1.AvalancheTxInput.toObject, includeInstance), + txOutputsList: jspb.Message.toObjectList(msg.getTxOutputsList(), + proto.adamant.global.v1.AvalancheTxOutput.toObject, includeInstance), + startTime: jspb.Message.getFieldWithDefault(msg, 4, 0), + endTime: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { @@ -17686,23 +19877,23 @@ proto.adamant.global.v1.BNBSmartChainSpecific.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} */ -proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AvalanchePlatformChainSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.BNBSmartChainSpecific; - return proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AvalanchePlatformChainSpecific; + return proto.adamant.global.v1.AvalanchePlatformChainSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} */ -proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AvalanchePlatformChainSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17710,16 +19901,26 @@ proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (reader.readEnum()); + msg.setTxType(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + var value = new proto.adamant.global.v1.AvalancheTxInput; + reader.readMessage(value,proto.adamant.global.v1.AvalancheTxInput.deserializeBinaryFromReader); + msg.addTxInputs(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); + var value = new proto.adamant.global.v1.AvalancheTxOutput; + reader.readMessage(value,proto.adamant.global.v1.AvalancheTxOutput.deserializeBinaryFromReader); + msg.addTxOutputs(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartTime(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndTime(value); break; default: reader.skipField(); @@ -17734,9 +19935,9 @@ proto.adamant.global.v1.BNBSmartChainSpecific.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.BNBSmartChainSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AvalanchePlatformChainSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17744,30 +19945,46 @@ proto.adamant.global.v1.BNBSmartChainSpecific.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.BNBSmartChainSpecific} message + * @param {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.BNBSmartChainSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.AvalanchePlatformChainSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( + f = message.getTxType(); + if (f !== 0.0) { + writer.writeEnum( 1, f ); } - f = message.getNonce(); + f = message.getTxInputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.adamant.global.v1.AvalancheTxInput.serializeBinaryToWriter + ); + } + f = message.getTxOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.adamant.global.v1.AvalancheTxOutput.serializeBinaryToWriter + ); + } + f = message.getStartTime(); if (f !== 0) { writer.writeUint64( - 2, + 4, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( - 3, + f = message.getEndTime(); + if (f !== 0) { + writer.writeUint64( + 5, f ); } @@ -17775,60 +19992,143 @@ proto.adamant.global.v1.BNBSmartChainSpecific.serializeBinaryToWriter = function /** - * optional uint64 gas_limit = 1; - * @return {number} + * optional gincoinc.global.v1.AvalancheTxType tx_type = 1; + * @return {!proto.gincoinc.global.v1.AvalancheTxType} */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getGasLimit = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this + * @param {!proto.gincoinc.global.v1.AvalancheTxType} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setGasLimit = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.setTxType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); }; /** - * optional uint64 nonce = 2; + * repeated AvalancheTxInput tx_inputs = 2; + * @return {!Array} + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.getTxInputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.AvalancheTxInput, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this +*/ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.setTxInputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.adamant.global.v1.AvalancheTxInput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxInput} + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.addTxInputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.adamant.global.v1.AvalancheTxInput, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.clearTxInputsList = function() { + return this.setTxInputsList([]); +}; + + +/** + * repeated AvalancheTxOutput tx_outputs = 3; + * @return {!Array} + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.getTxOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.adamant.global.v1.AvalancheTxOutput, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this +*/ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.setTxOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.adamant.global.v1.AvalancheTxOutput=} opt_value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxOutput} + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.addTxOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.adamant.global.v1.AvalancheTxOutput, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this + */ +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.clearTxOutputsList = function() { + return this.setTxOutputsList([]); +}; + + +/** + * optional uint64 start_time = 4; * @return {number} */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getNonce = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.getStartTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setNonce = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.setStartTime = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional uint64 end_time = 5; + * @return {number} */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.getEndTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.BNBSmartChainSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.AvalanchePlatformChainSpecific} returns this */ -proto.adamant.global.v1.BNBSmartChainSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.AvalanchePlatformChainSpecific.prototype.setEndTime = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.AvalancheTxInput.repeatedFields_ = [6]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -17844,8 +20144,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.FlareSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.FlareSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AvalancheTxInput.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AvalancheTxInput.toObject(opt_includeInstance, this); }; @@ -17854,15 +20154,18 @@ proto.adamant.global.v1.FlareSpecific.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.FlareSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AvalancheTxInput} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.FlareSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AvalancheTxInput.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + txId: jspb.Message.getFieldWithDefault(msg, 1, ""), + inputIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + inputIndexType: jspb.Message.getFieldWithDefault(msg, 3, 0), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 5, ""), + addressIndicesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -17876,23 +20179,23 @@ proto.adamant.global.v1.FlareSpecific.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.FlareSpecific} + * @return {!proto.adamant.global.v1.AvalancheTxInput} */ -proto.adamant.global.v1.FlareSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AvalancheTxInput.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.FlareSpecific; - return proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AvalancheTxInput; + return proto.adamant.global.v1.AvalancheTxInput.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.FlareSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AvalancheTxInput} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.FlareSpecific} + * @return {!proto.adamant.global.v1.AvalancheTxInput} */ -proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AvalancheTxInput.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17900,16 +20203,30 @@ proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTxId(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setInputIndex(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setInputIndexType(value); + break; + case 4: + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setStringValue(value); + break; + case 6: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); + for (var i = 0; i < values.length; i++) { + msg.addAddressIndices(values[i]); + } break; default: reader.skipField(); @@ -17924,9 +20241,9 @@ proto.adamant.global.v1.FlareSpecific.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.FlareSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AvalancheTxInput.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.FlareSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AvalancheTxInput.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17934,91 +20251,192 @@ proto.adamant.global.v1.FlareSpecific.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.FlareSpecific} message + * @param {!proto.adamant.global.v1.AvalancheTxInput} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.FlareSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.AvalancheTxInput.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); - if (f !== 0) { - writer.writeUint64( + f = message.getTxId(); + if (f.length > 0) { + writer.writeString( 1, f ); } - f = message.getNonce(); + f = message.getInputIndex(); if (f !== 0) { - writer.writeUint64( + writer.writeUint32( 2, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( + f = message.getInputIndexType(); + if (f !== 0) { + writer.writeUint32( 3, f ); } + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( + 4, + f + ); + } + f = message.getStringValue(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getAddressIndicesList(); + if (f.length > 0) { + writer.writePackedUint32( + 6, + f + ); + } }; /** - * optional uint64 gas_limit = 1; - * @return {number} + * optional string tx_id = 1; + * @return {string} */ -proto.adamant.global.v1.FlareSpecific.prototype.getGasLimit = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.AvalancheTxInput.prototype.getTxId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.FlareSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this */ -proto.adamant.global.v1.FlareSpecific.prototype.setGasLimit = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.AvalancheTxInput.prototype.setTxId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional uint64 nonce = 2; + * optional uint32 input_index = 2; * @return {number} */ -proto.adamant.global.v1.FlareSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.AvalancheTxInput.prototype.getInputIndex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.FlareSpecific} returns this + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this */ -proto.adamant.global.v1.FlareSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.AvalancheTxInput.prototype.setInputIndex = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional uint32 input_index_type = 3; + * @return {number} */ -proto.adamant.global.v1.FlareSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.AvalancheTxInput.prototype.getInputIndexType = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.FlareSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this */ -proto.adamant.global.v1.FlareSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.AvalancheTxInput.prototype.setInputIndexType = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional double value = 4; + * @return {number} + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 4, value); +}; + + +/** + * optional string string_value = 5; + * @return {string} + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.getStringValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.setStringValue = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated uint32 address_indices = 6; + * @return {!Array} + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.getAddressIndicesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.setAddressIndicesList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.addAddressIndices = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AvalancheTxInput} returns this + */ +proto.adamant.global.v1.AvalancheTxInput.prototype.clearAddressIndicesList = function() { + return this.setAddressIndicesList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.AvalancheTxOutput.repeatedFields_ = [8]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -18034,8 +20452,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.ArbitrumOneSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.AvalancheTxOutput.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.AvalancheTxOutput.toObject(opt_includeInstance, this); }; @@ -18044,16 +20462,20 @@ proto.adamant.global.v1.ArbitrumOneSpecific.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.AvalancheTxOutput} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.ArbitrumOneSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.AvalancheTxOutput.toObject = function(includeInstance, msg) { var f, obj = { - gasLimit: jspb.Message.getFieldWithDefault(msg, 1, 0), - nonce: jspb.Message.getFieldWithDefault(msg, 2, 0), - isNextNonce: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - data: jspb.Message.getFieldWithDefault(msg, 4, "") + outputIndex: jspb.Message.getFieldWithDefault(msg, 1, 0), + outputType: jspb.Message.getFieldWithDefault(msg, 2, 0), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 4, ""), + locktime: jspb.Message.getFieldWithDefault(msg, 5, 0), + threshold: jspb.Message.getFieldWithDefault(msg, 6, 0), + isChange: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), + addressesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f }; if (includeInstance) { @@ -18067,23 +20489,23 @@ proto.adamant.global.v1.ArbitrumOneSpecific.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} + * @return {!proto.adamant.global.v1.AvalancheTxOutput} */ -proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.AvalancheTxOutput.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.ArbitrumOneSpecific; - return proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.AvalancheTxOutput; + return proto.adamant.global.v1.AvalancheTxOutput.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.AvalancheTxOutput} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} + * @return {!proto.adamant.global.v1.AvalancheTxOutput} */ -proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.AvalancheTxOutput.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18091,20 +20513,36 @@ proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader = functi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readUint64()); - msg.setGasLimit(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setOutputIndex(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setNonce(value); + var value = /** @type {number} */ (reader.readUint32()); + msg.setOutputType(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsNextNonce(value); + var value = /** @type {number} */ (reader.readDouble()); + msg.setValue(value); break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setData(value); + msg.setStringValue(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLocktime(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint32()); + msg.setThreshold(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsChange(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); break; default: reader.skipField(); @@ -18119,9 +20557,9 @@ proto.adamant.global.v1.ArbitrumOneSpecific.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.AvalancheTxOutput.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.ArbitrumOneSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.AvalancheTxOutput.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18129,115 +20567,234 @@ proto.adamant.global.v1.ArbitrumOneSpecific.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.ArbitrumOneSpecific} message + * @param {!proto.adamant.global.v1.AvalancheTxOutput} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.ArbitrumOneSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.AvalancheTxOutput.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getGasLimit(); + f = message.getOutputIndex(); if (f !== 0) { - writer.writeUint64( + writer.writeUint32( 1, f ); } - f = message.getNonce(); + f = message.getOutputType(); if (f !== 0) { - writer.writeUint64( + writer.writeUint32( 2, f ); } - f = message.getIsNextNonce(); - if (f) { - writer.writeBool( + f = message.getValue(); + if (f !== 0.0) { + writer.writeDouble( 3, f ); } - f = message.getData(); + f = message.getStringValue(); if (f.length > 0) { writer.writeString( 4, f ); } + f = message.getLocktime(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getThreshold(); + if (f !== 0) { + writer.writeUint32( + 6, + f + ); + } + f = message.getIsChange(); + if (f) { + writer.writeBool( + 7, + f + ); + } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 8, + f + ); + } }; /** - * optional uint64 gas_limit = 1; + * optional uint32 output_index = 1; * @return {number} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getGasLimit = function() { +proto.adamant.global.v1.AvalancheTxOutput.prototype.getOutputIndex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setGasLimit = function(value) { +proto.adamant.global.v1.AvalancheTxOutput.prototype.setOutputIndex = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** - * optional uint64 nonce = 2; + * optional uint32 output_type = 2; * @return {number} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getNonce = function() { +proto.adamant.global.v1.AvalancheTxOutput.prototype.getOutputType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setNonce = function(value) { +proto.adamant.global.v1.AvalancheTxOutput.prototype.setOutputType = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** - * optional bool is_next_nonce = 3; - * @return {boolean} + * optional double value = 3; + * @return {number} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getIsNextNonce = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.adamant.global.v1.AvalancheTxOutput.prototype.getValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** - * @param {boolean} value - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setIsNextNonce = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); +proto.adamant.global.v1.AvalancheTxOutput.prototype.setValue = function(value) { + return jspb.Message.setProto3FloatField(this, 3, value); }; /** - * optional string data = 4; + * optional string string_value = 4; * @return {string} */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.getData = function() { +proto.adamant.global.v1.AvalancheTxOutput.prototype.getStringValue = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.adamant.global.v1.ArbitrumOneSpecific} returns this + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this */ -proto.adamant.global.v1.ArbitrumOneSpecific.prototype.setData = function(value) { +proto.adamant.global.v1.AvalancheTxOutput.prototype.setStringValue = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * optional uint64 locktime = 5; + * @return {number} + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.getLocktime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.setLocktime = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional uint32 threshold = 6; + * @return {number} + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.getThreshold = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.setThreshold = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional bool is_change = 7; + * @return {boolean} + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.getIsChange = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.setIsChange = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + +/** + * repeated string addresses = 8; + * @return {!Array} + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 8)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 8, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 8, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.AvalancheTxOutput} returns this + */ +proto.adamant.global.v1.AvalancheTxOutput.prototype.clearAddressesList = function() { + return this.setAddressesList([]); +}; + + @@ -19270,7 +21827,8 @@ proto.adamant.global.v1.CreateTransactionEthereumSpecific.toObject = function(in var f, obj = { data: jspb.Message.getFieldWithDefault(msg, 1, ""), stakingRecipientWalletId: jspb.Message.getFieldWithDefault(msg, 2, ""), - callMethod: jspb.Message.getFieldWithDefault(msg, 3, 0) + callMethod: jspb.Message.getFieldWithDefault(msg, 3, 0), + utilsAddress: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -19319,6 +21877,10 @@ proto.adamant.global.v1.CreateTransactionEthereumSpecific.deserializeBinaryFromR var value = /** @type {!proto.gincoinc.global.v1.EthereumCallMethod} */ (reader.readEnum()); msg.setCallMethod(value); break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setUtilsAddress(value); + break; default: reader.skipField(); break; @@ -19369,6 +21931,13 @@ proto.adamant.global.v1.CreateTransactionEthereumSpecific.serializeBinaryToWrite f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } }; @@ -19462,6 +22031,42 @@ proto.adamant.global.v1.CreateTransactionEthereumSpecific.prototype.hasCallMetho }; +/** + * optional string utils_address = 4; + * @return {string} + */ +proto.adamant.global.v1.CreateTransactionEthereumSpecific.prototype.getUtilsAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.CreateTransactionEthereumSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionEthereumSpecific.prototype.setUtilsAddress = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionEthereumSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionEthereumSpecific.prototype.clearUtilsAddress = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CreateTransactionEthereumSpecific.prototype.hasUtilsAddress = function() { + return jspb.Message.getField(this, 4) != null; +}; + + @@ -19608,17 +22213,437 @@ proto.adamant.global.v1.CreateTransactionCosmosSpecific.prototype.setType = func * optional string memo = 2; * @return {string} */ -proto.adamant.global.v1.CreateTransactionCosmosSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.adamant.global.v1.CreateTransactionCosmosSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.CreateTransactionCosmosSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionCosmosSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +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_, 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.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CreateTransactionAlgorandSpecific.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.adamant.global.v1.CreateTransactionAlgorandSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + timestamp: jspb.Message.getFieldWithDefault(msg, 1, 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.adamant.global.v1.CreateTransactionAlgorandSpecific} + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.CreateTransactionAlgorandSpecific; + return proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimestamp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.CreateTransactionAlgorandSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTimestamp(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 timestamp = 1; + * @return {number} + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.getTimestamp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + + + +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_, 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.adamant.global.v1.CreateTransactionHederaSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CreateTransactionHederaSpecific.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.adamant.global.v1.CreateTransactionHederaSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + memo: jspb.Message.getFieldWithDefault(msg, 1, ""), + timestamp: jspb.Message.getFieldWithDefault(msg, 2, 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.adamant.global.v1.CreateTransactionHederaSpecific} + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.CreateTransactionHederaSpecific; + return proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.CreateTransactionHederaSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimestamp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.CreateTransactionHederaSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.CreateTransactionHederaSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getMemo(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTimestamp(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional string memo = 1; + * @return {string} + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.getMemo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.setMemo = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 timestamp = 2; + * @return {number} + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.getTimestamp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.setTimestamp = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +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_, 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.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CreateTransactionSolanaSpecific.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.adamant.global.v1.CreateTransactionSolanaSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + eventType: jspb.Message.getFieldWithDefault(msg, 1, 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.adamant.global.v1.CreateTransactionSolanaSpecific} + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.CreateTransactionSolanaSpecific; + return proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (reader.readEnum()); + msg.setEventType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.CreateTransactionSolanaSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEventType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * optional gincoinc.global.v1.SolanaEventType event_type = 1; + * @return {!proto.gincoinc.global.v1.SolanaEventType} + */ +proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.getEventType = function() { + return /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.CreateTransactionCosmosSpecific} returns this + * @param {!proto.gincoinc.global.v1.SolanaEventType} value + * @return {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionCosmosSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.setEventType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -19638,8 +22663,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CreateTransactionAlgorandSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CreateTransactionAptosSpecific.toObject(opt_includeInstance, this); }; @@ -19648,13 +22673,13 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.CreateTransactionAptosSpecific.toObject = function(includeInstance, msg) { var f, obj = { - timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0) + expiration: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -19668,23 +22693,23 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} + * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CreateTransactionAlgorandSpecific; - return proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.CreateTransactionAptosSpecific; + return proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} + * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19693,7 +22718,7 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromR switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); + msg.setExpiration(value); break; default: reader.skipField(); @@ -19708,9 +22733,9 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CreateTransactionAlgorandSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.CreateTransactionAptosSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19718,14 +22743,14 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} message + * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.CreateTransactionAptosSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTimestamp(); - if (f !== 0) { + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { writer.writeUint64( 1, f @@ -19735,20 +22760,38 @@ proto.adamant.global.v1.CreateTransactionAlgorandSpecific.serializeBinaryToWrite /** - * optional uint64 timestamp = 1; + * optional uint64 expiration = 1; * @return {number} */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.getTimestamp = function() { +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.getExpiration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.CreateTransactionAlgorandSpecific} returns this + * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionAlgorandSpecific.prototype.setTimestamp = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.setExpiration = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.clearExpiration = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.hasExpiration = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -19768,8 +22811,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CreateTransactionHederaSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.CreateTransactionAvalancheSpecific.toObject(opt_includeInstance, this); }; @@ -19778,14 +22821,15 @@ proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CreateTransactionHederaSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.toObject = function(includeInstance, msg) { var f, obj = { - memo: jspb.Message.getFieldWithDefault(msg, 1, ""), - timestamp: jspb.Message.getFieldWithDefault(msg, 2, 0) + txType: jspb.Message.getFieldWithDefault(msg, 1, 0), + importTxSpecific: (f = msg.getImportTxSpecific()) && proto.adamant.global.v1.ImportTxSpecific.toObject(includeInstance, f), + stakingSpecific: (f = msg.getStakingSpecific()) && proto.adamant.global.v1.StakingSpecific.toObject(includeInstance, f) }; if (includeInstance) { @@ -19799,23 +22843,23 @@ proto.adamant.global.v1.CreateTransactionHederaSpecific.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CreateTransactionHederaSpecific; - return proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.CreateTransactionAvalancheSpecific; + return proto.adamant.global.v1.CreateTransactionAvalancheSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CreateTransactionHederaSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19823,12 +22867,18 @@ proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); + var value = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (reader.readEnum()); + msg.setTxType(value); break; case 2: - var value = /** @type {number} */ (reader.readUint64()); - msg.setTimestamp(value); + var value = new proto.adamant.global.v1.ImportTxSpecific; + reader.readMessage(value,proto.adamant.global.v1.ImportTxSpecific.deserializeBinaryFromReader); + msg.setImportTxSpecific(value); + break; + case 3: + var value = new proto.adamant.global.v1.StakingSpecific; + reader.readMessage(value,proto.adamant.global.v1.StakingSpecific.deserializeBinaryFromReader); + msg.setStakingSpecific(value); break; default: reader.skipField(); @@ -19843,9 +22893,9 @@ proto.adamant.global.v1.CreateTransactionHederaSpecific.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CreateTransactionHederaSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.CreateTransactionAvalancheSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19853,62 +22903,145 @@ proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CreateTransactionHederaSpecific} message + * @param {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getMemo(); - if (f.length > 0) { - writer.writeString( + f = /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( 1, f ); } - f = message.getTimestamp(); - if (f !== 0) { - writer.writeUint64( + f = message.getImportTxSpecific(); + if (f != null) { + writer.writeMessage( 2, - f + f, + proto.adamant.global.v1.ImportTxSpecific.serializeBinaryToWriter + ); + } + f = message.getStakingSpecific(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.adamant.global.v1.StakingSpecific.serializeBinaryToWriter ); } }; /** - * optional string memo = 1; - * @return {string} + * optional gincoinc.global.v1.AvalancheTxType tx_type = 1; + * @return {!proto.gincoinc.global.v1.AvalancheTxType} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.getTxType = function() { + return /** @type {!proto.gincoinc.global.v1.AvalancheTxType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} returns this + * @param {!proto.gincoinc.global.v1.AvalancheTxType} value + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.setMemo = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.setTxType = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * optional uint64 timestamp = 2; - * @return {number} + * Clears the field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.getTimestamp = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.clearTxType = function() { + return jspb.Message.setField(this, 1, undefined); }; /** - * @param {number} value - * @return {!proto.adamant.global.v1.CreateTransactionHederaSpecific} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.adamant.global.v1.CreateTransactionHederaSpecific.prototype.setTimestamp = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.hasTxType = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ImportTxSpecific import_tx_specific = 2; + * @return {?proto.adamant.global.v1.ImportTxSpecific} + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.getImportTxSpecific = function() { + return /** @type{?proto.adamant.global.v1.ImportTxSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.ImportTxSpecific, 2)); +}; + + +/** + * @param {?proto.adamant.global.v1.ImportTxSpecific|undefined} value + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this +*/ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.setImportTxSpecific = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.clearImportTxSpecific = function() { + return this.setImportTxSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.hasImportTxSpecific = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional StakingSpecific staking_specific = 3; + * @return {?proto.adamant.global.v1.StakingSpecific} + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.getStakingSpecific = function() { + return /** @type{?proto.adamant.global.v1.StakingSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.StakingSpecific, 3)); +}; + + +/** + * @param {?proto.adamant.global.v1.StakingSpecific|undefined} value + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this +*/ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.setStakingSpecific = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.CreateTransactionAvalancheSpecific} returns this + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.clearStakingSpecific = function() { + return this.setStakingSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.CreateTransactionAvalancheSpecific.prototype.hasStakingSpecific = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -19928,8 +23061,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CreateTransactionSolanaSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.ImportTxSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.ImportTxSpecific.toObject(opt_includeInstance, this); }; @@ -19938,13 +23071,13 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.ImportTxSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.ImportTxSpecific.toObject = function(includeInstance, msg) { var f, obj = { - eventType: jspb.Message.getFieldWithDefault(msg, 1, 0) + txId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -19958,23 +23091,23 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} + * @return {!proto.adamant.global.v1.ImportTxSpecific} */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.ImportTxSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CreateTransactionSolanaSpecific; - return proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.ImportTxSpecific; + return proto.adamant.global.v1.ImportTxSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.ImportTxSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} + * @return {!proto.adamant.global.v1.ImportTxSpecific} */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.ImportTxSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19982,8 +23115,8 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (reader.readEnum()); - msg.setEventType(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTxId(value); break; default: reader.skipField(); @@ -19998,9 +23131,9 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.ImportTxSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CreateTransactionSolanaSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.ImportTxSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -20008,15 +23141,15 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} message + * @param {!proto.adamant.global.v1.ImportTxSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.ImportTxSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getEventType(); - if (f !== 0.0) { - writer.writeEnum( + f = message.getTxId(); + if (f.length > 0) { + writer.writeString( 1, f ); @@ -20025,20 +23158,20 @@ proto.adamant.global.v1.CreateTransactionSolanaSpecific.serializeBinaryToWriter /** - * optional gincoinc.global.v1.SolanaEventType event_type = 1; - * @return {!proto.gincoinc.global.v1.SolanaEventType} + * optional string tx_id = 1; + * @return {string} */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.getEventType = function() { - return /** @type {!proto.gincoinc.global.v1.SolanaEventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.adamant.global.v1.ImportTxSpecific.prototype.getTxId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {!proto.gincoinc.global.v1.SolanaEventType} value - * @return {!proto.adamant.global.v1.CreateTransactionSolanaSpecific} returns this + * @param {string} value + * @return {!proto.adamant.global.v1.ImportTxSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionSolanaSpecific.prototype.setEventType = function(value) { - return jspb.Message.setProto3EnumField(this, 1, value); +proto.adamant.global.v1.ImportTxSpecific.prototype.setTxId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; @@ -20058,8 +23191,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.global.v1.CreateTransactionAptosSpecific.toObject(opt_includeInstance, this); +proto.adamant.global.v1.StakingSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.StakingSpecific.toObject(opt_includeInstance, this); }; @@ -20068,13 +23201,14 @@ proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} msg The msg instance to transform. + * @param {!proto.adamant.global.v1.StakingSpecific} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.toObject = function(includeInstance, msg) { +proto.adamant.global.v1.StakingSpecific.toObject = function(includeInstance, msg) { var f, obj = { - expiration: jspb.Message.getFieldWithDefault(msg, 1, 0) + startTime: jspb.Message.getFieldWithDefault(msg, 1, 0), + endTime: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -20088,23 +23222,23 @@ proto.adamant.global.v1.CreateTransactionAptosSpecific.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} + * @return {!proto.adamant.global.v1.StakingSpecific} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinary = function(bytes) { +proto.adamant.global.v1.StakingSpecific.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.global.v1.CreateTransactionAptosSpecific; - return proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.global.v1.StakingSpecific; + return proto.adamant.global.v1.StakingSpecific.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} msg The message object to deserialize into. + * @param {!proto.adamant.global.v1.StakingSpecific} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} + * @return {!proto.adamant.global.v1.StakingSpecific} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.global.v1.StakingSpecific.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -20113,7 +23247,11 @@ proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromRead switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiration(value); + msg.setStartTime(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndTime(value); break; default: reader.skipField(); @@ -20128,9 +23266,9 @@ proto.adamant.global.v1.CreateTransactionAptosSpecific.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.serializeBinary = function() { +proto.adamant.global.v1.StakingSpecific.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.global.v1.CreateTransactionAptosSpecific.serializeBinaryToWriter(this, writer); + proto.adamant.global.v1.StakingSpecific.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -20138,55 +23276,62 @@ proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.global.v1.CreateTransactionAptosSpecific} message + * @param {!proto.adamant.global.v1.StakingSpecific} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.serializeBinaryToWriter = function(message, writer) { +proto.adamant.global.v1.StakingSpecific.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { + f = message.getStartTime(); + if (f !== 0) { writer.writeUint64( 1, f ); } + f = message.getEndTime(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } }; /** - * optional uint64 expiration = 1; + * optional uint64 start_time = 1; * @return {number} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.getExpiration = function() { +proto.adamant.global.v1.StakingSpecific.prototype.getStartTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} returns this + * @return {!proto.adamant.global.v1.StakingSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.setExpiration = function(value) { - return jspb.Message.setField(this, 1, value); +proto.adamant.global.v1.StakingSpecific.prototype.setStartTime = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.adamant.global.v1.CreateTransactionAptosSpecific} returns this + * optional uint64 end_time = 2; + * @return {number} */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.clearExpiration = function() { - return jspb.Message.setField(this, 1, undefined); +proto.adamant.global.v1.StakingSpecific.prototype.getEndTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {number} value + * @return {!proto.adamant.global.v1.StakingSpecific} returns this */ -proto.adamant.global.v1.CreateTransactionAptosSpecific.prototype.hasExpiration = function() { - return jspb.Message.getField(this, 1) != null; +proto.adamant.global.v1.StakingSpecific.prototype.setEndTime = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; @@ -34148,6 +37293,7 @@ proto.adamant.global.v1.StakingHistory.toObject = function(includeInstance, msg) eventType: jspb.Message.getFieldWithDefault(msg, 11, 0), eventId: jspb.Message.getFieldWithDefault(msg, 15, ""), ethereumSpecific: (f = msg.getEthereumSpecific()) && proto.adamant.global.v1.StakingHistoryEthereumSpecific.toObject(includeInstance, f), + avalancheSpecific: (f = msg.getAvalancheSpecific()) && proto.adamant.global.v1.StakingHistoryAvalancheSpecific.toObject(includeInstance, f), createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; @@ -34239,6 +37385,11 @@ proto.adamant.global.v1.StakingHistory.deserializeBinaryFromReader = function(ms reader.readMessage(value,proto.adamant.global.v1.StakingHistoryEthereumSpecific.deserializeBinaryFromReader); msg.setEthereumSpecific(value); break; + case 16: + var value = new proto.adamant.global.v1.StakingHistoryAvalancheSpecific; + reader.readMessage(value,proto.adamant.global.v1.StakingHistoryAvalancheSpecific.deserializeBinaryFromReader); + msg.setAvalancheSpecific(value); + break; case 12: var value = new google_protobuf_timestamp_pb.Timestamp; reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); @@ -34370,6 +37521,14 @@ proto.adamant.global.v1.StakingHistory.serializeBinaryToWriter = function(messag proto.adamant.global.v1.StakingHistoryEthereumSpecific.serializeBinaryToWriter ); } + f = message.getAvalancheSpecific(); + if (f != null) { + writer.writeMessage( + 16, + f, + proto.adamant.global.v1.StakingHistoryAvalancheSpecific.serializeBinaryToWriter + ); + } f = message.getCreateTime(); if (f != null) { writer.writeMessage( @@ -34642,6 +37801,43 @@ proto.adamant.global.v1.StakingHistory.prototype.hasEthereumSpecific = function( }; +/** + * optional StakingHistoryAvalancheSpecific avalanche_specific = 16; + * @return {?proto.adamant.global.v1.StakingHistoryAvalancheSpecific} + */ +proto.adamant.global.v1.StakingHistory.prototype.getAvalancheSpecific = function() { + return /** @type{?proto.adamant.global.v1.StakingHistoryAvalancheSpecific} */ ( + jspb.Message.getWrapperField(this, proto.adamant.global.v1.StakingHistoryAvalancheSpecific, 16)); +}; + + +/** + * @param {?proto.adamant.global.v1.StakingHistoryAvalancheSpecific|undefined} value + * @return {!proto.adamant.global.v1.StakingHistory} returns this +*/ +proto.adamant.global.v1.StakingHistory.prototype.setAvalancheSpecific = function(value) { + return jspb.Message.setWrapperField(this, 16, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.adamant.global.v1.StakingHistory} returns this + */ +proto.adamant.global.v1.StakingHistory.prototype.clearAvalancheSpecific = function() { + return this.setAvalancheSpecific(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.global.v1.StakingHistory.prototype.hasAvalancheSpecific = function() { + return jspb.Message.getField(this, 16) != null; +}; + + /** * optional google.protobuf.Timestamp create_time = 12; * @return {?proto.google.protobuf.Timestamp} @@ -35048,6 +38244,252 @@ proto.adamant.global.v1.StakingHistoryEthereumSpecific.prototype.setHistoryType +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.repeatedFields_ = [4]; + + + +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_, 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.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.global.v1.StakingHistoryAvalancheSpecific.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.adamant.global.v1.StakingHistoryAvalancheSpecific} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.toObject = function(includeInstance, msg) { + var f, obj = { + startTime: jspb.Message.getFieldWithDefault(msg, 1, 0), + endTime: jspb.Message.getFieldWithDefault(msg, 2, 0), + rewardsOwnerThreshold: jspb.Message.getFieldWithDefault(msg, 3, 0), + rewardsOwnerAddressesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.adamant.global.v1.StakingHistoryAvalancheSpecific; + return proto.adamant.global.v1.StakingHistoryAvalancheSpecific.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartTime(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndTime(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setRewardsOwnerThreshold(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.addRewardsOwnerAddresses(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.adamant.global.v1.StakingHistoryAvalancheSpecific.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStartTime(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getEndTime(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getRewardsOwnerThreshold(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getRewardsOwnerAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 4, + f + ); + } +}; + + +/** + * optional uint64 start_time = 1; + * @return {number} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.getStartTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.setStartTime = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 end_time = 2; + * @return {number} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.getEndTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.setEndTime = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 rewards_owner_threshold = 3; + * @return {number} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.getRewardsOwnerThreshold = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.setRewardsOwnerThreshold = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * repeated string rewards_owner_addresses = 4; + * @return {!Array} + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.getRewardsOwnerAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.setRewardsOwnerAddressesList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.addRewardsOwnerAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.global.v1.StakingHistoryAvalancheSpecific} returns this + */ +proto.adamant.global.v1.StakingHistoryAvalancheSpecific.prototype.clearRewardsOwnerAddressesList = function() { + return this.setRewardsOwnerAddressesList([]); +}; + + + if (jspb.Message.GENERATE_TO_OBJECT) { diff --git a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.d.ts b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.d.ts index bacd315..5d135b4 100644 --- a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.d.ts +++ b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.d.ts @@ -26,6 +26,7 @@ interface ITellerAPIService extends grpc.ServiceDefinition; responseDeserialize: grpc.deserialize; } +interface ITellerAPIService_IListUTXOs extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ListUTXOs"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface ITellerAPIService_ICreateAddress extends grpc.MethodDefinition { path: "/adamant.teller.v1.TellerAPI/CreateAddress"; requestStream: false; @@ -402,6 +413,15 @@ interface ITellerAPIService_IListTransactionsByFilter extends grpc.MethodDefinit responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITellerAPIService_IListUnconfirmedTransactionsByFilter extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ListUnconfirmedTransactionsByFilter"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface ITellerAPIService_IExitEthereumStakingValidators extends grpc.MethodDefinition { path: "/adamant.teller.v1.TellerAPI/ExitEthereumStakingValidators"; requestStream: false; @@ -573,39 +593,39 @@ interface ITellerAPIService_IProgmatCoinBurn extends grpc.MethodDefinition; responseDeserialize: grpc.deserialize; } -interface ITellerAPIService_IProgmatCoinAddToWhitelist extends grpc.MethodDefinition { - path: "/adamant.teller.v1.TellerAPI/ProgmatCoinAddToWhitelist"; +interface ITellerAPIService_IProgmatCoinBulkAddToWhitelist extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ProgmatCoinBulkAddToWhitelist"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } -interface ITellerAPIService_IProgmatCoinRemoveFromWhitelist extends grpc.MethodDefinition { - path: "/adamant.teller.v1.TellerAPI/ProgmatCoinRemoveFromWhitelist"; +interface ITellerAPIService_IProgmatCoinBulkRemoveFromWhitelist extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ProgmatCoinBulkRemoveFromWhitelist"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } -interface ITellerAPIService_IProgmatCoinAddToBlacklist extends grpc.MethodDefinition { - path: "/adamant.teller.v1.TellerAPI/ProgmatCoinAddToBlacklist"; +interface ITellerAPIService_IProgmatCoinBulkAddToBlacklist extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ProgmatCoinBulkAddToBlacklist"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } -interface ITellerAPIService_IProgmatCoinRemoveFromBlacklist extends grpc.MethodDefinition { - path: "/adamant.teller.v1.TellerAPI/ProgmatCoinRemoveFromBlacklist"; +interface ITellerAPIService_IProgmatCoinBulkRemoveFromBlacklist extends grpc.MethodDefinition { + path: "/adamant.teller.v1.TellerAPI/ProgmatCoinBulkRemoveFromBlacklist"; requestStream: false; responseStream: false; - requestSerialize: grpc.serialize; - requestDeserialize: grpc.deserialize; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } @@ -652,6 +672,7 @@ export interface ITellerAPIServer { updateDestinationWalletID: grpc.handleUnaryCall; getCosmosBalance: grpc.handleUnaryCall; listCosmosDelegateHistories: grpc.handleUnaryCall; + listUTXOs: grpc.handleUnaryCall; createAddress: grpc.handleUnaryCall; createIOSTAccount: grpc.handleUnaryCall; listSymbolChildAddresses: grpc.handleUnaryCall; @@ -676,6 +697,7 @@ export interface ITellerAPIServer { getTransactionByTxID: grpc.handleUnaryCall; listTransactions: grpc.handleUnaryCall; listTransactionsByFilter: grpc.handleUnaryCall; + listUnconfirmedTransactionsByFilter: grpc.handleUnaryCall; exitEthereumStakingValidators: grpc.handleUnaryCall; listTransfers: grpc.handleUnaryCall; listTransfersByFilter: grpc.handleUnaryCall; @@ -695,10 +717,10 @@ export interface ITellerAPIServer { progmatCoinMintAndTransfer: grpc.handleUnaryCall; progmatCoinMint: grpc.handleUnaryCall; progmatCoinBurn: grpc.handleUnaryCall; - progmatCoinAddToWhitelist: grpc.handleUnaryCall; - progmatCoinRemoveFromWhitelist: grpc.handleUnaryCall; - progmatCoinAddToBlacklist: grpc.handleUnaryCall; - progmatCoinRemoveFromBlacklist: grpc.handleUnaryCall; + progmatCoinBulkAddToWhitelist: grpc.handleUnaryCall; + progmatCoinBulkRemoveFromWhitelist: grpc.handleUnaryCall; + progmatCoinBulkAddToBlacklist: grpc.handleUnaryCall; + progmatCoinBulkRemoveFromBlacklist: grpc.handleUnaryCall; progmatCoinConfiscate: grpc.handleUnaryCall; progmatCoinPause: grpc.handleUnaryCall; progmatCoinUnpause: grpc.handleUnaryCall; @@ -741,6 +763,9 @@ export interface ITellerAPIClient { listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; + listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; + listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; + listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; @@ -813,6 +838,9 @@ export interface ITellerAPIClient { listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; @@ -870,18 +898,18 @@ export interface ITellerAPIClient { progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; @@ -931,6 +959,9 @@ export class TellerAPIClient extends grpc.Client implements ITellerAPIClient { public listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; public listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; public listCosmosDelegateHistories(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListCosmosDelegateHistoriesResponse) => void): grpc.ClientUnaryCall; + public listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; + public listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; + public listUTXOs(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse) => void): grpc.ClientUnaryCall; public createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; public createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; public createAddress(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateAddressResponse) => void): grpc.ClientUnaryCall; @@ -1003,6 +1034,9 @@ export class TellerAPIClient extends grpc.Client implements ITellerAPIClient { public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; public listTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; + public listUnconfirmedTransactionsByFilter(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse) => void): grpc.ClientUnaryCall; public exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; public exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; public exitEthereumStakingValidators(request: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ExitEthereumStakingValidatorsResponse) => void): grpc.ClientUnaryCall; @@ -1060,18 +1094,18 @@ export class TellerAPIClient extends grpc.Client implements ITellerAPIClient { public progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; public progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; public progmatCoinBurn(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBurnRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; - public progmatCoinRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromWhitelist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkAddToBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; + public progmatCoinBulkRemoveFromBlacklist(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; public progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; public progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; public progmatCoinConfiscate(request: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinConfiscateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse) => void): grpc.ClientUnaryCall; diff --git a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.js b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.js index 97db655..20e4233 100644 --- a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.js +++ b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_grpc_pb.js @@ -637,6 +637,50 @@ function deserialize_adamant_global_v1_ListTransfersResponse(buffer_arg) { return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListTransfersResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_adamant_global_v1_ListUTXOsRequest(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest)) { + throw new Error('Expected argument of type adamant.global.v1.ListUTXOsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUTXOsRequest(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_global_v1_ListUTXOsResponse(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse)) { + throw new Error('Expected argument of type adamant.global.v1.ListUTXOsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUTXOsResponse(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest)) { + throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(arg) { + if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse)) { + throw new Error('Expected argument of type adamant.global.v1.ListUnconfirmedTransactionsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse(buffer_arg) { + return gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_adamant_global_v1_ListWalletsByFilterRequest(arg) { if (!(arg instanceof gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListWalletsByFilterRequest)) { throw new Error('Expected argument of type adamant.global.v1.ListWalletsByFilterRequest'); @@ -890,26 +934,48 @@ function deserialize_adamant_teller_v1_ListHotFeeDepositAddressesResponse(buffer return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ListHotFeeDepositAddressesResponse.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_adamant_teller_v1_ProgmatCoinAddToBlacklistRequest(arg) { - if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest)) { - throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinAddToBlacklistRequest'); +function serialize_adamant_teller_v1_ProgmatCoinBulkAddToBlacklistRequest(arg) { + if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest)) { + throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_teller_v1_ProgmatCoinBulkAddToBlacklistRequest(buffer_arg) { + return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_teller_v1_ProgmatCoinBulkAddToWhitelistRequest(arg) { + if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest)) { + throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_adamant_teller_v1_ProgmatCoinBulkAddToWhitelistRequest(buffer_arg) { + return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromBlacklistRequest(arg) { + if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest)) { + throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_adamant_teller_v1_ProgmatCoinAddToBlacklistRequest(buffer_arg) { - return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest.deserializeBinary(new Uint8Array(buffer_arg)); +function deserialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromBlacklistRequest(buffer_arg) { + return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_adamant_teller_v1_ProgmatCoinAddToWhitelistRequest(arg) { - if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest)) { - throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinAddToWhitelistRequest'); +function serialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromWhitelistRequest(arg) { + if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest)) { + throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest'); } return Buffer.from(arg.serializeBinary()); } -function deserialize_adamant_teller_v1_ProgmatCoinAddToWhitelistRequest(buffer_arg) { - return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest.deserializeBinary(new Uint8Array(buffer_arg)); +function deserialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromWhitelistRequest(buffer_arg) { + return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest.deserializeBinary(new Uint8Array(buffer_arg)); } function serialize_adamant_teller_v1_ProgmatCoinBurnRequest(arg) { @@ -989,28 +1055,6 @@ function deserialize_adamant_teller_v1_ProgmatCoinPauseRequest(buffer_arg) { return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinPauseRequest.deserializeBinary(new Uint8Array(buffer_arg)); } -function serialize_adamant_teller_v1_ProgmatCoinRemoveFromBlacklistRequest(arg) { - if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest)) { - throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_adamant_teller_v1_ProgmatCoinRemoveFromBlacklistRequest(buffer_arg) { - return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - -function serialize_adamant_teller_v1_ProgmatCoinRemoveFromWhitelistRequest(arg) { - if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest)) { - throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest'); - } - return Buffer.from(arg.serializeBinary()); -} - -function deserialize_adamant_teller_v1_ProgmatCoinRemoveFromWhitelistRequest(buffer_arg) { - return gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinary(new Uint8Array(buffer_arg)); -} - function serialize_adamant_teller_v1_ProgmatCoinUnpauseRequest(arg) { if (!(arg instanceof gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinUnpauseRequest)) { throw new Error('Expected argument of type adamant.teller.v1.ProgmatCoinUnpauseRequest'); @@ -1227,6 +1271,17 @@ getWallet: { responseSerialize: serialize_adamant_global_v1_ListCosmosDelegateHistoriesResponse, responseDeserialize: deserialize_adamant_global_v1_ListCosmosDelegateHistoriesResponse, }, + listUTXOs: { + path: '/adamant.teller.v1.TellerAPI/ListUTXOs', + requestStream: false, + responseStream: false, + requestType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsRequest, + responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUTXOsResponse, + requestSerialize: serialize_adamant_global_v1_ListUTXOsRequest, + requestDeserialize: deserialize_adamant_global_v1_ListUTXOsRequest, + responseSerialize: serialize_adamant_global_v1_ListUTXOsResponse, + responseDeserialize: deserialize_adamant_global_v1_ListUTXOsResponse, + }, // Create a new address for an existing wallet createAddress: { path: '/adamant.teller.v1.TellerAPI/CreateAddress', @@ -1493,6 +1548,17 @@ getEthereumFeeAddress: { responseSerialize: serialize_adamant_global_v1_ListTransactionsResponse, responseDeserialize: deserialize_adamant_global_v1_ListTransactionsResponse, }, + listUnconfirmedTransactionsByFilter: { + path: '/adamant.teller.v1.TellerAPI/ListUnconfirmedTransactionsByFilter', + requestStream: false, + responseStream: false, + requestType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsByFilterRequest, + responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.ListUnconfirmedTransactionsResponse, + requestSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest, + requestDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsByFilterRequest, + responseSerialize: serialize_adamant_global_v1_ListUnconfirmedTransactionsResponse, + responseDeserialize: deserialize_adamant_global_v1_ListUnconfirmedTransactionsResponse, + }, // Exit ethereum validators exitEthereumStakingValidators: { path: '/adamant.teller.v1.TellerAPI/ExitEthereumStakingValidators', @@ -1709,47 +1775,47 @@ progmatCoinInitialize: { responseSerialize: serialize_adamant_global_v1_CreateTransactionResponse, responseDeserialize: deserialize_adamant_global_v1_CreateTransactionResponse, }, - progmatCoinAddToWhitelist: { - path: '/adamant.teller.v1.TellerAPI/ProgmatCoinAddToWhitelist', + progmatCoinBulkAddToWhitelist: { + path: '/adamant.teller.v1.TellerAPI/ProgmatCoinBulkAddToWhitelist', requestStream: false, responseStream: false, - requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToWhitelistRequest, + requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToWhitelistRequest, responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse, - requestSerialize: serialize_adamant_teller_v1_ProgmatCoinAddToWhitelistRequest, - requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinAddToWhitelistRequest, + requestSerialize: serialize_adamant_teller_v1_ProgmatCoinBulkAddToWhitelistRequest, + requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinBulkAddToWhitelistRequest, responseSerialize: serialize_adamant_global_v1_CreateTransactionResponse, responseDeserialize: deserialize_adamant_global_v1_CreateTransactionResponse, }, - progmatCoinRemoveFromWhitelist: { - path: '/adamant.teller.v1.TellerAPI/ProgmatCoinRemoveFromWhitelist', + progmatCoinBulkRemoveFromWhitelist: { + path: '/adamant.teller.v1.TellerAPI/ProgmatCoinBulkRemoveFromWhitelist', requestStream: false, responseStream: false, - requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromWhitelistRequest, + requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromWhitelistRequest, responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse, - requestSerialize: serialize_adamant_teller_v1_ProgmatCoinRemoveFromWhitelistRequest, - requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinRemoveFromWhitelistRequest, + requestSerialize: serialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromWhitelistRequest, + requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromWhitelistRequest, responseSerialize: serialize_adamant_global_v1_CreateTransactionResponse, responseDeserialize: deserialize_adamant_global_v1_CreateTransactionResponse, }, - progmatCoinAddToBlacklist: { - path: '/adamant.teller.v1.TellerAPI/ProgmatCoinAddToBlacklist', + progmatCoinBulkAddToBlacklist: { + path: '/adamant.teller.v1.TellerAPI/ProgmatCoinBulkAddToBlacklist', requestStream: false, responseStream: false, - requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinAddToBlacklistRequest, + requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkAddToBlacklistRequest, responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse, - requestSerialize: serialize_adamant_teller_v1_ProgmatCoinAddToBlacklistRequest, - requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinAddToBlacklistRequest, + requestSerialize: serialize_adamant_teller_v1_ProgmatCoinBulkAddToBlacklistRequest, + requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinBulkAddToBlacklistRequest, responseSerialize: serialize_adamant_global_v1_CreateTransactionResponse, responseDeserialize: deserialize_adamant_global_v1_CreateTransactionResponse, }, - progmatCoinRemoveFromBlacklist: { - path: '/adamant.teller.v1.TellerAPI/ProgmatCoinRemoveFromBlacklist', + progmatCoinBulkRemoveFromBlacklist: { + path: '/adamant.teller.v1.TellerAPI/ProgmatCoinBulkRemoveFromBlacklist', requestStream: false, responseStream: false, - requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinRemoveFromBlacklistRequest, + requestType: gincoinc_adamant_teller_v1_adamanttellerv1_teller_api_pb.ProgmatCoinBulkRemoveFromBlacklistRequest, responseType: gincoinc_adamant_global_v1_adamantglobalv1_global_api_pb.CreateTransactionResponse, - requestSerialize: serialize_adamant_teller_v1_ProgmatCoinRemoveFromBlacklistRequest, - requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinRemoveFromBlacklistRequest, + requestSerialize: serialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromBlacklistRequest, + requestDeserialize: deserialize_adamant_teller_v1_ProgmatCoinBulkRemoveFromBlacklistRequest, responseSerialize: serialize_adamant_global_v1_CreateTransactionResponse, responseDeserialize: deserialize_adamant_global_v1_CreateTransactionResponse, }, diff --git a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.d.ts b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.d.ts index 511b758..b12904f 100644 --- a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.d.ts +++ b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.d.ts @@ -316,6 +316,11 @@ export class ProgmatCoinMintAndTransferRequest extends jspb.Message { getAmount(): string; setAmount(value: string): ProgmatCoinMintAndTransferRequest; + hasThroughAddress(): boolean; + clearThroughAddress(): void; + getThroughAddress(): string | undefined; + setThroughAddress(value: string): ProgmatCoinMintAndTransferRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ProgmatCoinMintAndTransferRequest.AsObject; static toObject(includeInstance: boolean, msg: ProgmatCoinMintAndTransferRequest): ProgmatCoinMintAndTransferRequest.AsObject; @@ -334,6 +339,7 @@ export namespace ProgmatCoinMintAndTransferRequest { mintAddress: string, transferAddress: string, amount: string, + throughAddress?: string, } } @@ -398,119 +404,139 @@ export namespace ProgmatCoinBurnRequest { } } -export class ProgmatCoinAddToWhitelistRequest extends jspb.Message { +export class ProgmatCoinBulkAddToWhitelistRequest extends jspb.Message { getWalletId(): string; - setWalletId(value: string): ProgmatCoinAddToWhitelistRequest; + setWalletId(value: string): ProgmatCoinBulkAddToWhitelistRequest; getFeeRate(): number; - setFeeRate(value: number): ProgmatCoinAddToWhitelistRequest; + setFeeRate(value: number): ProgmatCoinBulkAddToWhitelistRequest; getContractAddress(): string; - setContractAddress(value: string): ProgmatCoinAddToWhitelistRequest; - getAddress(): string; - setAddress(value: string): ProgmatCoinAddToWhitelistRequest; + setContractAddress(value: string): ProgmatCoinBulkAddToWhitelistRequest; + getUtilsAddress(): string; + setUtilsAddress(value: string): ProgmatCoinBulkAddToWhitelistRequest; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): ProgmatCoinBulkAddToWhitelistRequest; + addAddresses(value: string, index?: number): string; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ProgmatCoinAddToWhitelistRequest.AsObject; - static toObject(includeInstance: boolean, msg: ProgmatCoinAddToWhitelistRequest): ProgmatCoinAddToWhitelistRequest.AsObject; + toObject(includeInstance?: boolean): ProgmatCoinBulkAddToWhitelistRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProgmatCoinBulkAddToWhitelistRequest): ProgmatCoinBulkAddToWhitelistRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ProgmatCoinAddToWhitelistRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ProgmatCoinAddToWhitelistRequest; - static deserializeBinaryFromReader(message: ProgmatCoinAddToWhitelistRequest, reader: jspb.BinaryReader): ProgmatCoinAddToWhitelistRequest; + static serializeBinaryToWriter(message: ProgmatCoinBulkAddToWhitelistRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProgmatCoinBulkAddToWhitelistRequest; + static deserializeBinaryFromReader(message: ProgmatCoinBulkAddToWhitelistRequest, reader: jspb.BinaryReader): ProgmatCoinBulkAddToWhitelistRequest; } -export namespace ProgmatCoinAddToWhitelistRequest { +export namespace ProgmatCoinBulkAddToWhitelistRequest { export type AsObject = { walletId: string, feeRate: number, contractAddress: string, - address: string, + utilsAddress: string, + addressesList: Array, } } -export class ProgmatCoinRemoveFromWhitelistRequest extends jspb.Message { +export class ProgmatCoinBulkRemoveFromWhitelistRequest extends jspb.Message { getWalletId(): string; - setWalletId(value: string): ProgmatCoinRemoveFromWhitelistRequest; + setWalletId(value: string): ProgmatCoinBulkRemoveFromWhitelistRequest; getFeeRate(): number; - setFeeRate(value: number): ProgmatCoinRemoveFromWhitelistRequest; + setFeeRate(value: number): ProgmatCoinBulkRemoveFromWhitelistRequest; getContractAddress(): string; - setContractAddress(value: string): ProgmatCoinRemoveFromWhitelistRequest; - getAddress(): string; - setAddress(value: string): ProgmatCoinRemoveFromWhitelistRequest; + setContractAddress(value: string): ProgmatCoinBulkRemoveFromWhitelistRequest; + getUtilsAddress(): string; + setUtilsAddress(value: string): ProgmatCoinBulkRemoveFromWhitelistRequest; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): ProgmatCoinBulkRemoveFromWhitelistRequest; + addAddresses(value: string, index?: number): string; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ProgmatCoinRemoveFromWhitelistRequest.AsObject; - static toObject(includeInstance: boolean, msg: ProgmatCoinRemoveFromWhitelistRequest): ProgmatCoinRemoveFromWhitelistRequest.AsObject; + toObject(includeInstance?: boolean): ProgmatCoinBulkRemoveFromWhitelistRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProgmatCoinBulkRemoveFromWhitelistRequest): ProgmatCoinBulkRemoveFromWhitelistRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ProgmatCoinRemoveFromWhitelistRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ProgmatCoinRemoveFromWhitelistRequest; - static deserializeBinaryFromReader(message: ProgmatCoinRemoveFromWhitelistRequest, reader: jspb.BinaryReader): ProgmatCoinRemoveFromWhitelistRequest; + static serializeBinaryToWriter(message: ProgmatCoinBulkRemoveFromWhitelistRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProgmatCoinBulkRemoveFromWhitelistRequest; + static deserializeBinaryFromReader(message: ProgmatCoinBulkRemoveFromWhitelistRequest, reader: jspb.BinaryReader): ProgmatCoinBulkRemoveFromWhitelistRequest; } -export namespace ProgmatCoinRemoveFromWhitelistRequest { +export namespace ProgmatCoinBulkRemoveFromWhitelistRequest { export type AsObject = { walletId: string, feeRate: number, contractAddress: string, - address: string, + utilsAddress: string, + addressesList: Array, } } -export class ProgmatCoinAddToBlacklistRequest extends jspb.Message { +export class ProgmatCoinBulkAddToBlacklistRequest extends jspb.Message { getWalletId(): string; - setWalletId(value: string): ProgmatCoinAddToBlacklistRequest; + setWalletId(value: string): ProgmatCoinBulkAddToBlacklistRequest; getFeeRate(): number; - setFeeRate(value: number): ProgmatCoinAddToBlacklistRequest; + setFeeRate(value: number): ProgmatCoinBulkAddToBlacklistRequest; getContractAddress(): string; - setContractAddress(value: string): ProgmatCoinAddToBlacklistRequest; - getAddress(): string; - setAddress(value: string): ProgmatCoinAddToBlacklistRequest; + setContractAddress(value: string): ProgmatCoinBulkAddToBlacklistRequest; + getUtilsAddress(): string; + setUtilsAddress(value: string): ProgmatCoinBulkAddToBlacklistRequest; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): ProgmatCoinBulkAddToBlacklistRequest; + addAddresses(value: string, index?: number): string; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ProgmatCoinAddToBlacklistRequest.AsObject; - static toObject(includeInstance: boolean, msg: ProgmatCoinAddToBlacklistRequest): ProgmatCoinAddToBlacklistRequest.AsObject; + toObject(includeInstance?: boolean): ProgmatCoinBulkAddToBlacklistRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProgmatCoinBulkAddToBlacklistRequest): ProgmatCoinBulkAddToBlacklistRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ProgmatCoinAddToBlacklistRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ProgmatCoinAddToBlacklistRequest; - static deserializeBinaryFromReader(message: ProgmatCoinAddToBlacklistRequest, reader: jspb.BinaryReader): ProgmatCoinAddToBlacklistRequest; + static serializeBinaryToWriter(message: ProgmatCoinBulkAddToBlacklistRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProgmatCoinBulkAddToBlacklistRequest; + static deserializeBinaryFromReader(message: ProgmatCoinBulkAddToBlacklistRequest, reader: jspb.BinaryReader): ProgmatCoinBulkAddToBlacklistRequest; } -export namespace ProgmatCoinAddToBlacklistRequest { +export namespace ProgmatCoinBulkAddToBlacklistRequest { export type AsObject = { walletId: string, feeRate: number, contractAddress: string, - address: string, + utilsAddress: string, + addressesList: Array, } } -export class ProgmatCoinRemoveFromBlacklistRequest extends jspb.Message { +export class ProgmatCoinBulkRemoveFromBlacklistRequest extends jspb.Message { getWalletId(): string; - setWalletId(value: string): ProgmatCoinRemoveFromBlacklistRequest; + setWalletId(value: string): ProgmatCoinBulkRemoveFromBlacklistRequest; getFeeRate(): number; - setFeeRate(value: number): ProgmatCoinRemoveFromBlacklistRequest; + setFeeRate(value: number): ProgmatCoinBulkRemoveFromBlacklistRequest; getContractAddress(): string; - setContractAddress(value: string): ProgmatCoinRemoveFromBlacklistRequest; - getAddress(): string; - setAddress(value: string): ProgmatCoinRemoveFromBlacklistRequest; + setContractAddress(value: string): ProgmatCoinBulkRemoveFromBlacklistRequest; + getUtilsAddress(): string; + setUtilsAddress(value: string): ProgmatCoinBulkRemoveFromBlacklistRequest; + clearAddressesList(): void; + getAddressesList(): Array; + setAddressesList(value: Array): ProgmatCoinBulkRemoveFromBlacklistRequest; + addAddresses(value: string, index?: number): string; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ProgmatCoinRemoveFromBlacklistRequest.AsObject; - static toObject(includeInstance: boolean, msg: ProgmatCoinRemoveFromBlacklistRequest): ProgmatCoinRemoveFromBlacklistRequest.AsObject; + toObject(includeInstance?: boolean): ProgmatCoinBulkRemoveFromBlacklistRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProgmatCoinBulkRemoveFromBlacklistRequest): ProgmatCoinBulkRemoveFromBlacklistRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ProgmatCoinRemoveFromBlacklistRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ProgmatCoinRemoveFromBlacklistRequest; - static deserializeBinaryFromReader(message: ProgmatCoinRemoveFromBlacklistRequest, reader: jspb.BinaryReader): ProgmatCoinRemoveFromBlacklistRequest; + static serializeBinaryToWriter(message: ProgmatCoinBulkRemoveFromBlacklistRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProgmatCoinBulkRemoveFromBlacklistRequest; + static deserializeBinaryFromReader(message: ProgmatCoinBulkRemoveFromBlacklistRequest, reader: jspb.BinaryReader): ProgmatCoinBulkRemoveFromBlacklistRequest; } -export namespace ProgmatCoinRemoveFromBlacklistRequest { +export namespace ProgmatCoinBulkRemoveFromBlacklistRequest { export type AsObject = { walletId: string, feeRate: number, contractAddress: string, - address: string, + utilsAddress: string, + addressesList: Array, } } diff --git a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.js b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.js index 76c4094..e1ad985 100644 --- a/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.js +++ b/gen/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api_pb.js @@ -34,8 +34,10 @@ goog.exportSymbol('proto.adamant.teller.v1.ListColdFeeDepositAddressesRequest', goog.exportSymbol('proto.adamant.teller.v1.ListColdFeeDepositAddressesResponse', null, global); goog.exportSymbol('proto.adamant.teller.v1.ListHotFeeDepositAddressesRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ListHotFeeDepositAddressesResponse', null, global); -goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest', null, global); -goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest', null, global); +goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest', null, global); +goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest', null, global); +goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest', null, global); +goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinBurnRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinConfigureMinterRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinConfiscateRequest', null, global); @@ -43,8 +45,6 @@ goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinInitializeRequest', null, goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinMintRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinPauseRequest', null, global); -goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest', null, global); -goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ProgmatCoinUnpauseRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.ResendTransactionRequest', null, global); goog.exportSymbol('proto.adamant.teller.v1.SendTransactionRequest', null, global); @@ -334,16 +334,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.repeatedFields_, null); }; -goog.inherits(proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest, jspb.Message); +goog.inherits(proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest'; + proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest'; } /** * Generated by JsPbCodeGenerator. @@ -355,16 +355,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.repeatedFields_, null); }; -goog.inherits(proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest, jspb.Message); +goog.inherits(proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest'; + proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest'; } /** * Generated by JsPbCodeGenerator. @@ -376,16 +376,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.repeatedFields_, null); }; -goog.inherits(proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest, jspb.Message); +goog.inherits(proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest'; + proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest'; } /** * Generated by JsPbCodeGenerator. @@ -397,16 +397,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.repeatedFields_, null); }; -goog.inherits(proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest, jspb.Message); +goog.inherits(proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest'; + proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.displayName = 'proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest'; } /** * Generated by JsPbCodeGenerator. @@ -2756,7 +2756,8 @@ proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.toObject = function(in contractAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), mintAddress: jspb.Message.getFieldWithDefault(msg, 4, ""), transferAddress: jspb.Message.getFieldWithDefault(msg, 5, ""), - amount: jspb.Message.getFieldWithDefault(msg, 6, "") + amount: jspb.Message.getFieldWithDefault(msg, 6, ""), + throughAddress: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -2817,6 +2818,10 @@ proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.deserializeBinaryFromR var value = /** @type {string} */ (reader.readString()); msg.setAmount(value); break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setThroughAddress(value); + break; default: reader.skipField(); break; @@ -2888,6 +2893,13 @@ proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.serializeBinaryToWrite f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString( + 7, + f + ); + } }; @@ -2999,6 +3011,42 @@ proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.prototype.setAmount = }; +/** + * optional string through_address = 7; + * @return {string} + */ +proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.prototype.getThroughAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.prototype.setThroughAddress = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.prototype.clearThroughAddress = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.adamant.teller.v1.ProgmatCoinMintAndTransferRequest.prototype.hasThroughAddress = function() { + return jspb.Message.getField(this, 7) != null; +}; + + @@ -3470,6 +3518,13 @@ proto.adamant.teller.v1.ProgmatCoinBurnRequest.prototype.setAmount = function(va +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.repeatedFields_ = [5]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -3485,8 +3540,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.toObject(opt_includeInstance, this); +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.toObject(opt_includeInstance, this); }; @@ -3495,16 +3550,17 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} msg The msg instance to transform. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.toObject = function(includeInstance, msg) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.toObject = function(includeInstance, msg) { var f, obj = { walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), feeRate: jspb.Message.getFieldWithDefault(msg, 2, 0), contractAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), - address: jspb.Message.getFieldWithDefault(msg, 4, "") + utilsAddress: jspb.Message.getFieldWithDefault(msg, 4, ""), + addressesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -3518,23 +3574,23 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.deserializeBinary = function(bytes) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest; - return proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest; + return proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} msg The message object to deserialize into. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3555,7 +3611,11 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.deserializeBinaryFromRe break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); + msg.setUtilsAddress(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); break; default: reader.skipField(); @@ -3570,9 +3630,9 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.serializeBinary = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.serializeBinaryToWriter(this, writer); + proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3580,11 +3640,11 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} message + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.serializeBinaryToWriter = function(message, writer) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWalletId(); if (f.length > 0) { @@ -3607,13 +3667,20 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.serializeBinaryToWriter f ); } - f = message.getAddress(); + f = message.getUtilsAddress(); if (f.length > 0) { writer.writeString( 4, f ); } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } }; @@ -3621,16 +3688,16 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.serializeBinaryToWriter * optional string wallet_id = 1; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.getWalletId = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setWalletId = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.setWalletId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3639,16 +3706,16 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setWalletId = * optional uint64 fee_rate = 2; * @return {number} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.getFeeRate = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.getFeeRate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setFeeRate = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.setFeeRate = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -3657,38 +3724,82 @@ proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setFeeRate = * optional string contract_address = 3; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.getContractAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.getContractAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setContractAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.setContractAddress = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional string address = 4; + * optional string utils_address = 4; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.getAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.getUtilsAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToWhitelistRequest.prototype.setAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.setUtilsAddress = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * repeated string addresses = 5; + * @return {!Array} + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToWhitelistRequest.prototype.clearAddressesList = function() { + return this.setAddressesList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.repeatedFields_ = [5]; @@ -3705,8 +3816,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.toObject(opt_includeInstance, this); +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.toObject(opt_includeInstance, this); }; @@ -3715,16 +3826,17 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} msg The msg instance to transform. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.toObject = function(includeInstance, msg) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.toObject = function(includeInstance, msg) { var f, obj = { walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), feeRate: jspb.Message.getFieldWithDefault(msg, 2, 0), contractAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), - address: jspb.Message.getFieldWithDefault(msg, 4, "") + utilsAddress: jspb.Message.getFieldWithDefault(msg, 4, ""), + addressesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -3738,23 +3850,23 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinary = function(bytes) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest; - return proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest; + return proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} msg The message object to deserialize into. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3775,7 +3887,11 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinaryF break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); + msg.setUtilsAddress(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); break; default: reader.skipField(); @@ -3790,9 +3906,9 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.serializeBinary = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.serializeBinaryToWriter(this, writer); + proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3800,11 +3916,11 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} message + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.serializeBinaryToWriter = function(message, writer) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWalletId(); if (f.length > 0) { @@ -3827,13 +3943,20 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.serializeBinaryToW f ); } - f = message.getAddress(); + f = message.getUtilsAddress(); if (f.length > 0) { writer.writeString( 4, f ); } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } }; @@ -3841,16 +3964,16 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.serializeBinaryToW * optional string wallet_id = 1; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.getWalletId = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setWalletId = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.setWalletId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3859,16 +3982,16 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setWalle * optional uint64 fee_rate = 2; * @return {number} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.getFeeRate = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.getFeeRate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setFeeRate = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.setFeeRate = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -3877,38 +4000,82 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setFeeRa * optional string contract_address = 3; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.getContractAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.getContractAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setContractAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.setContractAddress = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional string address = 4; + * optional string utils_address = 4; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.getAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.getUtilsAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromWhitelistRequest.prototype.setAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.setUtilsAddress = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * repeated string addresses = 5; + * @return {!Array} + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromWhitelistRequest.prototype.clearAddressesList = function() { + return this.setAddressesList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.repeatedFields_ = [5]; @@ -3925,8 +4092,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.toObject(opt_includeInstance, this); +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.toObject(opt_includeInstance, this); }; @@ -3935,16 +4102,17 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} msg The msg instance to transform. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.toObject = function(includeInstance, msg) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.toObject = function(includeInstance, msg) { var f, obj = { walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), feeRate: jspb.Message.getFieldWithDefault(msg, 2, 0), contractAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), - address: jspb.Message.getFieldWithDefault(msg, 4, "") + utilsAddress: jspb.Message.getFieldWithDefault(msg, 4, ""), + addressesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -3958,23 +4126,23 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.deserializeBinary = function(bytes) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest; - return proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest; + return proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} msg The message object to deserialize into. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3995,7 +4163,11 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.deserializeBinaryFromRe break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); + msg.setUtilsAddress(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); break; default: reader.skipField(); @@ -4010,9 +4182,9 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.serializeBinary = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.serializeBinaryToWriter(this, writer); + proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4020,11 +4192,11 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} message + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.serializeBinaryToWriter = function(message, writer) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWalletId(); if (f.length > 0) { @@ -4047,13 +4219,20 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.serializeBinaryToWriter f ); } - f = message.getAddress(); + f = message.getUtilsAddress(); if (f.length > 0) { writer.writeString( 4, f ); } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } }; @@ -4061,16 +4240,16 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.serializeBinaryToWriter * optional string wallet_id = 1; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.getWalletId = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setWalletId = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.setWalletId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4079,16 +4258,16 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setWalletId = * optional uint64 fee_rate = 2; * @return {number} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.getFeeRate = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.getFeeRate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setFeeRate = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.setFeeRate = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -4097,38 +4276,82 @@ proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setFeeRate = * optional string contract_address = 3; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.getContractAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.getContractAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setContractAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.setContractAddress = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional string address = 4; + * optional string utils_address = 4; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.getAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.getUtilsAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinAddToBlacklistRequest.prototype.setAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.setUtilsAddress = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * repeated string addresses = 5; + * @return {!Array} + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkAddToBlacklistRequest.prototype.clearAddressesList = function() { + return this.setAddressesList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.repeatedFields_ = [5]; @@ -4145,8 +4368,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.toObject = function(opt_includeInstance) { - return proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.toObject(opt_includeInstance, this); +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.toObject = function(opt_includeInstance) { + return proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.toObject(opt_includeInstance, this); }; @@ -4155,16 +4378,17 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} msg The msg instance to transform. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.toObject = function(includeInstance, msg) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.toObject = function(includeInstance, msg) { var f, obj = { walletId: jspb.Message.getFieldWithDefault(msg, 1, ""), feeRate: jspb.Message.getFieldWithDefault(msg, 2, 0), contractAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), - address: jspb.Message.getFieldWithDefault(msg, 4, "") + utilsAddress: jspb.Message.getFieldWithDefault(msg, 4, ""), + addressesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -4178,23 +4402,23 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinary = function(bytes) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest; - return proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest; + return proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} msg The message object to deserialize into. + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4215,7 +4439,11 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinaryF break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setAddress(value); + msg.setUtilsAddress(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addAddresses(value); break; default: reader.skipField(); @@ -4230,9 +4458,9 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.serializeBinary = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.serializeBinaryToWriter(this, writer); + proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4240,11 +4468,11 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} message + * @param {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.serializeBinaryToWriter = function(message, writer) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWalletId(); if (f.length > 0) { @@ -4267,13 +4495,20 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.serializeBinaryToW f ); } - f = message.getAddress(); + f = message.getUtilsAddress(); if (f.length > 0) { writer.writeString( 4, f ); } + f = message.getAddressesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } }; @@ -4281,16 +4516,16 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.serializeBinaryToW * optional string wallet_id = 1; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.getWalletId = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.getWalletId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setWalletId = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.setWalletId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4299,16 +4534,16 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setWalle * optional uint64 fee_rate = 2; * @return {number} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.getFeeRate = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.getFeeRate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setFeeRate = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.setFeeRate = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -4317,38 +4552,75 @@ proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setFeeRa * optional string contract_address = 3; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.getContractAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.getContractAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setContractAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.setContractAddress = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** - * optional string address = 4; + * optional string utils_address = 4; * @return {string} */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.getAddress = function() { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.getUtilsAddress = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest} returns this + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this */ -proto.adamant.teller.v1.ProgmatCoinRemoveFromBlacklistRequest.prototype.setAddress = function(value) { +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.setUtilsAddress = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * repeated string addresses = 5; + * @return {!Array} + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.getAddressesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.setAddressesList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.addAddresses = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest} returns this + */ +proto.adamant.teller.v1.ProgmatCoinBulkRemoveFromBlacklistRequest.prototype.clearAddressesList = function() { + return this.setAddressesList([]); +}; + + diff --git a/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.d.ts b/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.d.ts index fa80c2d..9a51529 100644 --- a/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.d.ts +++ b/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.d.ts @@ -151,6 +151,8 @@ export enum Network { NETWORK_APTOS_TESTNET = 61, NETWORK_DOGECOIN_MAINNET = 62, NETWORK_DOGECOIN_TESTNET = 63, + NETWORK_AVALANCHE_PLATFORM_CHAIN_MAINNET = 64, + NETWORK_AVALANCHE_PLATFORM_CHAIN_TESTNET = 65, NETWORK_SHIDEN_MAINNET = 10002, } @@ -304,14 +306,40 @@ export enum EthereumCallMethod { ETHEREUM_CALL_METHOD_INVALID = 0, ETHEREUM_CALL_METHOD_PROGMAT_COIN_INITIALIZE = 1, ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFIGURE_MINTER = 2, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER = 3, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_DIRECT = 3, ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT = 4, ETHEREUM_CALL_METHOD_PROGMAT_COIN_BURN = 5, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_WHITELIST = 6, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_WHITELIST = 7, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_BLACKLIST = 8, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_BLACKLIST = 9, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_WHITELIST = 6, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_WHITELIST = 7, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_BLACKLIST = 8, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_BLACKLIST = 9, ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFISCATE = 10, ETHEREUM_CALL_METHOD_PROGMAT_COIN_PAUSE = 11, ETHEREUM_CALL_METHOD_PROGMAT_COIN_UNPAUSE = 12, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_INTERMEDIARY = 13, +} + +export enum AvalancheTxType { + AVALANCHE_TX_TYPE_INVALID = 0, + AVALANCHE_TX_TYPE_TRANSFER = 1, + AVALANCHE_TX_TYPE_EXPORT = 2, + AVALANCHE_TX_TYPE_IMPORT = 3, + AVALANCHE_TX_TYPE_ADD_PERMISSIONLESS_DELEGATOR = 4, + AVALANCHE_TX_TYPE_REWARD_VALIDATOR = 5, +} + +export enum AvalancheInputType { + AVALANCHE_INPUT_TYPE_INVALID = 0, + AVALANCHE_INPUT_TYPE_TRANSFERABLE_INPUT = 1, + AVALANCHE_INPUT_TYPE_IMPORTED_INPUT = 2, + AVALANCHE_INPUT_TYPE_EVM_INPUT = 3, +} + +export enum AvalancheOutputType { + AVALANCHE_OUTPUT_TYPE_INVALID = 0, + AVALANCHE_OUTPUT_TYPE_TRANSFERABLE_OUTPUT = 1, + AVALANCHE_OUTPUT_TYPE_EXPORTED_OUTPUT = 2, + AVALANCHE_OUTPUT_TYPE_EVM_OUTPUT = 3, + AVALANCHE_OUTPUT_TYPE_STAKE_OUTPUT = 4, + AVALANCHE_OUTPUT_TYPE_OWNERS_OUTPUT = 5, } diff --git a/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.js b/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.js index 12d167d..67422d7 100644 --- a/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.js +++ b/gen/gincoinc/global/v1/gincoincglobalv1/enum_pb.js @@ -16,6 +16,9 @@ var goog = jspb; var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.gincoinc.global.v1.AddressType', null, global); +goog.exportSymbol('proto.gincoinc.global.v1.AvalancheInputType', null, global); +goog.exportSymbol('proto.gincoinc.global.v1.AvalancheOutputType', null, global); +goog.exportSymbol('proto.gincoinc.global.v1.AvalancheTxType', null, global); goog.exportSymbol('proto.gincoinc.global.v1.Coin', null, global); goog.exportSymbol('proto.gincoinc.global.v1.CosmosMsgType', null, global); goog.exportSymbol('proto.gincoinc.global.v1.EthereumCallMethod', null, global); @@ -184,6 +187,8 @@ proto.gincoinc.global.v1.Network = { NETWORK_APTOS_TESTNET: 61, NETWORK_DOGECOIN_MAINNET: 62, NETWORK_DOGECOIN_TESTNET: 63, + NETWORK_AVALANCHE_PLATFORM_CHAIN_MAINNET: 64, + NETWORK_AVALANCHE_PLATFORM_CHAIN_TESTNET: 65, NETWORK_SHIDEN_MAINNET: 10002 }; @@ -385,16 +390,51 @@ proto.gincoinc.global.v1.EthereumCallMethod = { ETHEREUM_CALL_METHOD_INVALID: 0, ETHEREUM_CALL_METHOD_PROGMAT_COIN_INITIALIZE: 1, ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFIGURE_MINTER: 2, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER: 3, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_DIRECT: 3, ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT: 4, ETHEREUM_CALL_METHOD_PROGMAT_COIN_BURN: 5, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_WHITELIST: 6, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_WHITELIST: 7, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_BLACKLIST: 8, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_BLACKLIST: 9, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_WHITELIST: 6, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_WHITELIST: 7, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_BLACKLIST: 8, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_BLACKLIST: 9, ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFISCATE: 10, ETHEREUM_CALL_METHOD_PROGMAT_COIN_PAUSE: 11, - ETHEREUM_CALL_METHOD_PROGMAT_COIN_UNPAUSE: 12 + ETHEREUM_CALL_METHOD_PROGMAT_COIN_UNPAUSE: 12, + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_INTERMEDIARY: 13 +}; + +/** + * @enum {number} + */ +proto.gincoinc.global.v1.AvalancheTxType = { + AVALANCHE_TX_TYPE_INVALID: 0, + AVALANCHE_TX_TYPE_TRANSFER: 1, + AVALANCHE_TX_TYPE_EXPORT: 2, + AVALANCHE_TX_TYPE_IMPORT: 3, + AVALANCHE_TX_TYPE_ADD_PERMISSIONLESS_DELEGATOR: 4, + AVALANCHE_TX_TYPE_REWARD_VALIDATOR: 5 +}; + +/** + * @enum {number} + */ +proto.gincoinc.global.v1.AvalancheInputType = { + AVALANCHE_INPUT_TYPE_INVALID: 0, + AVALANCHE_INPUT_TYPE_TRANSFERABLE_INPUT: 1, + AVALANCHE_INPUT_TYPE_IMPORTED_INPUT: 2, + AVALANCHE_INPUT_TYPE_EVM_INPUT: 3 +}; + +/** + * @enum {number} + */ +proto.gincoinc.global.v1.AvalancheOutputType = { + AVALANCHE_OUTPUT_TYPE_INVALID: 0, + AVALANCHE_OUTPUT_TYPE_TRANSFERABLE_OUTPUT: 1, + AVALANCHE_OUTPUT_TYPE_EXPORTED_OUTPUT: 2, + AVALANCHE_OUTPUT_TYPE_EVM_OUTPUT: 3, + AVALANCHE_OUTPUT_TYPE_STAKE_OUTPUT: 4, + AVALANCHE_OUTPUT_TYPE_OWNERS_OUTPUT: 5 }; goog.object.extend(exports, proto.gincoinc.global.v1); diff --git a/package.json b/package.json index 66acff3..9df2f8e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "name": "gew-api-client-js", "description": "Ginco Enterprise Wallet Protocol Buffer for Node.js", - "version": "1.21.0", + "version": "1.22.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/proto/gincoinc/adamant/global/v1/adamantglobalv1/enum.proto b/proto/gincoinc/adamant/global/v1/adamantglobalv1/enum.proto index a982df8..f44f84e 100644 --- a/proto/gincoinc/adamant/global/v1/adamantglobalv1/enum.proto +++ b/proto/gincoinc/adamant/global/v1/adamantglobalv1/enum.proto @@ -385,7 +385,7 @@ enum ListFilterType { LIST_FILTER_TYPE_VALIDATOR_ID = 18; // 例: validatorのpublic key LIST_FILTER_TYPE_BLOCK_HASH = 19; LIST_FILTER_TYPE_STAKING_VALIDATOR_ID = 20; // db上のstaking_validator_id - LIST_FILTER_TYPE_STAKING_HISTORY_ID = 21; // db上のstaking_historyr_id + LIST_FILTER_TYPE_STAKING_HISTORY_ID = 21; // db上のstaking_history_id } // ----------------------------------------------------------------------------- @@ -497,6 +497,17 @@ enum EthereumContractMethodIDType { ETHEREUM_CONTRACT_METHOD_ID_TYPE_INVALID = 0; ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_APPROVE = 1; ETHEREUM_CONTRACT_METHOD_ID_TYPE_UNISWAP_MULTICALL = 2; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_INITIALIZE = 3; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFIGURE_MINTER = 4; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT_AND_TRANSFER = 5; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_MINT = 6; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BURN = 7; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_WHITELIST = 8; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_UNSET = 9; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_BULK_UPDATE_TO_BLACKLIST = 10; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_CONFISCATE = 11; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_PAUSE = 12; + ETHEREUM_CONTRACT_METHOD_ID_TYPE_ERC20_UNPAUSE = 13; } // ----------------------------------------------------------------------------- diff --git a/proto/gincoinc/adamant/global/v1/adamantglobalv1/global_api.proto b/proto/gincoinc/adamant/global/v1/adamantglobalv1/global_api.proto index d01eebf..02f153d 100644 --- a/proto/gincoinc/adamant/global/v1/adamantglobalv1/global_api.proto +++ b/proto/gincoinc/adamant/global/v1/adamantglobalv1/global_api.proto @@ -91,6 +91,9 @@ service GlobalAPI { rpc ListTransactions(ListTransactionsRequest) returns (ListTransactionsResponse) {} rpc ListTransactionsByFilter(ListTransactionsByFilterRequest) returns (ListTransactionsResponse) {} + // UnconfirmedTransaction + rpc ListUnconfirmedTransactionsByFilter(ListUnconfirmedTransactionsByFilterRequest) returns (ListUnconfirmedTransactionsResponse) {} + // SignInfo rpc GetSignInfo(GetSignInfoRequest) returns (SignInfo) {} rpc ListSignInfo(ListSignInfoRequest) returns (ListSignInfoResponse) {} @@ -772,6 +775,7 @@ message CreateTransactionRequest { adamant.global.v1.CreateTransactionHederaSpecific hedera_specific = 16; adamant.global.v1.CreateTransactionSolanaSpecific solana_specific = 17; adamant.global.v1.CreateTransactionAptosSpecific aptos_specific = 19; + adamant.global.v1.CreateTransactionAvalancheSpecific avalanche_specific = 20; adamant.global.v1.UtxoSpecific utxo_specific = 18; } @@ -993,6 +997,78 @@ message ListTransactionsResponse { string next_page_token = 2; } +// ----------------------------------------------------------------------------- +// UnconfirmedTransaction +// ----------------------------------------------------------------------------- + +message ListUnconfirmedTransactionsByFilterRequest { + ListFilterType filter_type = 1 [(validate.rules).enum = { + defined_only: true, + not_in: [ + 0, + 6, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ] + }]; + // optional + string transaction_id = 2; + + // optional + string wallet_id = 3; + + // optional + string wallet_name = 4 [(validate.rules).string = { + max_len: 40 + }]; + + // optional + string address = 5; + + // optional + string txid = 6; + + // optional + gincoinc.global.v1.Coin coin = 7 [(validate.rules).enum = { + defined_only: true + }]; + + // optional + optional gincoinc.global.v1.Network network = 8 [(validate.rules).enum = { + defined_only: true + }]; + + repeated WalletType wallet_type = 9; + + // optional + uint32 page_size = 10 [(validate.rules).uint32.lte = 1000]; + + // optional + string page_token = 11 [(validate.rules).string = { + pattern: "^$|^[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]{16}$" + }]; + + // optional + google.protobuf.Timestamp start_time = 12; + + // optional + google.protobuf.Timestamp end_time = 13; +} + +message ListUnconfirmedTransactionsResponse { + repeated UnconfirmedTransaction unconfirmed_transactions = 1; // Array of unconfirmed transaction objects + string next_page_token = 2; // The token for requesting the next page +} + // ----------------------------------------------------------------------------- // Sign // ----------------------------------------------------------------------------- @@ -1329,6 +1405,7 @@ message CalculateFeeRequest { CalculateFeeRbfSpecific rbf_specific = 13; UtxoSpecific utxo_specific = 14; CalculateFeeSolanaSpecific solana_specific = 15; + CalculateFeeAvalancheSpecific avalanche_specific = 16; } // The model of Substrate specific fields of CreateTransaction @@ -1382,6 +1459,11 @@ message UtxoSpecific { repeated SelectedUTXO selected_utxos = 1; } +// The model of Avalanche specific fields of CalculateFee +message CalculateFeeAvalancheSpecific { + optional gincoinc.global.v1.AvalancheTxType tx_type = 1; +} + message CalculateFeeResponse { double fee = 1; string string_fee = 2; @@ -1420,6 +1502,9 @@ message ValidateAddressRequest { ] }]; // The type of coin string address = 2; + optional gincoinc.global.v1.Network network = 3 [(validate.rules).enum = { + defined_only: true + }]; } message ValidateAddressResponse { diff --git a/proto/gincoinc/adamant/global/v1/adamantglobalv1/model.proto b/proto/gincoinc/adamant/global/v1/adamantglobalv1/model.proto index a16b2d7..f12438c 100644 --- a/proto/gincoinc/adamant/global/v1/adamantglobalv1/model.proto +++ b/proto/gincoinc/adamant/global/v1/adamantglobalv1/model.proto @@ -243,10 +243,33 @@ message Transaction { ArbitrumOneSpecific arbitrum_one_specific = 48; // The Arbitrum specific fields AptosSpecific aptos_specific = 49; // The Flare specific fields DogecoinSpecific dogecoin_specific = 50; // THe Doge specific fields + AvalanchePlatformChainSpecific avalanche_platform_chain_specific = 51; // The Avalanche Platform Chain specific fields google.protobuf.Timestamp create_time = 18; // the time at which the transaction was created google.protobuf.Timestamp update_time = 19; // the time at which the transaction was updated } +// The model of unconfirmed transaction +message UnconfirmedTransaction { + string wallet_id = 1; // The id of wallet + string transaction_id = 2; // id + string tx_id = 5; // txID + double value = 6; // The number-typed amount of transfer + string string_value = 7; // The string-typed amount of transfer + string address = 8; // The address of wallet to which the transfer send/receive + double fee = 9; // The number-typed amount of transfer fee + string string_fee = 10; // The string-typed amount of transfer fee + uint64 fee_rate = 11; // The fee rate of transaction (only BTC and its forks unit: sat/Byte) + google.protobuf.Timestamp create_time = 12; // the time at which the transfer was created + + BitcoinSpecific bitcoin_specific = 13; // The Bitcoin specific fields + LitecoinSpecific litecoin_specific = 14; // The Litecoin specific fields + BitcoincashSpecific bitcoincash_specific = 15; // The Bitcoin Cash specific fields + C0banSpecific c0ban_specific = 16; // The C0ban specific fields + CardanoSpecific cardano_specific = 17; // The Cardano specific fields + MonacoinSpecific monacoin_specific = 18; // The Monacoin specific fields + AvalanchePlatformChainSpecific avalanche_platform_chain_specific = 19; // The Avalanche Platform Chain specific fields +} + // The model of transaction member message TransactionMember { string account_id = 1; // id @@ -285,6 +308,7 @@ message UTXO { pattern: "^$|^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }]; CardanoUTXOSpecific cardano_specific = 7; // The Cardano specific fields + AvalanchePlatformChainUTXOSpecific avalanche_platform_chain_specific = 8; // The Avalanche Platform Chain specific fields } // The model of Cardano specific fields of UTXO @@ -292,6 +316,12 @@ message CardanoUTXOSpecific { repeated CardanoCustomToken tokens = 1; } +// The model of Avalanche Platform Chain specific fields of UTXO +message AvalanchePlatformChainUTXOSpecific { + uint32 threshold = 1; + repeated string addresses = 2; +} + // The model of Cardano custom token message CardanoCustomToken { string policy_id = 1; @@ -425,6 +455,7 @@ message AvalancheSpecific { uint64 gas_limit = 1; uint64 nonce = 2; bool is_next_nonce = 3; + AtomicTx atomic_tx = 4; } // The model of Oasys specific fields of transaction @@ -519,6 +550,40 @@ message ArbitrumOneSpecific { string data = 4; // data } +message AtomicTx { + gincoinc.global.v1.AvalancheTxType tx_type = 1; + repeated AvalancheTxInput tx_inputs = 2; + repeated AvalancheTxOutput tx_outputs = 3; +} + +message AvalanchePlatformChainSpecific { + gincoinc.global.v1.AvalancheTxType tx_type = 1; + repeated AvalancheTxInput tx_inputs = 2; + repeated AvalancheTxOutput tx_outputs = 3; + uint64 start_time = 4; + uint64 end_time = 5; +} + +message AvalancheTxInput { + string tx_id = 1; + uint32 input_index = 2; + uint32 input_index_type = 3; + double value = 4; + string string_value = 5; + repeated uint32 address_indices = 6; +} + +message AvalancheTxOutput { + uint32 output_index = 1; + uint32 output_type = 2; + double value = 3; + string string_value = 4; + uint64 locktime = 5; + uint32 threshold = 6; + bool is_change = 7; + repeated string addresses = 8; +} + // The model of Substrate specific fields of CreateTransaction message CreateTransactionSubstrateSpecific { string transaction_id = 1; @@ -561,6 +626,7 @@ message CreateTransactionEthereumSpecific { string data = 1; optional string staking_recipient_wallet_id = 2; optional gincoinc.global.v1.EthereumCallMethod call_method = 3; + optional string utils_address = 4; } // The model of Cosmos specific fields of CreateTransaction @@ -590,6 +656,22 @@ message CreateTransactionAptosSpecific { optional uint64 expiration = 1; } +// The model of Avalanche specific fields of CreateTransaction +message CreateTransactionAvalancheSpecific { + optional gincoinc.global.v1.AvalancheTxType tx_type = 1; + optional ImportTxSpecific import_tx_specific = 2; + optional StakingSpecific staking_specific = 3; +} + +message ImportTxSpecific { + string tx_id = 1; +} + +message StakingSpecific { + uint64 start_time = 1; + uint64 end_time = 2; +} + // The model of SelectedUTXO fields of CreateTransaction message SelectedUTXO { string tx_id = 1; @@ -1067,7 +1149,7 @@ message StakingHistory { string event_id = 15; // event id StakingHistoryEthereumSpecific ethereum_specific = 14; // The Ethereum specific fields - + StakingHistoryAvalancheSpecific avalanche_specific = 16; // The Avalanche specific fields google.protobuf.Timestamp create_time = 12; // the time at which the staking history was created google.protobuf.Timestamp update_time = 13; // the time at which the staking history was updated } @@ -1083,6 +1165,14 @@ message StakingHistoryEthereumSpecific { gincoinc.global.v1.EthereumStakingHistoryType history_type = 7; // ethereum staking history type } +// The model of Avalanche specific fields of StakingHistory +message StakingHistoryAvalancheSpecific { + uint64 start_time = 1; + uint64 end_time = 2; + uint64 rewards_owner_threshold = 3; + repeated string rewards_owner_addresses = 4; +} + // The model of StakingValidator message StakingValidator { string staking_validator_id = 1; // id diff --git a/proto/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api.proto b/proto/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api.proto index d260253..72b4ccb 100644 --- a/proto/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api.proto +++ b/proto/gincoinc/adamant/teller/v1/adamanttellerv1/teller_api.proto @@ -31,6 +31,7 @@ service TellerAPI { rpc UpdateDestinationWalletID(adamant.global.v1.UpdateDestinationWalletIDRequest) returns (google.protobuf.Empty) {} rpc GetCosmosBalance(adamant.global.v1.GetCosmosBalanceRequest) returns (adamant.global.v1.GetCosmosBalanceResponse) {} rpc ListCosmosDelegateHistories(adamant.global.v1.ListCosmosDelegateHistoriesRequest) returns (adamant.global.v1.ListCosmosDelegateHistoriesResponse) {} + rpc ListUTXOs(adamant.global.v1.ListUTXOsRequest) returns (adamant.global.v1.ListUTXOsResponse) {} // Create a new address for an existing wallet rpc CreateAddress(adamant.global.v1.CreateAddressRequest) returns (adamant.global.v1.CreateAddressResponse) {} @@ -61,6 +62,7 @@ service TellerAPI { rpc GetTransactionByTxID(adamant.global.v1.GetTransactionByTxIDRequest) returns (adamant.global.v1.Transaction) {} rpc ListTransactions(adamant.global.v1.ListTransactionsRequest) returns (adamant.global.v1.ListTransactionsResponse) {} rpc ListTransactionsByFilter(adamant.global.v1.ListTransactionsByFilterRequest) returns (adamant.global.v1.ListTransactionsResponse) {} + rpc ListUnconfirmedTransactionsByFilter(adamant.global.v1.ListUnconfirmedTransactionsByFilterRequest) returns (adamant.global.v1.ListUnconfirmedTransactionsResponse) {} // Exit ethereum validators rpc ExitEthereumStakingValidators(adamant.global.v1.ExitEthereumStakingValidatorsRequest) returns (adamant.global.v1.ExitEthereumStakingValidatorsResponse) {} @@ -96,10 +98,10 @@ service TellerAPI { rpc ProgmatCoinMintAndTransfer(ProgmatCoinMintAndTransferRequest) returns (adamant.global.v1.CreateTransactionResponse) {} rpc ProgmatCoinMint(ProgmatCoinMintRequest) returns (adamant.global.v1.CreateTransactionResponse) {} rpc ProgmatCoinBurn(ProgmatCoinBurnRequest) returns (adamant.global.v1.CreateTransactionResponse) {} - rpc ProgmatCoinAddToWhitelist(ProgmatCoinAddToWhitelistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} - rpc ProgmatCoinRemoveFromWhitelist(ProgmatCoinRemoveFromWhitelistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} - rpc ProgmatCoinAddToBlacklist(ProgmatCoinAddToBlacklistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} - rpc ProgmatCoinRemoveFromBlacklist(ProgmatCoinRemoveFromBlacklistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} + rpc ProgmatCoinBulkAddToWhitelist(ProgmatCoinBulkAddToWhitelistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} + rpc ProgmatCoinBulkRemoveFromWhitelist(ProgmatCoinBulkRemoveFromWhitelistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} + rpc ProgmatCoinBulkAddToBlacklist(ProgmatCoinBulkAddToBlacklistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} + rpc ProgmatCoinBulkRemoveFromBlacklist(ProgmatCoinBulkRemoveFromBlacklistRequest) returns (adamant.global.v1.CreateTransactionResponse) {} rpc ProgmatCoinConfiscate(ProgmatCoinConfiscateRequest) returns (adamant.global.v1.CreateTransactionResponse) {} rpc ProgmatCoinPause(ProgmatCoinPauseRequest) returns (adamant.global.v1.CreateTransactionResponse) {} rpc ProgmatCoinUnpause(ProgmatCoinUnpauseRequest) returns (adamant.global.v1.CreateTransactionResponse) {} @@ -264,6 +266,9 @@ message ProgmatCoinMintAndTransferRequest { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; string amount = 6; + optional string through_address = 7 [(validate.rules).string = { + pattern: "^$|^(0x)?[0-9a-fA-F]{40}$" + }]; } message ProgmatCoinMintRequest { @@ -291,7 +296,7 @@ message ProgmatCoinBurnRequest { string amount = 4; } -message ProgmatCoinAddToWhitelistRequest { +message ProgmatCoinBulkAddToWhitelistRequest { string wallet_id = 1 [(validate.rules).string = { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }]; @@ -299,12 +304,20 @@ message ProgmatCoinAddToWhitelistRequest { string contract_address = 3 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; - string address = 4 [(validate.rules).string = { + string utils_address = 4 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; + repeated string addresses = 5 [(validate.rules).repeated = { + max_items: 100, + items: { + string: { + pattern: "^(0x)?[0-9a-fA-F]{40}$" + } + } + }]; } -message ProgmatCoinRemoveFromWhitelistRequest { +message ProgmatCoinBulkRemoveFromWhitelistRequest { string wallet_id = 1 [(validate.rules).string = { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }]; @@ -312,12 +325,20 @@ message ProgmatCoinRemoveFromWhitelistRequest { string contract_address = 3 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; - string address = 4 [(validate.rules).string = { + string utils_address = 4 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; + repeated string addresses = 5 [(validate.rules).repeated = { + max_items: 100, + items: { + string: { + pattern: "^(0x)?[0-9a-fA-F]{40}$" + } + } + }]; } -message ProgmatCoinAddToBlacklistRequest { +message ProgmatCoinBulkAddToBlacklistRequest { string wallet_id = 1 [(validate.rules).string = { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }]; @@ -325,12 +346,20 @@ message ProgmatCoinAddToBlacklistRequest { string contract_address = 3 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; - string address = 4 [(validate.rules).string = { + string utils_address = 4 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; + repeated string addresses = 5 [(validate.rules).repeated = { + max_items: 100, + items: { + string: { + pattern: "^(0x)?[0-9a-fA-F]{40}$" + } + } + }]; } -message ProgmatCoinRemoveFromBlacklistRequest { +message ProgmatCoinBulkRemoveFromBlacklistRequest { string wallet_id = 1 [(validate.rules).string = { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }]; @@ -338,9 +367,17 @@ message ProgmatCoinRemoveFromBlacklistRequest { string contract_address = 3 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; - string address = 4 [(validate.rules).string = { + string utils_address = 4 [(validate.rules).string = { pattern: "^(0x)?[0-9a-fA-F]{40}$" }]; + repeated string addresses = 5 [(validate.rules).repeated = { + max_items: 100, + items: { + string: { + pattern: "^(0x)?[0-9a-fA-F]{40}$" + } + } + }]; } message ProgmatCoinConfiscateRequest { diff --git a/proto/gincoinc/global/v1/gincoincglobalv1/enum.proto b/proto/gincoinc/global/v1/gincoincglobalv1/enum.proto index 29f95a8..a96e614 100644 --- a/proto/gincoinc/global/v1/gincoincglobalv1/enum.proto +++ b/proto/gincoinc/global/v1/gincoincglobalv1/enum.proto @@ -159,6 +159,8 @@ enum Network { NETWORK_APTOS_TESTNET = 61; NETWORK_DOGECOIN_MAINNET = 62; NETWORK_DOGECOIN_TESTNET = 63; + NETWORK_AVALANCHE_PLATFORM_CHAIN_MAINNET = 64; + NETWORK_AVALANCHE_PLATFORM_CHAIN_TESTNET = 65; NETWORK_SHIDEN_MAINNET = 10002; } @@ -336,14 +338,48 @@ enum EthereumCallMethod { ETHEREUM_CALL_METHOD_INVALID = 0; ETHEREUM_CALL_METHOD_PROGMAT_COIN_INITIALIZE = 1; ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFIGURE_MINTER = 2; - ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER = 3; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_DIRECT = 3; ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT = 4; ETHEREUM_CALL_METHOD_PROGMAT_COIN_BURN = 5; - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_WHITELIST = 6; - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_WHITELIST = 7; - ETHEREUM_CALL_METHOD_PROGMAT_COIN_ADD_TO_BLACKLIST = 8; - ETHEREUM_CALL_METHOD_PROGMAT_COIN_REMOVE_FROM_BLACKLIST = 9; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_WHITELIST = 6; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_WHITELIST = 7; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_ADD_TO_BLACKLIST = 8; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_BULK_REMOVE_FROM_BLACKLIST = 9; ETHEREUM_CALL_METHOD_PROGMAT_COIN_CONFISCATE = 10; ETHEREUM_CALL_METHOD_PROGMAT_COIN_PAUSE = 11; ETHEREUM_CALL_METHOD_PROGMAT_COIN_UNPAUSE = 12; + ETHEREUM_CALL_METHOD_PROGMAT_COIN_MINT_AND_TRANSFER_INTERMEDIARY = 13; +} + +// ----------------------------------------------------------------------------- +// Avalanche Transaction Type +// ----------------------------------------------------------------------------- + +enum AvalancheTxType { + AVALANCHE_TX_TYPE_INVALID = 0; + AVALANCHE_TX_TYPE_TRANSFER = 1; + AVALANCHE_TX_TYPE_EXPORT = 2; + AVALANCHE_TX_TYPE_IMPORT = 3; + AVALANCHE_TX_TYPE_ADD_PERMISSIONLESS_DELEGATOR = 4; + AVALANCHE_TX_TYPE_REWARD_VALIDATOR = 5; +} + +// ----------------------------------------------------------------------------- +// Avalanche UTXO Type +// ----------------------------------------------------------------------------- + +enum AvalancheInputType { + AVALANCHE_INPUT_TYPE_INVALID = 0; + AVALANCHE_INPUT_TYPE_TRANSFERABLE_INPUT = 1; + AVALANCHE_INPUT_TYPE_IMPORTED_INPUT = 2; + AVALANCHE_INPUT_TYPE_EVM_INPUT = 3; +} + +enum AvalancheOutputType { + AVALANCHE_OUTPUT_TYPE_INVALID = 0; + AVALANCHE_OUTPUT_TYPE_TRANSFERABLE_OUTPUT = 1; + AVALANCHE_OUTPUT_TYPE_EXPORTED_OUTPUT = 2; + AVALANCHE_OUTPUT_TYPE_EVM_OUTPUT = 3; + AVALANCHE_OUTPUT_TYPE_STAKE_OUTPUT = 4; + AVALANCHE_OUTPUT_TYPE_OWNERS_OUTPUT = 5; } diff --git a/protodep.lock b/protodep.lock index 21d9fdf..2ef80d7 100644 --- a/protodep.lock +++ b/protodep.lock @@ -3,7 +3,7 @@ proto_outdir = "./proto" [[dependencies]] target = "github.com/envoyproxy/protoc-gen-validate" subgroup = "" - revision = "9c5640de37137e3d2b1ccb1322b8a816fc376323" + revision = "32cc0653bf839a7d63c79f9528ec802c747f6e56" branch = "" path = "" ignores = ["gogoproto", "java", "tests", "vendor"] @@ -12,7 +12,7 @@ proto_outdir = "./proto" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/global" subgroup = "" - revision = "163ae081a0b1a66813bcb879c201f8486e9e50b1" + revision = "7e2915c3e71fcc94e37f47a9a196ef67c3a2c35f" branch = "" path = "gincoinc/global" protocol = "ssh" @@ -20,7 +20,7 @@ proto_outdir = "./proto" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/adamant/global" subgroup = "" - revision = "163ae081a0b1a66813bcb879c201f8486e9e50b1" + revision = "7e2915c3e71fcc94e37f47a9a196ef67c3a2c35f" branch = "" path = "gincoinc/adamant/global" protocol = "ssh" @@ -28,7 +28,7 @@ proto_outdir = "./proto" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/adamant/teller" subgroup = "" - revision = "163ae081a0b1a66813bcb879c201f8486e9e50b1" + revision = "7e2915c3e71fcc94e37f47a9a196ef67c3a2c35f" branch = "" path = "gincoinc/adamant/teller" protocol = "ssh" diff --git a/protodep.toml b/protodep.toml index a5527d2..71f5f64 100644 --- a/protodep.toml +++ b/protodep.toml @@ -8,18 +8,18 @@ proto_outdir = "./proto" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/global" - revision = "v1.108.4" + revision = "v1.110.10" path = "gincoinc/global" protocol = "ssh" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/adamant/global" - revision = "v1.108.4" + revision = "v1.110.10" path = "gincoinc/adamant/global" protocol = "ssh" [[dependencies]] target = "github.com/GincoInc/protobuf/proto/gincoinc/adamant/teller" - revision = "v1.108.4" + revision = "v1.110.10" path = "gincoinc/adamant/teller" protocol = "ssh"