From 3eeebd99cb3ab8a231eb93ce87bb5ff41fb300f3 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Tue, 28 May 2024 08:36:07 +0200 Subject: [PATCH 01/15] feat: generated new types for v1.5 --- common/types/scripts/proto-gen.sh | 3 +- common/types/src/client/amino/amino.ts | 6 + .../src/client/cosmos/app/v1alpha1/module.ts | 333 ++++++++++++++++++ .../cosmos/base/query/v1beta1/pagination.ts | 18 +- .../src/client/cosmos/base/v1beta1/coin.ts | 16 +- common/types/src/client/cosmos/gov/v1/gov.ts | 233 +++++++++++- common/types/src/client/cosmos/gov/v1/tx.ts | 257 +++++++++++++- common/types/src/client/cosmos/msg/v1/msg.ts | 6 + .../types/src/client/cosmos_proto/cosmos.ts | 6 + common/types/src/client/gogoproto/gogo.ts | 6 + .../src/client/google/api/annotations.ts | 6 + common/types/src/client/google/api/http.ts | 10 +- .../types/src/client/google/protobuf/any.ts | 10 +- .../src/client/google/protobuf/duration.ts | 6 + .../src/client/google/protobuf/timestamp.ts | 6 + .../src/client/kyve/bundles/module/module.ts | 89 +++++ .../client/kyve/bundles/v1beta1/bundles.ts | 6 + .../src/client/kyve/bundles/v1beta1/events.ts | 148 +++++--- .../client/kyve/bundles/v1beta1/genesis.ts | 6 + .../src/client/kyve/bundles/v1beta1/params.ts | 110 +++++- .../src/client/kyve/bundles/v1beta1/query.ts | 6 + .../src/client/kyve/bundles/v1beta1/tx.ts | 6 + .../client/kyve/delegation/module/module.ts | 89 +++++ .../kyve/delegation/v1beta1/delegation.ts | 51 +-- .../client/kyve/delegation/v1beta1/events.ts | 27 +- .../client/kyve/delegation/v1beta1/genesis.ts | 6 + .../client/kyve/delegation/v1beta1/params.ts | 6 + .../client/kyve/delegation/v1beta1/query.ts | 6 + .../src/client/kyve/delegation/v1beta1/tx.ts | 6 + .../src/client/kyve/funders/module/module.ts | 89 +++++ .../src/client/kyve/funders/v1beta1/events.ts | 73 ++-- .../client/kyve/funders/v1beta1/funders.ts | 78 ++-- .../client/kyve/funders/v1beta1/genesis.ts | 6 + .../src/client/kyve/funders/v1beta1/params.ts | 172 +++++++-- .../src/client/kyve/funders/v1beta1/query.ts | 6 + .../src/client/kyve/funders/v1beta1/tx.ts | 84 +++-- .../src/client/kyve/global/module/module.ts | 89 +++++ .../src/client/kyve/global/v1beta1/events.ts | 6 + .../src/client/kyve/global/v1beta1/genesis.ts | 6 + .../src/client/kyve/global/v1beta1/global.ts | 6 + .../src/client/kyve/global/v1beta1/query.ts | 6 + .../src/client/kyve/global/v1beta1/tx.ts | 6 + .../src/client/kyve/pool/module/module.ts | 89 +++++ .../src/client/kyve/pool/v1beta1/events.ts | 27 ++ .../src/client/kyve/pool/v1beta1/genesis.ts | 6 + .../src/client/kyve/pool/v1beta1/params.ts | 27 +- .../src/client/kyve/pool/v1beta1/pool.ts | 41 ++- .../src/client/kyve/pool/v1beta1/query.ts | 6 + .../types/src/client/kyve/pool/v1beta1/tx.ts | 24 ++ .../src/client/kyve/query/module/module.ts | 89 +++++ .../src/client/kyve/query/v1beta1/account.ts | 79 +++-- .../src/client/kyve/query/v1beta1/bundles.ts | 18 +- .../client/kyve/query/v1beta1/delegation.ts | 59 ++-- .../src/client/kyve/query/v1beta1/funders.ts | 191 ++++++---- .../src/client/kyve/query/v1beta1/params.ts | 6 + .../src/client/kyve/query/v1beta1/pools.ts | 29 +- .../src/client/kyve/query/v1beta1/query.ts | 57 +-- .../src/client/kyve/query/v1beta1/stakers.ts | 6 + .../src/client/kyve/stakers/module/module.ts | 89 +++++ .../src/client/kyve/stakers/v1beta1/events.ts | 29 +- .../client/kyve/stakers/v1beta1/genesis.ts | 6 + .../src/client/kyve/stakers/v1beta1/params.ts | 6 + .../src/client/kyve/stakers/v1beta1/query.ts | 6 + .../client/kyve/stakers/v1beta1/stakers.ts | 35 +- .../src/client/kyve/stakers/v1beta1/tx.ts | 27 +- .../src/client/kyve/team/module/module.ts | 89 +++++ .../src/client/kyve/team/v1beta1/events.ts | 6 + .../src/client/kyve/team/v1beta1/genesis.ts | 6 + .../src/client/kyve/team/v1beta1/query.ts | 6 + .../src/client/kyve/team/v1beta1/team.ts | 6 + .../types/src/client/kyve/team/v1beta1/tx.ts | 6 + common/types/src/lcd/amino/amino.ts | 6 + .../src/lcd/cosmos/app/v1alpha1/module.ts | 333 ++++++++++++++++++ .../cosmos/base/query/v1beta1/pagination.ts | 18 +- .../types/src/lcd/cosmos/base/v1beta1/coin.ts | 16 +- common/types/src/lcd/cosmos/gov/v1/gov.ts | 233 +++++++++++- common/types/src/lcd/cosmos/gov/v1/tx.ts | 257 +++++++++++++- common/types/src/lcd/cosmos/msg/v1/msg.ts | 6 + common/types/src/lcd/cosmos_proto/cosmos.ts | 6 + common/types/src/lcd/gogoproto/gogo.ts | 6 + .../types/src/lcd/google/api/annotations.ts | 6 + common/types/src/lcd/google/api/http.ts | 10 +- common/types/src/lcd/google/protobuf/any.ts | 10 +- .../types/src/lcd/google/protobuf/duration.ts | 6 + .../src/lcd/google/protobuf/timestamp.ts | 6 + .../src/lcd/kyve/bundles/module/module.ts | 89 +++++ .../src/lcd/kyve/bundles/v1beta1/bundles.ts | 6 + .../src/lcd/kyve/bundles/v1beta1/events.ts | 148 +++++--- .../src/lcd/kyve/bundles/v1beta1/genesis.ts | 6 + .../src/lcd/kyve/bundles/v1beta1/params.ts | 110 +++++- .../src/lcd/kyve/bundles/v1beta1/query.ts | 6 + .../types/src/lcd/kyve/bundles/v1beta1/tx.ts | 6 + .../src/lcd/kyve/delegation/module/module.ts | 89 +++++ .../lcd/kyve/delegation/v1beta1/delegation.ts | 51 +-- .../src/lcd/kyve/delegation/v1beta1/events.ts | 27 +- .../lcd/kyve/delegation/v1beta1/genesis.ts | 6 + .../src/lcd/kyve/delegation/v1beta1/params.ts | 6 + .../src/lcd/kyve/delegation/v1beta1/query.ts | 6 + .../src/lcd/kyve/delegation/v1beta1/tx.ts | 6 + .../src/lcd/kyve/funders/module/module.ts | 89 +++++ .../src/lcd/kyve/funders/v1beta1/events.ts | 73 ++-- .../src/lcd/kyve/funders/v1beta1/funders.ts | 78 ++-- .../src/lcd/kyve/funders/v1beta1/genesis.ts | 6 + .../src/lcd/kyve/funders/v1beta1/params.ts | 172 +++++++-- .../src/lcd/kyve/funders/v1beta1/query.ts | 6 + .../types/src/lcd/kyve/funders/v1beta1/tx.ts | 84 +++-- .../src/lcd/kyve/global/module/module.ts | 89 +++++ .../src/lcd/kyve/global/v1beta1/events.ts | 6 + .../src/lcd/kyve/global/v1beta1/genesis.ts | 6 + .../src/lcd/kyve/global/v1beta1/global.ts | 6 + .../src/lcd/kyve/global/v1beta1/query.ts | 6 + .../types/src/lcd/kyve/global/v1beta1/tx.ts | 6 + .../types/src/lcd/kyve/pool/module/module.ts | 89 +++++ .../types/src/lcd/kyve/pool/v1beta1/events.ts | 27 ++ .../src/lcd/kyve/pool/v1beta1/genesis.ts | 6 + .../types/src/lcd/kyve/pool/v1beta1/params.ts | 27 +- .../types/src/lcd/kyve/pool/v1beta1/pool.ts | 43 ++- .../types/src/lcd/kyve/pool/v1beta1/query.ts | 6 + common/types/src/lcd/kyve/pool/v1beta1/tx.ts | 24 ++ .../types/src/lcd/kyve/query/module/module.ts | 89 +++++ .../src/lcd/kyve/query/v1beta1/account.ts | 79 +++-- .../src/lcd/kyve/query/v1beta1/bundles.ts | 18 +- .../src/lcd/kyve/query/v1beta1/delegation.ts | 59 ++-- .../src/lcd/kyve/query/v1beta1/funders.ts | 191 ++++++---- .../src/lcd/kyve/query/v1beta1/params.ts | 6 + .../types/src/lcd/kyve/query/v1beta1/pools.ts | 29 +- .../types/src/lcd/kyve/query/v1beta1/query.ts | 57 +-- .../src/lcd/kyve/query/v1beta1/stakers.ts | 6 + .../src/lcd/kyve/stakers/module/module.ts | 89 +++++ .../src/lcd/kyve/stakers/v1beta1/events.ts | 29 +- .../src/lcd/kyve/stakers/v1beta1/genesis.ts | 6 + .../src/lcd/kyve/stakers/v1beta1/params.ts | 6 + .../src/lcd/kyve/stakers/v1beta1/query.ts | 6 + .../src/lcd/kyve/stakers/v1beta1/stakers.ts | 35 +- .../types/src/lcd/kyve/stakers/v1beta1/tx.ts | 27 +- .../types/src/lcd/kyve/team/module/module.ts | 89 +++++ .../types/src/lcd/kyve/team/v1beta1/events.ts | 6 + .../src/lcd/kyve/team/v1beta1/genesis.ts | 6 + .../types/src/lcd/kyve/team/v1beta1/query.ts | 6 + .../types/src/lcd/kyve/team/v1beta1/team.ts | 6 + common/types/src/lcd/kyve/team/v1beta1/tx.ts | 6 + common/types/src/version.ts | 2 +- 142 files changed, 5488 insertions(+), 877 deletions(-) create mode 100644 common/types/src/client/cosmos/app/v1alpha1/module.ts create mode 100644 common/types/src/client/kyve/bundles/module/module.ts create mode 100644 common/types/src/client/kyve/delegation/module/module.ts create mode 100644 common/types/src/client/kyve/funders/module/module.ts create mode 100644 common/types/src/client/kyve/global/module/module.ts create mode 100644 common/types/src/client/kyve/pool/module/module.ts create mode 100644 common/types/src/client/kyve/query/module/module.ts create mode 100644 common/types/src/client/kyve/stakers/module/module.ts create mode 100644 common/types/src/client/kyve/team/module/module.ts create mode 100644 common/types/src/lcd/cosmos/app/v1alpha1/module.ts create mode 100644 common/types/src/lcd/kyve/bundles/module/module.ts create mode 100644 common/types/src/lcd/kyve/delegation/module/module.ts create mode 100644 common/types/src/lcd/kyve/funders/module/module.ts create mode 100644 common/types/src/lcd/kyve/global/module/module.ts create mode 100644 common/types/src/lcd/kyve/pool/module/module.ts create mode 100644 common/types/src/lcd/kyve/query/module/module.ts create mode 100644 common/types/src/lcd/kyve/stakers/module/module.ts create mode 100644 common/types/src/lcd/kyve/team/module/module.ts diff --git a/common/types/scripts/proto-gen.sh b/common/types/scripts/proto-gen.sh index 4c4c4b2d..3559fd9a 100755 --- a/common/types/scripts/proto-gen.sh +++ b/common/types/scripts/proto-gen.sh @@ -2,7 +2,7 @@ # Variables KYVE_CHAIN_REPO="git@github.com:KYVENetwork/chain.git" -KYVE_CHAIN_VERSION="v1.4.0" +KYVE_CHAIN_VERSION="main" echo "Cloning chain repo version ${KYVE_CHAIN_VERSION}" mkdir -p ./tmp @@ -45,4 +45,3 @@ git add ./src # Cleanup rm -rf ./tmp - diff --git a/common/types/src/client/amino/amino.ts b/common/types/src/client/amino/amino.ts index 54af2e62..9dee64db 100644 --- a/common/types/src/client/amino/amino.ts +++ b/common/types/src/client/amino/amino.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: amino/amino.proto + /* eslint-disable */ export const protobufPackage = "amino"; diff --git a/common/types/src/client/cosmos/app/v1alpha1/module.ts b/common/types/src/client/cosmos/app/v1alpha1/module.ts new file mode 100644 index 00000000..8434c20f --- /dev/null +++ b/common/types/src/client/cosmos/app/v1alpha1/module.ts @@ -0,0 +1,333 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/app/v1alpha1/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "cosmos.app.v1alpha1"; + +/** ModuleDescriptor describes an app module. */ +export interface ModuleDescriptor { + /** + * go_import names the package that should be imported by an app to load the + * module in the runtime module registry. It is required to make debugging + * of configuration errors easier for users. + */ + go_import: string; + /** + * use_package refers to a protobuf package that this module + * uses and exposes to the world. In an app, only one module should "use" + * or own a single protobuf package. It is assumed that the module uses + * all of the .proto files in a single package. + */ + use_package: PackageReference[]; + /** + * can_migrate_from defines which module versions this module can migrate + * state from. The framework will check that one module version is able to + * migrate from a previous module version before attempting to update its + * config. It is assumed that modules can transitively migrate from earlier + * versions. For instance if v3 declares it can migrate from v2, and v2 + * declares it can migrate from v1, the framework knows how to migrate + * from v1 to v3, assuming all 3 module versions are registered at runtime. + */ + can_migrate_from: MigrateFromInfo[]; +} + +/** PackageReference is a reference to a protobuf package used by a module. */ +export interface PackageReference { + /** name is the fully-qualified name of the package. */ + name: string; + /** + * revision is the optional revision of the package that is being used. + * Protobuf packages used in Cosmos should generally have a major version + * as the last part of the package name, ex. foo.bar.baz.v1. + * The revision of a package can be thought of as the minor version of a + * package which has additional backwards compatible definitions that weren't + * present in a previous version. + * + * A package should indicate its revision with a source code comment + * above the package declaration in one of its files containing the + * text "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since: Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + revision: number; +} + +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ +export interface MigrateFromInfo { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} + +function createBaseModuleDescriptor(): ModuleDescriptor { + return { go_import: "", use_package: [], can_migrate_from: [] }; +} + +export const ModuleDescriptor = { + encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.go_import !== "") { + writer.uint32(10).string(message.go_import); + } + for (const v of message.use_package) { + PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); + } + for (const v of message.can_migrate_from) { + MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleDescriptor(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.go_import = reader.string(); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.use_package.push(PackageReference.decode(reader, reader.uint32())); + continue; + case 3: + if (tag !== 26) { + break; + } + + message.can_migrate_from.push(MigrateFromInfo.decode(reader, reader.uint32())); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): ModuleDescriptor { + return { + go_import: isSet(object.go_import) ? globalThis.String(object.go_import) : "", + use_package: globalThis.Array.isArray(object?.use_package) + ? object.use_package.map((e: any) => PackageReference.fromJSON(e)) + : [], + can_migrate_from: globalThis.Array.isArray(object?.can_migrate_from) + ? object.can_migrate_from.map((e: any) => MigrateFromInfo.fromJSON(e)) + : [], + }; + }, + + toJSON(message: ModuleDescriptor): unknown { + const obj: any = {}; + if (message.go_import !== "") { + obj.go_import = message.go_import; + } + if (message.use_package?.length) { + obj.use_package = message.use_package.map((e) => PackageReference.toJSON(e)); + } + if (message.can_migrate_from?.length) { + obj.can_migrate_from = message.can_migrate_from.map((e) => MigrateFromInfo.toJSON(e)); + } + return obj; + }, + + create, I>>(base?: I): ModuleDescriptor { + return ModuleDescriptor.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): ModuleDescriptor { + const message = createBaseModuleDescriptor(); + message.go_import = object.go_import ?? ""; + message.use_package = object.use_package?.map((e) => PackageReference.fromPartial(e)) || []; + message.can_migrate_from = object.can_migrate_from?.map((e) => MigrateFromInfo.fromPartial(e)) || []; + return message; + }, +}; + +function createBasePackageReference(): PackageReference { + return { name: "", revision: 0 }; +} + +export const PackageReference = { + encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + if (message.revision !== 0) { + writer.uint32(16).uint32(message.revision); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePackageReference(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.name = reader.string(); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.revision = reader.uint32(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): PackageReference { + return { + name: isSet(object.name) ? globalThis.String(object.name) : "", + revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0, + }; + }, + + toJSON(message: PackageReference): unknown { + const obj: any = {}; + if (message.name !== "") { + obj.name = message.name; + } + if (message.revision !== 0) { + obj.revision = Math.round(message.revision); + } + return obj; + }, + + create, I>>(base?: I): PackageReference { + return PackageReference.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): PackageReference { + const message = createBasePackageReference(); + message.name = object.name ?? ""; + message.revision = object.revision ?? 0; + return message; + }, +}; + +function createBaseMigrateFromInfo(): MigrateFromInfo { + return { module: "" }; +} + +export const MigrateFromInfo = { + encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateFromInfo(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.module = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MigrateFromInfo { + return { module: isSet(object.module) ? globalThis.String(object.module) : "" }; + }, + + toJSON(message: MigrateFromInfo): unknown { + const obj: any = {}; + if (message.module !== "") { + obj.module = message.module; + } + return obj; + }, + + create, I>>(base?: I): MigrateFromInfo { + return MigrateFromInfo.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MigrateFromInfo { + const message = createBaseMigrateFromInfo(); + message.module = object.module ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts b/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts index 0c3902cf..21a4c8c1 100644 --- a/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts +++ b/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/base/query/v1beta1/pagination.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -84,10 +90,10 @@ export const PageRequest = { if (message.limit !== "0") { writer.uint32(24).uint64(message.limit); } - if (message.count_total === true) { + if (message.count_total !== false) { writer.uint32(32).bool(message.count_total); } - if (message.reverse === true) { + if (message.reverse !== false) { writer.uint32(40).bool(message.reverse); } return writer; @@ -165,10 +171,10 @@ export const PageRequest = { if (message.limit !== "0") { obj.limit = message.limit; } - if (message.count_total === true) { + if (message.count_total !== false) { obj.count_total = message.count_total; } - if (message.reverse === true) { + if (message.reverse !== false) { obj.reverse = message.reverse; } return obj; @@ -263,7 +269,7 @@ export const PageResponse = { }; function bytesFromBase64(b64: string): Uint8Array { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return Uint8Array.from(globalThis.Buffer.from(b64, "base64")); } else { const bin = globalThis.atob(b64); @@ -276,7 +282,7 @@ function bytesFromBase64(b64: string): Uint8Array { } function base64FromBytes(arr: Uint8Array): string { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return globalThis.Buffer.from(arr).toString("base64"); } else { const bin: string[] = []; diff --git a/common/types/src/client/cosmos/base/v1beta1/coin.ts b/common/types/src/client/cosmos/base/v1beta1/coin.ts index 70abf752..36e9d5cf 100644 --- a/common/types/src/client/cosmos/base/v1beta1/coin.ts +++ b/common/types/src/client/cosmos/base/v1beta1/coin.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/base/v1beta1/coin.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -25,12 +31,18 @@ export interface DecCoin { amount: string; } -/** IntProto defines a Protobuf wrapper around an Int object. */ +/** + * IntProto defines a Protobuf wrapper around an Int object. + * Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. + */ export interface IntProto { int: string; } -/** DecProto defines a Protobuf wrapper around a Dec object. */ +/** + * DecProto defines a Protobuf wrapper around a Dec object. + * Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. + */ export interface DecProto { dec: string; } diff --git a/common/types/src/client/cosmos/gov/v1/gov.ts b/common/types/src/client/cosmos/gov/v1/gov.ts index 97cd84f2..5abbd6a5 100644 --- a/common/types/src/client/cosmos/gov/v1/gov.ts +++ b/common/types/src/client/cosmos/gov/v1/gov.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/gov/v1/gov.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -201,7 +207,11 @@ export interface Proposal { voting_end_time?: | Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ + /** + * metadata is any arbitrary metadata attached to the proposal. + * the recommended format of the metadata is to be found here: + * https://docs.cosmos.network/v0.47/modules/gov#proposal-3 + */ metadata: string; /** * title is the title of the proposal @@ -216,11 +226,23 @@ export interface Proposal { */ summary: string; /** - * Proposer is the address of the proposal sumbitter + * proposer is the address of the proposal sumbitter * * Since: cosmos-sdk 0.47 */ proposer: string; + /** + * expedited defines if the proposal is expedited + * + * Since: cosmos-sdk 0.50 + */ + expedited: boolean; + /** + * failed_reason defines the reason why the proposal failed + * + * Since: cosmos-sdk 0.50 + */ + failed_reason: string; } /** TallyResult defines a standard tally for a governance proposal. */ @@ -246,11 +268,18 @@ export interface Vote { voter: string; /** options is the weighted vote options. */ options: WeightedVoteOption[]; - /** metadata is any arbitrary metadata to attached to the vote. */ + /** + * metadata is any arbitrary metadata attached to the vote. + * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 + */ metadata: string; } -/** DepositParams defines the params for deposits on governance proposals. */ +/** + * DepositParams defines the params for deposits on governance proposals. + * + * @deprecated + */ export interface DepositParams { /** Minimum deposit for a proposal to enter voting period. */ min_deposit: Coin[]; @@ -261,13 +290,21 @@ export interface DepositParams { max_deposit_period?: Duration | undefined; } -/** VotingParams defines the params for voting on governance proposals. */ +/** + * VotingParams defines the params for voting on governance proposals. + * + * @deprecated + */ export interface VotingParams { /** Duration of the voting period. */ voting_period?: Duration | undefined; } -/** TallyParams defines the params for tallying votes on governance proposals. */ +/** + * TallyParams defines the params for tallying votes on governance proposals. + * + * @deprecated + */ export interface TallyParams { /** * Minimum percentage of total stake needed to vote for a result to be @@ -316,12 +353,49 @@ export interface Params { veto_threshold: string; /** The ratio representing the proportion of the deposit value that must be paid at proposal submission. */ min_initial_deposit_ratio: string; + /** + * The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + * + * Since: cosmos-sdk 0.50 + */ + proposal_cancel_ratio: string; + /** + * The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + * If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. + * + * Since: cosmos-sdk 0.50 + */ + proposal_cancel_dest: string; + /** + * Duration of the voting period of an expedited proposal. + * + * Since: cosmos-sdk 0.50 + */ + expedited_voting_period?: + | Duration + | undefined; + /** + * Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + * + * Since: cosmos-sdk 0.50 + */ + expedited_threshold: string; + /** Minimum expedited deposit for a proposal to enter voting period. */ + expedited_min_deposit: Coin[]; /** burn deposits if a proposal does not meet quorum */ burn_vote_quorum: boolean; /** burn deposits if the proposal does not enter voting period */ burn_proposal_deposit_prevote: boolean; /** burn deposits if quorum with vote type no_veto is met */ burn_vote_veto: boolean; + /** + * The ratio representing the proportion of the deposit value minimum that must be met when making a deposit. + * Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be + * required. + * + * Since: cosmos-sdk 0.50 + */ + min_deposit_ratio: string; } function createBaseWeightedVoteOption(): WeightedVoteOption { @@ -502,6 +576,8 @@ function createBaseProposal(): Proposal { title: "", summary: "", proposer: "", + expedited: false, + failed_reason: "", }; } @@ -546,6 +622,12 @@ export const Proposal = { if (message.proposer !== "") { writer.uint32(106).string(message.proposer); } + if (message.expedited !== false) { + writer.uint32(112).bool(message.expedited); + } + if (message.failed_reason !== "") { + writer.uint32(122).string(message.failed_reason); + } return writer; }, @@ -647,6 +729,20 @@ export const Proposal = { message.proposer = reader.string(); continue; + case 14: + if (tag !== 112) { + break; + } + + message.expedited = reader.bool(); + continue; + case 15: + if (tag !== 122) { + break; + } + + message.failed_reason = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -675,6 +771,8 @@ export const Proposal = { title: isSet(object.title) ? globalThis.String(object.title) : "", summary: isSet(object.summary) ? globalThis.String(object.summary) : "", proposer: isSet(object.proposer) ? globalThis.String(object.proposer) : "", + expedited: isSet(object.expedited) ? globalThis.Boolean(object.expedited) : false, + failed_reason: isSet(object.failed_reason) ? globalThis.String(object.failed_reason) : "", }; }, @@ -719,6 +817,12 @@ export const Proposal = { if (message.proposer !== "") { obj.proposer = message.proposer; } + if (message.expedited !== false) { + obj.expedited = message.expedited; + } + if (message.failed_reason !== "") { + obj.failed_reason = message.failed_reason; + } return obj; }, @@ -742,6 +846,8 @@ export const Proposal = { message.title = object.title ?? ""; message.summary = object.summary ?? ""; message.proposer = object.proposer ?? ""; + message.expedited = object.expedited ?? false; + message.failed_reason = object.failed_reason ?? ""; return message; }, }; @@ -1191,9 +1297,15 @@ function createBaseParams(): Params { threshold: "", veto_threshold: "", min_initial_deposit_ratio: "", + proposal_cancel_ratio: "", + proposal_cancel_dest: "", + expedited_voting_period: undefined, + expedited_threshold: "", + expedited_min_deposit: [], burn_vote_quorum: false, burn_proposal_deposit_prevote: false, burn_vote_veto: false, + min_deposit_ratio: "", }; } @@ -1220,15 +1332,33 @@ export const Params = { if (message.min_initial_deposit_ratio !== "") { writer.uint32(58).string(message.min_initial_deposit_ratio); } - if (message.burn_vote_quorum === true) { + if (message.proposal_cancel_ratio !== "") { + writer.uint32(66).string(message.proposal_cancel_ratio); + } + if (message.proposal_cancel_dest !== "") { + writer.uint32(74).string(message.proposal_cancel_dest); + } + if (message.expedited_voting_period !== undefined) { + Duration.encode(message.expedited_voting_period, writer.uint32(82).fork()).ldelim(); + } + if (message.expedited_threshold !== "") { + writer.uint32(90).string(message.expedited_threshold); + } + for (const v of message.expedited_min_deposit) { + Coin.encode(v!, writer.uint32(98).fork()).ldelim(); + } + if (message.burn_vote_quorum !== false) { writer.uint32(104).bool(message.burn_vote_quorum); } - if (message.burn_proposal_deposit_prevote === true) { + if (message.burn_proposal_deposit_prevote !== false) { writer.uint32(112).bool(message.burn_proposal_deposit_prevote); } - if (message.burn_vote_veto === true) { + if (message.burn_vote_veto !== false) { writer.uint32(120).bool(message.burn_vote_veto); } + if (message.min_deposit_ratio !== "") { + writer.uint32(130).string(message.min_deposit_ratio); + } return writer; }, @@ -1288,6 +1418,41 @@ export const Params = { message.min_initial_deposit_ratio = reader.string(); continue; + case 8: + if (tag !== 66) { + break; + } + + message.proposal_cancel_ratio = reader.string(); + continue; + case 9: + if (tag !== 74) { + break; + } + + message.proposal_cancel_dest = reader.string(); + continue; + case 10: + if (tag !== 82) { + break; + } + + message.expedited_voting_period = Duration.decode(reader, reader.uint32()); + continue; + case 11: + if (tag !== 90) { + break; + } + + message.expedited_threshold = reader.string(); + continue; + case 12: + if (tag !== 98) { + break; + } + + message.expedited_min_deposit.push(Coin.decode(reader, reader.uint32())); + continue; case 13: if (tag !== 104) { break; @@ -1309,6 +1474,13 @@ export const Params = { message.burn_vote_veto = reader.bool(); continue; + case 16: + if (tag !== 130) { + break; + } + + message.min_deposit_ratio = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -1331,11 +1503,21 @@ export const Params = { min_initial_deposit_ratio: isSet(object.min_initial_deposit_ratio) ? globalThis.String(object.min_initial_deposit_ratio) : "", + proposal_cancel_ratio: isSet(object.proposal_cancel_ratio) ? globalThis.String(object.proposal_cancel_ratio) : "", + proposal_cancel_dest: isSet(object.proposal_cancel_dest) ? globalThis.String(object.proposal_cancel_dest) : "", + expedited_voting_period: isSet(object.expedited_voting_period) + ? Duration.fromJSON(object.expedited_voting_period) + : undefined, + expedited_threshold: isSet(object.expedited_threshold) ? globalThis.String(object.expedited_threshold) : "", + expedited_min_deposit: globalThis.Array.isArray(object?.expedited_min_deposit) + ? object.expedited_min_deposit.map((e: any) => Coin.fromJSON(e)) + : [], burn_vote_quorum: isSet(object.burn_vote_quorum) ? globalThis.Boolean(object.burn_vote_quorum) : false, burn_proposal_deposit_prevote: isSet(object.burn_proposal_deposit_prevote) ? globalThis.Boolean(object.burn_proposal_deposit_prevote) : false, burn_vote_veto: isSet(object.burn_vote_veto) ? globalThis.Boolean(object.burn_vote_veto) : false, + min_deposit_ratio: isSet(object.min_deposit_ratio) ? globalThis.String(object.min_deposit_ratio) : "", }; }, @@ -1362,15 +1544,33 @@ export const Params = { if (message.min_initial_deposit_ratio !== "") { obj.min_initial_deposit_ratio = message.min_initial_deposit_ratio; } - if (message.burn_vote_quorum === true) { + if (message.proposal_cancel_ratio !== "") { + obj.proposal_cancel_ratio = message.proposal_cancel_ratio; + } + if (message.proposal_cancel_dest !== "") { + obj.proposal_cancel_dest = message.proposal_cancel_dest; + } + if (message.expedited_voting_period !== undefined) { + obj.expedited_voting_period = Duration.toJSON(message.expedited_voting_period); + } + if (message.expedited_threshold !== "") { + obj.expedited_threshold = message.expedited_threshold; + } + if (message.expedited_min_deposit?.length) { + obj.expedited_min_deposit = message.expedited_min_deposit.map((e) => Coin.toJSON(e)); + } + if (message.burn_vote_quorum !== false) { obj.burn_vote_quorum = message.burn_vote_quorum; } - if (message.burn_proposal_deposit_prevote === true) { + if (message.burn_proposal_deposit_prevote !== false) { obj.burn_proposal_deposit_prevote = message.burn_proposal_deposit_prevote; } - if (message.burn_vote_veto === true) { + if (message.burn_vote_veto !== false) { obj.burn_vote_veto = message.burn_vote_veto; } + if (message.min_deposit_ratio !== "") { + obj.min_deposit_ratio = message.min_deposit_ratio; + } return obj; }, @@ -1390,9 +1590,18 @@ export const Params = { message.threshold = object.threshold ?? ""; message.veto_threshold = object.veto_threshold ?? ""; message.min_initial_deposit_ratio = object.min_initial_deposit_ratio ?? ""; + message.proposal_cancel_ratio = object.proposal_cancel_ratio ?? ""; + message.proposal_cancel_dest = object.proposal_cancel_dest ?? ""; + message.expedited_voting_period = + (object.expedited_voting_period !== undefined && object.expedited_voting_period !== null) + ? Duration.fromPartial(object.expedited_voting_period) + : undefined; + message.expedited_threshold = object.expedited_threshold ?? ""; + message.expedited_min_deposit = object.expedited_min_deposit?.map((e) => Coin.fromPartial(e)) || []; message.burn_vote_quorum = object.burn_vote_quorum ?? false; message.burn_proposal_deposit_prevote = object.burn_proposal_deposit_prevote ?? false; message.burn_vote_veto = object.burn_vote_veto ?? false; + message.min_deposit_ratio = object.min_deposit_ratio ?? ""; return message; }, }; diff --git a/common/types/src/client/cosmos/gov/v1/tx.ts b/common/types/src/client/cosmos/gov/v1/tx.ts index 810893d8..e108c3a2 100644 --- a/common/types/src/client/cosmos/gov/v1/tx.ts +++ b/common/types/src/client/cosmos/gov/v1/tx.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/gov/v1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Coin } from "../../base/v1beta1/coin"; import { Params, VoteOption, voteOptionFromJSON, voteOptionToJSON, WeightedVoteOption } from "./gov"; @@ -34,6 +41,12 @@ export interface MsgSubmitProposal { * Since: cosmos-sdk 0.47 */ summary: string; + /** + * expedited defines if the proposal is expedited or not + * + * Since: cosmos-sdk 0.50 + */ + expedited: boolean; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ @@ -130,8 +143,37 @@ export interface MsgUpdateParams { export interface MsgUpdateParamsResponse { } +/** + * MsgCancelProposal is the Msg/CancelProposal request type. + * + * Since: cosmos-sdk 0.50 + */ +export interface MsgCancelProposal { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: string; + /** proposer is the account address of the proposer. */ + proposer: string; +} + +/** + * MsgCancelProposalResponse defines the response structure for executing a + * MsgCancelProposal message. + * + * Since: cosmos-sdk 0.50 + */ +export interface MsgCancelProposalResponse { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: string; + /** canceled_time is the time when proposal is canceled. */ + canceled_time?: + | Date + | undefined; + /** canceled_height defines the block height at which the proposal is canceled. */ + canceled_height: string; +} + function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { messages: [], initial_deposit: [], proposer: "", metadata: "", title: "", summary: "" }; + return { messages: [], initial_deposit: [], proposer: "", metadata: "", title: "", summary: "", expedited: false }; } export const MsgSubmitProposal = { @@ -154,6 +196,9 @@ export const MsgSubmitProposal = { if (message.summary !== "") { writer.uint32(50).string(message.summary); } + if (message.expedited !== false) { + writer.uint32(56).bool(message.expedited); + } return writer; }, @@ -206,6 +251,13 @@ export const MsgSubmitProposal = { message.summary = reader.string(); continue; + case 7: + if (tag !== 56) { + break; + } + + message.expedited = reader.bool(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -225,6 +277,7 @@ export const MsgSubmitProposal = { metadata: isSet(object.metadata) ? globalThis.String(object.metadata) : "", title: isSet(object.title) ? globalThis.String(object.title) : "", summary: isSet(object.summary) ? globalThis.String(object.summary) : "", + expedited: isSet(object.expedited) ? globalThis.Boolean(object.expedited) : false, }; }, @@ -248,6 +301,9 @@ export const MsgSubmitProposal = { if (message.summary !== "") { obj.summary = message.summary; } + if (message.expedited !== false) { + obj.expedited = message.expedited; + } return obj; }, @@ -262,6 +318,7 @@ export const MsgSubmitProposal = { message.metadata = object.metadata ?? ""; message.title = object.title ?? ""; message.summary = object.summary ?? ""; + message.expedited = object.expedited ?? false; return message; }, }; @@ -989,6 +1046,169 @@ export const MsgUpdateParamsResponse = { }, }; +function createBaseMsgCancelProposal(): MsgCancelProposal { + return { proposal_id: "0", proposer: "" }; +} + +export const MsgCancelProposal = { + encode(message: MsgCancelProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal_id !== "0") { + writer.uint32(8).uint64(message.proposal_id); + } + if (message.proposer !== "") { + writer.uint32(18).string(message.proposer); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelProposal { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelProposal(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.proposal_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.proposer = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MsgCancelProposal { + return { + proposal_id: isSet(object.proposal_id) ? globalThis.String(object.proposal_id) : "0", + proposer: isSet(object.proposer) ? globalThis.String(object.proposer) : "", + }; + }, + + toJSON(message: MsgCancelProposal): unknown { + const obj: any = {}; + if (message.proposal_id !== "0") { + obj.proposal_id = message.proposal_id; + } + if (message.proposer !== "") { + obj.proposer = message.proposer; + } + return obj; + }, + + create, I>>(base?: I): MsgCancelProposal { + return MsgCancelProposal.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MsgCancelProposal { + const message = createBaseMsgCancelProposal(); + message.proposal_id = object.proposal_id ?? "0"; + message.proposer = object.proposer ?? ""; + return message; + }, +}; + +function createBaseMsgCancelProposalResponse(): MsgCancelProposalResponse { + return { proposal_id: "0", canceled_time: undefined, canceled_height: "0" }; +} + +export const MsgCancelProposalResponse = { + encode(message: MsgCancelProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal_id !== "0") { + writer.uint32(8).uint64(message.proposal_id); + } + if (message.canceled_time !== undefined) { + Timestamp.encode(toTimestamp(message.canceled_time), writer.uint32(18).fork()).ldelim(); + } + if (message.canceled_height !== "0") { + writer.uint32(24).uint64(message.canceled_height); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelProposalResponse { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelProposalResponse(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.proposal_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.canceled_time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + continue; + case 3: + if (tag !== 24) { + break; + } + + message.canceled_height = longToString(reader.uint64() as Long); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MsgCancelProposalResponse { + return { + proposal_id: isSet(object.proposal_id) ? globalThis.String(object.proposal_id) : "0", + canceled_time: isSet(object.canceled_time) ? fromJsonTimestamp(object.canceled_time) : undefined, + canceled_height: isSet(object.canceled_height) ? globalThis.String(object.canceled_height) : "0", + }; + }, + + toJSON(message: MsgCancelProposalResponse): unknown { + const obj: any = {}; + if (message.proposal_id !== "0") { + obj.proposal_id = message.proposal_id; + } + if (message.canceled_time !== undefined) { + obj.canceled_time = message.canceled_time.toISOString(); + } + if (message.canceled_height !== "0") { + obj.canceled_height = message.canceled_height; + } + return obj; + }, + + create, I>>(base?: I): MsgCancelProposalResponse { + return MsgCancelProposalResponse.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MsgCancelProposalResponse { + const message = createBaseMsgCancelProposalResponse(); + message.proposal_id = object.proposal_id ?? "0"; + message.canceled_time = object.canceled_time ?? undefined; + message.canceled_height = object.canceled_height ?? "0"; + return message; + }, +}; + /** Msg defines the gov Msg service. */ export interface Msg { /** SubmitProposal defines a method to create new proposal given the messages. */ @@ -1011,6 +1231,12 @@ export interface Msg { * Since: cosmos-sdk 0.47 */ UpdateParams(request: MsgUpdateParams): Promise; + /** + * CancelProposal defines a method to cancel governance proposal + * + * Since: cosmos-sdk 0.50 + */ + CancelProposal(request: MsgCancelProposal): Promise; } export const MsgServiceName = "cosmos.gov.v1.Msg"; @@ -1026,6 +1252,7 @@ export class MsgClientImpl implements Msg { this.VoteWeighted = this.VoteWeighted.bind(this); this.Deposit = this.Deposit.bind(this); this.UpdateParams = this.UpdateParams.bind(this); + this.CancelProposal = this.CancelProposal.bind(this); } SubmitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); @@ -1062,6 +1289,12 @@ export class MsgClientImpl implements Msg { const promise = this.rpc.request(this.service, "UpdateParams", data); return promise.then((data) => MsgUpdateParamsResponse.decode(_m0.Reader.create(data))); } + + CancelProposal(request: MsgCancelProposal): Promise { + const data = MsgCancelProposal.encode(request).finish(); + const promise = this.rpc.request(this.service, "CancelProposal", data); + return promise.then((data) => MsgCancelProposalResponse.decode(_m0.Reader.create(data))); + } } interface Rpc { @@ -1080,6 +1313,28 @@ type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; +function toTimestamp(date: Date): Timestamp { + const seconds = Math.trunc(date.getTime() / 1_000).toString(); + const nanos = (date.getTime() % 1_000) * 1_000_000; + return { seconds, nanos }; +} + +function fromTimestamp(t: Timestamp): Date { + let millis = (globalThis.Number(t.seconds) || 0) * 1_000; + millis += (t.nanos || 0) / 1_000_000; + return new globalThis.Date(millis); +} + +function fromJsonTimestamp(o: any): Date { + if (o instanceof globalThis.Date) { + return o; + } else if (typeof o === "string") { + return new globalThis.Date(o); + } else { + return fromTimestamp(Timestamp.fromJSON(o)); + } +} + function longToString(long: Long) { return long.toString(); } diff --git a/common/types/src/client/cosmos/msg/v1/msg.ts b/common/types/src/client/cosmos/msg/v1/msg.ts index 093dfbba..964a82b0 100644 --- a/common/types/src/client/cosmos/msg/v1/msg.ts +++ b/common/types/src/client/cosmos/msg/v1/msg.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/msg/v1/msg.proto + /* eslint-disable */ export const protobufPackage = "cosmos.msg.v1"; diff --git a/common/types/src/client/cosmos_proto/cosmos.ts b/common/types/src/client/cosmos_proto/cosmos.ts index 43670f8a..864203ec 100644 --- a/common/types/src/client/cosmos_proto/cosmos.ts +++ b/common/types/src/client/cosmos_proto/cosmos.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos_proto/cosmos.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/gogoproto/gogo.ts b/common/types/src/client/gogoproto/gogo.ts index ecf800e0..f8d6a43c 100644 --- a/common/types/src/client/gogoproto/gogo.ts +++ b/common/types/src/client/gogoproto/gogo.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: gogoproto/gogo.proto + /* eslint-disable */ export const protobufPackage = "gogoproto"; diff --git a/common/types/src/client/google/api/annotations.ts b/common/types/src/client/google/api/annotations.ts index c2161053..9bb063ea 100644 --- a/common/types/src/client/google/api/annotations.ts +++ b/common/types/src/client/google/api/annotations.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/api/annotations.proto + /* eslint-disable */ export const protobufPackage = "google.api"; diff --git a/common/types/src/client/google/api/http.ts b/common/types/src/client/google/api/http.ts index 18b91749..00c47d78 100644 --- a/common/types/src/client/google/api/http.ts +++ b/common/types/src/client/google/api/http.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/api/http.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -382,7 +388,7 @@ export const Http = { for (const v of message.rules) { HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); } - if (message.fully_decode_reserved_expansion === true) { + if (message.fully_decode_reserved_expansion !== false) { writer.uint32(16).bool(message.fully_decode_reserved_expansion); } return writer; @@ -432,7 +438,7 @@ export const Http = { if (message.rules?.length) { obj.rules = message.rules.map((e) => HttpRule.toJSON(e)); } - if (message.fully_decode_reserved_expansion === true) { + if (message.fully_decode_reserved_expansion !== false) { obj.fully_decode_reserved_expansion = message.fully_decode_reserved_expansion; } return obj; diff --git a/common/types/src/client/google/protobuf/any.ts b/common/types/src/client/google/protobuf/any.ts index d7319f6a..df2bb7f9 100644 --- a/common/types/src/client/google/protobuf/any.ts +++ b/common/types/src/client/google/protobuf/any.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/any.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -201,7 +207,7 @@ export const Any = { }; function bytesFromBase64(b64: string): Uint8Array { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return Uint8Array.from(globalThis.Buffer.from(b64, "base64")); } else { const bin = globalThis.atob(b64); @@ -214,7 +220,7 @@ function bytesFromBase64(b64: string): Uint8Array { } function base64FromBytes(arr: Uint8Array): string { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return globalThis.Buffer.from(arr).toString("base64"); } else { const bin: string[] = []; diff --git a/common/types/src/client/google/protobuf/duration.ts b/common/types/src/client/google/protobuf/duration.ts index 00080d2e..99dc3ea9 100644 --- a/common/types/src/client/google/protobuf/duration.ts +++ b/common/types/src/client/google/protobuf/duration.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/duration.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/google/protobuf/timestamp.ts b/common/types/src/client/google/protobuf/timestamp.ts index 83d40f44..684c2ab2 100644 --- a/common/types/src/client/google/protobuf/timestamp.ts +++ b/common/types/src/client/google/protobuf/timestamp.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/timestamp.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/bundles/module/module.ts b/common/types/src/client/kyve/bundles/module/module.ts new file mode 100644 index 00000000..f289c2b1 --- /dev/null +++ b/common/types/src/client/kyve/bundles/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.bundles.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/bundles/v1beta1/bundles.ts b/common/types/src/client/kyve/bundles/v1beta1/bundles.ts index b3ce1c3b..9073a257 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/bundles.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/bundles.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/bundles.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/bundles/v1beta1/events.ts b/common/types/src/client/kyve/bundles/v1beta1/events.ts index 988dcb99..50cd454f 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/events.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BundleStatus, bundleStatusFromJSON, bundleStatusToJSON } from "./bundles"; import { Params } from "./params"; import { VoteType, voteTypeFromJSON, voteTypeToJSON } from "./tx"; @@ -105,24 +112,29 @@ export interface EventBundleFinalized { total: string; /** status of the finalized bundle */ status: BundleStatus; - /** amount which funders provided to the total bundle reward (in ukyve) */ - funders_payout: string; + /** amount which funders provided to the total bundle reward */ + funders_payout: Coin[]; /** amount which the inflation pool provided to the total reward (in ukyve) */ inflation_payout: string; - /** rewards transferred to treasury (in ukyve) */ - reward_treasury: string; - /** rewardUploader rewards directly transferred to uploader (in ukyve) */ - reward_uploader: string; - /** rewardDelegation rewards distributed among all delegators (in ukyve) */ - reward_delegation: string; + /** rewards transferred to treasury */ + reward_treasury: Coin[]; + /** + * reward_uploader_commission are the commission rewards of the uploader. + * if the uploader has no delegations the delegation rewards are included here + */ + reward_uploader_commission: Coin[]; + /** rewardDelegation rewards distributed among all delegators */ + reward_delegation: Coin[]; /** rewardTotal the total bundle reward */ - reward_total: string; + reward_total: Coin[]; /** finalized_at the block height where the bundle got finalized */ finalized_at: string; /** uploader the address of the uploader of this bundle */ uploader: string; /** next_uploader the address of the next uploader after this bundle */ next_uploader: string; + /** reward_uploader_storage_cost are the storage cost rewards for the uploader */ + reward_uploader_storage_cost: Coin[]; } /** @@ -655,15 +667,16 @@ function createBaseEventBundleFinalized(): EventBundleFinalized { abstain: "0", total: "0", status: 0, - funders_payout: "0", + funders_payout: [], inflation_payout: "0", - reward_treasury: "0", - reward_uploader: "0", - reward_delegation: "0", - reward_total: "0", + reward_treasury: [], + reward_uploader_commission: [], + reward_delegation: [], + reward_total: [], finalized_at: "0", uploader: "", next_uploader: "", + reward_uploader_storage_cost: [], }; } @@ -690,23 +703,23 @@ export const EventBundleFinalized = { if (message.status !== 0) { writer.uint32(56).int32(message.status); } - if (message.funders_payout !== "0") { - writer.uint32(64).uint64(message.funders_payout); + for (const v of message.funders_payout) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } if (message.inflation_payout !== "0") { writer.uint32(72).uint64(message.inflation_payout); } - if (message.reward_treasury !== "0") { - writer.uint32(80).uint64(message.reward_treasury); + for (const v of message.reward_treasury) { + Coin.encode(v!, writer.uint32(82).fork()).ldelim(); } - if (message.reward_uploader !== "0") { - writer.uint32(88).uint64(message.reward_uploader); + for (const v of message.reward_uploader_commission) { + Coin.encode(v!, writer.uint32(90).fork()).ldelim(); } - if (message.reward_delegation !== "0") { - writer.uint32(96).uint64(message.reward_delegation); + for (const v of message.reward_delegation) { + Coin.encode(v!, writer.uint32(98).fork()).ldelim(); } - if (message.reward_total !== "0") { - writer.uint32(104).uint64(message.reward_total); + for (const v of message.reward_total) { + Coin.encode(v!, writer.uint32(106).fork()).ldelim(); } if (message.finalized_at !== "0") { writer.uint32(112).uint64(message.finalized_at); @@ -717,6 +730,9 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { writer.uint32(130).string(message.next_uploader); } + for (const v of message.reward_uploader_storage_cost) { + Coin.encode(v!, writer.uint32(138).fork()).ldelim(); + } return writer; }, @@ -777,11 +793,11 @@ export const EventBundleFinalized = { message.status = reader.int32() as any; continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.funders_payout = longToString(reader.uint64() as Long); + message.funders_payout.push(Coin.decode(reader, reader.uint32())); continue; case 9: if (tag !== 72) { @@ -791,32 +807,32 @@ export const EventBundleFinalized = { message.inflation_payout = longToString(reader.uint64() as Long); continue; case 10: - if (tag !== 80) { + if (tag !== 82) { break; } - message.reward_treasury = longToString(reader.uint64() as Long); + message.reward_treasury.push(Coin.decode(reader, reader.uint32())); continue; case 11: - if (tag !== 88) { + if (tag !== 90) { break; } - message.reward_uploader = longToString(reader.uint64() as Long); + message.reward_uploader_commission.push(Coin.decode(reader, reader.uint32())); continue; case 12: - if (tag !== 96) { + if (tag !== 98) { break; } - message.reward_delegation = longToString(reader.uint64() as Long); + message.reward_delegation.push(Coin.decode(reader, reader.uint32())); continue; case 13: - if (tag !== 104) { + if (tag !== 106) { break; } - message.reward_total = longToString(reader.uint64() as Long); + message.reward_total.push(Coin.decode(reader, reader.uint32())); continue; case 14: if (tag !== 112) { @@ -839,6 +855,13 @@ export const EventBundleFinalized = { message.next_uploader = reader.string(); continue; + case 17: + if (tag !== 138) { + break; + } + + message.reward_uploader_storage_cost.push(Coin.decode(reader, reader.uint32())); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -857,15 +880,28 @@ export const EventBundleFinalized = { abstain: isSet(object.abstain) ? globalThis.String(object.abstain) : "0", total: isSet(object.total) ? globalThis.String(object.total) : "0", status: isSet(object.status) ? bundleStatusFromJSON(object.status) : 0, - funders_payout: isSet(object.funders_payout) ? globalThis.String(object.funders_payout) : "0", + funders_payout: globalThis.Array.isArray(object?.funders_payout) + ? object.funders_payout.map((e: any) => Coin.fromJSON(e)) + : [], inflation_payout: isSet(object.inflation_payout) ? globalThis.String(object.inflation_payout) : "0", - reward_treasury: isSet(object.reward_treasury) ? globalThis.String(object.reward_treasury) : "0", - reward_uploader: isSet(object.reward_uploader) ? globalThis.String(object.reward_uploader) : "0", - reward_delegation: isSet(object.reward_delegation) ? globalThis.String(object.reward_delegation) : "0", - reward_total: isSet(object.reward_total) ? globalThis.String(object.reward_total) : "0", + reward_treasury: globalThis.Array.isArray(object?.reward_treasury) + ? object.reward_treasury.map((e: any) => Coin.fromJSON(e)) + : [], + reward_uploader_commission: globalThis.Array.isArray(object?.reward_uploader_commission) + ? object.reward_uploader_commission.map((e: any) => Coin.fromJSON(e)) + : [], + reward_delegation: globalThis.Array.isArray(object?.reward_delegation) + ? object.reward_delegation.map((e: any) => Coin.fromJSON(e)) + : [], + reward_total: globalThis.Array.isArray(object?.reward_total) + ? object.reward_total.map((e: any) => Coin.fromJSON(e)) + : [], finalized_at: isSet(object.finalized_at) ? globalThis.String(object.finalized_at) : "0", uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", next_uploader: isSet(object.next_uploader) ? globalThis.String(object.next_uploader) : "", + reward_uploader_storage_cost: globalThis.Array.isArray(object?.reward_uploader_storage_cost) + ? object.reward_uploader_storage_cost.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -892,23 +928,23 @@ export const EventBundleFinalized = { if (message.status !== 0) { obj.status = bundleStatusToJSON(message.status); } - if (message.funders_payout !== "0") { - obj.funders_payout = message.funders_payout; + if (message.funders_payout?.length) { + obj.funders_payout = message.funders_payout.map((e) => Coin.toJSON(e)); } if (message.inflation_payout !== "0") { obj.inflation_payout = message.inflation_payout; } - if (message.reward_treasury !== "0") { - obj.reward_treasury = message.reward_treasury; + if (message.reward_treasury?.length) { + obj.reward_treasury = message.reward_treasury.map((e) => Coin.toJSON(e)); } - if (message.reward_uploader !== "0") { - obj.reward_uploader = message.reward_uploader; + if (message.reward_uploader_commission?.length) { + obj.reward_uploader_commission = message.reward_uploader_commission.map((e) => Coin.toJSON(e)); } - if (message.reward_delegation !== "0") { - obj.reward_delegation = message.reward_delegation; + if (message.reward_delegation?.length) { + obj.reward_delegation = message.reward_delegation.map((e) => Coin.toJSON(e)); } - if (message.reward_total !== "0") { - obj.reward_total = message.reward_total; + if (message.reward_total?.length) { + obj.reward_total = message.reward_total.map((e) => Coin.toJSON(e)); } if (message.finalized_at !== "0") { obj.finalized_at = message.finalized_at; @@ -919,6 +955,9 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { obj.next_uploader = message.next_uploader; } + if (message.reward_uploader_storage_cost?.length) { + obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost.map((e) => Coin.toJSON(e)); + } return obj; }, @@ -934,15 +973,16 @@ export const EventBundleFinalized = { message.abstain = object.abstain ?? "0"; message.total = object.total ?? "0"; message.status = object.status ?? 0; - message.funders_payout = object.funders_payout ?? "0"; + message.funders_payout = object.funders_payout?.map((e) => Coin.fromPartial(e)) || []; message.inflation_payout = object.inflation_payout ?? "0"; - message.reward_treasury = object.reward_treasury ?? "0"; - message.reward_uploader = object.reward_uploader ?? "0"; - message.reward_delegation = object.reward_delegation ?? "0"; - message.reward_total = object.reward_total ?? "0"; + message.reward_treasury = object.reward_treasury?.map((e) => Coin.fromPartial(e)) || []; + message.reward_uploader_commission = object.reward_uploader_commission?.map((e) => Coin.fromPartial(e)) || []; + message.reward_delegation = object.reward_delegation?.map((e) => Coin.fromPartial(e)) || []; + message.reward_total = object.reward_total?.map((e) => Coin.fromPartial(e)) || []; message.finalized_at = object.finalized_at ?? "0"; message.uploader = object.uploader ?? ""; message.next_uploader = object.next_uploader ?? ""; + message.reward_uploader_storage_cost = object.reward_uploader_storage_cost?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/bundles/v1beta1/genesis.ts b/common/types/src/client/kyve/bundles/v1beta1/genesis.ts index 4be66c46..3bf6d42d 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { BundleProposal, BundleVersionMap, FinalizedBundle, RoundRobinProgress } from "./bundles"; diff --git a/common/types/src/client/kyve/bundles/v1beta1/params.ts b/common/types/src/client/kyve/bundles/v1beta1/params.ts index f9f18d1a..404aa97e 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/params.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/params.ts @@ -1,23 +1,111 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "kyve.bundles.v1beta1"; +/** StorageCost defines the cost for storage providers */ +export interface StorageCost { + /** storage_provider_id is a unique identifier for each storage provider, such as Arweave, Irys, Filecoin, etc. */ + storage_provider_id: number; + /** cost is the amount in USD to store one byte on the storage provider. This value should be kept up-to-date. */ + cost: string; +} + /** Params defines the bundles module parameters. */ export interface Params { /** upload_timeout ... */ upload_timeout: string; - /** storage_cost ... */ - storage_cost: string; + /** storage_costs ... */ + storage_costs: StorageCost[]; /** network_fee ... */ network_fee: string; /** max_points ... */ max_points: string; } +function createBaseStorageCost(): StorageCost { + return { storage_provider_id: 0, cost: "" }; +} + +export const StorageCost = { + encode(message: StorageCost, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.storage_provider_id !== 0) { + writer.uint32(8).uint32(message.storage_provider_id); + } + if (message.cost !== "") { + writer.uint32(18).string(message.cost); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StorageCost { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStorageCost(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.storage_provider_id = reader.uint32(); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.cost = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): StorageCost { + return { + storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, + cost: isSet(object.cost) ? globalThis.String(object.cost) : "", + }; + }, + + toJSON(message: StorageCost): unknown { + const obj: any = {}; + if (message.storage_provider_id !== 0) { + obj.storage_provider_id = Math.round(message.storage_provider_id); + } + if (message.cost !== "") { + obj.cost = message.cost; + } + return obj; + }, + + create, I>>(base?: I): StorageCost { + return StorageCost.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): StorageCost { + const message = createBaseStorageCost(); + message.storage_provider_id = object.storage_provider_id ?? 0; + message.cost = object.cost ?? ""; + return message; + }, +}; + function createBaseParams(): Params { - return { upload_timeout: "0", storage_cost: "", network_fee: "", max_points: "0" }; + return { upload_timeout: "0", storage_costs: [], network_fee: "", max_points: "0" }; } export const Params = { @@ -25,8 +113,8 @@ export const Params = { if (message.upload_timeout !== "0") { writer.uint32(8).uint64(message.upload_timeout); } - if (message.storage_cost !== "") { - writer.uint32(18).string(message.storage_cost); + for (const v of message.storage_costs) { + StorageCost.encode(v!, writer.uint32(18).fork()).ldelim(); } if (message.network_fee !== "") { writer.uint32(26).string(message.network_fee); @@ -56,7 +144,7 @@ export const Params = { break; } - message.storage_cost = reader.string(); + message.storage_costs.push(StorageCost.decode(reader, reader.uint32())); continue; case 3: if (tag !== 26) { @@ -84,7 +172,9 @@ export const Params = { fromJSON(object: any): Params { return { upload_timeout: isSet(object.upload_timeout) ? globalThis.String(object.upload_timeout) : "0", - storage_cost: isSet(object.storage_cost) ? globalThis.String(object.storage_cost) : "", + storage_costs: globalThis.Array.isArray(object?.storage_costs) + ? object.storage_costs.map((e: any) => StorageCost.fromJSON(e)) + : [], network_fee: isSet(object.network_fee) ? globalThis.String(object.network_fee) : "", max_points: isSet(object.max_points) ? globalThis.String(object.max_points) : "0", }; @@ -95,8 +185,8 @@ export const Params = { if (message.upload_timeout !== "0") { obj.upload_timeout = message.upload_timeout; } - if (message.storage_cost !== "") { - obj.storage_cost = message.storage_cost; + if (message.storage_costs?.length) { + obj.storage_costs = message.storage_costs.map((e) => StorageCost.toJSON(e)); } if (message.network_fee !== "") { obj.network_fee = message.network_fee; @@ -113,7 +203,7 @@ export const Params = { fromPartial, I>>(object: I): Params { const message = createBaseParams(); message.upload_timeout = object.upload_timeout ?? "0"; - message.storage_cost = object.storage_cost ?? ""; + message.storage_costs = object.storage_costs?.map((e) => StorageCost.fromPartial(e)) || []; message.network_fee = object.network_fee ?? ""; message.max_points = object.max_points ?? "0"; return message; diff --git a/common/types/src/client/kyve/bundles/v1beta1/query.ts b/common/types/src/client/kyve/bundles/v1beta1/query.ts index ddd88889..3719dbdd 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/query.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/bundles/v1beta1/tx.ts b/common/types/src/client/kyve/bundles/v1beta1/tx.ts index faf47153..bb7258b7 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/tx.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/delegation/module/module.ts b/common/types/src/client/kyve/delegation/module/module.ts new file mode 100644 index 00000000..4a0836c6 --- /dev/null +++ b/common/types/src/client/kyve/delegation/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.delegation.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/delegation/v1beta1/delegation.ts b/common/types/src/client/kyve/delegation/v1beta1/delegation.ts index d111c081..fa3222a3 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/delegation.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/delegation.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/delegation.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin, DecCoin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.delegation.v1beta1"; @@ -85,7 +92,7 @@ export interface DelegationEntry { /** k_index is the of the period this entry ends */ k_index: string; /** value is the quotient of collected rewards and total stake according to F1-distribution */ - value: string; + value: DecCoin[]; } /** DelegationPoolData stores general delegation information for every staker */ @@ -93,7 +100,7 @@ export interface DelegationData { /** Every staker has one DelegationData */ staker: string; /** current_rewards ... */ - current_rewards: string; + current_rewards: Coin[]; /** total_delegation ... */ total_delegation: string; /** latest_index_k ... */ @@ -253,7 +260,7 @@ export const Delegator = { }; function createBaseDelegationEntry(): DelegationEntry { - return { staker: "", k_index: "0", value: "" }; + return { staker: "", k_index: "0", value: [] }; } export const DelegationEntry = { @@ -264,8 +271,8 @@ export const DelegationEntry = { if (message.k_index !== "0") { writer.uint32(16).uint64(message.k_index); } - if (message.value !== "") { - writer.uint32(26).string(message.value); + for (const v of message.value) { + DecCoin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -296,7 +303,7 @@ export const DelegationEntry = { break; } - message.value = reader.string(); + message.value.push(DecCoin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -311,7 +318,7 @@ export const DelegationEntry = { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", k_index: isSet(object.k_index) ? globalThis.String(object.k_index) : "0", - value: isSet(object.value) ? globalThis.String(object.value) : "", + value: globalThis.Array.isArray(object?.value) ? object.value.map((e: any) => DecCoin.fromJSON(e)) : [], }; }, @@ -323,8 +330,8 @@ export const DelegationEntry = { if (message.k_index !== "0") { obj.k_index = message.k_index; } - if (message.value !== "") { - obj.value = message.value; + if (message.value?.length) { + obj.value = message.value.map((e) => DecCoin.toJSON(e)); } return obj; }, @@ -336,7 +343,7 @@ export const DelegationEntry = { const message = createBaseDelegationEntry(); message.staker = object.staker ?? ""; message.k_index = object.k_index ?? "0"; - message.value = object.value ?? ""; + message.value = object.value?.map((e) => DecCoin.fromPartial(e)) || []; return message; }, }; @@ -344,7 +351,7 @@ export const DelegationEntry = { function createBaseDelegationData(): DelegationData { return { staker: "", - current_rewards: "0", + current_rewards: [], total_delegation: "0", latest_index_k: "0", delegator_count: "0", @@ -357,8 +364,8 @@ export const DelegationData = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - if (message.current_rewards !== "0") { - writer.uint32(16).uint64(message.current_rewards); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } if (message.total_delegation !== "0") { writer.uint32(24).uint64(message.total_delegation); @@ -369,7 +376,7 @@ export const DelegationData = { if (message.delegator_count !== "0") { writer.uint32(40).uint64(message.delegator_count); } - if (message.latest_index_was_undelegation === true) { + if (message.latest_index_was_undelegation !== false) { writer.uint32(48).bool(message.latest_index_was_undelegation); } return writer; @@ -390,11 +397,11 @@ export const DelegationData = { message.staker = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.current_rewards = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -436,7 +443,9 @@ export const DelegationData = { fromJSON(object: any): DelegationData { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - current_rewards: isSet(object.current_rewards) ? globalThis.String(object.current_rewards) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], total_delegation: isSet(object.total_delegation) ? globalThis.String(object.total_delegation) : "0", latest_index_k: isSet(object.latest_index_k) ? globalThis.String(object.latest_index_k) : "0", delegator_count: isSet(object.delegator_count) ? globalThis.String(object.delegator_count) : "0", @@ -451,8 +460,8 @@ export const DelegationData = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.current_rewards !== "0") { - obj.current_rewards = message.current_rewards; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.total_delegation !== "0") { obj.total_delegation = message.total_delegation; @@ -463,7 +472,7 @@ export const DelegationData = { if (message.delegator_count !== "0") { obj.delegator_count = message.delegator_count; } - if (message.latest_index_was_undelegation === true) { + if (message.latest_index_was_undelegation !== false) { obj.latest_index_was_undelegation = message.latest_index_was_undelegation; } return obj; @@ -475,7 +484,7 @@ export const DelegationData = { fromPartial, I>>(object: I): DelegationData { const message = createBaseDelegationData(); message.staker = object.staker ?? ""; - message.current_rewards = object.current_rewards ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; message.latest_index_k = object.latest_index_k ?? "0"; message.delegator_count = object.delegator_count ?? "0"; diff --git a/common/types/src/client/kyve/delegation/v1beta1/events.ts b/common/types/src/client/kyve/delegation/v1beta1/events.ts index 031b7c43..b26286e6 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/events.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { SlashType, slashTypeFromJSON, slashTypeToJSON } from "./delegation"; import { Params } from "./params"; @@ -92,7 +99,7 @@ export interface EventWithdrawRewards { /** staker is the account address of the protocol node the users withdraws from. */ staker: string; /** amount ... */ - amount: string; + amount: Coin[]; } /** @@ -592,7 +599,7 @@ export const EventRedelegate = { }; function createBaseEventWithdrawRewards(): EventWithdrawRewards { - return { address: "", staker: "", amount: "0" }; + return { address: "", staker: "", amount: [] }; } export const EventWithdrawRewards = { @@ -603,8 +610,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { writer.uint32(18).string(message.staker); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -631,11 +638,11 @@ export const EventWithdrawRewards = { message.staker = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -650,7 +657,7 @@ export const EventWithdrawRewards = { return { address: isSet(object.address) ? globalThis.String(object.address) : "", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -662,8 +669,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -675,7 +682,7 @@ export const EventWithdrawRewards = { const message = createBaseEventWithdrawRewards(); message.address = object.address ?? ""; message.staker = object.staker ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/delegation/v1beta1/genesis.ts b/common/types/src/client/kyve/delegation/v1beta1/genesis.ts index 26474063..403c0f99 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { diff --git a/common/types/src/client/kyve/delegation/v1beta1/params.ts b/common/types/src/client/kyve/delegation/v1beta1/params.ts index 9d495c1f..0868bbc3 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/params.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/delegation/v1beta1/query.ts b/common/types/src/client/kyve/delegation/v1beta1/query.ts index fa3a3652..1574a710 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/query.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/delegation/v1beta1/tx.ts b/common/types/src/client/kyve/delegation/v1beta1/tx.ts index 12cbf4c9..3583aec6 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/tx.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/funders/module/module.ts b/common/types/src/client/kyve/funders/module/module.ts new file mode 100644 index 00000000..a1f793ad --- /dev/null +++ b/common/types/src/client/kyve/funders/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.funders.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/funders/v1beta1/events.ts b/common/types/src/client/kyve/funders/v1beta1/events.ts index ab37613d..741869a6 100644 --- a/common/types/src/client/kyve/funders/v1beta1/events.ts +++ b/common/types/src/client/kyve/funders/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -69,10 +76,10 @@ export interface EventFundPool { pool_id: string; /** address is the account address of the pool funder. */ address: string; - /** amount is the amount in ukyve the funder has funded */ - amount: string; - /** amount_per_bundle is the amount in ukyve the funder has funded per bundle */ - amount_per_bundle: string; + /** amounts is a list of coins the funder has funded */ + amounts: Coin[]; + /** amounts_per_bundle is a list of coins the funder wants to distribute per finalized bundle */ + amounts_per_bundle: Coin[]; } /** @@ -84,8 +91,8 @@ export interface EventDefundPool { pool_id: string; /** address is the account address of the pool funder. */ address: string; - /** amount is the amount in ukyve the funder has defunded */ - amount: string; + /** amounts is a list of coins that the funder wants to defund */ + amounts: Coin[]; } /** @@ -459,7 +466,7 @@ export const EventUpdateFunder = { }; function createBaseEventFundPool(): EventFundPool { - return { pool_id: "0", address: "", amount: "0", amount_per_bundle: "0" }; + return { pool_id: "0", address: "", amounts: [], amounts_per_bundle: [] }; } export const EventFundPool = { @@ -470,11 +477,11 @@ export const EventFundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -501,18 +508,18 @@ export const EventFundPool = { message.address = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -527,8 +534,10 @@ export const EventFundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -540,11 +549,11 @@ export const EventFundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } return obj; }, @@ -556,14 +565,14 @@ export const EventFundPool = { const message = createBaseEventFundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; function createBaseEventDefundPool(): EventDefundPool { - return { pool_id: "0", address: "", amount: "0" }; + return { pool_id: "0", address: "", amounts: [] }; } export const EventDefundPool = { @@ -574,8 +583,8 @@ export const EventDefundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -602,11 +611,11 @@ export const EventDefundPool = { message.address = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -621,7 +630,7 @@ export const EventDefundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -633,8 +642,8 @@ export const EventDefundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -646,7 +655,7 @@ export const EventDefundPool = { const message = createBaseEventDefundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/funders/v1beta1/funders.ts b/common/types/src/client/kyve/funders/v1beta1/funders.ts index f608aca4..477123ad 100644 --- a/common/types/src/client/kyve/funders/v1beta1/funders.ts +++ b/common/types/src/client/kyve/funders/v1beta1/funders.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/funders.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -27,16 +34,19 @@ export interface Funder { * by each funder once. However, a funder can update the amount of funds. */ export interface Funding { - /** funder_id is the id of the funder */ + /** funder_address is the address of the funder */ funder_address: string; /** pool_id is the id of the pool this funding is for */ pool_id: string; - /** amount is the amount of funds in ukyve the funder has left */ - amount: string; - /** amount_per_bundle is the amount of funds in ukyve the funder pays per bundle */ - amount_per_bundle: string; - /** total_funded is the total amount of funds in ukyve the funder has funded */ - total_funded: string; + /** amounts is a list of coins the funder wants to fund the pool with */ + amounts: Coin[]; + /** + * amounts_per_bundle defines the amount of each coin that are distributed + * per finalized bundle + */ + amounts_per_bundle: Coin[]; + /** total_funded is the total amount of coins that the funder has funded */ + total_funded: Coin[]; } /** FundingState is the object which holds info about the funding state of a pool */ @@ -182,7 +192,7 @@ export const Funder = { }; function createBaseFunding(): Funding { - return { funder_address: "", pool_id: "0", amount: "0", amount_per_bundle: "0", total_funded: "0" }; + return { funder_address: "", pool_id: "0", amounts: [], amounts_per_bundle: [], total_funded: [] }; } export const Funding = { @@ -193,14 +203,14 @@ export const Funding = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } - if (message.total_funded !== "0") { - writer.uint32(40).uint64(message.total_funded); + for (const v of message.total_funded) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -227,25 +237,25 @@ export const Funding = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.total_funded = longToString(reader.uint64() as Long); + message.total_funded.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -260,9 +270,13 @@ export const Funding = { return { funder_address: isSet(object.funder_address) ? globalThis.String(object.funder_address) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", - total_funded: isSet(object.total_funded) ? globalThis.String(object.total_funded) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], + total_funded: globalThis.Array.isArray(object?.total_funded) + ? object.total_funded.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -274,14 +288,14 @@ export const Funding = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } - if (message.total_funded !== "0") { - obj.total_funded = message.total_funded; + if (message.total_funded?.length) { + obj.total_funded = message.total_funded.map((e) => Coin.toJSON(e)); } return obj; }, @@ -293,9 +307,9 @@ export const Funding = { const message = createBaseFunding(); message.funder_address = object.funder_address ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; - message.total_funded = object.total_funded ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.total_funded = object.total_funded?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/funders/v1beta1/genesis.ts b/common/types/src/client/kyve/funders/v1beta1/genesis.ts index d20082de..6d119ecf 100644 --- a/common/types/src/client/kyve/funders/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/funders/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Funder, Funding, FundingState } from "./funders"; diff --git a/common/types/src/client/kyve/funders/v1beta1/params.ts b/common/types/src/client/kyve/funders/v1beta1/params.ts index 6c494a7c..067e9e88 100644 --- a/common/types/src/client/kyve/funders/v1beta1/params.ts +++ b/common/types/src/client/kyve/funders/v1beta1/params.ts @@ -1,68 +1,109 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "kyve.funders.v1beta1"; -/** Params defines the funders module parameters. */ -export interface Params { - /** Minimum amount of tokens that can be funded. */ +/** + * WhitelistCoinEntry is an object containing information around a coin which + * is allowed to be funded in pools + */ +export interface WhitelistCoinEntry { + /** + * coin_denom is the denom of a coin which is allowed to be funded, this value + * needs to be unique + */ + coin_denom: string; + /** + * min_funding_amount is the minimum required amount of this denom that needs + * to be funded + */ min_funding_amount: string; - /** Minimum amount of tokens that can be funded per bundle. */ + /** + * min_funding_amount_per_bundle is the minimum required amount of this denom + * that needs to be funded per bundle + */ min_funding_amount_per_bundle: string; + /** + * coin_weight is a factor used to sort funders after their funding amounts. + * This should be the market price of the coin in USD/coin. This value should be kept up-to-date. + */ + coin_weight: string; +} + +/** Params defines the funders module parameters. */ +export interface Params { + /** coin_whitelist is a list of coins that are allowed to fund a pool */ + coin_whitelist: WhitelistCoinEntry[]; /** * Minimum ratio between the funded amount and the amount_per_bundle. - * In other words this param ensures, that a funder provides at least funding for - * `min_funding_multiple` bundles. + * In other words this param ensures, that a funder provides at least + * funding for `min_funding_multiple` bundles. */ min_funding_multiple: string; } -function createBaseParams(): Params { - return { min_funding_amount: "0", min_funding_amount_per_bundle: "0", min_funding_multiple: "0" }; +function createBaseWhitelistCoinEntry(): WhitelistCoinEntry { + return { coin_denom: "", min_funding_amount: "0", min_funding_amount_per_bundle: "0", coin_weight: "" }; } -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { +export const WhitelistCoinEntry = { + encode(message: WhitelistCoinEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.coin_denom !== "") { + writer.uint32(10).string(message.coin_denom); + } if (message.min_funding_amount !== "0") { - writer.uint32(8).uint64(message.min_funding_amount); + writer.uint32(16).uint64(message.min_funding_amount); } if (message.min_funding_amount_per_bundle !== "0") { - writer.uint32(16).uint64(message.min_funding_amount_per_bundle); + writer.uint32(24).uint64(message.min_funding_amount_per_bundle); } - if (message.min_funding_multiple !== "0") { - writer.uint32(24).uint64(message.min_funding_multiple); + if (message.coin_weight !== "") { + writer.uint32(34).string(message.coin_weight); } return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { + decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistCoinEntry { const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); + const message = createBaseWhitelistCoinEntry(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 8) { + if (tag !== 10) { break; } - message.min_funding_amount = longToString(reader.uint64() as Long); + message.coin_denom = reader.string(); continue; case 2: if (tag !== 16) { break; } - message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + message.min_funding_amount = longToString(reader.uint64() as Long); continue; case 3: if (tag !== 24) { break; } - message.min_funding_multiple = longToString(reader.uint64() as Long); + message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + continue; + case 4: + if (tag !== 34) { + break; + } + + message.coin_weight = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -73,24 +114,106 @@ export const Params = { return message; }, - fromJSON(object: any): Params { + fromJSON(object: any): WhitelistCoinEntry { return { + coin_denom: isSet(object.coin_denom) ? globalThis.String(object.coin_denom) : "", min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "0", min_funding_amount_per_bundle: isSet(object.min_funding_amount_per_bundle) ? globalThis.String(object.min_funding_amount_per_bundle) : "0", - min_funding_multiple: isSet(object.min_funding_multiple) ? globalThis.String(object.min_funding_multiple) : "0", + coin_weight: isSet(object.coin_weight) ? globalThis.String(object.coin_weight) : "", }; }, - toJSON(message: Params): unknown { + toJSON(message: WhitelistCoinEntry): unknown { const obj: any = {}; + if (message.coin_denom !== "") { + obj.coin_denom = message.coin_denom; + } if (message.min_funding_amount !== "0") { obj.min_funding_amount = message.min_funding_amount; } if (message.min_funding_amount_per_bundle !== "0") { obj.min_funding_amount_per_bundle = message.min_funding_amount_per_bundle; } + if (message.coin_weight !== "") { + obj.coin_weight = message.coin_weight; + } + return obj; + }, + + create, I>>(base?: I): WhitelistCoinEntry { + return WhitelistCoinEntry.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): WhitelistCoinEntry { + const message = createBaseWhitelistCoinEntry(); + message.coin_denom = object.coin_denom ?? ""; + message.min_funding_amount = object.min_funding_amount ?? "0"; + message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_weight = object.coin_weight ?? ""; + return message; + }, +}; + +function createBaseParams(): Params { + return { coin_whitelist: [], min_funding_multiple: "0" }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.coin_whitelist) { + WhitelistCoinEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + if (message.min_funding_multiple !== "0") { + writer.uint32(16).uint64(message.min_funding_multiple); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParams(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.coin_whitelist.push(WhitelistCoinEntry.decode(reader, reader.uint32())); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.min_funding_multiple = longToString(reader.uint64() as Long); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Params { + return { + coin_whitelist: globalThis.Array.isArray(object?.coin_whitelist) + ? object.coin_whitelist.map((e: any) => WhitelistCoinEntry.fromJSON(e)) + : [], + min_funding_multiple: isSet(object.min_funding_multiple) ? globalThis.String(object.min_funding_multiple) : "0", + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + if (message.coin_whitelist?.length) { + obj.coin_whitelist = message.coin_whitelist.map((e) => WhitelistCoinEntry.toJSON(e)); + } if (message.min_funding_multiple !== "0") { obj.min_funding_multiple = message.min_funding_multiple; } @@ -102,8 +225,7 @@ export const Params = { }, fromPartial, I>>(object: I): Params { const message = createBaseParams(); - message.min_funding_amount = object.min_funding_amount ?? "0"; - message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_whitelist = object.coin_whitelist?.map((e) => WhitelistCoinEntry.fromPartial(e)) || []; message.min_funding_multiple = object.min_funding_multiple ?? "0"; return message; }, diff --git a/common/types/src/client/kyve/funders/v1beta1/query.ts b/common/types/src/client/kyve/funders/v1beta1/query.ts index 7c6d4bbc..dd5cb17c 100644 --- a/common/types/src/client/kyve/funders/v1beta1/query.ts +++ b/common/types/src/client/kyve/funders/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/funders/v1beta1/tx.ts b/common/types/src/client/kyve/funders/v1beta1/tx.ts index 320d9934..1838b452 100644 --- a/common/types/src/client/kyve/funders/v1beta1/tx.ts +++ b/common/types/src/client/kyve/funders/v1beta1/tx.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -46,14 +53,17 @@ export interface MsgUpdateFunderResponse { /** MsgFundPool defines a SDK message for funding a pool. */ export interface MsgFundPool { - /** creator ... */ + /** creator is the funder of the pool */ creator: string; - /** id ... */ + /** pool_id is the identifier of the pool */ pool_id: string; - /** amount is the total amount available for distribution */ - amount: string; - /** amount_per_bundle defines the amount of tokens that are distributed per submitted bundle */ - amount_per_bundle: string; + /** amounts is a list of coins the creator wants to fund */ + amounts: Coin[]; + /** + * amounts_per_bundle is a list of coins the creator wants to distribute + * per finalized bundle + */ + amounts_per_bundle: Coin[]; } /** MsgFundPoolResponse defines the Msg/DefundPool response type. */ @@ -62,12 +72,12 @@ export interface MsgFundPoolResponse { /** MsgDefundPool defines a SDK message for defunding a pool. */ export interface MsgDefundPool { - /** creator ... */ + /** creator is the funder of the pool who wants to defund now */ creator: string; - /** id ... */ + /** pool_id is the identifier of the pool */ pool_id: string; - /** amount ... */ - amount: string; + /** amounts is a list of coins the creator wants to defund from the pool */ + amounts: Coin[]; } /** MsgDefundPoolResponse defines the Msg/DefundPool response type. */ @@ -441,7 +451,7 @@ export const MsgUpdateFunderResponse = { }; function createBaseMsgFundPool(): MsgFundPool { - return { creator: "", pool_id: "0", amount: "0", amount_per_bundle: "0" }; + return { creator: "", pool_id: "0", amounts: [], amounts_per_bundle: [] }; } export const MsgFundPool = { @@ -452,11 +462,11 @@ export const MsgFundPool = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -483,18 +493,18 @@ export const MsgFundPool = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -509,8 +519,10 @@ export const MsgFundPool = { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -522,11 +534,11 @@ export const MsgFundPool = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } return obj; }, @@ -538,8 +550,8 @@ export const MsgFundPool = { const message = createBaseMsgFundPool(); message.creator = object.creator ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -588,7 +600,7 @@ export const MsgFundPoolResponse = { }; function createBaseMsgDefundPool(): MsgDefundPool { - return { creator: "", pool_id: "0", amount: "0" }; + return { creator: "", pool_id: "0", amounts: [] }; } export const MsgDefundPool = { @@ -599,8 +611,8 @@ export const MsgDefundPool = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -627,11 +639,11 @@ export const MsgDefundPool = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -646,7 +658,7 @@ export const MsgDefundPool = { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -658,8 +670,8 @@ export const MsgDefundPool = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -671,7 +683,7 @@ export const MsgDefundPool = { const message = createBaseMsgDefundPool(); message.creator = object.creator ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/global/module/module.ts b/common/types/src/client/kyve/global/module/module.ts new file mode 100644 index 00000000..659044ab --- /dev/null +++ b/common/types/src/client/kyve/global/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.global.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/global/v1beta1/events.ts b/common/types/src/client/kyve/global/v1beta1/events.ts index 0bdef677..d21b23ef 100644 --- a/common/types/src/client/kyve/global/v1beta1/events.ts +++ b/common/types/src/client/kyve/global/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/events.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/client/kyve/global/v1beta1/genesis.ts b/common/types/src/client/kyve/global/v1beta1/genesis.ts index b71700a5..14af13ee 100644 --- a/common/types/src/client/kyve/global/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/global/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/client/kyve/global/v1beta1/global.ts b/common/types/src/client/kyve/global/v1beta1/global.ts index 2255ca35..a7b04716 100644 --- a/common/types/src/client/kyve/global/v1beta1/global.ts +++ b/common/types/src/client/kyve/global/v1beta1/global.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/global.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/global/v1beta1/query.ts b/common/types/src/client/kyve/global/v1beta1/query.ts index 21b07e42..f1557a59 100644 --- a/common/types/src/client/kyve/global/v1beta1/query.ts +++ b/common/types/src/client/kyve/global/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/client/kyve/global/v1beta1/tx.ts b/common/types/src/client/kyve/global/v1beta1/tx.ts index 054f931a..e7e0953b 100644 --- a/common/types/src/client/kyve/global/v1beta1/tx.ts +++ b/common/types/src/client/kyve/global/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/tx.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/pool/module/module.ts b/common/types/src/client/kyve/pool/module/module.ts new file mode 100644 index 00000000..63de1f11 --- /dev/null +++ b/common/types/src/client/kyve/pool/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.pool.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/pool/v1beta1/events.ts b/common/types/src/client/kyve/pool/v1beta1/events.ts index 0335bbc4..8e9ecff0 100644 --- a/common/types/src/client/kyve/pool/v1beta1/events.ts +++ b/common/types/src/client/kyve/pool/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -79,6 +85,11 @@ export interface EventCreatePool { * get compressed with */ compression_id: number; + /** + * end_key is the last key before the pool should stop indexing, it is + * inclusive + */ + end_key: string; } /** @@ -310,6 +321,7 @@ function createBaseEventCreatePool(): EventCreatePool { binaries: "", storage_provider_id: 0, compression_id: 0, + end_key: "", }; } @@ -357,6 +369,9 @@ export const EventCreatePool = { if (message.compression_id !== 0) { writer.uint32(112).uint32(message.compression_id); } + if (message.end_key !== "") { + writer.uint32(122).string(message.end_key); + } return writer; }, @@ -465,6 +480,13 @@ export const EventCreatePool = { message.compression_id = reader.uint32(); continue; + case 15: + if (tag !== 122) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -492,6 +514,7 @@ export const EventCreatePool = { binaries: isSet(object.binaries) ? globalThis.String(object.binaries) : "", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, compression_id: isSet(object.compression_id) ? globalThis.Number(object.compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -539,6 +562,9 @@ export const EventCreatePool = { if (message.compression_id !== 0) { obj.compression_id = Math.round(message.compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -561,6 +587,7 @@ export const EventCreatePool = { message.binaries = object.binaries ?? ""; message.storage_provider_id = object.storage_provider_id ?? 0; message.compression_id = object.compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/pool/v1beta1/genesis.ts b/common/types/src/client/kyve/pool/v1beta1/genesis.ts index 10b7383f..d48a82be 100644 --- a/common/types/src/client/kyve/pool/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/pool/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/genesis.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/pool/v1beta1/params.ts b/common/types/src/client/kyve/pool/v1beta1/params.ts index 67eb92d7..f451b94a 100644 --- a/common/types/src/client/kyve/pool/v1beta1/params.ts +++ b/common/types/src/client/kyve/pool/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/params.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -9,10 +15,12 @@ export interface Params { protocol_inflation_share: string; /** pool_inflation_payout_rate ... */ pool_inflation_payout_rate: string; + /** max_voting_power_per_pool ... */ + max_voting_power_per_pool: string; } function createBaseParams(): Params { - return { protocol_inflation_share: "", pool_inflation_payout_rate: "" }; + return { protocol_inflation_share: "", pool_inflation_payout_rate: "", max_voting_power_per_pool: "" }; } export const Params = { @@ -23,6 +31,9 @@ export const Params = { if (message.pool_inflation_payout_rate !== "") { writer.uint32(18).string(message.pool_inflation_payout_rate); } + if (message.max_voting_power_per_pool !== "") { + writer.uint32(26).string(message.max_voting_power_per_pool); + } return writer; }, @@ -47,6 +58,13 @@ export const Params = { message.pool_inflation_payout_rate = reader.string(); continue; + case 3: + if (tag !== 26) { + break; + } + + message.max_voting_power_per_pool = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -64,6 +82,9 @@ export const Params = { pool_inflation_payout_rate: isSet(object.pool_inflation_payout_rate) ? globalThis.String(object.pool_inflation_payout_rate) : "", + max_voting_power_per_pool: isSet(object.max_voting_power_per_pool) + ? globalThis.String(object.max_voting_power_per_pool) + : "", }; }, @@ -75,6 +96,9 @@ export const Params = { if (message.pool_inflation_payout_rate !== "") { obj.pool_inflation_payout_rate = message.pool_inflation_payout_rate; } + if (message.max_voting_power_per_pool !== "") { + obj.max_voting_power_per_pool = message.max_voting_power_per_pool; + } return obj; }, @@ -85,6 +109,7 @@ export const Params = { const message = createBaseParams(); message.protocol_inflation_share = object.protocol_inflation_share ?? ""; message.pool_inflation_payout_rate = object.pool_inflation_payout_rate ?? ""; + message.max_voting_power_per_pool = object.max_voting_power_per_pool ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/pool/v1beta1/pool.ts b/common/types/src/client/kyve/pool/v1beta1/pool.ts index 2d9c378b..b7521d62 100644 --- a/common/types/src/client/kyve/pool/v1beta1/pool.ts +++ b/common/types/src/client/kyve/pool/v1beta1/pool.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/pool.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -42,6 +48,11 @@ export enum PoolStatus { * has more than 50% voting power and that the pool is halted */ POOL_STATUS_VOTING_POWER_TOO_HIGH = 6, + /** + * POOL_STATUS_END_KEY_REACHED - POOL_STATUS_END_KEY_REACHED indicates, that the end key has been + * reached and that the pool is halted + */ + POOL_STATUS_END_KEY_REACHED = 7, UNRECOGNIZED = -1, } @@ -68,6 +79,9 @@ export function poolStatusFromJSON(object: any): PoolStatus { case 6: case "POOL_STATUS_VOTING_POWER_TOO_HIGH": return PoolStatus.POOL_STATUS_VOTING_POWER_TOO_HIGH; + case 7: + case "POOL_STATUS_END_KEY_REACHED": + return PoolStatus.POOL_STATUS_END_KEY_REACHED; case -1: case "UNRECOGNIZED": default: @@ -91,6 +105,8 @@ export function poolStatusToJSON(object: PoolStatus): string { return "POOL_STATUS_UPGRADING"; case PoolStatus.POOL_STATUS_VOTING_POWER_TOO_HIGH: return "POOL_STATUS_VOTING_POWER_TOO_HIGH"; + case PoolStatus.POOL_STATUS_END_KEY_REACHED: + return "POOL_STATUS_END_KEY_REACHED"; case PoolStatus.UNRECOGNIZED: default: return "UNRECOGNIZED"; @@ -182,6 +198,11 @@ export interface Pool { current_storage_provider_id: number; /** compression_id ... */ current_compression_id: number; + /** + * end_key is the last key before the pool should stop indexing, it is + * inclusive + */ + end_key: string; } function createBaseProtocol(): Protocol { @@ -398,6 +419,7 @@ function createBasePool(): Pool { upgrade_plan: undefined, current_storage_provider_id: 0, current_compression_id: 0, + end_key: "", }; } @@ -445,7 +467,7 @@ export const Pool = { if (message.max_bundle_size !== "0") { writer.uint32(112).uint64(message.max_bundle_size); } - if (message.disabled === true) { + if (message.disabled !== false) { writer.uint32(120).bool(message.disabled); } if (message.protocol !== undefined) { @@ -460,6 +482,9 @@ export const Pool = { if (message.current_compression_id !== 0) { writer.uint32(152).uint32(message.current_compression_id); } + if (message.end_key !== "") { + writer.uint32(162).string(message.end_key); + } return writer; }, @@ -603,6 +628,13 @@ export const Pool = { message.current_compression_id = reader.uint32(); continue; + case 20: + if (tag !== 162) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -639,6 +671,7 @@ export const Pool = { current_compression_id: isSet(object.current_compression_id) ? globalThis.Number(object.current_compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -686,7 +719,7 @@ export const Pool = { if (message.max_bundle_size !== "0") { obj.max_bundle_size = message.max_bundle_size; } - if (message.disabled === true) { + if (message.disabled !== false) { obj.disabled = message.disabled; } if (message.protocol !== undefined) { @@ -701,6 +734,9 @@ export const Pool = { if (message.current_compression_id !== 0) { obj.current_compression_id = Math.round(message.current_compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -732,6 +768,7 @@ export const Pool = { : undefined; message.current_storage_provider_id = object.current_storage_provider_id ?? 0; message.current_compression_id = object.current_compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/pool/v1beta1/query.ts b/common/types/src/client/kyve/pool/v1beta1/query.ts index 07d65355..8cf05544 100644 --- a/common/types/src/client/kyve/pool/v1beta1/query.ts +++ b/common/types/src/client/kyve/pool/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/pool/v1beta1/tx.ts b/common/types/src/client/kyve/pool/v1beta1/tx.ts index 427b58fa..2b54fb69 100644 --- a/common/types/src/client/kyve/pool/v1beta1/tx.ts +++ b/common/types/src/client/kyve/pool/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -34,6 +40,8 @@ export interface MsgCreatePool { storage_provider_id: number; /** compression_id ... */ compression_id: number; + /** end_key ... */ + end_key: string; } /** MsgCreatePoolResponse defines the Msg/CreatePool response type. */ @@ -138,6 +146,7 @@ function createBaseMsgCreatePool(): MsgCreatePool { binaries: "", storage_provider_id: 0, compression_id: 0, + end_key: "", }; } @@ -185,6 +194,9 @@ export const MsgCreatePool = { if (message.compression_id !== 0) { writer.uint32(112).uint32(message.compression_id); } + if (message.end_key !== "") { + writer.uint32(122).string(message.end_key); + } return writer; }, @@ -293,6 +305,13 @@ export const MsgCreatePool = { message.compression_id = reader.uint32(); continue; + case 15: + if (tag !== 122) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -320,6 +339,7 @@ export const MsgCreatePool = { binaries: isSet(object.binaries) ? globalThis.String(object.binaries) : "", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, compression_id: isSet(object.compression_id) ? globalThis.Number(object.compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -367,6 +387,9 @@ export const MsgCreatePool = { if (message.compression_id !== 0) { obj.compression_id = Math.round(message.compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -389,6 +412,7 @@ export const MsgCreatePool = { message.binaries = object.binaries ?? ""; message.storage_provider_id = object.storage_provider_id ?? 0; message.compression_id = object.compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/query/module/module.ts b/common/types/src/client/kyve/query/module/module.ts new file mode 100644 index 00000000..51604557 --- /dev/null +++ b/common/types/src/client/kyve/query/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.query.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/query/v1beta1/account.ts b/common/types/src/client/kyve/query/v1beta1/account.ts index b58d92db..ab020049 100644 --- a/common/types/src/client/kyve/query/v1beta1/account.ts +++ b/common/types/src/client/kyve/query/v1beta1/account.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/account.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BasicPool, FullStaker } from "./query"; export const protobufPackage = "kyve.query.v1beta1"; @@ -18,16 +25,16 @@ export interface QueryAccountAssetsResponse { balance: string; /** protocol_staking ... */ protocol_self_delegation: string; - /** protocol_staking_unbonding */ + /** protocol_staking_unbonding ... */ protocol_self_delegation_unbonding: string; /** protocol_delegation ... */ protocol_delegation: string; - /** protocol_delegation_unbonding */ + /** protocol_delegation_unbonding ... */ protocol_delegation_unbonding: string; /** protocol_rewards ... */ - protocol_rewards: string; + protocol_rewards: Coin[]; /** protocol_funding ... */ - protocol_funding: string; + protocol_funding: Coin[]; } /** QueryAccountFundedListRequest ... */ @@ -72,8 +79,8 @@ export interface QueryAccountFundedListResponse { /** Funded ... */ export interface Funded { - /** amount ... */ - amount: string; + /** amounts ... */ + amounts: Coin[]; /** pool ... */ pool?: BasicPool | undefined; } @@ -164,8 +171,8 @@ function createBaseQueryAccountAssetsResponse(): QueryAccountAssetsResponse { protocol_self_delegation_unbonding: "0", protocol_delegation: "0", protocol_delegation_unbonding: "0", - protocol_rewards: "0", - protocol_funding: "0", + protocol_rewards: [], + protocol_funding: [], }; } @@ -186,11 +193,11 @@ export const QueryAccountAssetsResponse = { if (message.protocol_delegation_unbonding !== "0") { writer.uint32(40).uint64(message.protocol_delegation_unbonding); } - if (message.protocol_rewards !== "0") { - writer.uint32(48).uint64(message.protocol_rewards); + for (const v of message.protocol_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } - if (message.protocol_funding !== "0") { - writer.uint32(56).uint64(message.protocol_funding); + for (const v of message.protocol_funding) { + Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } return writer; }, @@ -238,18 +245,18 @@ export const QueryAccountAssetsResponse = { message.protocol_delegation_unbonding = longToString(reader.uint64() as Long); continue; case 6: - if (tag !== 48) { + if (tag !== 50) { break; } - message.protocol_rewards = longToString(reader.uint64() as Long); + message.protocol_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 7: - if (tag !== 56) { + if (tag !== 58) { break; } - message.protocol_funding = longToString(reader.uint64() as Long); + message.protocol_funding.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -273,8 +280,12 @@ export const QueryAccountAssetsResponse = { protocol_delegation_unbonding: isSet(object.protocol_delegation_unbonding) ? globalThis.String(object.protocol_delegation_unbonding) : "0", - protocol_rewards: isSet(object.protocol_rewards) ? globalThis.String(object.protocol_rewards) : "0", - protocol_funding: isSet(object.protocol_funding) ? globalThis.String(object.protocol_funding) : "0", + protocol_rewards: globalThis.Array.isArray(object?.protocol_rewards) + ? object.protocol_rewards.map((e: any) => Coin.fromJSON(e)) + : [], + protocol_funding: globalThis.Array.isArray(object?.protocol_funding) + ? object.protocol_funding.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -295,11 +306,11 @@ export const QueryAccountAssetsResponse = { if (message.protocol_delegation_unbonding !== "0") { obj.protocol_delegation_unbonding = message.protocol_delegation_unbonding; } - if (message.protocol_rewards !== "0") { - obj.protocol_rewards = message.protocol_rewards; + if (message.protocol_rewards?.length) { + obj.protocol_rewards = message.protocol_rewards.map((e) => Coin.toJSON(e)); } - if (message.protocol_funding !== "0") { - obj.protocol_funding = message.protocol_funding; + if (message.protocol_funding?.length) { + obj.protocol_funding = message.protocol_funding.map((e) => Coin.toJSON(e)); } return obj; }, @@ -314,8 +325,8 @@ export const QueryAccountAssetsResponse = { message.protocol_self_delegation_unbonding = object.protocol_self_delegation_unbonding ?? "0"; message.protocol_delegation = object.protocol_delegation ?? "0"; message.protocol_delegation_unbonding = object.protocol_delegation_unbonding ?? "0"; - message.protocol_rewards = object.protocol_rewards ?? "0"; - message.protocol_funding = object.protocol_funding ?? "0"; + message.protocol_rewards = object.protocol_rewards?.map((e) => Coin.fromPartial(e)) || []; + message.protocol_funding = object.protocol_funding?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -694,13 +705,13 @@ export const QueryAccountFundedListResponse = { }; function createBaseFunded(): Funded { - return { amount: "0", pool: undefined }; + return { amounts: [], pool: undefined }; } export const Funded = { encode(message: Funded, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.amount !== "0") { - writer.uint32(8).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } if (message.pool !== undefined) { BasicPool.encode(message.pool, writer.uint32(18).fork()).ldelim(); @@ -715,12 +726,12 @@ export const Funded = { while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (tag !== 8) { + case 3: + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 2: if (tag !== 18) { @@ -740,15 +751,15 @@ export const Funded = { fromJSON(object: any): Funded { return { - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], pool: isSet(object.pool) ? BasicPool.fromJSON(object.pool) : undefined, }; }, toJSON(message: Funded): unknown { const obj: any = {}; - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } if (message.pool !== undefined) { obj.pool = BasicPool.toJSON(message.pool); @@ -761,7 +772,7 @@ export const Funded = { }, fromPartial, I>>(object: I): Funded { const message = createBaseFunded(); - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; message.pool = (object.pool !== undefined && object.pool !== null) ? BasicPool.fromPartial(object.pool) : undefined; return message; }, diff --git a/common/types/src/client/kyve/query/v1beta1/bundles.ts b/common/types/src/client/kyve/query/v1beta1/bundles.ts index bce7c561..4c5e6812 100644 --- a/common/types/src/client/kyve/query/v1beta1/bundles.ts +++ b/common/types/src/client/kyve/query/v1beta1/bundles.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/bundles.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -1146,7 +1152,7 @@ function createBaseQueryCanValidateResponse(): QueryCanValidateResponse { export const QueryCanValidateResponse = { encode(message: QueryCanValidateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1194,7 +1200,7 @@ export const QueryCanValidateResponse = { toJSON(message: QueryCanValidateResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { @@ -1324,7 +1330,7 @@ function createBaseQueryCanProposeResponse(): QueryCanProposeResponse { export const QueryCanProposeResponse = { encode(message: QueryCanProposeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1372,7 +1378,7 @@ export const QueryCanProposeResponse = { toJSON(message: QueryCanProposeResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { @@ -1502,7 +1508,7 @@ function createBaseQueryCanVoteResponse(): QueryCanVoteResponse { export const QueryCanVoteResponse = { encode(message: QueryCanVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1550,7 +1556,7 @@ export const QueryCanVoteResponse = { toJSON(message: QueryCanVoteResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { diff --git a/common/types/src/client/kyve/query/v1beta1/delegation.ts b/common/types/src/client/kyve/query/v1beta1/delegation.ts index 853a9025..e42b209a 100644 --- a/common/types/src/client/kyve/query/v1beta1/delegation.ts +++ b/common/types/src/client/kyve/query/v1beta1/delegation.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/delegation.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { FullStaker } from "./query"; export const protobufPackage = "kyve.query.v1beta1"; @@ -24,8 +31,8 @@ export interface QueryDelegatorResponse { export interface StakerDelegatorResponse { /** delegator ... */ delegator: string; - /** current_reward ... */ - current_reward: string; + /** current_rewards ... */ + current_rewards: Coin[]; /** delegation_amount ... */ delegation_amount: string; /** staker ... */ @@ -80,8 +87,8 @@ export interface DelegationForStakerResponse { staker?: | FullStaker | undefined; - /** current_reward ... */ - current_reward: string; + /** current_rewards ... */ + current_rewards: Coin[]; /** delegation_amount ... */ delegation_amount: string; } @@ -220,7 +227,7 @@ export const QueryDelegatorResponse = { }; function createBaseStakerDelegatorResponse(): StakerDelegatorResponse { - return { delegator: "", current_reward: "0", delegation_amount: "0", staker: "" }; + return { delegator: "", current_rewards: [], delegation_amount: "0", staker: "" }; } export const StakerDelegatorResponse = { @@ -228,8 +235,8 @@ export const StakerDelegatorResponse = { if (message.delegator !== "") { writer.uint32(10).string(message.delegator); } - if (message.current_reward !== "0") { - writer.uint32(16).uint64(message.current_reward); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } if (message.delegation_amount !== "0") { writer.uint32(24).uint64(message.delegation_amount); @@ -254,12 +261,12 @@ export const StakerDelegatorResponse = { message.delegator = reader.string(); continue; - case 2: - if (tag !== 16) { + case 6: + if (tag !== 50) { break; } - message.current_reward = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -287,7 +294,9 @@ export const StakerDelegatorResponse = { fromJSON(object: any): StakerDelegatorResponse { return { delegator: isSet(object.delegator) ? globalThis.String(object.delegator) : "", - current_reward: isSet(object.current_reward) ? globalThis.String(object.current_reward) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], delegation_amount: isSet(object.delegation_amount) ? globalThis.String(object.delegation_amount) : "0", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", }; @@ -298,8 +307,8 @@ export const StakerDelegatorResponse = { if (message.delegator !== "") { obj.delegator = message.delegator; } - if (message.current_reward !== "0") { - obj.current_reward = message.current_reward; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.delegation_amount !== "0") { obj.delegation_amount = message.delegation_amount; @@ -316,7 +325,7 @@ export const StakerDelegatorResponse = { fromPartial, I>>(object: I): StakerDelegatorResponse { const message = createBaseStakerDelegatorResponse(); message.delegator = object.delegator ?? ""; - message.current_reward = object.current_reward ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.delegation_amount = object.delegation_amount ?? "0"; message.staker = object.staker ?? ""; return message; @@ -687,7 +696,7 @@ export const QueryStakersByDelegatorResponse = { }; function createBaseDelegationForStakerResponse(): DelegationForStakerResponse { - return { staker: undefined, current_reward: "0", delegation_amount: "0" }; + return { staker: undefined, current_rewards: [], delegation_amount: "0" }; } export const DelegationForStakerResponse = { @@ -695,8 +704,8 @@ export const DelegationForStakerResponse = { if (message.staker !== undefined) { FullStaker.encode(message.staker, writer.uint32(10).fork()).ldelim(); } - if (message.current_reward !== "0") { - writer.uint32(16).uint64(message.current_reward); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } if (message.delegation_amount !== "0") { writer.uint32(24).uint64(message.delegation_amount); @@ -718,12 +727,12 @@ export const DelegationForStakerResponse = { message.staker = FullStaker.decode(reader, reader.uint32()); continue; - case 2: - if (tag !== 16) { + case 6: + if (tag !== 50) { break; } - message.current_reward = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -744,7 +753,9 @@ export const DelegationForStakerResponse = { fromJSON(object: any): DelegationForStakerResponse { return { staker: isSet(object.staker) ? FullStaker.fromJSON(object.staker) : undefined, - current_reward: isSet(object.current_reward) ? globalThis.String(object.current_reward) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], delegation_amount: isSet(object.delegation_amount) ? globalThis.String(object.delegation_amount) : "0", }; }, @@ -754,8 +765,8 @@ export const DelegationForStakerResponse = { if (message.staker !== undefined) { obj.staker = FullStaker.toJSON(message.staker); } - if (message.current_reward !== "0") { - obj.current_reward = message.current_reward; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.delegation_amount !== "0") { obj.delegation_amount = message.delegation_amount; @@ -771,7 +782,7 @@ export const DelegationForStakerResponse = { message.staker = (object.staker !== undefined && object.staker !== null) ? FullStaker.fromPartial(object.staker) : undefined; - message.current_reward = object.current_reward ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.delegation_amount = object.delegation_amount ?? "0"; return message; }, diff --git a/common/types/src/client/kyve/query/v1beta1/funders.ts b/common/types/src/client/kyve/query/v1beta1/funders.ts index 50198337..e8b1dcd0 100644 --- a/common/types/src/client/kyve/query/v1beta1/funders.ts +++ b/common/types/src/client/kyve/query/v1beta1/funders.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/funders.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.query.v1beta1"; @@ -69,27 +76,43 @@ export interface Funder { /** FundingStats ... */ export interface FundingStats { /** total_used_funds are the total funds that have been distributed by the funder. */ - total_used_funds: string; - /** total_allocated_funds are the total funds that have been allocated by the funder. They can either get distributed or refunded. */ - total_allocated_funds: string; + total_used_funds: Coin[]; + /** + * total_allocated_funds are the total funds that have been allocated by the funder. + * They can either get distributed or refunded. + */ + total_allocated_funds: Coin[]; /** total_amount_per_bundle is the total amount per bundle of all fundings of the funder. */ - total_amount_per_bundle: string; + total_amount_per_bundle: Coin[]; /** pools_funded are the ids of the pools that have been funded by the funder. */ pools_funded: string[]; + /** + * score is the result of all coins of the funder currently allocated times the coin weight + * specified in the params + */ + score: string; } /** Funding ... */ export interface Funding { - /** funder_address */ + /** funder_id is the id of the funder */ funder_address: string; - /** pool_id ... */ + /** pool_id is the id of the pool this funding is for */ pool_id: string; - /** amount ... */ - amount: string; - /** amount_per_bundle ... */ - amount_per_bundle: string; - /** total_funded ... */ - total_funded: string; + /** amounts is a list of coins the funder wants to fund the pool with */ + amounts: Coin[]; + /** + * amounts_per_bundle defines the amount of each coin that are distributed + * per finalized bundle + */ + amounts_per_bundle: Coin[]; + /** total_funded is the total amount of coins that the funder has funded */ + total_funded: Coin[]; + /** + * score is the result of all coins allocated to this pool times the coin weight specified + * by the params + */ + score: string; } /** QueryFundersRequest is the request type for the Query/Funders RPC method. */ @@ -326,25 +349,28 @@ export const Funder = { }; function createBaseFundingStats(): FundingStats { - return { total_used_funds: "0", total_allocated_funds: "0", total_amount_per_bundle: "0", pools_funded: [] }; + return { total_used_funds: [], total_allocated_funds: [], total_amount_per_bundle: [], pools_funded: [], score: "0" }; } export const FundingStats = { encode(message: FundingStats, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.total_used_funds !== "0") { - writer.uint32(8).uint64(message.total_used_funds); + for (const v of message.total_used_funds) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); } - if (message.total_allocated_funds !== "0") { - writer.uint32(16).uint64(message.total_allocated_funds); + for (const v of message.total_allocated_funds) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } - if (message.total_amount_per_bundle !== "0") { - writer.uint32(24).uint64(message.total_amount_per_bundle); + for (const v of message.total_amount_per_bundle) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } writer.uint32(34).fork(); for (const v of message.pools_funded) { writer.uint64(v); } writer.ldelim(); + if (message.score !== "0") { + writer.uint32(40).uint64(message.score); + } return writer; }, @@ -356,25 +382,25 @@ export const FundingStats = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 8) { + if (tag !== 10) { break; } - message.total_used_funds = longToString(reader.uint64() as Long); + message.total_used_funds.push(Coin.decode(reader, reader.uint32())); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.total_allocated_funds = longToString(reader.uint64() as Long); + message.total_allocated_funds.push(Coin.decode(reader, reader.uint32())); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.total_amount_per_bundle = longToString(reader.uint64() as Long); + message.total_amount_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 4: if (tag === 32) { @@ -393,6 +419,13 @@ export const FundingStats = { } break; + case 5: + if (tag !== 40) { + break; + } + + message.score = longToString(reader.uint64() as Long); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -404,33 +437,39 @@ export const FundingStats = { fromJSON(object: any): FundingStats { return { - total_used_funds: isSet(object.total_used_funds) ? globalThis.String(object.total_used_funds) : "0", - total_allocated_funds: isSet(object.total_allocated_funds) - ? globalThis.String(object.total_allocated_funds) - : "0", - total_amount_per_bundle: isSet(object.total_amount_per_bundle) - ? globalThis.String(object.total_amount_per_bundle) - : "0", + total_used_funds: globalThis.Array.isArray(object?.total_used_funds) + ? object.total_used_funds.map((e: any) => Coin.fromJSON(e)) + : [], + total_allocated_funds: globalThis.Array.isArray(object?.total_allocated_funds) + ? object.total_allocated_funds.map((e: any) => Coin.fromJSON(e)) + : [], + total_amount_per_bundle: globalThis.Array.isArray(object?.total_amount_per_bundle) + ? object.total_amount_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], pools_funded: globalThis.Array.isArray(object?.pools_funded) ? object.pools_funded.map((e: any) => globalThis.String(e)) : [], + score: isSet(object.score) ? globalThis.String(object.score) : "0", }; }, toJSON(message: FundingStats): unknown { const obj: any = {}; - if (message.total_used_funds !== "0") { - obj.total_used_funds = message.total_used_funds; + if (message.total_used_funds?.length) { + obj.total_used_funds = message.total_used_funds.map((e) => Coin.toJSON(e)); } - if (message.total_allocated_funds !== "0") { - obj.total_allocated_funds = message.total_allocated_funds; + if (message.total_allocated_funds?.length) { + obj.total_allocated_funds = message.total_allocated_funds.map((e) => Coin.toJSON(e)); } - if (message.total_amount_per_bundle !== "0") { - obj.total_amount_per_bundle = message.total_amount_per_bundle; + if (message.total_amount_per_bundle?.length) { + obj.total_amount_per_bundle = message.total_amount_per_bundle.map((e) => Coin.toJSON(e)); } if (message.pools_funded?.length) { obj.pools_funded = message.pools_funded; } + if (message.score !== "0") { + obj.score = message.score; + } return obj; }, @@ -439,16 +478,17 @@ export const FundingStats = { }, fromPartial, I>>(object: I): FundingStats { const message = createBaseFundingStats(); - message.total_used_funds = object.total_used_funds ?? "0"; - message.total_allocated_funds = object.total_allocated_funds ?? "0"; - message.total_amount_per_bundle = object.total_amount_per_bundle ?? "0"; + message.total_used_funds = object.total_used_funds?.map((e) => Coin.fromPartial(e)) || []; + message.total_allocated_funds = object.total_allocated_funds?.map((e) => Coin.fromPartial(e)) || []; + message.total_amount_per_bundle = object.total_amount_per_bundle?.map((e) => Coin.fromPartial(e)) || []; message.pools_funded = object.pools_funded?.map((e) => e) || []; + message.score = object.score ?? "0"; return message; }, }; function createBaseFunding(): Funding { - return { funder_address: "", pool_id: "0", amount: "0", amount_per_bundle: "0", total_funded: "0" }; + return { funder_address: "", pool_id: "0", amounts: [], amounts_per_bundle: [], total_funded: [], score: "0" }; } export const Funding = { @@ -459,14 +499,17 @@ export const Funding = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } - if (message.total_funded !== "0") { - writer.uint32(40).uint64(message.total_funded); + for (const v of message.total_funded) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); + } + if (message.score !== "0") { + writer.uint32(48).uint64(message.score); } return writer; }, @@ -493,25 +536,32 @@ export const Funding = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.total_funded = longToString(reader.uint64() as Long); + message.total_funded.push(Coin.decode(reader, reader.uint32())); + continue; + case 6: + if (tag !== 48) { + break; + } + + message.score = longToString(reader.uint64() as Long); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -526,9 +576,14 @@ export const Funding = { return { funder_address: isSet(object.funder_address) ? globalThis.String(object.funder_address) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", - total_funded: isSet(object.total_funded) ? globalThis.String(object.total_funded) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], + total_funded: globalThis.Array.isArray(object?.total_funded) + ? object.total_funded.map((e: any) => Coin.fromJSON(e)) + : [], + score: isSet(object.score) ? globalThis.String(object.score) : "0", }; }, @@ -540,14 +595,17 @@ export const Funding = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + } + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.total_funded?.length) { + obj.total_funded = message.total_funded.map((e) => Coin.toJSON(e)); } - if (message.total_funded !== "0") { - obj.total_funded = message.total_funded; + if (message.score !== "0") { + obj.score = message.score; } return obj; }, @@ -559,9 +617,10 @@ export const Funding = { const message = createBaseFunding(); message.funder_address = object.funder_address ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; - message.total_funded = object.total_funded ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.total_funded = object.total_funded?.map((e) => Coin.fromPartial(e)) || []; + message.score = object.score ?? "0"; return message; }, }; diff --git a/common/types/src/client/kyve/query/v1beta1/params.ts b/common/types/src/client/kyve/query/v1beta1/params.ts index e9655f6b..d0a927e0 100644 --- a/common/types/src/client/kyve/query/v1beta1/params.ts +++ b/common/types/src/client/kyve/query/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/params.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params as Params3 } from "../../../cosmos/gov/v1/gov"; diff --git a/common/types/src/client/kyve/query/v1beta1/pools.ts b/common/types/src/client/kyve/query/v1beta1/pools.ts index 41380e78..e90b98a8 100644 --- a/common/types/src/client/kyve/query/v1beta1/pools.ts +++ b/common/types/src/client/kyve/query/v1beta1/pools.ts @@ -1,8 +1,15 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/pools.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; import { BundleProposal } from "../../bundles/v1beta1/bundles"; +import { Funding } from "../../funders/v1beta1/funders"; import { Pool, PoolStatus, poolStatusFromJSON, poolStatusToJSON } from "../../pool/v1beta1/pool"; export const protobufPackage = "kyve.query.v1beta1"; @@ -55,6 +62,8 @@ export interface PoolResponse { account: string; /** account_balance ... */ account_balance: string; + /** funders ... */ + fundings: Funding[]; } /** QueryPoolRequest is the request type for the Query/Pool RPC method. */ @@ -84,7 +93,7 @@ export const QueryPoolsRequest = { if (message.runtime !== "") { writer.uint32(26).string(message.runtime); } - if (message.disabled === true) { + if (message.disabled !== false) { writer.uint32(32).bool(message.disabled); } if (message.storage_provider_id !== 0) { @@ -165,7 +174,7 @@ export const QueryPoolsRequest = { if (message.runtime !== "") { obj.runtime = message.runtime; } - if (message.disabled === true) { + if (message.disabled !== false) { obj.disabled = message.disabled; } if (message.storage_provider_id !== 0) { @@ -277,6 +286,7 @@ function createBasePoolResponse(): PoolResponse { status: 0, account: "", account_balance: "0", + fundings: [], }; } @@ -309,6 +319,9 @@ export const PoolResponse = { if (message.account_balance !== "0") { writer.uint32(72).uint64(message.account_balance); } + for (const v of message.fundings) { + Funding.encode(v!, writer.uint32(82).fork()).ldelim(); + } return writer; }, @@ -382,6 +395,13 @@ export const PoolResponse = { message.account_balance = longToString(reader.uint64() as Long); continue; + case 10: + if (tag !== 82) { + break; + } + + message.fundings.push(Funding.decode(reader, reader.uint32())); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -404,6 +424,7 @@ export const PoolResponse = { status: isSet(object.status) ? poolStatusFromJSON(object.status) : 0, account: isSet(object.account) ? globalThis.String(object.account) : "", account_balance: isSet(object.account_balance) ? globalThis.String(object.account_balance) : "0", + fundings: globalThis.Array.isArray(object?.fundings) ? object.fundings.map((e: any) => Funding.fromJSON(e)) : [], }; }, @@ -436,6 +457,9 @@ export const PoolResponse = { if (message.account_balance !== "0") { obj.account_balance = message.account_balance; } + if (message.fundings?.length) { + obj.fundings = message.fundings.map((e) => Funding.toJSON(e)); + } return obj; }, @@ -455,6 +479,7 @@ export const PoolResponse = { message.status = object.status ?? 0; message.account = object.account ?? ""; message.account_balance = object.account_balance ?? "0"; + message.fundings = object.fundings?.map((e) => Funding.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/query/v1beta1/query.ts b/common/types/src/client/kyve/query/v1beta1/query.ts index 526e12ad..a512c68a 100644 --- a/common/types/src/client/kyve/query/v1beta1/query.ts +++ b/common/types/src/client/kyve/query/v1beta1/query.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/query.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { PoolStatus, poolStatusFromJSON, poolStatusToJSON } from "../../pool/v1beta1/pool"; export const protobufPackage = "kyve.query.v1beta1"; @@ -29,7 +36,7 @@ export interface BasicPool { * total_funds of the pool. If the pool runs * out of funds no more bundles will be produced */ - total_funds: string; + total_funds: Coin[]; /** total_delegation of the pool */ total_delegation: string; /** @@ -110,8 +117,8 @@ export interface StakerMetadata { pending_commission_change?: | CommissionChangeEntry | undefined; - /** commission_rewards are the rewards in $KYVE earned through commission */ - commission_rewards: string; + /** commission_rewards are the rewards through commission and storage cost */ + commission_rewards: Coin[]; } /** @@ -175,7 +182,7 @@ function createBaseBasicPool(): BasicPool { logo: "", inflation_share_weight: "0", upload_interval: "0", - total_funds: "0", + total_funds: [], total_delegation: "0", status: 0, }; @@ -201,8 +208,8 @@ export const BasicPool = { if (message.upload_interval !== "0") { writer.uint32(48).uint64(message.upload_interval); } - if (message.total_funds !== "0") { - writer.uint32(56).uint64(message.total_funds); + for (const v of message.total_funds) { + Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } if (message.total_delegation !== "0") { writer.uint32(64).uint64(message.total_delegation); @@ -263,11 +270,11 @@ export const BasicPool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 7: - if (tag !== 56) { + if (tag !== 58) { break; } - message.total_funds = longToString(reader.uint64() as Long); + message.total_funds.push(Coin.decode(reader, reader.uint32())); continue; case 8: if (tag !== 64) { @@ -302,7 +309,9 @@ export const BasicPool = { ? globalThis.String(object.inflation_share_weight) : "0", upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", - total_funds: isSet(object.total_funds) ? globalThis.String(object.total_funds) : "0", + total_funds: globalThis.Array.isArray(object?.total_funds) + ? object.total_funds.map((e: any) => Coin.fromJSON(e)) + : [], total_delegation: isSet(object.total_delegation) ? globalThis.String(object.total_delegation) : "0", status: isSet(object.status) ? poolStatusFromJSON(object.status) : 0, }; @@ -328,8 +337,8 @@ export const BasicPool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.total_funds !== "0") { - obj.total_funds = message.total_funds; + if (message.total_funds?.length) { + obj.total_funds = message.total_funds.map((e) => Coin.toJSON(e)); } if (message.total_delegation !== "0") { obj.total_delegation = message.total_delegation; @@ -351,7 +360,7 @@ export const BasicPool = { message.logo = object.logo ?? ""; message.inflation_share_weight = object.inflation_share_weight ?? "0"; message.upload_interval = object.upload_interval ?? "0"; - message.total_funds = object.total_funds ?? "0"; + message.total_funds = object.total_funds?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; message.status = object.status ?? 0; return message; @@ -528,7 +537,7 @@ function createBaseStakerMetadata(): StakerMetadata { security_contact: "", details: "", pending_commission_change: undefined, - commission_rewards: "0", + commission_rewards: [], }; } @@ -555,8 +564,8 @@ export const StakerMetadata = { if (message.pending_commission_change !== undefined) { CommissionChangeEntry.encode(message.pending_commission_change, writer.uint32(58).fork()).ldelim(); } - if (message.commission_rewards !== "0") { - writer.uint32(64).uint64(message.commission_rewards); + for (const v of message.commission_rewards) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } return writer; }, @@ -618,11 +627,11 @@ export const StakerMetadata = { message.pending_commission_change = CommissionChangeEntry.decode(reader, reader.uint32()); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.commission_rewards = longToString(reader.uint64() as Long); + message.commission_rewards.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -644,7 +653,9 @@ export const StakerMetadata = { pending_commission_change: isSet(object.pending_commission_change) ? CommissionChangeEntry.fromJSON(object.pending_commission_change) : undefined, - commission_rewards: isSet(object.commission_rewards) ? globalThis.String(object.commission_rewards) : "0", + commission_rewards: globalThis.Array.isArray(object?.commission_rewards) + ? object.commission_rewards.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -671,8 +682,8 @@ export const StakerMetadata = { if (message.pending_commission_change !== undefined) { obj.pending_commission_change = CommissionChangeEntry.toJSON(message.pending_commission_change); } - if (message.commission_rewards !== "0") { - obj.commission_rewards = message.commission_rewards; + if (message.commission_rewards?.length) { + obj.commission_rewards = message.commission_rewards.map((e) => Coin.toJSON(e)); } return obj; }, @@ -692,7 +703,7 @@ export const StakerMetadata = { (object.pending_commission_change !== undefined && object.pending_commission_change !== null) ? CommissionChangeEntry.fromPartial(object.pending_commission_change) : undefined; - message.commission_rewards = object.commission_rewards ?? "0"; + message.commission_rewards = object.commission_rewards?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -783,7 +794,7 @@ export const PoolMembership = { if (message.points !== "0") { writer.uint32(16).uint64(message.points); } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { writer.uint32(24).bool(message.is_leaving); } if (message.valaddress !== "") { @@ -864,7 +875,7 @@ export const PoolMembership = { if (message.points !== "0") { obj.points = message.points; } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { obj.is_leaving = message.is_leaving; } if (message.valaddress !== "") { diff --git a/common/types/src/client/kyve/query/v1beta1/stakers.ts b/common/types/src/client/kyve/query/v1beta1/stakers.ts index 658d5969..9bb3fc1e 100644 --- a/common/types/src/client/kyve/query/v1beta1/stakers.ts +++ b/common/types/src/client/kyve/query/v1beta1/stakers.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/stakers.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/stakers/module/module.ts b/common/types/src/client/kyve/stakers/module/module.ts new file mode 100644 index 00000000..a5570665 --- /dev/null +++ b/common/types/src/client/kyve/stakers/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.stakers.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/stakers/v1beta1/events.ts b/common/types/src/client/kyve/stakers/v1beta1/events.ts index 71eed8b1..ae783bc0 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/events.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -72,8 +79,8 @@ export interface EventUpdateCommission { export interface EventClaimCommissionRewards { /** staker is the account address of the protocol node. */ staker: string; - /** amount ... */ - amount: string; + /** amount is the amount of the commission rewards claimed */ + amount: Coin[]; } /** @@ -496,7 +503,7 @@ export const EventUpdateCommission = { }; function createBaseEventClaimCommissionRewards(): EventClaimCommissionRewards { - return { staker: "", amount: "0" }; + return { staker: "", amount: [] }; } export const EventClaimCommissionRewards = { @@ -504,8 +511,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - if (message.amount !== "0") { - writer.uint32(16).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -525,11 +532,11 @@ export const EventClaimCommissionRewards = { message.staker = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -543,7 +550,7 @@ export const EventClaimCommissionRewards = { fromJSON(object: any): EventClaimCommissionRewards { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -552,8 +559,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -564,7 +571,7 @@ export const EventClaimCommissionRewards = { fromPartial, I>>(object: I): EventClaimCommissionRewards { const message = createBaseEventClaimCommissionRewards(); message.staker = object.staker ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/stakers/v1beta1/genesis.ts b/common/types/src/client/kyve/stakers/v1beta1/genesis.ts index 43c09bab..883ae6a8 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/stakers/v1beta1/params.ts b/common/types/src/client/kyve/stakers/v1beta1/params.ts index fdd4bcdc..cdc9d7ca 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/params.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/stakers/v1beta1/query.ts b/common/types/src/client/kyve/stakers/v1beta1/query.ts index 99186d74..287746eb 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/query.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/client/kyve/stakers/v1beta1/stakers.ts b/common/types/src/client/kyve/stakers/v1beta1/stakers.ts index 2ea1decc..53a46996 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/stakers.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/stakers.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/stakers.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -23,8 +30,8 @@ export interface Staker { security_contact: string; /** details are some additional notes the staker finds important */ details: string; - /** commission_rewards are the rewards in $KYVE earned through commission */ - commission_rewards: string; + /** commission_rewards are the rewards through commission and storage cost */ + commission_rewards: Coin[]; } /** @@ -128,7 +135,7 @@ function createBaseStaker(): Staker { identity: "", security_contact: "", details: "", - commission_rewards: "0", + commission_rewards: [], }; } @@ -155,8 +162,8 @@ export const Staker = { if (message.details !== "") { writer.uint32(58).string(message.details); } - if (message.commission_rewards !== "0") { - writer.uint32(64).uint64(message.commission_rewards); + for (const v of message.commission_rewards) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } return writer; }, @@ -218,11 +225,11 @@ export const Staker = { message.details = reader.string(); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.commission_rewards = longToString(reader.uint64() as Long); + message.commission_rewards.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -242,7 +249,9 @@ export const Staker = { identity: isSet(object.identity) ? globalThis.String(object.identity) : "", security_contact: isSet(object.security_contact) ? globalThis.String(object.security_contact) : "", details: isSet(object.details) ? globalThis.String(object.details) : "", - commission_rewards: isSet(object.commission_rewards) ? globalThis.String(object.commission_rewards) : "0", + commission_rewards: globalThis.Array.isArray(object?.commission_rewards) + ? object.commission_rewards.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -269,8 +278,8 @@ export const Staker = { if (message.details !== "") { obj.details = message.details; } - if (message.commission_rewards !== "0") { - obj.commission_rewards = message.commission_rewards; + if (message.commission_rewards?.length) { + obj.commission_rewards = message.commission_rewards.map((e) => Coin.toJSON(e)); } return obj; }, @@ -287,7 +296,7 @@ export const Staker = { message.identity = object.identity ?? ""; message.security_contact = object.security_contact ?? ""; message.details = object.details ?? ""; - message.commission_rewards = object.commission_rewards ?? "0"; + message.commission_rewards = object.commission_rewards?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -310,7 +319,7 @@ export const Valaccount = { if (message.points !== "0") { writer.uint32(32).uint64(message.points); } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { writer.uint32(40).bool(message.is_leaving); } return writer; @@ -391,7 +400,7 @@ export const Valaccount = { if (message.points !== "0") { obj.points = message.points; } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { obj.is_leaving = message.is_leaving; } return obj; diff --git a/common/types/src/client/kyve/stakers/v1beta1/tx.ts b/common/types/src/client/kyve/stakers/v1beta1/tx.ts index c5e641ad..f84267dc 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/tx.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/tx.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -58,7 +65,7 @@ export interface MsgClaimCommissionRewards { /** creator ... */ creator: string; /** amount ... */ - amount: string; + amount: Coin[]; } /** MsgClaimCommissionRewardsResponse ... */ @@ -532,7 +539,7 @@ export const MsgUpdateCommissionResponse = { }; function createBaseMsgClaimCommissionRewards(): MsgClaimCommissionRewards { - return { creator: "", amount: "0" }; + return { creator: "", amount: [] }; } export const MsgClaimCommissionRewards = { @@ -540,8 +547,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { writer.uint32(10).string(message.creator); } - if (message.amount !== "0") { - writer.uint32(16).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -561,11 +568,11 @@ export const MsgClaimCommissionRewards = { message.creator = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -579,7 +586,7 @@ export const MsgClaimCommissionRewards = { fromJSON(object: any): MsgClaimCommissionRewards { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -588,8 +595,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { obj.creator = message.creator; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -600,7 +607,7 @@ export const MsgClaimCommissionRewards = { fromPartial, I>>(object: I): MsgClaimCommissionRewards { const message = createBaseMsgClaimCommissionRewards(); message.creator = object.creator ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/team/module/module.ts b/common/types/src/client/kyve/team/module/module.ts new file mode 100644 index 00000000..74938b0a --- /dev/null +++ b/common/types/src/client/kyve/team/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.team.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/client/kyve/team/v1beta1/events.ts b/common/types/src/client/kyve/team/v1beta1/events.ts index 30dbe829..e2acd254 100644 --- a/common/types/src/client/kyve/team/v1beta1/events.ts +++ b/common/types/src/client/kyve/team/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/team/v1beta1/genesis.ts b/common/types/src/client/kyve/team/v1beta1/genesis.ts index 7f61d5e0..bbfe6756 100644 --- a/common/types/src/client/kyve/team/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/team/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/genesis.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/team/v1beta1/query.ts b/common/types/src/client/kyve/team/v1beta1/query.ts index aac3427b..1f049298 100644 --- a/common/types/src/client/kyve/team/v1beta1/query.ts +++ b/common/types/src/client/kyve/team/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/query.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/team/v1beta1/team.ts b/common/types/src/client/kyve/team/v1beta1/team.ts index 34e956ac..80152a7f 100644 --- a/common/types/src/client/kyve/team/v1beta1/team.ts +++ b/common/types/src/client/kyve/team/v1beta1/team.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/team.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/client/kyve/team/v1beta1/tx.ts b/common/types/src/client/kyve/team/v1beta1/tx.ts index cfc7ff57..b16326a5 100644 --- a/common/types/src/client/kyve/team/v1beta1/tx.ts +++ b/common/types/src/client/kyve/team/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/amino/amino.ts b/common/types/src/lcd/amino/amino.ts index 54af2e62..9dee64db 100644 --- a/common/types/src/lcd/amino/amino.ts +++ b/common/types/src/lcd/amino/amino.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: amino/amino.proto + /* eslint-disable */ export const protobufPackage = "amino"; diff --git a/common/types/src/lcd/cosmos/app/v1alpha1/module.ts b/common/types/src/lcd/cosmos/app/v1alpha1/module.ts new file mode 100644 index 00000000..8434c20f --- /dev/null +++ b/common/types/src/lcd/cosmos/app/v1alpha1/module.ts @@ -0,0 +1,333 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/app/v1alpha1/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "cosmos.app.v1alpha1"; + +/** ModuleDescriptor describes an app module. */ +export interface ModuleDescriptor { + /** + * go_import names the package that should be imported by an app to load the + * module in the runtime module registry. It is required to make debugging + * of configuration errors easier for users. + */ + go_import: string; + /** + * use_package refers to a protobuf package that this module + * uses and exposes to the world. In an app, only one module should "use" + * or own a single protobuf package. It is assumed that the module uses + * all of the .proto files in a single package. + */ + use_package: PackageReference[]; + /** + * can_migrate_from defines which module versions this module can migrate + * state from. The framework will check that one module version is able to + * migrate from a previous module version before attempting to update its + * config. It is assumed that modules can transitively migrate from earlier + * versions. For instance if v3 declares it can migrate from v2, and v2 + * declares it can migrate from v1, the framework knows how to migrate + * from v1 to v3, assuming all 3 module versions are registered at runtime. + */ + can_migrate_from: MigrateFromInfo[]; +} + +/** PackageReference is a reference to a protobuf package used by a module. */ +export interface PackageReference { + /** name is the fully-qualified name of the package. */ + name: string; + /** + * revision is the optional revision of the package that is being used. + * Protobuf packages used in Cosmos should generally have a major version + * as the last part of the package name, ex. foo.bar.baz.v1. + * The revision of a package can be thought of as the minor version of a + * package which has additional backwards compatible definitions that weren't + * present in a previous version. + * + * A package should indicate its revision with a source code comment + * above the package declaration in one of its files containing the + * text "Revision N" where N is an integer revision. All packages start + * at revision 0 the first time they are released in a module. + * + * When a new version of a module is released and items are added to existing + * .proto files, these definitions should contain comments of the form + * "Since: Revision N" where N is an integer revision. + * + * When the module runtime starts up, it will check the pinned proto + * image and panic if there are runtime protobuf definitions that are not + * in the pinned descriptor which do not have + * a "Since Revision N" comment or have a "Since Revision N" comment where + * N is <= to the revision specified here. This indicates that the protobuf + * files have been updated, but the pinned file descriptor hasn't. + * + * If there are items in the pinned file descriptor with a revision + * greater than the value indicated here, this will also cause a panic + * as it may mean that the pinned descriptor for a legacy module has been + * improperly updated or that there is some other versioning discrepancy. + * Runtime protobuf definitions will also be checked for compatibility + * with pinned file descriptors to make sure there are no incompatible changes. + * + * This behavior ensures that: + * * pinned proto images are up-to-date + * * protobuf files are carefully annotated with revision comments which + * are important good client UX + * * protobuf files are changed in backwards and forwards compatible ways + */ + revision: number; +} + +/** + * MigrateFromInfo is information on a module version that a newer module + * can migrate from. + */ +export interface MigrateFromInfo { + /** + * module is the fully-qualified protobuf name of the module config object + * for the previous module version, ex: "cosmos.group.module.v1.Module". + */ + module: string; +} + +function createBaseModuleDescriptor(): ModuleDescriptor { + return { go_import: "", use_package: [], can_migrate_from: [] }; +} + +export const ModuleDescriptor = { + encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.go_import !== "") { + writer.uint32(10).string(message.go_import); + } + for (const v of message.use_package) { + PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); + } + for (const v of message.can_migrate_from) { + MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModuleDescriptor(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.go_import = reader.string(); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.use_package.push(PackageReference.decode(reader, reader.uint32())); + continue; + case 3: + if (tag !== 26) { + break; + } + + message.can_migrate_from.push(MigrateFromInfo.decode(reader, reader.uint32())); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): ModuleDescriptor { + return { + go_import: isSet(object.go_import) ? globalThis.String(object.go_import) : "", + use_package: globalThis.Array.isArray(object?.use_package) + ? object.use_package.map((e: any) => PackageReference.fromJSON(e)) + : [], + can_migrate_from: globalThis.Array.isArray(object?.can_migrate_from) + ? object.can_migrate_from.map((e: any) => MigrateFromInfo.fromJSON(e)) + : [], + }; + }, + + toJSON(message: ModuleDescriptor): unknown { + const obj: any = {}; + if (message.go_import !== "") { + obj.go_import = message.go_import; + } + if (message.use_package?.length) { + obj.use_package = message.use_package.map((e) => PackageReference.toJSON(e)); + } + if (message.can_migrate_from?.length) { + obj.can_migrate_from = message.can_migrate_from.map((e) => MigrateFromInfo.toJSON(e)); + } + return obj; + }, + + create, I>>(base?: I): ModuleDescriptor { + return ModuleDescriptor.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): ModuleDescriptor { + const message = createBaseModuleDescriptor(); + message.go_import = object.go_import ?? ""; + message.use_package = object.use_package?.map((e) => PackageReference.fromPartial(e)) || []; + message.can_migrate_from = object.can_migrate_from?.map((e) => MigrateFromInfo.fromPartial(e)) || []; + return message; + }, +}; + +function createBasePackageReference(): PackageReference { + return { name: "", revision: 0 }; +} + +export const PackageReference = { + encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.name !== "") { + writer.uint32(10).string(message.name); + } + if (message.revision !== 0) { + writer.uint32(16).uint32(message.revision); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBasePackageReference(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.name = reader.string(); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.revision = reader.uint32(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): PackageReference { + return { + name: isSet(object.name) ? globalThis.String(object.name) : "", + revision: isSet(object.revision) ? globalThis.Number(object.revision) : 0, + }; + }, + + toJSON(message: PackageReference): unknown { + const obj: any = {}; + if (message.name !== "") { + obj.name = message.name; + } + if (message.revision !== 0) { + obj.revision = Math.round(message.revision); + } + return obj; + }, + + create, I>>(base?: I): PackageReference { + return PackageReference.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): PackageReference { + const message = createBasePackageReference(); + message.name = object.name ?? ""; + message.revision = object.revision ?? 0; + return message; + }, +}; + +function createBaseMigrateFromInfo(): MigrateFromInfo { + return { module: "" }; +} + +export const MigrateFromInfo = { + encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.module !== "") { + writer.uint32(10).string(message.module); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMigrateFromInfo(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.module = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MigrateFromInfo { + return { module: isSet(object.module) ? globalThis.String(object.module) : "" }; + }, + + toJSON(message: MigrateFromInfo): unknown { + const obj: any = {}; + if (message.module !== "") { + obj.module = message.module; + } + return obj; + }, + + create, I>>(base?: I): MigrateFromInfo { + return MigrateFromInfo.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MigrateFromInfo { + const message = createBaseMigrateFromInfo(); + message.module = object.module ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts b/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts index 0c3902cf..21a4c8c1 100644 --- a/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts +++ b/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/base/query/v1beta1/pagination.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -84,10 +90,10 @@ export const PageRequest = { if (message.limit !== "0") { writer.uint32(24).uint64(message.limit); } - if (message.count_total === true) { + if (message.count_total !== false) { writer.uint32(32).bool(message.count_total); } - if (message.reverse === true) { + if (message.reverse !== false) { writer.uint32(40).bool(message.reverse); } return writer; @@ -165,10 +171,10 @@ export const PageRequest = { if (message.limit !== "0") { obj.limit = message.limit; } - if (message.count_total === true) { + if (message.count_total !== false) { obj.count_total = message.count_total; } - if (message.reverse === true) { + if (message.reverse !== false) { obj.reverse = message.reverse; } return obj; @@ -263,7 +269,7 @@ export const PageResponse = { }; function bytesFromBase64(b64: string): Uint8Array { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return Uint8Array.from(globalThis.Buffer.from(b64, "base64")); } else { const bin = globalThis.atob(b64); @@ -276,7 +282,7 @@ function bytesFromBase64(b64: string): Uint8Array { } function base64FromBytes(arr: Uint8Array): string { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return globalThis.Buffer.from(arr).toString("base64"); } else { const bin: string[] = []; diff --git a/common/types/src/lcd/cosmos/base/v1beta1/coin.ts b/common/types/src/lcd/cosmos/base/v1beta1/coin.ts index 70abf752..36e9d5cf 100644 --- a/common/types/src/lcd/cosmos/base/v1beta1/coin.ts +++ b/common/types/src/lcd/cosmos/base/v1beta1/coin.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/base/v1beta1/coin.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -25,12 +31,18 @@ export interface DecCoin { amount: string; } -/** IntProto defines a Protobuf wrapper around an Int object. */ +/** + * IntProto defines a Protobuf wrapper around an Int object. + * Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. + */ export interface IntProto { int: string; } -/** DecProto defines a Protobuf wrapper around a Dec object. */ +/** + * DecProto defines a Protobuf wrapper around a Dec object. + * Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. + */ export interface DecProto { dec: string; } diff --git a/common/types/src/lcd/cosmos/gov/v1/gov.ts b/common/types/src/lcd/cosmos/gov/v1/gov.ts index 1fe3b019..b0e066dd 100644 --- a/common/types/src/lcd/cosmos/gov/v1/gov.ts +++ b/common/types/src/lcd/cosmos/gov/v1/gov.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/gov/v1/gov.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -239,7 +245,11 @@ export interface Proposal { voting_end_time?: | Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ + /** + * metadata is any arbitrary metadata attached to the proposal. + * the recommended format of the metadata is to be found here: + * https://docs.cosmos.network/v0.47/modules/gov#proposal-3 + */ metadata: string; /** * title is the title of the proposal @@ -254,11 +264,23 @@ export interface Proposal { */ summary: string; /** - * Proposer is the address of the proposal sumbitter + * proposer is the address of the proposal sumbitter * * Since: cosmos-sdk 0.47 */ proposer: string; + /** + * expedited defines if the proposal is expedited + * + * Since: cosmos-sdk 0.50 + */ + expedited: boolean; + /** + * failed_reason defines the reason why the proposal failed + * + * Since: cosmos-sdk 0.50 + */ + failed_reason: string; } /** TallyResult defines a standard tally for a governance proposal. */ @@ -284,11 +306,18 @@ export interface Vote { voter: string; /** options is the weighted vote options. */ options: WeightedVoteOption[]; - /** metadata is any arbitrary metadata to attached to the vote. */ + /** + * metadata is any arbitrary metadata attached to the vote. + * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/gov#vote-5 + */ metadata: string; } -/** DepositParams defines the params for deposits on governance proposals. */ +/** + * DepositParams defines the params for deposits on governance proposals. + * + * @deprecated + */ export interface DepositParams { /** Minimum deposit for a proposal to enter voting period. */ min_deposit: Coin[]; @@ -299,13 +328,21 @@ export interface DepositParams { max_deposit_period?: Duration | undefined; } -/** VotingParams defines the params for voting on governance proposals. */ +/** + * VotingParams defines the params for voting on governance proposals. + * + * @deprecated + */ export interface VotingParams { /** Duration of the voting period. */ voting_period?: Duration | undefined; } -/** TallyParams defines the params for tallying votes on governance proposals. */ +/** + * TallyParams defines the params for tallying votes on governance proposals. + * + * @deprecated + */ export interface TallyParams { /** * Minimum percentage of total stake needed to vote for a result to be @@ -354,12 +391,49 @@ export interface Params { veto_threshold: string; /** The ratio representing the proportion of the deposit value that must be paid at proposal submission. */ min_initial_deposit_ratio: string; + /** + * The cancel ratio which will not be returned back to the depositors when a proposal is cancelled. + * + * Since: cosmos-sdk 0.50 + */ + proposal_cancel_ratio: string; + /** + * The address which will receive (proposal_cancel_ratio * deposit) proposal deposits. + * If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned. + * + * Since: cosmos-sdk 0.50 + */ + proposal_cancel_dest: string; + /** + * Duration of the voting period of an expedited proposal. + * + * Since: cosmos-sdk 0.50 + */ + expedited_voting_period?: + | Duration + | undefined; + /** + * Minimum proportion of Yes votes for proposal to pass. Default value: 0.67. + * + * Since: cosmos-sdk 0.50 + */ + expedited_threshold: string; + /** Minimum expedited deposit for a proposal to enter voting period. */ + expedited_min_deposit: Coin[]; /** burn deposits if a proposal does not meet quorum */ burn_vote_quorum: boolean; /** burn deposits if the proposal does not enter voting period */ burn_proposal_deposit_prevote: boolean; /** burn deposits if quorum with vote type no_veto is met */ burn_vote_veto: boolean; + /** + * The ratio representing the proportion of the deposit value minimum that must be met when making a deposit. + * Default value: 0.01. Meaning that for a chain with a min_deposit of 100stake, a deposit of 1stake would be + * required. + * + * Since: cosmos-sdk 0.50 + */ + min_deposit_ratio: string; } function createBaseWeightedVoteOption(): WeightedVoteOption { @@ -540,6 +614,8 @@ function createBaseProposal(): Proposal { title: "", summary: "", proposer: "", + expedited: false, + failed_reason: "", }; } @@ -584,6 +660,12 @@ export const Proposal = { if (message.proposer !== "") { writer.uint32(106).string(message.proposer); } + if (message.expedited !== false) { + writer.uint32(112).bool(message.expedited); + } + if (message.failed_reason !== "") { + writer.uint32(122).string(message.failed_reason); + } return writer; }, @@ -685,6 +767,20 @@ export const Proposal = { message.proposer = reader.string(); continue; + case 14: + if (tag !== 112) { + break; + } + + message.expedited = reader.bool(); + continue; + case 15: + if (tag !== 122) { + break; + } + + message.failed_reason = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -713,6 +809,8 @@ export const Proposal = { title: isSet(object.title) ? globalThis.String(object.title) : "", summary: isSet(object.summary) ? globalThis.String(object.summary) : "", proposer: isSet(object.proposer) ? globalThis.String(object.proposer) : "", + expedited: isSet(object.expedited) ? globalThis.Boolean(object.expedited) : false, + failed_reason: isSet(object.failed_reason) ? globalThis.String(object.failed_reason) : "", }; }, @@ -757,6 +855,12 @@ export const Proposal = { if (message.proposer !== "") { obj.proposer = message.proposer; } + if (message.expedited !== false) { + obj.expedited = message.expedited; + } + if (message.failed_reason !== "") { + obj.failed_reason = message.failed_reason; + } return obj; }, @@ -780,6 +884,8 @@ export const Proposal = { message.title = object.title ?? ""; message.summary = object.summary ?? ""; message.proposer = object.proposer ?? ""; + message.expedited = object.expedited ?? false; + message.failed_reason = object.failed_reason ?? ""; return message; }, }; @@ -1229,9 +1335,15 @@ function createBaseParams(): Params { threshold: "", veto_threshold: "", min_initial_deposit_ratio: "", + proposal_cancel_ratio: "", + proposal_cancel_dest: "", + expedited_voting_period: undefined, + expedited_threshold: "", + expedited_min_deposit: [], burn_vote_quorum: false, burn_proposal_deposit_prevote: false, burn_vote_veto: false, + min_deposit_ratio: "", }; } @@ -1258,15 +1370,33 @@ export const Params = { if (message.min_initial_deposit_ratio !== "") { writer.uint32(58).string(message.min_initial_deposit_ratio); } - if (message.burn_vote_quorum === true) { + if (message.proposal_cancel_ratio !== "") { + writer.uint32(66).string(message.proposal_cancel_ratio); + } + if (message.proposal_cancel_dest !== "") { + writer.uint32(74).string(message.proposal_cancel_dest); + } + if (message.expedited_voting_period !== undefined) { + Duration.encode(message.expedited_voting_period, writer.uint32(82).fork()).ldelim(); + } + if (message.expedited_threshold !== "") { + writer.uint32(90).string(message.expedited_threshold); + } + for (const v of message.expedited_min_deposit) { + Coin.encode(v!, writer.uint32(98).fork()).ldelim(); + } + if (message.burn_vote_quorum !== false) { writer.uint32(104).bool(message.burn_vote_quorum); } - if (message.burn_proposal_deposit_prevote === true) { + if (message.burn_proposal_deposit_prevote !== false) { writer.uint32(112).bool(message.burn_proposal_deposit_prevote); } - if (message.burn_vote_veto === true) { + if (message.burn_vote_veto !== false) { writer.uint32(120).bool(message.burn_vote_veto); } + if (message.min_deposit_ratio !== "") { + writer.uint32(130).string(message.min_deposit_ratio); + } return writer; }, @@ -1326,6 +1456,41 @@ export const Params = { message.min_initial_deposit_ratio = reader.string(); continue; + case 8: + if (tag !== 66) { + break; + } + + message.proposal_cancel_ratio = reader.string(); + continue; + case 9: + if (tag !== 74) { + break; + } + + message.proposal_cancel_dest = reader.string(); + continue; + case 10: + if (tag !== 82) { + break; + } + + message.expedited_voting_period = Duration.decode(reader, reader.uint32()); + continue; + case 11: + if (tag !== 90) { + break; + } + + message.expedited_threshold = reader.string(); + continue; + case 12: + if (tag !== 98) { + break; + } + + message.expedited_min_deposit.push(Coin.decode(reader, reader.uint32())); + continue; case 13: if (tag !== 104) { break; @@ -1347,6 +1512,13 @@ export const Params = { message.burn_vote_veto = reader.bool(); continue; + case 16: + if (tag !== 130) { + break; + } + + message.min_deposit_ratio = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -1369,11 +1541,21 @@ export const Params = { min_initial_deposit_ratio: isSet(object.min_initial_deposit_ratio) ? globalThis.String(object.min_initial_deposit_ratio) : "", + proposal_cancel_ratio: isSet(object.proposal_cancel_ratio) ? globalThis.String(object.proposal_cancel_ratio) : "", + proposal_cancel_dest: isSet(object.proposal_cancel_dest) ? globalThis.String(object.proposal_cancel_dest) : "", + expedited_voting_period: isSet(object.expedited_voting_period) + ? Duration.fromJSON(object.expedited_voting_period) + : undefined, + expedited_threshold: isSet(object.expedited_threshold) ? globalThis.String(object.expedited_threshold) : "", + expedited_min_deposit: globalThis.Array.isArray(object?.expedited_min_deposit) + ? object.expedited_min_deposit.map((e: any) => Coin.fromJSON(e)) + : [], burn_vote_quorum: isSet(object.burn_vote_quorum) ? globalThis.Boolean(object.burn_vote_quorum) : false, burn_proposal_deposit_prevote: isSet(object.burn_proposal_deposit_prevote) ? globalThis.Boolean(object.burn_proposal_deposit_prevote) : false, burn_vote_veto: isSet(object.burn_vote_veto) ? globalThis.Boolean(object.burn_vote_veto) : false, + min_deposit_ratio: isSet(object.min_deposit_ratio) ? globalThis.String(object.min_deposit_ratio) : "", }; }, @@ -1400,15 +1582,33 @@ export const Params = { if (message.min_initial_deposit_ratio !== "") { obj.min_initial_deposit_ratio = message.min_initial_deposit_ratio; } - if (message.burn_vote_quorum === true) { + if (message.proposal_cancel_ratio !== "") { + obj.proposal_cancel_ratio = message.proposal_cancel_ratio; + } + if (message.proposal_cancel_dest !== "") { + obj.proposal_cancel_dest = message.proposal_cancel_dest; + } + if (message.expedited_voting_period !== undefined) { + obj.expedited_voting_period = Duration.toJSON(message.expedited_voting_period); + } + if (message.expedited_threshold !== "") { + obj.expedited_threshold = message.expedited_threshold; + } + if (message.expedited_min_deposit?.length) { + obj.expedited_min_deposit = message.expedited_min_deposit.map((e) => Coin.toJSON(e)); + } + if (message.burn_vote_quorum !== false) { obj.burn_vote_quorum = message.burn_vote_quorum; } - if (message.burn_proposal_deposit_prevote === true) { + if (message.burn_proposal_deposit_prevote !== false) { obj.burn_proposal_deposit_prevote = message.burn_proposal_deposit_prevote; } - if (message.burn_vote_veto === true) { + if (message.burn_vote_veto !== false) { obj.burn_vote_veto = message.burn_vote_veto; } + if (message.min_deposit_ratio !== "") { + obj.min_deposit_ratio = message.min_deposit_ratio; + } return obj; }, @@ -1428,9 +1628,18 @@ export const Params = { message.threshold = object.threshold ?? ""; message.veto_threshold = object.veto_threshold ?? ""; message.min_initial_deposit_ratio = object.min_initial_deposit_ratio ?? ""; + message.proposal_cancel_ratio = object.proposal_cancel_ratio ?? ""; + message.proposal_cancel_dest = object.proposal_cancel_dest ?? ""; + message.expedited_voting_period = + (object.expedited_voting_period !== undefined && object.expedited_voting_period !== null) + ? Duration.fromPartial(object.expedited_voting_period) + : undefined; + message.expedited_threshold = object.expedited_threshold ?? ""; + message.expedited_min_deposit = object.expedited_min_deposit?.map((e) => Coin.fromPartial(e)) || []; message.burn_vote_quorum = object.burn_vote_quorum ?? false; message.burn_proposal_deposit_prevote = object.burn_proposal_deposit_prevote ?? false; message.burn_vote_veto = object.burn_vote_veto ?? false; + message.min_deposit_ratio = object.min_deposit_ratio ?? ""; return message; }, }; diff --git a/common/types/src/lcd/cosmos/gov/v1/tx.ts b/common/types/src/lcd/cosmos/gov/v1/tx.ts index 02e36f4a..04f29bc2 100644 --- a/common/types/src/lcd/cosmos/gov/v1/tx.ts +++ b/common/types/src/lcd/cosmos/gov/v1/tx.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/gov/v1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { Any } from "../../../google/protobuf/any"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Coin } from "../../base/v1beta1/coin"; import { Params, @@ -41,6 +48,12 @@ export interface MsgSubmitProposal { * Since: cosmos-sdk 0.47 */ summary: string; + /** + * expedited defines if the proposal is expedited or not + * + * Since: cosmos-sdk 0.50 + */ + expedited: boolean; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ @@ -137,8 +150,37 @@ export interface MsgUpdateParams { export interface MsgUpdateParamsResponse { } +/** + * MsgCancelProposal is the Msg/CancelProposal request type. + * + * Since: cosmos-sdk 0.50 + */ +export interface MsgCancelProposal { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: string; + /** proposer is the account address of the proposer. */ + proposer: string; +} + +/** + * MsgCancelProposalResponse defines the response structure for executing a + * MsgCancelProposal message. + * + * Since: cosmos-sdk 0.50 + */ +export interface MsgCancelProposalResponse { + /** proposal_id defines the unique id of the proposal. */ + proposal_id: string; + /** canceled_time is the time when proposal is canceled. */ + canceled_time?: + | Date + | undefined; + /** canceled_height defines the block height at which the proposal is canceled. */ + canceled_height: string; +} + function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { messages: [], initial_deposit: [], proposer: "", metadata: "", title: "", summary: "" }; + return { messages: [], initial_deposit: [], proposer: "", metadata: "", title: "", summary: "", expedited: false }; } export const MsgSubmitProposal = { @@ -161,6 +203,9 @@ export const MsgSubmitProposal = { if (message.summary !== "") { writer.uint32(50).string(message.summary); } + if (message.expedited !== false) { + writer.uint32(56).bool(message.expedited); + } return writer; }, @@ -213,6 +258,13 @@ export const MsgSubmitProposal = { message.summary = reader.string(); continue; + case 7: + if (tag !== 56) { + break; + } + + message.expedited = reader.bool(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -232,6 +284,7 @@ export const MsgSubmitProposal = { metadata: isSet(object.metadata) ? globalThis.String(object.metadata) : "", title: isSet(object.title) ? globalThis.String(object.title) : "", summary: isSet(object.summary) ? globalThis.String(object.summary) : "", + expedited: isSet(object.expedited) ? globalThis.Boolean(object.expedited) : false, }; }, @@ -255,6 +308,9 @@ export const MsgSubmitProposal = { if (message.summary !== "") { obj.summary = message.summary; } + if (message.expedited !== false) { + obj.expedited = message.expedited; + } return obj; }, @@ -269,6 +325,7 @@ export const MsgSubmitProposal = { message.metadata = object.metadata ?? ""; message.title = object.title ?? ""; message.summary = object.summary ?? ""; + message.expedited = object.expedited ?? false; return message; }, }; @@ -996,6 +1053,169 @@ export const MsgUpdateParamsResponse = { }, }; +function createBaseMsgCancelProposal(): MsgCancelProposal { + return { proposal_id: "0", proposer: "" }; +} + +export const MsgCancelProposal = { + encode(message: MsgCancelProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal_id !== "0") { + writer.uint32(8).uint64(message.proposal_id); + } + if (message.proposer !== "") { + writer.uint32(18).string(message.proposer); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelProposal { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelProposal(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.proposal_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.proposer = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MsgCancelProposal { + return { + proposal_id: isSet(object.proposal_id) ? globalThis.String(object.proposal_id) : "0", + proposer: isSet(object.proposer) ? globalThis.String(object.proposer) : "", + }; + }, + + toJSON(message: MsgCancelProposal): unknown { + const obj: any = {}; + if (message.proposal_id !== "0") { + obj.proposal_id = message.proposal_id; + } + if (message.proposer !== "") { + obj.proposer = message.proposer; + } + return obj; + }, + + create, I>>(base?: I): MsgCancelProposal { + return MsgCancelProposal.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MsgCancelProposal { + const message = createBaseMsgCancelProposal(); + message.proposal_id = object.proposal_id ?? "0"; + message.proposer = object.proposer ?? ""; + return message; + }, +}; + +function createBaseMsgCancelProposalResponse(): MsgCancelProposalResponse { + return { proposal_id: "0", canceled_time: undefined, canceled_height: "0" }; +} + +export const MsgCancelProposalResponse = { + encode(message: MsgCancelProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.proposal_id !== "0") { + writer.uint32(8).uint64(message.proposal_id); + } + if (message.canceled_time !== undefined) { + Timestamp.encode(toTimestamp(message.canceled_time), writer.uint32(18).fork()).ldelim(); + } + if (message.canceled_height !== "0") { + writer.uint32(24).uint64(message.canceled_height); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelProposalResponse { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseMsgCancelProposalResponse(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.proposal_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.canceled_time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); + continue; + case 3: + if (tag !== 24) { + break; + } + + message.canceled_height = longToString(reader.uint64() as Long); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): MsgCancelProposalResponse { + return { + proposal_id: isSet(object.proposal_id) ? globalThis.String(object.proposal_id) : "0", + canceled_time: isSet(object.canceled_time) ? fromJsonTimestamp(object.canceled_time) : undefined, + canceled_height: isSet(object.canceled_height) ? globalThis.String(object.canceled_height) : "0", + }; + }, + + toJSON(message: MsgCancelProposalResponse): unknown { + const obj: any = {}; + if (message.proposal_id !== "0") { + obj.proposal_id = message.proposal_id; + } + if (message.canceled_time !== undefined) { + obj.canceled_time = message.canceled_time.toISOString(); + } + if (message.canceled_height !== "0") { + obj.canceled_height = message.canceled_height; + } + return obj; + }, + + create, I>>(base?: I): MsgCancelProposalResponse { + return MsgCancelProposalResponse.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): MsgCancelProposalResponse { + const message = createBaseMsgCancelProposalResponse(); + message.proposal_id = object.proposal_id ?? "0"; + message.canceled_time = object.canceled_time ?? undefined; + message.canceled_height = object.canceled_height ?? "0"; + return message; + }, +}; + /** Msg defines the gov Msg service. */ export interface Msg { /** SubmitProposal defines a method to create new proposal given the messages. */ @@ -1018,6 +1238,12 @@ export interface Msg { * Since: cosmos-sdk 0.47 */ UpdateParams(request: MsgUpdateParams): Promise; + /** + * CancelProposal defines a method to cancel governance proposal + * + * Since: cosmos-sdk 0.50 + */ + CancelProposal(request: MsgCancelProposal): Promise; } export const MsgServiceName = "cosmos.gov.v1.Msg"; @@ -1033,6 +1259,7 @@ export class MsgClientImpl implements Msg { this.VoteWeighted = this.VoteWeighted.bind(this); this.Deposit = this.Deposit.bind(this); this.UpdateParams = this.UpdateParams.bind(this); + this.CancelProposal = this.CancelProposal.bind(this); } SubmitProposal(request: MsgSubmitProposal): Promise { const data = MsgSubmitProposal.encode(request).finish(); @@ -1069,6 +1296,12 @@ export class MsgClientImpl implements Msg { const promise = this.rpc.request(this.service, "UpdateParams", data); return promise.then((data) => MsgUpdateParamsResponse.decode(_m0.Reader.create(data))); } + + CancelProposal(request: MsgCancelProposal): Promise { + const data = MsgCancelProposal.encode(request).finish(); + const promise = this.rpc.request(this.service, "CancelProposal", data); + return promise.then((data) => MsgCancelProposalResponse.decode(_m0.Reader.create(data))); + } } interface Rpc { @@ -1087,6 +1320,28 @@ type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; +function toTimestamp(date: Date): Timestamp { + const seconds = Math.trunc(date.getTime() / 1_000).toString(); + const nanos = (date.getTime() % 1_000) * 1_000_000; + return { seconds, nanos }; +} + +function fromTimestamp(t: Timestamp): Date { + let millis = (globalThis.Number(t.seconds) || 0) * 1_000; + millis += (t.nanos || 0) / 1_000_000; + return new globalThis.Date(millis); +} + +function fromJsonTimestamp(o: any): Date { + if (o instanceof globalThis.Date) { + return o; + } else if (typeof o === "string") { + return new globalThis.Date(o); + } else { + return fromTimestamp(Timestamp.fromJSON(o)); + } +} + function longToString(long: Long) { return long.toString(); } diff --git a/common/types/src/lcd/cosmos/msg/v1/msg.ts b/common/types/src/lcd/cosmos/msg/v1/msg.ts index 093dfbba..964a82b0 100644 --- a/common/types/src/lcd/cosmos/msg/v1/msg.ts +++ b/common/types/src/lcd/cosmos/msg/v1/msg.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos/msg/v1/msg.proto + /* eslint-disable */ export const protobufPackage = "cosmos.msg.v1"; diff --git a/common/types/src/lcd/cosmos_proto/cosmos.ts b/common/types/src/lcd/cosmos_proto/cosmos.ts index d40e6d68..ee769568 100644 --- a/common/types/src/lcd/cosmos_proto/cosmos.ts +++ b/common/types/src/lcd/cosmos_proto/cosmos.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: cosmos_proto/cosmos.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/gogoproto/gogo.ts b/common/types/src/lcd/gogoproto/gogo.ts index ecf800e0..f8d6a43c 100644 --- a/common/types/src/lcd/gogoproto/gogo.ts +++ b/common/types/src/lcd/gogoproto/gogo.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: gogoproto/gogo.proto + /* eslint-disable */ export const protobufPackage = "gogoproto"; diff --git a/common/types/src/lcd/google/api/annotations.ts b/common/types/src/lcd/google/api/annotations.ts index c2161053..9bb063ea 100644 --- a/common/types/src/lcd/google/api/annotations.ts +++ b/common/types/src/lcd/google/api/annotations.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/api/annotations.proto + /* eslint-disable */ export const protobufPackage = "google.api"; diff --git a/common/types/src/lcd/google/api/http.ts b/common/types/src/lcd/google/api/http.ts index 18b91749..00c47d78 100644 --- a/common/types/src/lcd/google/api/http.ts +++ b/common/types/src/lcd/google/api/http.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/api/http.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -382,7 +388,7 @@ export const Http = { for (const v of message.rules) { HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); } - if (message.fully_decode_reserved_expansion === true) { + if (message.fully_decode_reserved_expansion !== false) { writer.uint32(16).bool(message.fully_decode_reserved_expansion); } return writer; @@ -432,7 +438,7 @@ export const Http = { if (message.rules?.length) { obj.rules = message.rules.map((e) => HttpRule.toJSON(e)); } - if (message.fully_decode_reserved_expansion === true) { + if (message.fully_decode_reserved_expansion !== false) { obj.fully_decode_reserved_expansion = message.fully_decode_reserved_expansion; } return obj; diff --git a/common/types/src/lcd/google/protobuf/any.ts b/common/types/src/lcd/google/protobuf/any.ts index d7319f6a..df2bb7f9 100644 --- a/common/types/src/lcd/google/protobuf/any.ts +++ b/common/types/src/lcd/google/protobuf/any.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/any.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -201,7 +207,7 @@ export const Any = { }; function bytesFromBase64(b64: string): Uint8Array { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return Uint8Array.from(globalThis.Buffer.from(b64, "base64")); } else { const bin = globalThis.atob(b64); @@ -214,7 +220,7 @@ function bytesFromBase64(b64: string): Uint8Array { } function base64FromBytes(arr: Uint8Array): string { - if (globalThis.Buffer) { + if ((globalThis as any).Buffer) { return globalThis.Buffer.from(arr).toString("base64"); } else { const bin: string[] = []; diff --git a/common/types/src/lcd/google/protobuf/duration.ts b/common/types/src/lcd/google/protobuf/duration.ts index 00080d2e..99dc3ea9 100644 --- a/common/types/src/lcd/google/protobuf/duration.ts +++ b/common/types/src/lcd/google/protobuf/duration.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/duration.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/google/protobuf/timestamp.ts b/common/types/src/lcd/google/protobuf/timestamp.ts index 83d40f44..684c2ab2 100644 --- a/common/types/src/lcd/google/protobuf/timestamp.ts +++ b/common/types/src/lcd/google/protobuf/timestamp.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: google/protobuf/timestamp.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/bundles/module/module.ts b/common/types/src/lcd/kyve/bundles/module/module.ts new file mode 100644 index 00000000..f289c2b1 --- /dev/null +++ b/common/types/src/lcd/kyve/bundles/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.bundles.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts b/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts index e661c9d1..46da7e97 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/bundles.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/events.ts b/common/types/src/lcd/kyve/bundles/v1beta1/events.ts index 6c25f31a..6fcb6c9f 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BundleStatus, bundleStatusFromJSON, bundleStatusToJSON, bundleStatusToNumber } from "./bundles"; import { Params } from "./params"; import { VoteType, voteTypeFromJSON, voteTypeToJSON, voteTypeToNumber } from "./tx"; @@ -105,24 +112,29 @@ export interface EventBundleFinalized { total: string; /** status of the finalized bundle */ status: BundleStatus; - /** amount which funders provided to the total bundle reward (in ukyve) */ - funders_payout: string; + /** amount which funders provided to the total bundle reward */ + funders_payout: Coin[]; /** amount which the inflation pool provided to the total reward (in ukyve) */ inflation_payout: string; - /** rewards transferred to treasury (in ukyve) */ - reward_treasury: string; - /** rewardUploader rewards directly transferred to uploader (in ukyve) */ - reward_uploader: string; - /** rewardDelegation rewards distributed among all delegators (in ukyve) */ - reward_delegation: string; + /** rewards transferred to treasury */ + reward_treasury: Coin[]; + /** + * reward_uploader_commission are the commission rewards of the uploader. + * if the uploader has no delegations the delegation rewards are included here + */ + reward_uploader_commission: Coin[]; + /** rewardDelegation rewards distributed among all delegators */ + reward_delegation: Coin[]; /** rewardTotal the total bundle reward */ - reward_total: string; + reward_total: Coin[]; /** finalized_at the block height where the bundle got finalized */ finalized_at: string; /** uploader the address of the uploader of this bundle */ uploader: string; /** next_uploader the address of the next uploader after this bundle */ next_uploader: string; + /** reward_uploader_storage_cost are the storage cost rewards for the uploader */ + reward_uploader_storage_cost: Coin[]; } /** @@ -655,15 +667,16 @@ function createBaseEventBundleFinalized(): EventBundleFinalized { abstain: "0", total: "0", status: BundleStatus.BUNDLE_STATUS_UNSPECIFIED, - funders_payout: "0", + funders_payout: [], inflation_payout: "0", - reward_treasury: "0", - reward_uploader: "0", - reward_delegation: "0", - reward_total: "0", + reward_treasury: [], + reward_uploader_commission: [], + reward_delegation: [], + reward_total: [], finalized_at: "0", uploader: "", next_uploader: "", + reward_uploader_storage_cost: [], }; } @@ -690,23 +703,23 @@ export const EventBundleFinalized = { if (message.status !== BundleStatus.BUNDLE_STATUS_UNSPECIFIED) { writer.uint32(56).int32(bundleStatusToNumber(message.status)); } - if (message.funders_payout !== "0") { - writer.uint32(64).uint64(message.funders_payout); + for (const v of message.funders_payout) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } if (message.inflation_payout !== "0") { writer.uint32(72).uint64(message.inflation_payout); } - if (message.reward_treasury !== "0") { - writer.uint32(80).uint64(message.reward_treasury); + for (const v of message.reward_treasury) { + Coin.encode(v!, writer.uint32(82).fork()).ldelim(); } - if (message.reward_uploader !== "0") { - writer.uint32(88).uint64(message.reward_uploader); + for (const v of message.reward_uploader_commission) { + Coin.encode(v!, writer.uint32(90).fork()).ldelim(); } - if (message.reward_delegation !== "0") { - writer.uint32(96).uint64(message.reward_delegation); + for (const v of message.reward_delegation) { + Coin.encode(v!, writer.uint32(98).fork()).ldelim(); } - if (message.reward_total !== "0") { - writer.uint32(104).uint64(message.reward_total); + for (const v of message.reward_total) { + Coin.encode(v!, writer.uint32(106).fork()).ldelim(); } if (message.finalized_at !== "0") { writer.uint32(112).uint64(message.finalized_at); @@ -717,6 +730,9 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { writer.uint32(130).string(message.next_uploader); } + for (const v of message.reward_uploader_storage_cost) { + Coin.encode(v!, writer.uint32(138).fork()).ldelim(); + } return writer; }, @@ -777,11 +793,11 @@ export const EventBundleFinalized = { message.status = bundleStatusFromJSON(reader.int32()); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.funders_payout = longToString(reader.uint64() as Long); + message.funders_payout.push(Coin.decode(reader, reader.uint32())); continue; case 9: if (tag !== 72) { @@ -791,32 +807,32 @@ export const EventBundleFinalized = { message.inflation_payout = longToString(reader.uint64() as Long); continue; case 10: - if (tag !== 80) { + if (tag !== 82) { break; } - message.reward_treasury = longToString(reader.uint64() as Long); + message.reward_treasury.push(Coin.decode(reader, reader.uint32())); continue; case 11: - if (tag !== 88) { + if (tag !== 90) { break; } - message.reward_uploader = longToString(reader.uint64() as Long); + message.reward_uploader_commission.push(Coin.decode(reader, reader.uint32())); continue; case 12: - if (tag !== 96) { + if (tag !== 98) { break; } - message.reward_delegation = longToString(reader.uint64() as Long); + message.reward_delegation.push(Coin.decode(reader, reader.uint32())); continue; case 13: - if (tag !== 104) { + if (tag !== 106) { break; } - message.reward_total = longToString(reader.uint64() as Long); + message.reward_total.push(Coin.decode(reader, reader.uint32())); continue; case 14: if (tag !== 112) { @@ -839,6 +855,13 @@ export const EventBundleFinalized = { message.next_uploader = reader.string(); continue; + case 17: + if (tag !== 138) { + break; + } + + message.reward_uploader_storage_cost.push(Coin.decode(reader, reader.uint32())); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -857,15 +880,28 @@ export const EventBundleFinalized = { abstain: isSet(object.abstain) ? globalThis.String(object.abstain) : "0", total: isSet(object.total) ? globalThis.String(object.total) : "0", status: isSet(object.status) ? bundleStatusFromJSON(object.status) : BundleStatus.BUNDLE_STATUS_UNSPECIFIED, - funders_payout: isSet(object.funders_payout) ? globalThis.String(object.funders_payout) : "0", + funders_payout: globalThis.Array.isArray(object?.funders_payout) + ? object.funders_payout.map((e: any) => Coin.fromJSON(e)) + : [], inflation_payout: isSet(object.inflation_payout) ? globalThis.String(object.inflation_payout) : "0", - reward_treasury: isSet(object.reward_treasury) ? globalThis.String(object.reward_treasury) : "0", - reward_uploader: isSet(object.reward_uploader) ? globalThis.String(object.reward_uploader) : "0", - reward_delegation: isSet(object.reward_delegation) ? globalThis.String(object.reward_delegation) : "0", - reward_total: isSet(object.reward_total) ? globalThis.String(object.reward_total) : "0", + reward_treasury: globalThis.Array.isArray(object?.reward_treasury) + ? object.reward_treasury.map((e: any) => Coin.fromJSON(e)) + : [], + reward_uploader_commission: globalThis.Array.isArray(object?.reward_uploader_commission) + ? object.reward_uploader_commission.map((e: any) => Coin.fromJSON(e)) + : [], + reward_delegation: globalThis.Array.isArray(object?.reward_delegation) + ? object.reward_delegation.map((e: any) => Coin.fromJSON(e)) + : [], + reward_total: globalThis.Array.isArray(object?.reward_total) + ? object.reward_total.map((e: any) => Coin.fromJSON(e)) + : [], finalized_at: isSet(object.finalized_at) ? globalThis.String(object.finalized_at) : "0", uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", next_uploader: isSet(object.next_uploader) ? globalThis.String(object.next_uploader) : "", + reward_uploader_storage_cost: globalThis.Array.isArray(object?.reward_uploader_storage_cost) + ? object.reward_uploader_storage_cost.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -892,23 +928,23 @@ export const EventBundleFinalized = { if (message.status !== BundleStatus.BUNDLE_STATUS_UNSPECIFIED) { obj.status = bundleStatusToJSON(message.status); } - if (message.funders_payout !== "0") { - obj.funders_payout = message.funders_payout; + if (message.funders_payout?.length) { + obj.funders_payout = message.funders_payout.map((e) => Coin.toJSON(e)); } if (message.inflation_payout !== "0") { obj.inflation_payout = message.inflation_payout; } - if (message.reward_treasury !== "0") { - obj.reward_treasury = message.reward_treasury; + if (message.reward_treasury?.length) { + obj.reward_treasury = message.reward_treasury.map((e) => Coin.toJSON(e)); } - if (message.reward_uploader !== "0") { - obj.reward_uploader = message.reward_uploader; + if (message.reward_uploader_commission?.length) { + obj.reward_uploader_commission = message.reward_uploader_commission.map((e) => Coin.toJSON(e)); } - if (message.reward_delegation !== "0") { - obj.reward_delegation = message.reward_delegation; + if (message.reward_delegation?.length) { + obj.reward_delegation = message.reward_delegation.map((e) => Coin.toJSON(e)); } - if (message.reward_total !== "0") { - obj.reward_total = message.reward_total; + if (message.reward_total?.length) { + obj.reward_total = message.reward_total.map((e) => Coin.toJSON(e)); } if (message.finalized_at !== "0") { obj.finalized_at = message.finalized_at; @@ -919,6 +955,9 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { obj.next_uploader = message.next_uploader; } + if (message.reward_uploader_storage_cost?.length) { + obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost.map((e) => Coin.toJSON(e)); + } return obj; }, @@ -934,15 +973,16 @@ export const EventBundleFinalized = { message.abstain = object.abstain ?? "0"; message.total = object.total ?? "0"; message.status = object.status ?? BundleStatus.BUNDLE_STATUS_UNSPECIFIED; - message.funders_payout = object.funders_payout ?? "0"; + message.funders_payout = object.funders_payout?.map((e) => Coin.fromPartial(e)) || []; message.inflation_payout = object.inflation_payout ?? "0"; - message.reward_treasury = object.reward_treasury ?? "0"; - message.reward_uploader = object.reward_uploader ?? "0"; - message.reward_delegation = object.reward_delegation ?? "0"; - message.reward_total = object.reward_total ?? "0"; + message.reward_treasury = object.reward_treasury?.map((e) => Coin.fromPartial(e)) || []; + message.reward_uploader_commission = object.reward_uploader_commission?.map((e) => Coin.fromPartial(e)) || []; + message.reward_delegation = object.reward_delegation?.map((e) => Coin.fromPartial(e)) || []; + message.reward_total = object.reward_total?.map((e) => Coin.fromPartial(e)) || []; message.finalized_at = object.finalized_at ?? "0"; message.uploader = object.uploader ?? ""; message.next_uploader = object.next_uploader ?? ""; + message.reward_uploader_storage_cost = object.reward_uploader_storage_cost?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts b/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts index 4be66c46..3bf6d42d 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { BundleProposal, BundleVersionMap, FinalizedBundle, RoundRobinProgress } from "./bundles"; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/params.ts b/common/types/src/lcd/kyve/bundles/v1beta1/params.ts index f9f18d1a..404aa97e 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/params.ts @@ -1,23 +1,111 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "kyve.bundles.v1beta1"; +/** StorageCost defines the cost for storage providers */ +export interface StorageCost { + /** storage_provider_id is a unique identifier for each storage provider, such as Arweave, Irys, Filecoin, etc. */ + storage_provider_id: number; + /** cost is the amount in USD to store one byte on the storage provider. This value should be kept up-to-date. */ + cost: string; +} + /** Params defines the bundles module parameters. */ export interface Params { /** upload_timeout ... */ upload_timeout: string; - /** storage_cost ... */ - storage_cost: string; + /** storage_costs ... */ + storage_costs: StorageCost[]; /** network_fee ... */ network_fee: string; /** max_points ... */ max_points: string; } +function createBaseStorageCost(): StorageCost { + return { storage_provider_id: 0, cost: "" }; +} + +export const StorageCost = { + encode(message: StorageCost, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.storage_provider_id !== 0) { + writer.uint32(8).uint32(message.storage_provider_id); + } + if (message.cost !== "") { + writer.uint32(18).string(message.cost); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): StorageCost { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseStorageCost(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 8) { + break; + } + + message.storage_provider_id = reader.uint32(); + continue; + case 2: + if (tag !== 18) { + break; + } + + message.cost = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): StorageCost { + return { + storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, + cost: isSet(object.cost) ? globalThis.String(object.cost) : "", + }; + }, + + toJSON(message: StorageCost): unknown { + const obj: any = {}; + if (message.storage_provider_id !== 0) { + obj.storage_provider_id = Math.round(message.storage_provider_id); + } + if (message.cost !== "") { + obj.cost = message.cost; + } + return obj; + }, + + create, I>>(base?: I): StorageCost { + return StorageCost.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): StorageCost { + const message = createBaseStorageCost(); + message.storage_provider_id = object.storage_provider_id ?? 0; + message.cost = object.cost ?? ""; + return message; + }, +}; + function createBaseParams(): Params { - return { upload_timeout: "0", storage_cost: "", network_fee: "", max_points: "0" }; + return { upload_timeout: "0", storage_costs: [], network_fee: "", max_points: "0" }; } export const Params = { @@ -25,8 +113,8 @@ export const Params = { if (message.upload_timeout !== "0") { writer.uint32(8).uint64(message.upload_timeout); } - if (message.storage_cost !== "") { - writer.uint32(18).string(message.storage_cost); + for (const v of message.storage_costs) { + StorageCost.encode(v!, writer.uint32(18).fork()).ldelim(); } if (message.network_fee !== "") { writer.uint32(26).string(message.network_fee); @@ -56,7 +144,7 @@ export const Params = { break; } - message.storage_cost = reader.string(); + message.storage_costs.push(StorageCost.decode(reader, reader.uint32())); continue; case 3: if (tag !== 26) { @@ -84,7 +172,9 @@ export const Params = { fromJSON(object: any): Params { return { upload_timeout: isSet(object.upload_timeout) ? globalThis.String(object.upload_timeout) : "0", - storage_cost: isSet(object.storage_cost) ? globalThis.String(object.storage_cost) : "", + storage_costs: globalThis.Array.isArray(object?.storage_costs) + ? object.storage_costs.map((e: any) => StorageCost.fromJSON(e)) + : [], network_fee: isSet(object.network_fee) ? globalThis.String(object.network_fee) : "", max_points: isSet(object.max_points) ? globalThis.String(object.max_points) : "0", }; @@ -95,8 +185,8 @@ export const Params = { if (message.upload_timeout !== "0") { obj.upload_timeout = message.upload_timeout; } - if (message.storage_cost !== "") { - obj.storage_cost = message.storage_cost; + if (message.storage_costs?.length) { + obj.storage_costs = message.storage_costs.map((e) => StorageCost.toJSON(e)); } if (message.network_fee !== "") { obj.network_fee = message.network_fee; @@ -113,7 +203,7 @@ export const Params = { fromPartial, I>>(object: I): Params { const message = createBaseParams(); message.upload_timeout = object.upload_timeout ?? "0"; - message.storage_cost = object.storage_cost ?? ""; + message.storage_costs = object.storage_costs?.map((e) => StorageCost.fromPartial(e)) || []; message.network_fee = object.network_fee ?? ""; message.max_points = object.max_points ?? "0"; return message; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/query.ts b/common/types/src/lcd/kyve/bundles/v1beta1/query.ts index ddd88889..3719dbdd 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts b/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts index 36511c51..cb64fbc0 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/bundles/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/delegation/module/module.ts b/common/types/src/lcd/kyve/delegation/module/module.ts new file mode 100644 index 00000000..4a0836c6 --- /dev/null +++ b/common/types/src/lcd/kyve/delegation/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.delegation.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts b/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts index 9fe6a900..891680b0 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/delegation.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin, DecCoin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.delegation.v1beta1"; @@ -101,7 +108,7 @@ export interface DelegationEntry { /** k_index is the of the period this entry ends */ k_index: string; /** value is the quotient of collected rewards and total stake according to F1-distribution */ - value: string; + value: DecCoin[]; } /** DelegationPoolData stores general delegation information for every staker */ @@ -109,7 +116,7 @@ export interface DelegationData { /** Every staker has one DelegationData */ staker: string; /** current_rewards ... */ - current_rewards: string; + current_rewards: Coin[]; /** total_delegation ... */ total_delegation: string; /** latest_index_k ... */ @@ -269,7 +276,7 @@ export const Delegator = { }; function createBaseDelegationEntry(): DelegationEntry { - return { staker: "", k_index: "0", value: "" }; + return { staker: "", k_index: "0", value: [] }; } export const DelegationEntry = { @@ -280,8 +287,8 @@ export const DelegationEntry = { if (message.k_index !== "0") { writer.uint32(16).uint64(message.k_index); } - if (message.value !== "") { - writer.uint32(26).string(message.value); + for (const v of message.value) { + DecCoin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -312,7 +319,7 @@ export const DelegationEntry = { break; } - message.value = reader.string(); + message.value.push(DecCoin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -327,7 +334,7 @@ export const DelegationEntry = { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", k_index: isSet(object.k_index) ? globalThis.String(object.k_index) : "0", - value: isSet(object.value) ? globalThis.String(object.value) : "", + value: globalThis.Array.isArray(object?.value) ? object.value.map((e: any) => DecCoin.fromJSON(e)) : [], }; }, @@ -339,8 +346,8 @@ export const DelegationEntry = { if (message.k_index !== "0") { obj.k_index = message.k_index; } - if (message.value !== "") { - obj.value = message.value; + if (message.value?.length) { + obj.value = message.value.map((e) => DecCoin.toJSON(e)); } return obj; }, @@ -352,7 +359,7 @@ export const DelegationEntry = { const message = createBaseDelegationEntry(); message.staker = object.staker ?? ""; message.k_index = object.k_index ?? "0"; - message.value = object.value ?? ""; + message.value = object.value?.map((e) => DecCoin.fromPartial(e)) || []; return message; }, }; @@ -360,7 +367,7 @@ export const DelegationEntry = { function createBaseDelegationData(): DelegationData { return { staker: "", - current_rewards: "0", + current_rewards: [], total_delegation: "0", latest_index_k: "0", delegator_count: "0", @@ -373,8 +380,8 @@ export const DelegationData = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - if (message.current_rewards !== "0") { - writer.uint32(16).uint64(message.current_rewards); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } if (message.total_delegation !== "0") { writer.uint32(24).uint64(message.total_delegation); @@ -385,7 +392,7 @@ export const DelegationData = { if (message.delegator_count !== "0") { writer.uint32(40).uint64(message.delegator_count); } - if (message.latest_index_was_undelegation === true) { + if (message.latest_index_was_undelegation !== false) { writer.uint32(48).bool(message.latest_index_was_undelegation); } return writer; @@ -406,11 +413,11 @@ export const DelegationData = { message.staker = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.current_rewards = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -452,7 +459,9 @@ export const DelegationData = { fromJSON(object: any): DelegationData { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - current_rewards: isSet(object.current_rewards) ? globalThis.String(object.current_rewards) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], total_delegation: isSet(object.total_delegation) ? globalThis.String(object.total_delegation) : "0", latest_index_k: isSet(object.latest_index_k) ? globalThis.String(object.latest_index_k) : "0", delegator_count: isSet(object.delegator_count) ? globalThis.String(object.delegator_count) : "0", @@ -467,8 +476,8 @@ export const DelegationData = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.current_rewards !== "0") { - obj.current_rewards = message.current_rewards; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.total_delegation !== "0") { obj.total_delegation = message.total_delegation; @@ -479,7 +488,7 @@ export const DelegationData = { if (message.delegator_count !== "0") { obj.delegator_count = message.delegator_count; } - if (message.latest_index_was_undelegation === true) { + if (message.latest_index_was_undelegation !== false) { obj.latest_index_was_undelegation = message.latest_index_was_undelegation; } return obj; @@ -491,7 +500,7 @@ export const DelegationData = { fromPartial, I>>(object: I): DelegationData { const message = createBaseDelegationData(); message.staker = object.staker ?? ""; - message.current_rewards = object.current_rewards ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; message.latest_index_k = object.latest_index_k ?? "0"; message.delegator_count = object.delegator_count ?? "0"; diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/events.ts b/common/types/src/lcd/kyve/delegation/v1beta1/events.ts index 026a935d..46e02d4b 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { SlashType, slashTypeFromJSON, slashTypeToJSON, slashTypeToNumber } from "./delegation"; import { Params } from "./params"; @@ -92,7 +99,7 @@ export interface EventWithdrawRewards { /** staker is the account address of the protocol node the users withdraws from. */ staker: string; /** amount ... */ - amount: string; + amount: Coin[]; } /** @@ -592,7 +599,7 @@ export const EventRedelegate = { }; function createBaseEventWithdrawRewards(): EventWithdrawRewards { - return { address: "", staker: "", amount: "0" }; + return { address: "", staker: "", amount: [] }; } export const EventWithdrawRewards = { @@ -603,8 +610,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { writer.uint32(18).string(message.staker); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -631,11 +638,11 @@ export const EventWithdrawRewards = { message.staker = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -650,7 +657,7 @@ export const EventWithdrawRewards = { return { address: isSet(object.address) ? globalThis.String(object.address) : "", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -662,8 +669,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -675,7 +682,7 @@ export const EventWithdrawRewards = { const message = createBaseEventWithdrawRewards(); message.address = object.address ?? ""; message.staker = object.staker ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts b/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts index 26474063..403c0f99 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/params.ts b/common/types/src/lcd/kyve/delegation/v1beta1/params.ts index 9d495c1f..0868bbc3 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/query.ts b/common/types/src/lcd/kyve/delegation/v1beta1/query.ts index fa3a3652..1574a710 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts b/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts index 12cbf4c9..3583aec6 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/delegation/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/funders/module/module.ts b/common/types/src/lcd/kyve/funders/module/module.ts new file mode 100644 index 00000000..a1f793ad --- /dev/null +++ b/common/types/src/lcd/kyve/funders/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.funders.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/funders/v1beta1/events.ts b/common/types/src/lcd/kyve/funders/v1beta1/events.ts index ab37613d..741869a6 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -69,10 +76,10 @@ export interface EventFundPool { pool_id: string; /** address is the account address of the pool funder. */ address: string; - /** amount is the amount in ukyve the funder has funded */ - amount: string; - /** amount_per_bundle is the amount in ukyve the funder has funded per bundle */ - amount_per_bundle: string; + /** amounts is a list of coins the funder has funded */ + amounts: Coin[]; + /** amounts_per_bundle is a list of coins the funder wants to distribute per finalized bundle */ + amounts_per_bundle: Coin[]; } /** @@ -84,8 +91,8 @@ export interface EventDefundPool { pool_id: string; /** address is the account address of the pool funder. */ address: string; - /** amount is the amount in ukyve the funder has defunded */ - amount: string; + /** amounts is a list of coins that the funder wants to defund */ + amounts: Coin[]; } /** @@ -459,7 +466,7 @@ export const EventUpdateFunder = { }; function createBaseEventFundPool(): EventFundPool { - return { pool_id: "0", address: "", amount: "0", amount_per_bundle: "0" }; + return { pool_id: "0", address: "", amounts: [], amounts_per_bundle: [] }; } export const EventFundPool = { @@ -470,11 +477,11 @@ export const EventFundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -501,18 +508,18 @@ export const EventFundPool = { message.address = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -527,8 +534,10 @@ export const EventFundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -540,11 +549,11 @@ export const EventFundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } return obj; }, @@ -556,14 +565,14 @@ export const EventFundPool = { const message = createBaseEventFundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; function createBaseEventDefundPool(): EventDefundPool { - return { pool_id: "0", address: "", amount: "0" }; + return { pool_id: "0", address: "", amounts: [] }; } export const EventDefundPool = { @@ -574,8 +583,8 @@ export const EventDefundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -602,11 +611,11 @@ export const EventDefundPool = { message.address = reader.string(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -621,7 +630,7 @@ export const EventDefundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -633,8 +642,8 @@ export const EventDefundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -646,7 +655,7 @@ export const EventDefundPool = { const message = createBaseEventDefundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/funders/v1beta1/funders.ts b/common/types/src/lcd/kyve/funders/v1beta1/funders.ts index f608aca4..477123ad 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/funders.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/funders.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/funders.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -27,16 +34,19 @@ export interface Funder { * by each funder once. However, a funder can update the amount of funds. */ export interface Funding { - /** funder_id is the id of the funder */ + /** funder_address is the address of the funder */ funder_address: string; /** pool_id is the id of the pool this funding is for */ pool_id: string; - /** amount is the amount of funds in ukyve the funder has left */ - amount: string; - /** amount_per_bundle is the amount of funds in ukyve the funder pays per bundle */ - amount_per_bundle: string; - /** total_funded is the total amount of funds in ukyve the funder has funded */ - total_funded: string; + /** amounts is a list of coins the funder wants to fund the pool with */ + amounts: Coin[]; + /** + * amounts_per_bundle defines the amount of each coin that are distributed + * per finalized bundle + */ + amounts_per_bundle: Coin[]; + /** total_funded is the total amount of coins that the funder has funded */ + total_funded: Coin[]; } /** FundingState is the object which holds info about the funding state of a pool */ @@ -182,7 +192,7 @@ export const Funder = { }; function createBaseFunding(): Funding { - return { funder_address: "", pool_id: "0", amount: "0", amount_per_bundle: "0", total_funded: "0" }; + return { funder_address: "", pool_id: "0", amounts: [], amounts_per_bundle: [], total_funded: [] }; } export const Funding = { @@ -193,14 +203,14 @@ export const Funding = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } - if (message.total_funded !== "0") { - writer.uint32(40).uint64(message.total_funded); + for (const v of message.total_funded) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -227,25 +237,25 @@ export const Funding = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.total_funded = longToString(reader.uint64() as Long); + message.total_funded.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -260,9 +270,13 @@ export const Funding = { return { funder_address: isSet(object.funder_address) ? globalThis.String(object.funder_address) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", - total_funded: isSet(object.total_funded) ? globalThis.String(object.total_funded) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], + total_funded: globalThis.Array.isArray(object?.total_funded) + ? object.total_funded.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -274,14 +288,14 @@ export const Funding = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } - if (message.total_funded !== "0") { - obj.total_funded = message.total_funded; + if (message.total_funded?.length) { + obj.total_funded = message.total_funded.map((e) => Coin.toJSON(e)); } return obj; }, @@ -293,9 +307,9 @@ export const Funding = { const message = createBaseFunding(); message.funder_address = object.funder_address ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; - message.total_funded = object.total_funded ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.total_funded = object.total_funded?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts b/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts index d20082de..6d119ecf 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Funder, Funding, FundingState } from "./funders"; diff --git a/common/types/src/lcd/kyve/funders/v1beta1/params.ts b/common/types/src/lcd/kyve/funders/v1beta1/params.ts index 6c494a7c..067e9e88 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/params.ts @@ -1,68 +1,109 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "kyve.funders.v1beta1"; -/** Params defines the funders module parameters. */ -export interface Params { - /** Minimum amount of tokens that can be funded. */ +/** + * WhitelistCoinEntry is an object containing information around a coin which + * is allowed to be funded in pools + */ +export interface WhitelistCoinEntry { + /** + * coin_denom is the denom of a coin which is allowed to be funded, this value + * needs to be unique + */ + coin_denom: string; + /** + * min_funding_amount is the minimum required amount of this denom that needs + * to be funded + */ min_funding_amount: string; - /** Minimum amount of tokens that can be funded per bundle. */ + /** + * min_funding_amount_per_bundle is the minimum required amount of this denom + * that needs to be funded per bundle + */ min_funding_amount_per_bundle: string; + /** + * coin_weight is a factor used to sort funders after their funding amounts. + * This should be the market price of the coin in USD/coin. This value should be kept up-to-date. + */ + coin_weight: string; +} + +/** Params defines the funders module parameters. */ +export interface Params { + /** coin_whitelist is a list of coins that are allowed to fund a pool */ + coin_whitelist: WhitelistCoinEntry[]; /** * Minimum ratio between the funded amount and the amount_per_bundle. - * In other words this param ensures, that a funder provides at least funding for - * `min_funding_multiple` bundles. + * In other words this param ensures, that a funder provides at least + * funding for `min_funding_multiple` bundles. */ min_funding_multiple: string; } -function createBaseParams(): Params { - return { min_funding_amount: "0", min_funding_amount_per_bundle: "0", min_funding_multiple: "0" }; +function createBaseWhitelistCoinEntry(): WhitelistCoinEntry { + return { coin_denom: "", min_funding_amount: "0", min_funding_amount_per_bundle: "0", coin_weight: "" }; } -export const Params = { - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { +export const WhitelistCoinEntry = { + encode(message: WhitelistCoinEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.coin_denom !== "") { + writer.uint32(10).string(message.coin_denom); + } if (message.min_funding_amount !== "0") { - writer.uint32(8).uint64(message.min_funding_amount); + writer.uint32(16).uint64(message.min_funding_amount); } if (message.min_funding_amount_per_bundle !== "0") { - writer.uint32(16).uint64(message.min_funding_amount_per_bundle); + writer.uint32(24).uint64(message.min_funding_amount_per_bundle); } - if (message.min_funding_multiple !== "0") { - writer.uint32(24).uint64(message.min_funding_multiple); + if (message.coin_weight !== "") { + writer.uint32(34).string(message.coin_weight); } return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { + decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistCoinEntry { const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); + const message = createBaseWhitelistCoinEntry(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 8) { + if (tag !== 10) { break; } - message.min_funding_amount = longToString(reader.uint64() as Long); + message.coin_denom = reader.string(); continue; case 2: if (tag !== 16) { break; } - message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + message.min_funding_amount = longToString(reader.uint64() as Long); continue; case 3: if (tag !== 24) { break; } - message.min_funding_multiple = longToString(reader.uint64() as Long); + message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + continue; + case 4: + if (tag !== 34) { + break; + } + + message.coin_weight = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -73,24 +114,106 @@ export const Params = { return message; }, - fromJSON(object: any): Params { + fromJSON(object: any): WhitelistCoinEntry { return { + coin_denom: isSet(object.coin_denom) ? globalThis.String(object.coin_denom) : "", min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "0", min_funding_amount_per_bundle: isSet(object.min_funding_amount_per_bundle) ? globalThis.String(object.min_funding_amount_per_bundle) : "0", - min_funding_multiple: isSet(object.min_funding_multiple) ? globalThis.String(object.min_funding_multiple) : "0", + coin_weight: isSet(object.coin_weight) ? globalThis.String(object.coin_weight) : "", }; }, - toJSON(message: Params): unknown { + toJSON(message: WhitelistCoinEntry): unknown { const obj: any = {}; + if (message.coin_denom !== "") { + obj.coin_denom = message.coin_denom; + } if (message.min_funding_amount !== "0") { obj.min_funding_amount = message.min_funding_amount; } if (message.min_funding_amount_per_bundle !== "0") { obj.min_funding_amount_per_bundle = message.min_funding_amount_per_bundle; } + if (message.coin_weight !== "") { + obj.coin_weight = message.coin_weight; + } + return obj; + }, + + create, I>>(base?: I): WhitelistCoinEntry { + return WhitelistCoinEntry.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): WhitelistCoinEntry { + const message = createBaseWhitelistCoinEntry(); + message.coin_denom = object.coin_denom ?? ""; + message.min_funding_amount = object.min_funding_amount ?? "0"; + message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_weight = object.coin_weight ?? ""; + return message; + }, +}; + +function createBaseParams(): Params { + return { coin_whitelist: [], min_funding_multiple: "0" }; +} + +export const Params = { + encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.coin_whitelist) { + WhitelistCoinEntry.encode(v!, writer.uint32(10).fork()).ldelim(); + } + if (message.min_funding_multiple !== "0") { + writer.uint32(16).uint64(message.min_funding_multiple); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Params { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseParams(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.coin_whitelist.push(WhitelistCoinEntry.decode(reader, reader.uint32())); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.min_funding_multiple = longToString(reader.uint64() as Long); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Params { + return { + coin_whitelist: globalThis.Array.isArray(object?.coin_whitelist) + ? object.coin_whitelist.map((e: any) => WhitelistCoinEntry.fromJSON(e)) + : [], + min_funding_multiple: isSet(object.min_funding_multiple) ? globalThis.String(object.min_funding_multiple) : "0", + }; + }, + + toJSON(message: Params): unknown { + const obj: any = {}; + if (message.coin_whitelist?.length) { + obj.coin_whitelist = message.coin_whitelist.map((e) => WhitelistCoinEntry.toJSON(e)); + } if (message.min_funding_multiple !== "0") { obj.min_funding_multiple = message.min_funding_multiple; } @@ -102,8 +225,7 @@ export const Params = { }, fromPartial, I>>(object: I): Params { const message = createBaseParams(); - message.min_funding_amount = object.min_funding_amount ?? "0"; - message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_whitelist = object.coin_whitelist?.map((e) => WhitelistCoinEntry.fromPartial(e)) || []; message.min_funding_multiple = object.min_funding_multiple ?? "0"; return message; }, diff --git a/common/types/src/lcd/kyve/funders/v1beta1/query.ts b/common/types/src/lcd/kyve/funders/v1beta1/query.ts index 7c6d4bbc..dd5cb17c 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/funders/v1beta1/tx.ts b/common/types/src/lcd/kyve/funders/v1beta1/tx.ts index 320d9934..1838b452 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/tx.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/funders/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -46,14 +53,17 @@ export interface MsgUpdateFunderResponse { /** MsgFundPool defines a SDK message for funding a pool. */ export interface MsgFundPool { - /** creator ... */ + /** creator is the funder of the pool */ creator: string; - /** id ... */ + /** pool_id is the identifier of the pool */ pool_id: string; - /** amount is the total amount available for distribution */ - amount: string; - /** amount_per_bundle defines the amount of tokens that are distributed per submitted bundle */ - amount_per_bundle: string; + /** amounts is a list of coins the creator wants to fund */ + amounts: Coin[]; + /** + * amounts_per_bundle is a list of coins the creator wants to distribute + * per finalized bundle + */ + amounts_per_bundle: Coin[]; } /** MsgFundPoolResponse defines the Msg/DefundPool response type. */ @@ -62,12 +72,12 @@ export interface MsgFundPoolResponse { /** MsgDefundPool defines a SDK message for defunding a pool. */ export interface MsgDefundPool { - /** creator ... */ + /** creator is the funder of the pool who wants to defund now */ creator: string; - /** id ... */ + /** pool_id is the identifier of the pool */ pool_id: string; - /** amount ... */ - amount: string; + /** amounts is a list of coins the creator wants to defund from the pool */ + amounts: Coin[]; } /** MsgDefundPoolResponse defines the Msg/DefundPool response type. */ @@ -441,7 +451,7 @@ export const MsgUpdateFunderResponse = { }; function createBaseMsgFundPool(): MsgFundPool { - return { creator: "", pool_id: "0", amount: "0", amount_per_bundle: "0" }; + return { creator: "", pool_id: "0", amounts: [], amounts_per_bundle: [] }; } export const MsgFundPool = { @@ -452,11 +462,11 @@ export const MsgFundPool = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -483,18 +493,18 @@ export const MsgFundPool = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -509,8 +519,10 @@ export const MsgFundPool = { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -522,11 +534,11 @@ export const MsgFundPool = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } return obj; }, @@ -538,8 +550,8 @@ export const MsgFundPool = { const message = createBaseMsgFundPool(); message.creator = object.creator ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -588,7 +600,7 @@ export const MsgFundPoolResponse = { }; function createBaseMsgDefundPool(): MsgDefundPool { - return { creator: "", pool_id: "0", amount: "0" }; + return { creator: "", pool_id: "0", amounts: [] }; } export const MsgDefundPool = { @@ -599,8 +611,8 @@ export const MsgDefundPool = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -627,11 +639,11 @@ export const MsgDefundPool = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -646,7 +658,7 @@ export const MsgDefundPool = { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -658,8 +670,8 @@ export const MsgDefundPool = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -671,7 +683,7 @@ export const MsgDefundPool = { const message = createBaseMsgDefundPool(); message.creator = object.creator ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/global/module/module.ts b/common/types/src/lcd/kyve/global/module/module.ts new file mode 100644 index 00000000..659044ab --- /dev/null +++ b/common/types/src/lcd/kyve/global/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.global.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/global/v1beta1/events.ts b/common/types/src/lcd/kyve/global/v1beta1/events.ts index 0bdef677..d21b23ef 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/events.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/lcd/kyve/global/v1beta1/genesis.ts b/common/types/src/lcd/kyve/global/v1beta1/genesis.ts index b71700a5..14af13ee 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/lcd/kyve/global/v1beta1/global.ts b/common/types/src/lcd/kyve/global/v1beta1/global.ts index 2255ca35..a7b04716 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/global.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/global.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/global.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/global/v1beta1/query.ts b/common/types/src/lcd/kyve/global/v1beta1/query.ts index 21b07e42..f1557a59 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./global"; diff --git a/common/types/src/lcd/kyve/global/v1beta1/tx.ts b/common/types/src/lcd/kyve/global/v1beta1/tx.ts index 054f931a..e7e0953b 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/global/v1beta1/tx.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/pool/module/module.ts b/common/types/src/lcd/kyve/pool/module/module.ts new file mode 100644 index 00000000..63de1f11 --- /dev/null +++ b/common/types/src/lcd/kyve/pool/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.pool.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/pool/v1beta1/events.ts b/common/types/src/lcd/kyve/pool/v1beta1/events.ts index 0335bbc4..8e9ecff0 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -79,6 +85,11 @@ export interface EventCreatePool { * get compressed with */ compression_id: number; + /** + * end_key is the last key before the pool should stop indexing, it is + * inclusive + */ + end_key: string; } /** @@ -310,6 +321,7 @@ function createBaseEventCreatePool(): EventCreatePool { binaries: "", storage_provider_id: 0, compression_id: 0, + end_key: "", }; } @@ -357,6 +369,9 @@ export const EventCreatePool = { if (message.compression_id !== 0) { writer.uint32(112).uint32(message.compression_id); } + if (message.end_key !== "") { + writer.uint32(122).string(message.end_key); + } return writer; }, @@ -465,6 +480,13 @@ export const EventCreatePool = { message.compression_id = reader.uint32(); continue; + case 15: + if (tag !== 122) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -492,6 +514,7 @@ export const EventCreatePool = { binaries: isSet(object.binaries) ? globalThis.String(object.binaries) : "", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, compression_id: isSet(object.compression_id) ? globalThis.Number(object.compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -539,6 +562,9 @@ export const EventCreatePool = { if (message.compression_id !== 0) { obj.compression_id = Math.round(message.compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -561,6 +587,7 @@ export const EventCreatePool = { message.binaries = object.binaries ?? ""; message.storage_provider_id = object.storage_provider_id ?? 0; message.compression_id = object.compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts b/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts index 10b7383f..d48a82be 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/genesis.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/params.ts b/common/types/src/lcd/kyve/pool/v1beta1/params.ts index 67eb92d7..f451b94a 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/params.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; @@ -9,10 +15,12 @@ export interface Params { protocol_inflation_share: string; /** pool_inflation_payout_rate ... */ pool_inflation_payout_rate: string; + /** max_voting_power_per_pool ... */ + max_voting_power_per_pool: string; } function createBaseParams(): Params { - return { protocol_inflation_share: "", pool_inflation_payout_rate: "" }; + return { protocol_inflation_share: "", pool_inflation_payout_rate: "", max_voting_power_per_pool: "" }; } export const Params = { @@ -23,6 +31,9 @@ export const Params = { if (message.pool_inflation_payout_rate !== "") { writer.uint32(18).string(message.pool_inflation_payout_rate); } + if (message.max_voting_power_per_pool !== "") { + writer.uint32(26).string(message.max_voting_power_per_pool); + } return writer; }, @@ -47,6 +58,13 @@ export const Params = { message.pool_inflation_payout_rate = reader.string(); continue; + case 3: + if (tag !== 26) { + break; + } + + message.max_voting_power_per_pool = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -64,6 +82,9 @@ export const Params = { pool_inflation_payout_rate: isSet(object.pool_inflation_payout_rate) ? globalThis.String(object.pool_inflation_payout_rate) : "", + max_voting_power_per_pool: isSet(object.max_voting_power_per_pool) + ? globalThis.String(object.max_voting_power_per_pool) + : "", }; }, @@ -75,6 +96,9 @@ export const Params = { if (message.pool_inflation_payout_rate !== "") { obj.pool_inflation_payout_rate = message.pool_inflation_payout_rate; } + if (message.max_voting_power_per_pool !== "") { + obj.max_voting_power_per_pool = message.max_voting_power_per_pool; + } return obj; }, @@ -85,6 +109,7 @@ export const Params = { const message = createBaseParams(); message.protocol_inflation_share = object.protocol_inflation_share ?? ""; message.pool_inflation_payout_rate = object.pool_inflation_payout_rate ?? ""; + message.max_voting_power_per_pool = object.max_voting_power_per_pool ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/pool.ts b/common/types/src/lcd/kyve/pool/v1beta1/pool.ts index 5c177df7..94f768b3 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/pool.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/pool.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/pool.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -42,6 +48,11 @@ export enum PoolStatus { * has more than 50% voting power and that the pool is halted */ POOL_STATUS_VOTING_POWER_TOO_HIGH = "POOL_STATUS_VOTING_POWER_TOO_HIGH", + /** + * POOL_STATUS_END_KEY_REACHED - POOL_STATUS_END_KEY_REACHED indicates, that the end key has been + * reached and that the pool is halted + */ + POOL_STATUS_END_KEY_REACHED = "POOL_STATUS_END_KEY_REACHED", UNRECOGNIZED = "UNRECOGNIZED", } @@ -68,6 +79,9 @@ export function poolStatusFromJSON(object: any): PoolStatus { case 6: case "POOL_STATUS_VOTING_POWER_TOO_HIGH": return PoolStatus.POOL_STATUS_VOTING_POWER_TOO_HIGH; + case 7: + case "POOL_STATUS_END_KEY_REACHED": + return PoolStatus.POOL_STATUS_END_KEY_REACHED; case -1: case "UNRECOGNIZED": default: @@ -91,6 +105,8 @@ export function poolStatusToJSON(object: PoolStatus): string { return "POOL_STATUS_UPGRADING"; case PoolStatus.POOL_STATUS_VOTING_POWER_TOO_HIGH: return "POOL_STATUS_VOTING_POWER_TOO_HIGH"; + case PoolStatus.POOL_STATUS_END_KEY_REACHED: + return "POOL_STATUS_END_KEY_REACHED"; case PoolStatus.UNRECOGNIZED: default: return "UNRECOGNIZED"; @@ -113,6 +129,8 @@ export function poolStatusToNumber(object: PoolStatus): number { return 5; case PoolStatus.POOL_STATUS_VOTING_POWER_TOO_HIGH: return 6; + case PoolStatus.POOL_STATUS_END_KEY_REACHED: + return 7; case PoolStatus.UNRECOGNIZED: default: return -1; @@ -204,6 +222,11 @@ export interface Pool { current_storage_provider_id: number; /** compression_id ... */ current_compression_id: number; + /** + * end_key is the last key before the pool should stop indexing, it is + * inclusive + */ + end_key: string; } function createBaseProtocol(): Protocol { @@ -420,6 +443,7 @@ function createBasePool(): Pool { upgrade_plan: undefined, current_storage_provider_id: 0, current_compression_id: 0, + end_key: "", }; } @@ -467,7 +491,7 @@ export const Pool = { if (message.max_bundle_size !== "0") { writer.uint32(112).uint64(message.max_bundle_size); } - if (message.disabled === true) { + if (message.disabled !== false) { writer.uint32(120).bool(message.disabled); } if (message.protocol !== undefined) { @@ -482,6 +506,9 @@ export const Pool = { if (message.current_compression_id !== 0) { writer.uint32(152).uint32(message.current_compression_id); } + if (message.end_key !== "") { + writer.uint32(162).string(message.end_key); + } return writer; }, @@ -625,6 +652,13 @@ export const Pool = { message.current_compression_id = reader.uint32(); continue; + case 20: + if (tag !== 162) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -661,6 +695,7 @@ export const Pool = { current_compression_id: isSet(object.current_compression_id) ? globalThis.Number(object.current_compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -708,7 +743,7 @@ export const Pool = { if (message.max_bundle_size !== "0") { obj.max_bundle_size = message.max_bundle_size; } - if (message.disabled === true) { + if (message.disabled !== false) { obj.disabled = message.disabled; } if (message.protocol !== undefined) { @@ -723,6 +758,9 @@ export const Pool = { if (message.current_compression_id !== 0) { obj.current_compression_id = Math.round(message.current_compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -754,6 +792,7 @@ export const Pool = { : undefined; message.current_storage_provider_id = object.current_storage_provider_id ?? 0; message.current_compression_id = object.current_compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/query.ts b/common/types/src/lcd/kyve/pool/v1beta1/query.ts index 07d65355..8cf05544 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/tx.ts b/common/types/src/lcd/kyve/pool/v1beta1/tx.ts index 427b58fa..2b54fb69 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/pool/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -34,6 +40,8 @@ export interface MsgCreatePool { storage_provider_id: number; /** compression_id ... */ compression_id: number; + /** end_key ... */ + end_key: string; } /** MsgCreatePoolResponse defines the Msg/CreatePool response type. */ @@ -138,6 +146,7 @@ function createBaseMsgCreatePool(): MsgCreatePool { binaries: "", storage_provider_id: 0, compression_id: 0, + end_key: "", }; } @@ -185,6 +194,9 @@ export const MsgCreatePool = { if (message.compression_id !== 0) { writer.uint32(112).uint32(message.compression_id); } + if (message.end_key !== "") { + writer.uint32(122).string(message.end_key); + } return writer; }, @@ -293,6 +305,13 @@ export const MsgCreatePool = { message.compression_id = reader.uint32(); continue; + case 15: + if (tag !== 122) { + break; + } + + message.end_key = reader.string(); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -320,6 +339,7 @@ export const MsgCreatePool = { binaries: isSet(object.binaries) ? globalThis.String(object.binaries) : "", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, compression_id: isSet(object.compression_id) ? globalThis.Number(object.compression_id) : 0, + end_key: isSet(object.end_key) ? globalThis.String(object.end_key) : "", }; }, @@ -367,6 +387,9 @@ export const MsgCreatePool = { if (message.compression_id !== 0) { obj.compression_id = Math.round(message.compression_id); } + if (message.end_key !== "") { + obj.end_key = message.end_key; + } return obj; }, @@ -389,6 +412,7 @@ export const MsgCreatePool = { message.binaries = object.binaries ?? ""; message.storage_provider_id = object.storage_provider_id ?? 0; message.compression_id = object.compression_id ?? 0; + message.end_key = object.end_key ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/query/module/module.ts b/common/types/src/lcd/kyve/query/module/module.ts new file mode 100644 index 00000000..51604557 --- /dev/null +++ b/common/types/src/lcd/kyve/query/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.query.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/query/v1beta1/account.ts b/common/types/src/lcd/kyve/query/v1beta1/account.ts index b58d92db..ab020049 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/account.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/account.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/account.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BasicPool, FullStaker } from "./query"; export const protobufPackage = "kyve.query.v1beta1"; @@ -18,16 +25,16 @@ export interface QueryAccountAssetsResponse { balance: string; /** protocol_staking ... */ protocol_self_delegation: string; - /** protocol_staking_unbonding */ + /** protocol_staking_unbonding ... */ protocol_self_delegation_unbonding: string; /** protocol_delegation ... */ protocol_delegation: string; - /** protocol_delegation_unbonding */ + /** protocol_delegation_unbonding ... */ protocol_delegation_unbonding: string; /** protocol_rewards ... */ - protocol_rewards: string; + protocol_rewards: Coin[]; /** protocol_funding ... */ - protocol_funding: string; + protocol_funding: Coin[]; } /** QueryAccountFundedListRequest ... */ @@ -72,8 +79,8 @@ export interface QueryAccountFundedListResponse { /** Funded ... */ export interface Funded { - /** amount ... */ - amount: string; + /** amounts ... */ + amounts: Coin[]; /** pool ... */ pool?: BasicPool | undefined; } @@ -164,8 +171,8 @@ function createBaseQueryAccountAssetsResponse(): QueryAccountAssetsResponse { protocol_self_delegation_unbonding: "0", protocol_delegation: "0", protocol_delegation_unbonding: "0", - protocol_rewards: "0", - protocol_funding: "0", + protocol_rewards: [], + protocol_funding: [], }; } @@ -186,11 +193,11 @@ export const QueryAccountAssetsResponse = { if (message.protocol_delegation_unbonding !== "0") { writer.uint32(40).uint64(message.protocol_delegation_unbonding); } - if (message.protocol_rewards !== "0") { - writer.uint32(48).uint64(message.protocol_rewards); + for (const v of message.protocol_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } - if (message.protocol_funding !== "0") { - writer.uint32(56).uint64(message.protocol_funding); + for (const v of message.protocol_funding) { + Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } return writer; }, @@ -238,18 +245,18 @@ export const QueryAccountAssetsResponse = { message.protocol_delegation_unbonding = longToString(reader.uint64() as Long); continue; case 6: - if (tag !== 48) { + if (tag !== 50) { break; } - message.protocol_rewards = longToString(reader.uint64() as Long); + message.protocol_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 7: - if (tag !== 56) { + if (tag !== 58) { break; } - message.protocol_funding = longToString(reader.uint64() as Long); + message.protocol_funding.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -273,8 +280,12 @@ export const QueryAccountAssetsResponse = { protocol_delegation_unbonding: isSet(object.protocol_delegation_unbonding) ? globalThis.String(object.protocol_delegation_unbonding) : "0", - protocol_rewards: isSet(object.protocol_rewards) ? globalThis.String(object.protocol_rewards) : "0", - protocol_funding: isSet(object.protocol_funding) ? globalThis.String(object.protocol_funding) : "0", + protocol_rewards: globalThis.Array.isArray(object?.protocol_rewards) + ? object.protocol_rewards.map((e: any) => Coin.fromJSON(e)) + : [], + protocol_funding: globalThis.Array.isArray(object?.protocol_funding) + ? object.protocol_funding.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -295,11 +306,11 @@ export const QueryAccountAssetsResponse = { if (message.protocol_delegation_unbonding !== "0") { obj.protocol_delegation_unbonding = message.protocol_delegation_unbonding; } - if (message.protocol_rewards !== "0") { - obj.protocol_rewards = message.protocol_rewards; + if (message.protocol_rewards?.length) { + obj.protocol_rewards = message.protocol_rewards.map((e) => Coin.toJSON(e)); } - if (message.protocol_funding !== "0") { - obj.protocol_funding = message.protocol_funding; + if (message.protocol_funding?.length) { + obj.protocol_funding = message.protocol_funding.map((e) => Coin.toJSON(e)); } return obj; }, @@ -314,8 +325,8 @@ export const QueryAccountAssetsResponse = { message.protocol_self_delegation_unbonding = object.protocol_self_delegation_unbonding ?? "0"; message.protocol_delegation = object.protocol_delegation ?? "0"; message.protocol_delegation_unbonding = object.protocol_delegation_unbonding ?? "0"; - message.protocol_rewards = object.protocol_rewards ?? "0"; - message.protocol_funding = object.protocol_funding ?? "0"; + message.protocol_rewards = object.protocol_rewards?.map((e) => Coin.fromPartial(e)) || []; + message.protocol_funding = object.protocol_funding?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -694,13 +705,13 @@ export const QueryAccountFundedListResponse = { }; function createBaseFunded(): Funded { - return { amount: "0", pool: undefined }; + return { amounts: [], pool: undefined }; } export const Funded = { encode(message: Funded, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.amount !== "0") { - writer.uint32(8).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } if (message.pool !== undefined) { BasicPool.encode(message.pool, writer.uint32(18).fork()).ldelim(); @@ -715,12 +726,12 @@ export const Funded = { while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (tag !== 8) { + case 3: + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 2: if (tag !== 18) { @@ -740,15 +751,15 @@ export const Funded = { fromJSON(object: any): Funded { return { - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], pool: isSet(object.pool) ? BasicPool.fromJSON(object.pool) : undefined, }; }, toJSON(message: Funded): unknown { const obj: any = {}; - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } if (message.pool !== undefined) { obj.pool = BasicPool.toJSON(message.pool); @@ -761,7 +772,7 @@ export const Funded = { }, fromPartial, I>>(object: I): Funded { const message = createBaseFunded(); - message.amount = object.amount ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; message.pool = (object.pool !== undefined && object.pool !== null) ? BasicPool.fromPartial(object.pool) : undefined; return message; }, diff --git a/common/types/src/lcd/kyve/query/v1beta1/bundles.ts b/common/types/src/lcd/kyve/query/v1beta1/bundles.ts index bce7c561..4c5e6812 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/bundles.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/bundles.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/bundles.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; @@ -1146,7 +1152,7 @@ function createBaseQueryCanValidateResponse(): QueryCanValidateResponse { export const QueryCanValidateResponse = { encode(message: QueryCanValidateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1194,7 +1200,7 @@ export const QueryCanValidateResponse = { toJSON(message: QueryCanValidateResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { @@ -1324,7 +1330,7 @@ function createBaseQueryCanProposeResponse(): QueryCanProposeResponse { export const QueryCanProposeResponse = { encode(message: QueryCanProposeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1372,7 +1378,7 @@ export const QueryCanProposeResponse = { toJSON(message: QueryCanProposeResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { @@ -1502,7 +1508,7 @@ function createBaseQueryCanVoteResponse(): QueryCanVoteResponse { export const QueryCanVoteResponse = { encode(message: QueryCanVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.possible === true) { + if (message.possible !== false) { writer.uint32(8).bool(message.possible); } if (message.reason !== "") { @@ -1550,7 +1556,7 @@ export const QueryCanVoteResponse = { toJSON(message: QueryCanVoteResponse): unknown { const obj: any = {}; - if (message.possible === true) { + if (message.possible !== false) { obj.possible = message.possible; } if (message.reason !== "") { diff --git a/common/types/src/lcd/kyve/query/v1beta1/delegation.ts b/common/types/src/lcd/kyve/query/v1beta1/delegation.ts index 853a9025..e42b209a 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/delegation.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/delegation.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/delegation.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { FullStaker } from "./query"; export const protobufPackage = "kyve.query.v1beta1"; @@ -24,8 +31,8 @@ export interface QueryDelegatorResponse { export interface StakerDelegatorResponse { /** delegator ... */ delegator: string; - /** current_reward ... */ - current_reward: string; + /** current_rewards ... */ + current_rewards: Coin[]; /** delegation_amount ... */ delegation_amount: string; /** staker ... */ @@ -80,8 +87,8 @@ export interface DelegationForStakerResponse { staker?: | FullStaker | undefined; - /** current_reward ... */ - current_reward: string; + /** current_rewards ... */ + current_rewards: Coin[]; /** delegation_amount ... */ delegation_amount: string; } @@ -220,7 +227,7 @@ export const QueryDelegatorResponse = { }; function createBaseStakerDelegatorResponse(): StakerDelegatorResponse { - return { delegator: "", current_reward: "0", delegation_amount: "0", staker: "" }; + return { delegator: "", current_rewards: [], delegation_amount: "0", staker: "" }; } export const StakerDelegatorResponse = { @@ -228,8 +235,8 @@ export const StakerDelegatorResponse = { if (message.delegator !== "") { writer.uint32(10).string(message.delegator); } - if (message.current_reward !== "0") { - writer.uint32(16).uint64(message.current_reward); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } if (message.delegation_amount !== "0") { writer.uint32(24).uint64(message.delegation_amount); @@ -254,12 +261,12 @@ export const StakerDelegatorResponse = { message.delegator = reader.string(); continue; - case 2: - if (tag !== 16) { + case 6: + if (tag !== 50) { break; } - message.current_reward = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -287,7 +294,9 @@ export const StakerDelegatorResponse = { fromJSON(object: any): StakerDelegatorResponse { return { delegator: isSet(object.delegator) ? globalThis.String(object.delegator) : "", - current_reward: isSet(object.current_reward) ? globalThis.String(object.current_reward) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], delegation_amount: isSet(object.delegation_amount) ? globalThis.String(object.delegation_amount) : "0", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", }; @@ -298,8 +307,8 @@ export const StakerDelegatorResponse = { if (message.delegator !== "") { obj.delegator = message.delegator; } - if (message.current_reward !== "0") { - obj.current_reward = message.current_reward; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.delegation_amount !== "0") { obj.delegation_amount = message.delegation_amount; @@ -316,7 +325,7 @@ export const StakerDelegatorResponse = { fromPartial, I>>(object: I): StakerDelegatorResponse { const message = createBaseStakerDelegatorResponse(); message.delegator = object.delegator ?? ""; - message.current_reward = object.current_reward ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.delegation_amount = object.delegation_amount ?? "0"; message.staker = object.staker ?? ""; return message; @@ -687,7 +696,7 @@ export const QueryStakersByDelegatorResponse = { }; function createBaseDelegationForStakerResponse(): DelegationForStakerResponse { - return { staker: undefined, current_reward: "0", delegation_amount: "0" }; + return { staker: undefined, current_rewards: [], delegation_amount: "0" }; } export const DelegationForStakerResponse = { @@ -695,8 +704,8 @@ export const DelegationForStakerResponse = { if (message.staker !== undefined) { FullStaker.encode(message.staker, writer.uint32(10).fork()).ldelim(); } - if (message.current_reward !== "0") { - writer.uint32(16).uint64(message.current_reward); + for (const v of message.current_rewards) { + Coin.encode(v!, writer.uint32(50).fork()).ldelim(); } if (message.delegation_amount !== "0") { writer.uint32(24).uint64(message.delegation_amount); @@ -718,12 +727,12 @@ export const DelegationForStakerResponse = { message.staker = FullStaker.decode(reader, reader.uint32()); continue; - case 2: - if (tag !== 16) { + case 6: + if (tag !== 50) { break; } - message.current_reward = longToString(reader.uint64() as Long); + message.current_rewards.push(Coin.decode(reader, reader.uint32())); continue; case 3: if (tag !== 24) { @@ -744,7 +753,9 @@ export const DelegationForStakerResponse = { fromJSON(object: any): DelegationForStakerResponse { return { staker: isSet(object.staker) ? FullStaker.fromJSON(object.staker) : undefined, - current_reward: isSet(object.current_reward) ? globalThis.String(object.current_reward) : "0", + current_rewards: globalThis.Array.isArray(object?.current_rewards) + ? object.current_rewards.map((e: any) => Coin.fromJSON(e)) + : [], delegation_amount: isSet(object.delegation_amount) ? globalThis.String(object.delegation_amount) : "0", }; }, @@ -754,8 +765,8 @@ export const DelegationForStakerResponse = { if (message.staker !== undefined) { obj.staker = FullStaker.toJSON(message.staker); } - if (message.current_reward !== "0") { - obj.current_reward = message.current_reward; + if (message.current_rewards?.length) { + obj.current_rewards = message.current_rewards.map((e) => Coin.toJSON(e)); } if (message.delegation_amount !== "0") { obj.delegation_amount = message.delegation_amount; @@ -771,7 +782,7 @@ export const DelegationForStakerResponse = { message.staker = (object.staker !== undefined && object.staker !== null) ? FullStaker.fromPartial(object.staker) : undefined; - message.current_reward = object.current_reward ?? "0"; + message.current_rewards = object.current_rewards?.map((e) => Coin.fromPartial(e)) || []; message.delegation_amount = object.delegation_amount ?? "0"; return message; }, diff --git a/common/types/src/lcd/kyve/query/v1beta1/funders.ts b/common/types/src/lcd/kyve/query/v1beta1/funders.ts index 0e0cffa3..475a89d7 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/funders.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/funders.ts @@ -1,7 +1,14 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/funders.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.query.v1beta1"; @@ -83,27 +90,43 @@ export interface Funder { /** FundingStats ... */ export interface FundingStats { /** total_used_funds are the total funds that have been distributed by the funder. */ - total_used_funds: string; - /** total_allocated_funds are the total funds that have been allocated by the funder. They can either get distributed or refunded. */ - total_allocated_funds: string; + total_used_funds: Coin[]; + /** + * total_allocated_funds are the total funds that have been allocated by the funder. + * They can either get distributed or refunded. + */ + total_allocated_funds: Coin[]; /** total_amount_per_bundle is the total amount per bundle of all fundings of the funder. */ - total_amount_per_bundle: string; + total_amount_per_bundle: Coin[]; /** pools_funded are the ids of the pools that have been funded by the funder. */ pools_funded: string[]; + /** + * score is the result of all coins of the funder currently allocated times the coin weight + * specified in the params + */ + score: string; } /** Funding ... */ export interface Funding { - /** funder_address */ + /** funder_id is the id of the funder */ funder_address: string; - /** pool_id ... */ + /** pool_id is the id of the pool this funding is for */ pool_id: string; - /** amount ... */ - amount: string; - /** amount_per_bundle ... */ - amount_per_bundle: string; - /** total_funded ... */ - total_funded: string; + /** amounts is a list of coins the funder wants to fund the pool with */ + amounts: Coin[]; + /** + * amounts_per_bundle defines the amount of each coin that are distributed + * per finalized bundle + */ + amounts_per_bundle: Coin[]; + /** total_funded is the total amount of coins that the funder has funded */ + total_funded: Coin[]; + /** + * score is the result of all coins allocated to this pool times the coin weight specified + * by the params + */ + score: string; } /** QueryFundersRequest is the request type for the Query/Funders RPC method. */ @@ -340,25 +363,28 @@ export const Funder = { }; function createBaseFundingStats(): FundingStats { - return { total_used_funds: "0", total_allocated_funds: "0", total_amount_per_bundle: "0", pools_funded: [] }; + return { total_used_funds: [], total_allocated_funds: [], total_amount_per_bundle: [], pools_funded: [], score: "0" }; } export const FundingStats = { encode(message: FundingStats, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.total_used_funds !== "0") { - writer.uint32(8).uint64(message.total_used_funds); + for (const v of message.total_used_funds) { + Coin.encode(v!, writer.uint32(10).fork()).ldelim(); } - if (message.total_allocated_funds !== "0") { - writer.uint32(16).uint64(message.total_allocated_funds); + for (const v of message.total_allocated_funds) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } - if (message.total_amount_per_bundle !== "0") { - writer.uint32(24).uint64(message.total_amount_per_bundle); + for (const v of message.total_amount_per_bundle) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } writer.uint32(34).fork(); for (const v of message.pools_funded) { writer.uint64(v); } writer.ldelim(); + if (message.score !== "0") { + writer.uint32(40).uint64(message.score); + } return writer; }, @@ -370,25 +396,25 @@ export const FundingStats = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 8) { + if (tag !== 10) { break; } - message.total_used_funds = longToString(reader.uint64() as Long); + message.total_used_funds.push(Coin.decode(reader, reader.uint32())); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.total_allocated_funds = longToString(reader.uint64() as Long); + message.total_allocated_funds.push(Coin.decode(reader, reader.uint32())); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.total_amount_per_bundle = longToString(reader.uint64() as Long); + message.total_amount_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 4: if (tag === 32) { @@ -407,6 +433,13 @@ export const FundingStats = { } break; + case 5: + if (tag !== 40) { + break; + } + + message.score = longToString(reader.uint64() as Long); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -418,33 +451,39 @@ export const FundingStats = { fromJSON(object: any): FundingStats { return { - total_used_funds: isSet(object.total_used_funds) ? globalThis.String(object.total_used_funds) : "0", - total_allocated_funds: isSet(object.total_allocated_funds) - ? globalThis.String(object.total_allocated_funds) - : "0", - total_amount_per_bundle: isSet(object.total_amount_per_bundle) - ? globalThis.String(object.total_amount_per_bundle) - : "0", + total_used_funds: globalThis.Array.isArray(object?.total_used_funds) + ? object.total_used_funds.map((e: any) => Coin.fromJSON(e)) + : [], + total_allocated_funds: globalThis.Array.isArray(object?.total_allocated_funds) + ? object.total_allocated_funds.map((e: any) => Coin.fromJSON(e)) + : [], + total_amount_per_bundle: globalThis.Array.isArray(object?.total_amount_per_bundle) + ? object.total_amount_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], pools_funded: globalThis.Array.isArray(object?.pools_funded) ? object.pools_funded.map((e: any) => globalThis.String(e)) : [], + score: isSet(object.score) ? globalThis.String(object.score) : "0", }; }, toJSON(message: FundingStats): unknown { const obj: any = {}; - if (message.total_used_funds !== "0") { - obj.total_used_funds = message.total_used_funds; + if (message.total_used_funds?.length) { + obj.total_used_funds = message.total_used_funds.map((e) => Coin.toJSON(e)); } - if (message.total_allocated_funds !== "0") { - obj.total_allocated_funds = message.total_allocated_funds; + if (message.total_allocated_funds?.length) { + obj.total_allocated_funds = message.total_allocated_funds.map((e) => Coin.toJSON(e)); } - if (message.total_amount_per_bundle !== "0") { - obj.total_amount_per_bundle = message.total_amount_per_bundle; + if (message.total_amount_per_bundle?.length) { + obj.total_amount_per_bundle = message.total_amount_per_bundle.map((e) => Coin.toJSON(e)); } if (message.pools_funded?.length) { obj.pools_funded = message.pools_funded; } + if (message.score !== "0") { + obj.score = message.score; + } return obj; }, @@ -453,16 +492,17 @@ export const FundingStats = { }, fromPartial, I>>(object: I): FundingStats { const message = createBaseFundingStats(); - message.total_used_funds = object.total_used_funds ?? "0"; - message.total_allocated_funds = object.total_allocated_funds ?? "0"; - message.total_amount_per_bundle = object.total_amount_per_bundle ?? "0"; + message.total_used_funds = object.total_used_funds?.map((e) => Coin.fromPartial(e)) || []; + message.total_allocated_funds = object.total_allocated_funds?.map((e) => Coin.fromPartial(e)) || []; + message.total_amount_per_bundle = object.total_amount_per_bundle?.map((e) => Coin.fromPartial(e)) || []; message.pools_funded = object.pools_funded?.map((e) => e) || []; + message.score = object.score ?? "0"; return message; }, }; function createBaseFunding(): Funding { - return { funder_address: "", pool_id: "0", amount: "0", amount_per_bundle: "0", total_funded: "0" }; + return { funder_address: "", pool_id: "0", amounts: [], amounts_per_bundle: [], total_funded: [], score: "0" }; } export const Funding = { @@ -473,14 +513,17 @@ export const Funding = { if (message.pool_id !== "0") { writer.uint32(16).uint64(message.pool_id); } - if (message.amount !== "0") { - writer.uint32(24).uint64(message.amount); + for (const v of message.amounts) { + Coin.encode(v!, writer.uint32(26).fork()).ldelim(); } - if (message.amount_per_bundle !== "0") { - writer.uint32(32).uint64(message.amount_per_bundle); + for (const v of message.amounts_per_bundle) { + Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } - if (message.total_funded !== "0") { - writer.uint32(40).uint64(message.total_funded); + for (const v of message.total_funded) { + Coin.encode(v!, writer.uint32(42).fork()).ldelim(); + } + if (message.score !== "0") { + writer.uint32(48).uint64(message.score); } return writer; }, @@ -507,25 +550,32 @@ export const Funding = { message.pool_id = longToString(reader.uint64() as Long); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; case 4: - if (tag !== 32) { + if (tag !== 34) { break; } - message.amount_per_bundle = longToString(reader.uint64() as Long); + message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.total_funded = longToString(reader.uint64() as Long); + message.total_funded.push(Coin.decode(reader, reader.uint32())); + continue; + case 6: + if (tag !== 48) { + break; + } + + message.score = longToString(reader.uint64() as Long); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -540,9 +590,14 @@ export const Funding = { return { funder_address: isSet(object.funder_address) ? globalThis.String(object.funder_address) : "", pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", - amount_per_bundle: isSet(object.amount_per_bundle) ? globalThis.String(object.amount_per_bundle) : "0", - total_funded: isSet(object.total_funded) ? globalThis.String(object.total_funded) : "0", + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) + ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) + : [], + total_funded: globalThis.Array.isArray(object?.total_funded) + ? object.total_funded.map((e: any) => Coin.fromJSON(e)) + : [], + score: isSet(object.score) ? globalThis.String(object.score) : "0", }; }, @@ -554,14 +609,17 @@ export const Funding = { if (message.pool_id !== "0") { obj.pool_id = message.pool_id; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + } + if (message.amounts_per_bundle?.length) { + obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); } - if (message.amount_per_bundle !== "0") { - obj.amount_per_bundle = message.amount_per_bundle; + if (message.total_funded?.length) { + obj.total_funded = message.total_funded.map((e) => Coin.toJSON(e)); } - if (message.total_funded !== "0") { - obj.total_funded = message.total_funded; + if (message.score !== "0") { + obj.score = message.score; } return obj; }, @@ -573,9 +631,10 @@ export const Funding = { const message = createBaseFunding(); message.funder_address = object.funder_address ?? ""; message.pool_id = object.pool_id ?? "0"; - message.amount = object.amount ?? "0"; - message.amount_per_bundle = object.amount_per_bundle ?? "0"; - message.total_funded = object.total_funded ?? "0"; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.total_funded = object.total_funded?.map((e) => Coin.fromPartial(e)) || []; + message.score = object.score ?? "0"; return message; }, }; diff --git a/common/types/src/lcd/kyve/query/v1beta1/params.ts b/common/types/src/lcd/kyve/query/v1beta1/params.ts index e9655f6b..d0a927e0 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/params.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params as Params3 } from "../../../cosmos/gov/v1/gov"; diff --git a/common/types/src/lcd/kyve/query/v1beta1/pools.ts b/common/types/src/lcd/kyve/query/v1beta1/pools.ts index 085151ff..44fedb63 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/pools.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/pools.ts @@ -1,8 +1,15 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/pools.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination"; import { BundleProposal } from "../../bundles/v1beta1/bundles"; +import { Funding } from "../../funders/v1beta1/funders"; import { Pool, PoolStatus, poolStatusFromJSON, poolStatusToJSON, poolStatusToNumber } from "../../pool/v1beta1/pool"; export const protobufPackage = "kyve.query.v1beta1"; @@ -55,6 +62,8 @@ export interface PoolResponse { account: string; /** account_balance ... */ account_balance: string; + /** funders ... */ + fundings: Funding[]; } /** QueryPoolRequest is the request type for the Query/Pool RPC method. */ @@ -84,7 +93,7 @@ export const QueryPoolsRequest = { if (message.runtime !== "") { writer.uint32(26).string(message.runtime); } - if (message.disabled === true) { + if (message.disabled !== false) { writer.uint32(32).bool(message.disabled); } if (message.storage_provider_id !== 0) { @@ -165,7 +174,7 @@ export const QueryPoolsRequest = { if (message.runtime !== "") { obj.runtime = message.runtime; } - if (message.disabled === true) { + if (message.disabled !== false) { obj.disabled = message.disabled; } if (message.storage_provider_id !== 0) { @@ -277,6 +286,7 @@ function createBasePoolResponse(): PoolResponse { status: PoolStatus.POOL_STATUS_UNSPECIFIED, account: "", account_balance: "0", + fundings: [], }; } @@ -309,6 +319,9 @@ export const PoolResponse = { if (message.account_balance !== "0") { writer.uint32(72).uint64(message.account_balance); } + for (const v of message.fundings) { + Funding.encode(v!, writer.uint32(82).fork()).ldelim(); + } return writer; }, @@ -382,6 +395,13 @@ export const PoolResponse = { message.account_balance = longToString(reader.uint64() as Long); continue; + case 10: + if (tag !== 82) { + break; + } + + message.fundings.push(Funding.decode(reader, reader.uint32())); + continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -404,6 +424,7 @@ export const PoolResponse = { status: isSet(object.status) ? poolStatusFromJSON(object.status) : PoolStatus.POOL_STATUS_UNSPECIFIED, account: isSet(object.account) ? globalThis.String(object.account) : "", account_balance: isSet(object.account_balance) ? globalThis.String(object.account_balance) : "0", + fundings: globalThis.Array.isArray(object?.fundings) ? object.fundings.map((e: any) => Funding.fromJSON(e)) : [], }; }, @@ -436,6 +457,9 @@ export const PoolResponse = { if (message.account_balance !== "0") { obj.account_balance = message.account_balance; } + if (message.fundings?.length) { + obj.fundings = message.fundings.map((e) => Funding.toJSON(e)); + } return obj; }, @@ -455,6 +479,7 @@ export const PoolResponse = { message.status = object.status ?? PoolStatus.POOL_STATUS_UNSPECIFIED; message.account = object.account ?? ""; message.account_balance = object.account_balance ?? "0"; + message.fundings = object.fundings?.map((e) => Funding.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/query/v1beta1/query.ts b/common/types/src/lcd/kyve/query/v1beta1/query.ts index fd7bfccc..3b190beb 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/query.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/query.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { PoolStatus, poolStatusFromJSON, poolStatusToJSON, poolStatusToNumber } from "../../pool/v1beta1/pool"; export const protobufPackage = "kyve.query.v1beta1"; @@ -29,7 +36,7 @@ export interface BasicPool { * total_funds of the pool. If the pool runs * out of funds no more bundles will be produced */ - total_funds: string; + total_funds: Coin[]; /** total_delegation of the pool */ total_delegation: string; /** @@ -110,8 +117,8 @@ export interface StakerMetadata { pending_commission_change?: | CommissionChangeEntry | undefined; - /** commission_rewards are the rewards in $KYVE earned through commission */ - commission_rewards: string; + /** commission_rewards are the rewards through commission and storage cost */ + commission_rewards: Coin[]; } /** @@ -175,7 +182,7 @@ function createBaseBasicPool(): BasicPool { logo: "", inflation_share_weight: "0", upload_interval: "0", - total_funds: "0", + total_funds: [], total_delegation: "0", status: PoolStatus.POOL_STATUS_UNSPECIFIED, }; @@ -201,8 +208,8 @@ export const BasicPool = { if (message.upload_interval !== "0") { writer.uint32(48).uint64(message.upload_interval); } - if (message.total_funds !== "0") { - writer.uint32(56).uint64(message.total_funds); + for (const v of message.total_funds) { + Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } if (message.total_delegation !== "0") { writer.uint32(64).uint64(message.total_delegation); @@ -263,11 +270,11 @@ export const BasicPool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 7: - if (tag !== 56) { + if (tag !== 58) { break; } - message.total_funds = longToString(reader.uint64() as Long); + message.total_funds.push(Coin.decode(reader, reader.uint32())); continue; case 8: if (tag !== 64) { @@ -302,7 +309,9 @@ export const BasicPool = { ? globalThis.String(object.inflation_share_weight) : "0", upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", - total_funds: isSet(object.total_funds) ? globalThis.String(object.total_funds) : "0", + total_funds: globalThis.Array.isArray(object?.total_funds) + ? object.total_funds.map((e: any) => Coin.fromJSON(e)) + : [], total_delegation: isSet(object.total_delegation) ? globalThis.String(object.total_delegation) : "0", status: isSet(object.status) ? poolStatusFromJSON(object.status) : PoolStatus.POOL_STATUS_UNSPECIFIED, }; @@ -328,8 +337,8 @@ export const BasicPool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.total_funds !== "0") { - obj.total_funds = message.total_funds; + if (message.total_funds?.length) { + obj.total_funds = message.total_funds.map((e) => Coin.toJSON(e)); } if (message.total_delegation !== "0") { obj.total_delegation = message.total_delegation; @@ -351,7 +360,7 @@ export const BasicPool = { message.logo = object.logo ?? ""; message.inflation_share_weight = object.inflation_share_weight ?? "0"; message.upload_interval = object.upload_interval ?? "0"; - message.total_funds = object.total_funds ?? "0"; + message.total_funds = object.total_funds?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; message.status = object.status ?? PoolStatus.POOL_STATUS_UNSPECIFIED; return message; @@ -528,7 +537,7 @@ function createBaseStakerMetadata(): StakerMetadata { security_contact: "", details: "", pending_commission_change: undefined, - commission_rewards: "0", + commission_rewards: [], }; } @@ -555,8 +564,8 @@ export const StakerMetadata = { if (message.pending_commission_change !== undefined) { CommissionChangeEntry.encode(message.pending_commission_change, writer.uint32(58).fork()).ldelim(); } - if (message.commission_rewards !== "0") { - writer.uint32(64).uint64(message.commission_rewards); + for (const v of message.commission_rewards) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } return writer; }, @@ -618,11 +627,11 @@ export const StakerMetadata = { message.pending_commission_change = CommissionChangeEntry.decode(reader, reader.uint32()); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.commission_rewards = longToString(reader.uint64() as Long); + message.commission_rewards.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -644,7 +653,9 @@ export const StakerMetadata = { pending_commission_change: isSet(object.pending_commission_change) ? CommissionChangeEntry.fromJSON(object.pending_commission_change) : undefined, - commission_rewards: isSet(object.commission_rewards) ? globalThis.String(object.commission_rewards) : "0", + commission_rewards: globalThis.Array.isArray(object?.commission_rewards) + ? object.commission_rewards.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -671,8 +682,8 @@ export const StakerMetadata = { if (message.pending_commission_change !== undefined) { obj.pending_commission_change = CommissionChangeEntry.toJSON(message.pending_commission_change); } - if (message.commission_rewards !== "0") { - obj.commission_rewards = message.commission_rewards; + if (message.commission_rewards?.length) { + obj.commission_rewards = message.commission_rewards.map((e) => Coin.toJSON(e)); } return obj; }, @@ -692,7 +703,7 @@ export const StakerMetadata = { (object.pending_commission_change !== undefined && object.pending_commission_change !== null) ? CommissionChangeEntry.fromPartial(object.pending_commission_change) : undefined; - message.commission_rewards = object.commission_rewards ?? "0"; + message.commission_rewards = object.commission_rewards?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -783,7 +794,7 @@ export const PoolMembership = { if (message.points !== "0") { writer.uint32(16).uint64(message.points); } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { writer.uint32(24).bool(message.is_leaving); } if (message.valaddress !== "") { @@ -864,7 +875,7 @@ export const PoolMembership = { if (message.points !== "0") { obj.points = message.points; } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { obj.is_leaving = message.is_leaving; } if (message.valaddress !== "") { diff --git a/common/types/src/lcd/kyve/query/v1beta1/stakers.ts b/common/types/src/lcd/kyve/query/v1beta1/stakers.ts index 54e64955..faf90d11 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/stakers.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/stakers.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/query/v1beta1/stakers.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/stakers/module/module.ts b/common/types/src/lcd/kyve/stakers/module/module.ts new file mode 100644 index 00000000..a5570665 --- /dev/null +++ b/common/types/src/lcd/kyve/stakers/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.stakers.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/events.ts b/common/types/src/lcd/kyve/stakers/v1beta1/events.ts index 71eed8b1..ae783bc0 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/events.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -72,8 +79,8 @@ export interface EventUpdateCommission { export interface EventClaimCommissionRewards { /** staker is the account address of the protocol node. */ staker: string; - /** amount ... */ - amount: string; + /** amount is the amount of the commission rewards claimed */ + amount: Coin[]; } /** @@ -496,7 +503,7 @@ export const EventUpdateCommission = { }; function createBaseEventClaimCommissionRewards(): EventClaimCommissionRewards { - return { staker: "", amount: "0" }; + return { staker: "", amount: [] }; } export const EventClaimCommissionRewards = { @@ -504,8 +511,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - if (message.amount !== "0") { - writer.uint32(16).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -525,11 +532,11 @@ export const EventClaimCommissionRewards = { message.staker = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -543,7 +550,7 @@ export const EventClaimCommissionRewards = { fromJSON(object: any): EventClaimCommissionRewards { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -552,8 +559,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -564,7 +571,7 @@ export const EventClaimCommissionRewards = { fromPartial, I>>(object: I): EventClaimCommissionRewards { const message = createBaseEventClaimCommissionRewards(); message.staker = object.staker ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts b/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts index 43c09bab..883ae6a8 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/genesis.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/params.ts b/common/types/src/lcd/kyve/stakers/v1beta1/params.ts index fdd4bcdc..cdc9d7ca 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/params.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/params.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/query.ts b/common/types/src/lcd/kyve/stakers/v1beta1/query.ts index 99186d74..287746eb 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/query.proto + /* eslint-disable */ import _m0 from "protobufjs/minimal"; import { Params } from "./params"; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts b/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts index 2ea1decc..53a46996 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/stakers.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -23,8 +30,8 @@ export interface Staker { security_contact: string; /** details are some additional notes the staker finds important */ details: string; - /** commission_rewards are the rewards in $KYVE earned through commission */ - commission_rewards: string; + /** commission_rewards are the rewards through commission and storage cost */ + commission_rewards: Coin[]; } /** @@ -128,7 +135,7 @@ function createBaseStaker(): Staker { identity: "", security_contact: "", details: "", - commission_rewards: "0", + commission_rewards: [], }; } @@ -155,8 +162,8 @@ export const Staker = { if (message.details !== "") { writer.uint32(58).string(message.details); } - if (message.commission_rewards !== "0") { - writer.uint32(64).uint64(message.commission_rewards); + for (const v of message.commission_rewards) { + Coin.encode(v!, writer.uint32(66).fork()).ldelim(); } return writer; }, @@ -218,11 +225,11 @@ export const Staker = { message.details = reader.string(); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.commission_rewards = longToString(reader.uint64() as Long); + message.commission_rewards.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -242,7 +249,9 @@ export const Staker = { identity: isSet(object.identity) ? globalThis.String(object.identity) : "", security_contact: isSet(object.security_contact) ? globalThis.String(object.security_contact) : "", details: isSet(object.details) ? globalThis.String(object.details) : "", - commission_rewards: isSet(object.commission_rewards) ? globalThis.String(object.commission_rewards) : "0", + commission_rewards: globalThis.Array.isArray(object?.commission_rewards) + ? object.commission_rewards.map((e: any) => Coin.fromJSON(e)) + : [], }; }, @@ -269,8 +278,8 @@ export const Staker = { if (message.details !== "") { obj.details = message.details; } - if (message.commission_rewards !== "0") { - obj.commission_rewards = message.commission_rewards; + if (message.commission_rewards?.length) { + obj.commission_rewards = message.commission_rewards.map((e) => Coin.toJSON(e)); } return obj; }, @@ -287,7 +296,7 @@ export const Staker = { message.identity = object.identity ?? ""; message.security_contact = object.security_contact ?? ""; message.details = object.details ?? ""; - message.commission_rewards = object.commission_rewards ?? "0"; + message.commission_rewards = object.commission_rewards?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; @@ -310,7 +319,7 @@ export const Valaccount = { if (message.points !== "0") { writer.uint32(32).uint64(message.points); } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { writer.uint32(40).bool(message.is_leaving); } return writer; @@ -391,7 +400,7 @@ export const Valaccount = { if (message.points !== "0") { obj.points = message.points; } - if (message.is_leaving === true) { + if (message.is_leaving !== false) { obj.is_leaving = message.is_leaving; } return obj; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts b/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts index c5e641ad..f84267dc 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts @@ -1,6 +1,13 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/stakers/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; +import { Coin } from "../../../cosmos/base/v1beta1/coin"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -58,7 +65,7 @@ export interface MsgClaimCommissionRewards { /** creator ... */ creator: string; /** amount ... */ - amount: string; + amount: Coin[]; } /** MsgClaimCommissionRewardsResponse ... */ @@ -532,7 +539,7 @@ export const MsgUpdateCommissionResponse = { }; function createBaseMsgClaimCommissionRewards(): MsgClaimCommissionRewards { - return { creator: "", amount: "0" }; + return { creator: "", amount: [] }; } export const MsgClaimCommissionRewards = { @@ -540,8 +547,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { writer.uint32(10).string(message.creator); } - if (message.amount !== "0") { - writer.uint32(16).uint64(message.amount); + for (const v of message.amount) { + Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -561,11 +568,11 @@ export const MsgClaimCommissionRewards = { message.creator = reader.string(); continue; case 2: - if (tag !== 16) { + if (tag !== 18) { break; } - message.amount = longToString(reader.uint64() as Long); + message.amount.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -579,7 +586,7 @@ export const MsgClaimCommissionRewards = { fromJSON(object: any): MsgClaimCommissionRewards { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", - amount: isSet(object.amount) ? globalThis.String(object.amount) : "0", + amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -588,8 +595,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { obj.creator = message.creator; } - if (message.amount !== "0") { - obj.amount = message.amount; + if (message.amount?.length) { + obj.amount = message.amount.map((e) => Coin.toJSON(e)); } return obj; }, @@ -600,7 +607,7 @@ export const MsgClaimCommissionRewards = { fromPartial, I>>(object: I): MsgClaimCommissionRewards { const message = createBaseMsgClaimCommissionRewards(); message.creator = object.creator ?? ""; - message.amount = object.amount ?? "0"; + message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/team/module/module.ts b/common/types/src/lcd/kyve/team/module/module.ts new file mode 100644 index 00000000..74938b0a --- /dev/null +++ b/common/types/src/lcd/kyve/team/module/module.ts @@ -0,0 +1,89 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/module/module.proto + +/* eslint-disable */ +import _m0 from "protobufjs/minimal"; + +export const protobufPackage = "kyve.team.module"; + +/** Module is the config object for the module. */ +export interface Module { + /** authority defines the custom module authority. If not set, defaults to the governance module. */ + authority: string; +} + +function createBaseModule(): Module { + return { authority: "" }; +} + +export const Module = { + encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.authority !== "") { + writer.uint32(10).string(message.authority); + } + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): Module { + const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseModule(); + while (reader.pos < end) { + const tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (tag !== 10) { + break; + } + + message.authority = reader.string(); + continue; + } + if ((tag & 7) === 4 || tag === 0) { + break; + } + reader.skipType(tag & 7); + } + return message; + }, + + fromJSON(object: any): Module { + return { authority: isSet(object.authority) ? globalThis.String(object.authority) : "" }; + }, + + toJSON(message: Module): unknown { + const obj: any = {}; + if (message.authority !== "") { + obj.authority = message.authority; + } + return obj; + }, + + create, I>>(base?: I): Module { + return Module.fromPartial(base ?? ({} as any)); + }, + fromPartial, I>>(object: I): Module { + const message = createBaseModule(); + message.authority = object.authority ?? ""; + return message; + }, +}; + +type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; + +export type DeepPartial = T extends Builtin ? T + : T extends globalThis.Array ? globalThis.Array> + : T extends ReadonlyArray ? ReadonlyArray> + : T extends {} ? { [K in keyof T]?: DeepPartial } + : Partial; + +type KeysOfUnion = T extends T ? keyof T : never; +export type Exact = P extends Builtin ? P + : P & { [K in keyof P]: Exact } & { [K in Exclude>]: never }; + +function isSet(value: any): boolean { + return value !== null && value !== undefined; +} diff --git a/common/types/src/lcd/kyve/team/v1beta1/events.ts b/common/types/src/lcd/kyve/team/v1beta1/events.ts index 30dbe829..e2acd254 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/events.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/events.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/team/v1beta1/genesis.ts b/common/types/src/lcd/kyve/team/v1beta1/genesis.ts index 7f61d5e0..bbfe6756 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/genesis.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/genesis.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/team/v1beta1/query.ts b/common/types/src/lcd/kyve/team/v1beta1/query.ts index aac3427b..1f049298 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/query.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/query.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/team/v1beta1/team.ts b/common/types/src/lcd/kyve/team/v1beta1/team.ts index 34e956ac..80152a7f 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/team.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/team.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/team.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/lcd/kyve/team/v1beta1/tx.ts b/common/types/src/lcd/kyve/team/v1beta1/tx.ts index cfc7ff57..b16326a5 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/tx.ts @@ -1,3 +1,9 @@ +// Code generated by protoc-gen-ts_proto. DO NOT EDIT. +// versions: +// protoc-gen-ts_proto v1.176.1 +// protoc unknown +// source: kyve/team/v1beta1/tx.proto + /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; diff --git a/common/types/src/version.ts b/common/types/src/version.ts index 313a69b4..27bca32e 100644 --- a/common/types/src/version.ts +++ b/common/types/src/version.ts @@ -1 +1 @@ -export const version = "v1.4.0" +export const version = "main" From a5c5de4aa08d6e21a7cd1818be3eafb00b7ec61a Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Tue, 28 May 2024 09:06:43 +0200 Subject: [PATCH 02/15] chore: updated amino types for v1.5 --- common/sdk/src/amino/funders.amino.ts | 14 ++++++-------- common/sdk/src/amino/stakers.amino.ts | 4 ++-- yarn.lock | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/common/sdk/src/amino/funders.amino.ts b/common/sdk/src/amino/funders.amino.ts index b44310c3..d97d8f3f 100644 --- a/common/sdk/src/amino/funders.amino.ts +++ b/common/sdk/src/amino/funders.amino.ts @@ -15,16 +15,14 @@ export const createFundersAminoConverters = (): AminoConverters => { toAmino: (msg: MsgFundPool) => ({ creator: msg.creator, ...(isNotEmpty(msg.pool_id) && { pool_id: msg.pool_id }), - ...(isNotEmpty(msg.amount) && { amount: msg.amount }), - ...(isNotEmpty(msg.amount_per_bundle) && { - amount_per_bundle: msg.amount_per_bundle, - }), + amounts: [...msg.amounts], + amounts_per_bundle: [...msg.amounts_per_bundle], }), fromAmino: (msg): MsgFundPool => ({ creator: msg.creator, pool_id: msg.pool_id, - amount: msg.amount, - amount_per_bundle: msg.amount_per_bundle, + amounts: [...msg.amounts], + amounts_per_bundle: [...msg.amounts_per_bundle], }), }, "/kyve.funders.v1beta1.MsgDefundPool": { @@ -32,12 +30,12 @@ export const createFundersAminoConverters = (): AminoConverters => { toAmino: (msg: MsgDefundPool) => ({ creator: msg.creator, ...(isNotEmpty(msg.pool_id) && { id: msg.pool_id }), - ...(isNotEmpty(msg.amount) && { amount: msg.amount }), + amounts: [...msg.amounts], }), fromAmino: (msg): MsgDefundPool => ({ creator: msg.creator, pool_id: msg.pool_id, - amount: msg.amount, + amounts: [...msg.amounts], }), }, "/kyve.funders.v1beta1.MsgCreateFunder": { diff --git a/common/sdk/src/amino/stakers.amino.ts b/common/sdk/src/amino/stakers.amino.ts index f55a0d2b..d0057a0c 100644 --- a/common/sdk/src/amino/stakers.amino.ts +++ b/common/sdk/src/amino/stakers.amino.ts @@ -73,11 +73,11 @@ export const createStakersAminoConverters = (): AminoConverters => { aminoType: "kyve/stakers/MsgClaimCommissionRewards", toAmino: (msg: MsgClaimCommissionRewards) => ({ creator: msg.creator, - ...(isNotEmpty(msg.amount) && { amount: msg.amount }), + amount: [...msg.amount], }), fromAmino: (msg): MsgClaimCommissionRewards => ({ creator: msg.creator, - amount: msg.amount, + amount: [...msg.amount], }), }, "/kyve.stakers.v1beta1.MsgJoinPool": { diff --git a/yarn.lock b/yarn.lock index 76993553..244153f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5218,7 +5218,7 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -ethers@^5.5.1: +ethers@^5.5.1, ethers@^5.6.5: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== From 4a475ea937e2f6af3532a22f9eec51ca64d3c48a Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Mon, 3 Jun 2024 14:29:35 +0200 Subject: [PATCH 03/15] chore: completed 1.5 implementation --- common/protocol/package.json | 4 +- common/protocol/src/index.ts | 5 + common/sdk/package.json | 20 +-- common/sdk/src/sdk.ts | 4 +- common/types/package.json | 2 +- tools/kysor/package.json | 4 +- yarn.lock | 273 ++++++++++++++++++----------------- 7 files changed, 164 insertions(+), 148 deletions(-) diff --git a/common/protocol/package.json b/common/protocol/package.json index 956524f1..6bb5ea31 100644 --- a/common/protocol/package.json +++ b/common/protocol/package.json @@ -23,8 +23,8 @@ "@bundlr-network/client": "^0.8.9", "@cosmjs/proto-signing": "^0.27.1", "@cosmjs/stargate": "^0.27.1", - "@kyvejs/sdk": "1.1.1", - "@kyvejs/types": "1.2.0", + "@kyvejs/sdk": "1.2.0", + "@kyvejs/types": "1.3.0", "@types/cli-progress": "^3.9.2", "@types/jsonfile": "^6.0.1", "arweave": "^1.10.17", diff --git a/common/protocol/src/index.ts b/common/protocol/src/index.ts index 160c27fb..4ede8f6e 100644 --- a/common/protocol/src/index.ts +++ b/common/protocol/src/index.ts @@ -356,3 +356,8 @@ export * from "./types"; // export utils export * from "./utils"; + +// add this so we can JSON.stringify bignumbers +(BigInt.prototype as any).toJSON = function () { + return this.toString(); +}; diff --git a/common/sdk/package.json b/common/sdk/package.json index af0a849b..e9cef3f2 100644 --- a/common/sdk/package.json +++ b/common/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@kyvejs/sdk", - "version": "1.1.1", + "version": "1.2.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ @@ -23,15 +23,15 @@ "lint:fix": "eslint --fix . --ignore-path ../../.eslintignore --ext ts --ext tsx --ext js --ext jsx" }, "dependencies": { - "@cosmjs/amino": "^0.31.3", - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/proto-signing": "^0.31.3", - "@cosmjs/stargate": "^0.31.3", - "@cosmjs/tendermint-rpc": "^0.31.3", - "@cosmostation/extension-client": "^0.0.6", - "@keplr-wallet/cosmos": "^0.12.44", - "@kyvejs/types": "1.2.0", + "@cosmjs/amino": "^0.32.3", + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/stargate": "^0.32.3", + "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmostation/extension-client": "^0.1.15", + "@keplr-wallet/cosmos": "^0.12.96", + "@kyvejs/types": "1.3.0", "axios": "^0.27.2", "bech32": "2.0.0", "bignumber.js": "9.1.2", diff --git a/common/sdk/src/sdk.ts b/common/sdk/src/sdk.ts index 6cfb2aeb..d865640b 100644 --- a/common/sdk/src/sdk.ts +++ b/common/sdk/src/sdk.ts @@ -178,7 +178,9 @@ export class KyveSDK { await window.keplr.enable(this.config.chainId); - const signer = await window.keplr.getOfflineSignerAuto(this.config.chainId); + const signer: any = await window.keplr.getOfflineSignerAuto( + this.config.chainId + ); const walletName = (await window.keplr.getKey(this.config.chainId)).name; const keplr = window.keplr; const keplrAminoSigner = new KeplrAminoSigner(keplr, this.config); diff --git a/common/types/package.json b/common/types/package.json index 6c911ae0..f1022260 100644 --- a/common/types/package.json +++ b/common/types/package.json @@ -1,6 +1,6 @@ { "name": "@kyvejs/types", - "version": "1.2.0", + "version": "1.3.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "repository": { diff --git a/tools/kysor/package.json b/tools/kysor/package.json index 017de837..0775bba3 100644 --- a/tools/kysor/package.json +++ b/tools/kysor/package.json @@ -38,8 +38,8 @@ }, "dependencies": { "@iarna/toml": "^2.2.5", - "@kyvejs/sdk": "1.1.1", - "@kyvejs/types": "1.2.0", + "@kyvejs/sdk": "1.2.0", + "@kyvejs/types": "1.3.0", "axios": "^0.27.2", "bignumber.js": "^9.1.0", "commander": "^9.4.0", diff --git a/yarn.lock b/yarn.lock index 244153f9..0e2e3b40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -941,15 +941,15 @@ "@cosmjs/math" "0.27.1" "@cosmjs/utils" "0.27.1" -"@cosmjs/amino@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.31.3.tgz#0f4aa6bd68331c71bd51b187fa64f00eb075db0a" - integrity sha512-36emtUq895sPRX8PTSOnG+lhJDCVyIcE0Tr5ct59sUbgQiI14y43vj/4WAlJ/utSOxy+Zhj9wxcs4AZfu0BHsw== +"@cosmjs/amino@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.32.3.tgz#b81d4a2b8d61568431a1afcd871e1344a19d97ff" + integrity sha512-G4zXl+dJbqrz1sSJ56H/25l5NJEk/pAPIr8piAHgbXYw88OdAOlpA26PQvk2IbSN/rRgVbvlLTNgX2tzz1dyUA== dependencies: - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" "@cosmjs/crypto@0.27.1": version "0.27.1" @@ -967,14 +967,14 @@ ripemd160 "^2.0.2" sha.js "^2.4.11" -"@cosmjs/crypto@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.31.3.tgz#c752cb6d682fdc735dcb45a2519f89c56ba16c26" - integrity sha512-vRbvM9ZKR2017TO73dtJ50KxoGcFzKtKI7C8iO302BQ5p+DuB+AirUg1952UpSoLfv5ki9O416MFANNg8UN/EQ== +"@cosmjs/crypto@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.3.tgz#787f8e659709678722068ee1ddf379f65051a25e" + integrity sha512-niQOWJHUtlJm2GG4F00yGT7sGPKxfUwz+2qQ30uO/E3p58gOusTcH2qjiJNVxb8vScYJhFYFqpm/OA/mVqoUGQ== dependencies: - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" "@noble/hashes" "^1" bn.js "^5.2.0" elliptic "^6.5.4" @@ -989,10 +989,10 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/encoding@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.31.3.tgz#2519d9c9ae48368424971f253775c4580b54c5aa" - integrity sha512-6IRtG0fiVYwyP7n+8e54uTx2pLYijO48V3t9TLiROERm5aUAIzIlz6Wp0NYaI5he9nh1lcEGJ1lkquVKFw3sUg== +"@cosmjs/encoding@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" + integrity sha512-p4KF7hhv8jBQX3MkB3Defuhz/W0l3PwWVYU2vkVuBJ13bJcXyhU9nJjiMkaIv+XP+W2QgRceqNNgFUC5chNR7w== dependencies: base64-js "^1.3.0" bech32 "^1.1.4" @@ -1006,12 +1006,12 @@ "@cosmjs/stream" "0.27.1" xstream "^11.14.0" -"@cosmjs/json-rpc@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.31.3.tgz#11e5cf0f6d9ab426dff470bb8d68d5d31cd6ab13" - integrity sha512-7LVYerXjnm69qqYR3uA6LGCrBW2EO5/F7lfJxAmY+iII2C7xO3a0vAjMSt5zBBh29PXrJVS6c2qRP22W1Le2Wg== +"@cosmjs/json-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz#ccffdd7f722cecfab6daaa7463843b92f5d25355" + integrity sha512-JwFRWZa+Y95KrAG8CuEbPVOSnXO2uMSEBcaAB/FBU3Mo4jQnDoUjXvt3vwtFWxfAytrWCn1I4YDFaOAinnEG/Q== dependencies: - "@cosmjs/stream" "^0.31.3" + "@cosmjs/stream" "^0.32.3" xstream "^11.14.0" "@cosmjs/math@0.27.1": @@ -1021,10 +1021,10 @@ dependencies: bn.js "^5.2.0" -"@cosmjs/math@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.31.3.tgz#767f7263d12ba1b9ed2f01f68d857597839fd957" - integrity sha512-kZ2C6glA5HDb9hLz1WrftAjqdTBb3fWQsRR+Us2HsjAYdeE6M3VdXMsYCP5M3yiihal1WDwAY2U7HmfJw7Uh4A== +"@cosmjs/math@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" + integrity sha512-amumUtZs8hCCnV+lSBaJIiZkGabQm22QGg/IotYrhcmoOEOjt82n7hMNlNXRs7V6WLMidGrGYcswB5zcmp0Meg== dependencies: bn.js "^5.2.0" @@ -1040,18 +1040,17 @@ long "^4.0.0" protobufjs "~6.10.2" -"@cosmjs/proto-signing@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.31.3.tgz#20440b7b96fb2cd924256a10e656fd8d4481cdcd" - integrity sha512-24+10/cGl6lLS4VCrGTCJeDRPQTn1K5JfknzXzDIHOx8THR31JxA7/HV5eWGHqWgAbudA7ccdSvEK08lEHHtLA== - dependencies: - "@cosmjs/amino" "^0.31.3" - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - cosmjs-types "^0.8.0" - long "^4.0.0" +"@cosmjs/proto-signing@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz#91ae149b747d18666a6ccc924165b306431f7c0d" + integrity sha512-kSZ0ZUY0DwcRT0NcIn2HkadH4NKlwjfZgbLj1ABwh/4l0RgeT84QCscZCu63tJYq3K6auwqTiZSZERwlO4/nbg== + dependencies: + "@cosmjs/amino" "^0.32.3" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" "@cosmjs/socket@0.27.1": version "0.27.1" @@ -1063,12 +1062,12 @@ ws "^7" xstream "^11.14.0" -"@cosmjs/socket@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.31.3.tgz#52086380f4de2fc3514b90b0484b4b1c4c50e39e" - integrity sha512-aqrDGGi7os/hsz5p++avI4L0ZushJ+ItnzbqA7C6hamFSCJwgOkXaOUs+K9hXZdX4rhY7rXO4PH9IH8q09JkTw== +"@cosmjs/socket@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.3.tgz#fa5c36bf58e87c0ad865d6318ecb0f8d9c89a28a" + integrity sha512-F2WwNmaUPdZ4SsH6Uyreq3wQk7jpaEkb3wfOP951f5Jt6HCW/PxbxhKzHkAAf6+Sqks6SPhkbWoE8XaZpjL2KA== dependencies: - "@cosmjs/stream" "^0.31.3" + "@cosmjs/stream" "^0.32.3" isomorphic-ws "^4.0.1" ws "^7" xstream "^11.14.0" @@ -1091,22 +1090,20 @@ protobufjs "~6.10.2" xstream "^11.14.0" -"@cosmjs/stargate@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.31.3.tgz#a2b38e398097a00f897dbd8f02d4d347d8fed818" - integrity sha512-53NxnzmB9FfXpG4KjOUAYAvWLYKdEmZKsutcat/u2BrDXNZ7BN8jim/ENcpwXfs9/Og0K24lEIdvA4gsq3JDQw== +"@cosmjs/stargate@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.3.tgz#5a92b222ada960ebecea72cc9f366370763f4b66" + integrity sha512-OQWzO9YWKerUinPIxrO1MARbe84XkeXJAW0lyMIjXIEikajuXZ+PwftiKA5yA+8OyditVmHVLtPud6Pjna2s5w== dependencies: "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/proto-signing" "^0.31.3" - "@cosmjs/stream" "^0.31.3" - "@cosmjs/tendermint-rpc" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - cosmjs-types "^0.8.0" - long "^4.0.0" - protobufjs "~6.11.3" + "@cosmjs/amino" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/proto-signing" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/tendermint-rpc" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" xstream "^11.14.0" "@cosmjs/stream@0.27.1": @@ -1116,10 +1113,10 @@ dependencies: xstream "^11.14.0" -"@cosmjs/stream@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.31.3.tgz#53428fd62487ec08fc3886a50a3feeb8b2af2e66" - integrity sha512-8keYyI7X0RjsLyVcZuBeNjSv5FA4IHwbFKx7H60NHFXszN8/MvXL6aZbNIvxtcIHHsW7K9QSQos26eoEWlAd+w== +"@cosmjs/stream@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.3.tgz#7522579aaf18025d322c2f33d6fb7573220395d6" + integrity sha512-J2zVWDojkynYifAUcRmVczzmp6STEpyiAARq0rSsviqjreGIfspfuws/8rmkPa6qQBZvpQOBQCm2HyZZwYplIw== dependencies: xstream "^11.14.0" @@ -1138,19 +1135,19 @@ readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/tendermint-rpc@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.31.3.tgz#d1a2bc5b3c98743631c9b55888589d352403c9b3" - integrity sha512-s3TiWkPCW4QceTQjpYqn4xttUJH36mTPqplMl+qyocdqk5+X5mergzExU/pHZRWQ4pbby8bnR7kMvG4OC1aZ8g== - dependencies: - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/json-rpc" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/socket" "^0.31.3" - "@cosmjs/stream" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - axios "^0.21.2" +"@cosmjs/tendermint-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.3.tgz#f0406b9f0233e588fb924dca8c614972f9038aff" + integrity sha512-xeprW+VR9xKGstqZg0H/KBZoUp8/FfFyS9ljIUTLM/UINjP2MhiwncANPS2KScfJVepGufUKk0/phHUeIBSEkw== + dependencies: + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/json-rpc" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/socket" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + axios "^1.6.0" readonly-date "^1.0.0" xstream "^11.14.0" @@ -1159,15 +1156,15 @@ resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2" integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg== -"@cosmjs/utils@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.31.3.tgz#f97bbfda35ad69e80cd5c7fe0a270cbda16db1ed" - integrity sha512-VBhAgzrrYdIe0O5IbKRqwszbQa7ZyQLx9nEQuHQ3HUplQW7P44COG/ye2n6AzCudtqxmwdX7nyX8ta1J07GoqA== +"@cosmjs/utils@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.3.tgz#5dcaee6dd7cc846cdc073e9a7a7f63242f5f7e31" + integrity sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg== -"@cosmostation/extension-client@^0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@cosmostation/extension-client/-/extension-client-0.0.6.tgz#a04420c1c3d68b83d197e48e79787a3484fb8d2c" - integrity sha512-3N7NOz8JMOpJlVaGS++zha4AZoijJTnPkq8djEfpk/mJ6+laUNo4a1/mxANFm9i1KUZcU9HX6GKKx9v9nL/VDg== +"@cosmostation/extension-client@^0.1.15": + version "0.1.15" + resolved "https://registry.yarnpkg.com/@cosmostation/extension-client/-/extension-client-0.1.15.tgz#cdc6d8fce42217704c1c0d5814f0ee7ce27e8dab" + integrity sha512-HlXYJjFrNpjiV/GUKhri1UL8/bhlOIFFLpRF78YDSqq16x0+plIqx5CAvEusFcKTDpVfpeD5sfUHiKvP7euNFg== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" @@ -1852,38 +1849,37 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@keplr-wallet/common@0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.44.tgz#9c75ce663e9b3d2678d243650e57b2b883c66787" - integrity sha512-iVz0FZsJGWTEi2RUYc86TrBTqycb2D1BgQsOa9z0tJcGq51/FD+BpAqnuxpH3I8EXbpg0vY9F6C+p5+fA80zjA== +"@keplr-wallet/common@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.96.tgz#ec1fddc48347125049ea696147d615b3694dc4ca" + integrity sha512-2W7WhZAVxs4xyiiw7OqGp2KPSRsIN26leOoPKKPUEKbcaYw9h6OQgl8OUN6YqbLerYxRwga6rEU5/6kCzwOYtg== dependencies: - "@keplr-wallet/crypto" "0.12.44" - "@keplr-wallet/types" "0.12.44" + "@keplr-wallet/crypto" "0.12.96" + "@keplr-wallet/types" "0.12.96" buffer "^6.0.3" delay "^4.4.0" - mobx "^6.1.7" -"@keplr-wallet/cosmos@^0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.44.tgz#1962eec8430da4b966eb23208f4816b69cee46cd" - integrity sha512-niQGKFxyM5YUucnEXQlldHtHCoqPQwgrrEAPR+btjZCaEpXwzOHXPy14r01JGQJ1HDTgpgvUgjW2/cQS5LooOg== +"@keplr-wallet/cosmos@^0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.96.tgz#c2f3226123fbafe498c7cf2b08d4d4c4b9d60027" + integrity sha512-ST9VfDzXvGXAfB/U//xFDt9euDLZlZld/bjhMpCCGcKSFeCkdciJ5t8M/6G8/I6cXi1aAUsIf6IxyilfzzBpFw== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.12.44" - "@keplr-wallet/crypto" "0.12.44" - "@keplr-wallet/proto-types" "0.12.44" - "@keplr-wallet/simple-fetch" "0.12.44" - "@keplr-wallet/types" "0.12.44" - "@keplr-wallet/unit" "0.12.44" + "@keplr-wallet/common" "0.12.96" + "@keplr-wallet/crypto" "0.12.96" + "@keplr-wallet/proto-types" "0.12.96" + "@keplr-wallet/simple-fetch" "0.12.96" + "@keplr-wallet/types" "0.12.96" + "@keplr-wallet/unit" "0.12.96" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.44.tgz#35ff6f4440a4cf1e9da2d5a1df50b44cf749c2c9" - integrity sha512-Xl88GTG5FOTFRaYOgSByvjFlKXJwWYYq0nkdZV513vUiWXKDELY4LTCYRO8KMlg0ELgy1A6/1DHIkXW4LQnqNA== +"@keplr-wallet/crypto@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.96.tgz#0f2060d2335569848a448290013caeaf8fed5470" + integrity sha512-V//wgKrE+h4gLNPWM8URb8SOzBVrLwX9bJm9JhvtsHvEj0gJj6YQzqJ0InyJFOGoJ96wUfIYW+rswz+al30SfA== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -1894,32 +1890,39 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.44.tgz#460229d72c43a24ce543b266f41cee4c1fa626e8" - integrity sha512-wgRNaVbrTN3GyNhP/L9p6ZnQMLr8vuJqmB4E8aaBTK0AVmY2zbcoVMN2gFqlFlCw80sUJbLlWMEocMTyyqLPaA== +"@keplr-wallet/proto-types@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.96.tgz#f2d2ea21158c882b0802548873704c96494cb32c" + integrity sha512-j0UbvyW2TyrCCvo6KN1QJl9vu1f/VmqTk1ScMYuPL+JT6Lo6J68Nip8SmVC4zAnCzZ1AUXs4bY/4k0fihW3ceQ== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/simple-fetch@0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.44.tgz#168c48638f592fe4cc5fe03e57eccc46a06284d7" - integrity sha512-lwTfB6g9XxZR94EBsPFuQida9HLTi67iOQtSw3JUKS6UMUNR9NrvHHrEf6F+CdBpgv5TJ0yKKQGm8+KbUhPSnw== +"@keplr-wallet/simple-fetch@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.96.tgz#58a880871517db431ddb22438440e368aa9df67c" + integrity sha512-Nba/bvmUdwSp+SH8oDdKdCbXlUjgPRD8bN5x/UY1jW3rL0ADmGqCO/JT72NSefzt09MihJpXCdRH7axcyqUKVA== + +"@keplr-wallet/types@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.96.tgz#a7735051b1f7cbcdf9b8c29010b1c3c45d195c19" + integrity sha512-tr4tPjMrJCsfRXXhhmqnpb9DqH9auJp3uuj8SvDB3pQTTaYJNxkdonLv1tYmXZZ6J9oWtk9WVEDTVgBQN/wisw== + dependencies: + long "^4.0.0" -"@keplr-wallet/types@0.12.44", "@keplr-wallet/types@^0.12.44": +"@keplr-wallet/types@^0.12.44": version "0.12.44" resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.44.tgz#0e6615b1aa441ee589f78c89bf59830936c4683f" integrity sha512-eyJMmEsYcKN/5iTIWKPmpLVeG4QRMJUlPnFxGd48FTq5/1ZwtXv1AcjN9BB13BSbp/S6vo9it2pSG+swPrno0Q== dependencies: long "^4.0.0" -"@keplr-wallet/unit@0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.44.tgz#d569e9db255d6dfedadef5efbec8f772988417e2" - integrity sha512-6i6JBXmVKo21at+2yLXDi+kyMVwHLpaaKNQ/BO3hlp8RMv9pRZPPcpSZIDYDk93QSime6BAcelVzgAfZK5ss0A== +"@keplr-wallet/unit@0.12.96": + version "0.12.96" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.96.tgz#7eb34e5d9ec535ffd53e94eef3a7398235ee23a9" + integrity sha512-CuGUGVblEZAe7ija1Ynr/0yoZa0XxZE2YGlqyR7vwKe3KeZb3r0uQ6FrWPVB7S1WElrfk5jf3KUewKDRlma2JQ== dependencies: - "@keplr-wallet/types" "0.12.44" + "@keplr-wallet/types" "0.12.96" big-integer "^1.6.48" utility-types "^3.10.0" @@ -3742,6 +3745,15 @@ axios@^1.0.0: form-data "^4.0.0" proxy-from-env "^1.1.0" +axios@^1.6.0: + version "1.7.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" + integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + babel-jest@^28.1.3: version "28.1.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" @@ -4602,13 +4614,10 @@ cosmjs-types@^0.4.0: long "^4.0.0" protobufjs "~6.11.2" -cosmjs-types@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.8.0.tgz#2ed78f3e990f770229726f95f3ef5bf9e2b6859b" - integrity sha512-Q2Mj95Fl0PYMWEhA2LuGEIhipF7mQwd9gTQ85DdP9jjjopeoGaDxvmPa5nakNzsq7FnO1DMTatXTAx6bxMH7Lg== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" +cosmjs-types@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.9.0.tgz#c3bc482d28c7dfa25d1445093fdb2d9da1f6cfcc" + integrity sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ== create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" @@ -5549,6 +5558,11 @@ follow-redirects@^1.14.0, follow-redirects@^1.14.7, follow-redirects@^1.14.9, fo resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== +follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== + foreground-child@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" @@ -7697,11 +7711,6 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mobx@^6.1.7: - version "6.12.0" - resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.12.0.tgz#72b2685ca5af031aaa49e77a4d76ed67fcbf9135" - integrity sha512-Mn6CN6meXEnMa0a5u6a5+RKrqRedHBhZGd15AWLk9O6uFY4KYHzImdt8JI8WODo1bjTSRnwXhJox+FCUZhCKCQ== - modify-values@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -8703,7 +8712,7 @@ promzard@^1.0.0: dependencies: read "^2.0.0" -protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: +protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2: version "6.11.4" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.4.tgz#29a412c38bf70d89e537b6d02d904a6f448173aa" integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw== From 96837bc30f3ea17859227fb8493986e8730143b1 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Wed, 12 Jun 2024 16:33:18 +0200 Subject: [PATCH 04/15] chore: updated types and sdk --- common/sdk/src/amino/stakers.amino.ts | 4 +- .../lcd-client/bundles/v1beta1/query.ts | 14 + common/sdk/src/clients/lcd-client/client.ts | 60 +++- .../lcd-client/delegation/v1beta1/query.ts | 14 + .../lcd-client/funders/v1beta1/query.ts | 14 + .../lcd-client/global/v1beta1/query.ts | 14 + .../clients/lcd-client/pool/v1beta1/query.ts | 14 + .../clients/lcd-client/query/v1beta1/query.ts | 36 +-- .../lcd-client/stakers/v1beta1/query.ts | 14 + .../clients/lcd-client/team/v1beta1/query.ts | 41 +++ common/types/src/client/amino/amino.ts | 2 +- .../src/client/cosmos/app/v1alpha1/module.ts | 2 +- .../cosmos/base/query/v1beta1/pagination.ts | 2 +- .../src/client/cosmos/base/v1beta1/coin.ts | 2 +- common/types/src/client/cosmos/gov/v1/gov.ts | 2 +- common/types/src/client/cosmos/gov/v1/tx.ts | 2 +- common/types/src/client/cosmos/msg/v1/msg.ts | 2 +- .../types/src/client/cosmos_proto/cosmos.ts | 2 +- common/types/src/client/gogoproto/gogo.ts | 2 +- .../src/client/google/api/annotations.ts | 2 +- common/types/src/client/google/api/http.ts | 2 +- .../types/src/client/google/protobuf/any.ts | 2 +- .../src/client/google/protobuf/duration.ts | 2 +- .../src/client/google/protobuf/timestamp.ts | 2 +- .../src/client/kyve/bundles/module/module.ts | 2 +- .../client/kyve/bundles/v1beta1/bundles.ts | 2 +- .../src/client/kyve/bundles/v1beta1/events.ts | 152 +++++----- .../client/kyve/bundles/v1beta1/genesis.ts | 2 +- .../src/client/kyve/bundles/v1beta1/params.ts | 2 +- .../src/client/kyve/bundles/v1beta1/query.ts | 2 +- .../src/client/kyve/bundles/v1beta1/tx.ts | 2 +- .../client/kyve/delegation/module/module.ts | 2 +- .../kyve/delegation/v1beta1/delegation.ts | 2 +- .../client/kyve/delegation/v1beta1/events.ts | 23 +- .../client/kyve/delegation/v1beta1/genesis.ts | 2 +- .../client/kyve/delegation/v1beta1/params.ts | 2 +- .../client/kyve/delegation/v1beta1/query.ts | 2 +- .../src/client/kyve/delegation/v1beta1/tx.ts | 2 +- .../src/client/kyve/funders/module/module.ts | 2 +- .../src/client/kyve/funders/v1beta1/events.ts | 57 ++-- .../client/kyve/funders/v1beta1/funders.ts | 2 +- .../client/kyve/funders/v1beta1/genesis.ts | 2 +- .../src/client/kyve/funders/v1beta1/params.ts | 61 ++-- .../src/client/kyve/funders/v1beta1/query.ts | 2 +- .../src/client/kyve/funders/v1beta1/tx.ts | 2 +- .../src/client/kyve/global/module/module.ts | 2 +- .../src/client/kyve/global/v1beta1/events.ts | 2 +- .../src/client/kyve/global/v1beta1/genesis.ts | 2 +- .../src/client/kyve/global/v1beta1/global.ts | 2 +- .../src/client/kyve/global/v1beta1/query.ts | 2 +- .../src/client/kyve/global/v1beta1/tx.ts | 2 +- .../src/client/kyve/pool/module/module.ts | 2 +- .../src/client/kyve/pool/v1beta1/events.ts | 34 +-- .../src/client/kyve/pool/v1beta1/genesis.ts | 2 +- .../src/client/kyve/pool/v1beta1/params.ts | 2 +- .../src/client/kyve/pool/v1beta1/pool.ts | 18 +- .../src/client/kyve/pool/v1beta1/query.ts | 2 +- .../types/src/client/kyve/pool/v1beta1/tx.ts | 18 +- .../src/client/kyve/query/module/module.ts | 2 +- .../src/client/kyve/query/v1beta1/account.ts | 2 +- .../src/client/kyve/query/v1beta1/bundles.ts | 277 ++++++++++++++++-- .../client/kyve/query/v1beta1/delegation.ts | 2 +- .../src/client/kyve/query/v1beta1/funders.ts | 2 +- .../src/client/kyve/query/v1beta1/params.ts | 2 +- .../src/client/kyve/query/v1beta1/pools.ts | 2 +- .../src/client/kyve/query/v1beta1/query.ts | 18 +- .../src/client/kyve/query/v1beta1/stakers.ts | 2 +- .../src/client/kyve/stakers/module/module.ts | 2 +- .../src/client/kyve/stakers/v1beta1/events.ts | 23 +- .../client/kyve/stakers/v1beta1/genesis.ts | 2 +- .../src/client/kyve/stakers/v1beta1/params.ts | 2 +- .../src/client/kyve/stakers/v1beta1/query.ts | 2 +- .../client/kyve/stakers/v1beta1/stakers.ts | 2 +- .../src/client/kyve/stakers/v1beta1/tx.ts | 20 +- .../src/client/kyve/team/module/module.ts | 2 +- .../src/client/kyve/team/v1beta1/events.ts | 2 +- .../src/client/kyve/team/v1beta1/genesis.ts | 2 +- .../src/client/kyve/team/v1beta1/query.ts | 2 +- .../src/client/kyve/team/v1beta1/team.ts | 2 +- .../types/src/client/kyve/team/v1beta1/tx.ts | 2 +- common/types/src/lcd/amino/amino.ts | 2 +- .../src/lcd/cosmos/app/v1alpha1/module.ts | 2 +- .../cosmos/base/query/v1beta1/pagination.ts | 2 +- .../types/src/lcd/cosmos/base/v1beta1/coin.ts | 2 +- common/types/src/lcd/cosmos/gov/v1/gov.ts | 2 +- common/types/src/lcd/cosmos/gov/v1/tx.ts | 2 +- common/types/src/lcd/cosmos/msg/v1/msg.ts | 2 +- common/types/src/lcd/cosmos_proto/cosmos.ts | 2 +- common/types/src/lcd/gogoproto/gogo.ts | 2 +- .../types/src/lcd/google/api/annotations.ts | 2 +- common/types/src/lcd/google/api/http.ts | 2 +- common/types/src/lcd/google/protobuf/any.ts | 2 +- .../types/src/lcd/google/protobuf/duration.ts | 2 +- .../src/lcd/google/protobuf/timestamp.ts | 2 +- .../src/lcd/kyve/bundles/module/module.ts | 2 +- .../src/lcd/kyve/bundles/v1beta1/bundles.ts | 2 +- .../src/lcd/kyve/bundles/v1beta1/events.ts | 152 +++++----- .../src/lcd/kyve/bundles/v1beta1/genesis.ts | 2 +- .../src/lcd/kyve/bundles/v1beta1/params.ts | 2 +- .../src/lcd/kyve/bundles/v1beta1/query.ts | 2 +- .../types/src/lcd/kyve/bundles/v1beta1/tx.ts | 2 +- .../src/lcd/kyve/delegation/module/module.ts | 2 +- .../lcd/kyve/delegation/v1beta1/delegation.ts | 2 +- .../src/lcd/kyve/delegation/v1beta1/events.ts | 23 +- .../lcd/kyve/delegation/v1beta1/genesis.ts | 2 +- .../src/lcd/kyve/delegation/v1beta1/params.ts | 2 +- .../src/lcd/kyve/delegation/v1beta1/query.ts | 2 +- .../src/lcd/kyve/delegation/v1beta1/tx.ts | 2 +- .../src/lcd/kyve/funders/module/module.ts | 2 +- .../src/lcd/kyve/funders/v1beta1/events.ts | 57 ++-- .../src/lcd/kyve/funders/v1beta1/funders.ts | 2 +- .../src/lcd/kyve/funders/v1beta1/genesis.ts | 2 +- .../src/lcd/kyve/funders/v1beta1/params.ts | 61 ++-- .../src/lcd/kyve/funders/v1beta1/query.ts | 2 +- .../types/src/lcd/kyve/funders/v1beta1/tx.ts | 2 +- .../src/lcd/kyve/global/module/module.ts | 2 +- .../src/lcd/kyve/global/v1beta1/events.ts | 2 +- .../src/lcd/kyve/global/v1beta1/genesis.ts | 2 +- .../src/lcd/kyve/global/v1beta1/global.ts | 2 +- .../src/lcd/kyve/global/v1beta1/query.ts | 2 +- .../types/src/lcd/kyve/global/v1beta1/tx.ts | 2 +- .../types/src/lcd/kyve/pool/module/module.ts | 2 +- .../types/src/lcd/kyve/pool/v1beta1/events.ts | 34 +-- .../src/lcd/kyve/pool/v1beta1/genesis.ts | 2 +- .../types/src/lcd/kyve/pool/v1beta1/params.ts | 2 +- .../types/src/lcd/kyve/pool/v1beta1/pool.ts | 18 +- .../types/src/lcd/kyve/pool/v1beta1/query.ts | 2 +- common/types/src/lcd/kyve/pool/v1beta1/tx.ts | 18 +- .../types/src/lcd/kyve/query/module/module.ts | 2 +- .../src/lcd/kyve/query/v1beta1/account.ts | 2 +- .../src/lcd/kyve/query/v1beta1/bundles.ts | 277 ++++++++++++++++-- .../src/lcd/kyve/query/v1beta1/delegation.ts | 2 +- .../src/lcd/kyve/query/v1beta1/funders.ts | 2 +- .../src/lcd/kyve/query/v1beta1/params.ts | 2 +- .../types/src/lcd/kyve/query/v1beta1/pools.ts | 2 +- .../types/src/lcd/kyve/query/v1beta1/query.ts | 18 +- .../src/lcd/kyve/query/v1beta1/stakers.ts | 2 +- .../src/lcd/kyve/stakers/module/module.ts | 2 +- .../src/lcd/kyve/stakers/v1beta1/events.ts | 23 +- .../src/lcd/kyve/stakers/v1beta1/genesis.ts | 2 +- .../src/lcd/kyve/stakers/v1beta1/params.ts | 2 +- .../src/lcd/kyve/stakers/v1beta1/query.ts | 2 +- .../src/lcd/kyve/stakers/v1beta1/stakers.ts | 2 +- .../types/src/lcd/kyve/stakers/v1beta1/tx.ts | 20 +- .../types/src/lcd/kyve/team/module/module.ts | 2 +- .../types/src/lcd/kyve/team/v1beta1/events.ts | 2 +- .../src/lcd/kyve/team/v1beta1/genesis.ts | 2 +- .../types/src/lcd/kyve/team/v1beta1/query.ts | 2 +- .../types/src/lcd/kyve/team/v1beta1/team.ts | 2 +- common/types/src/lcd/kyve/team/v1beta1/tx.ts | 2 +- 150 files changed, 1290 insertions(+), 573 deletions(-) create mode 100644 common/sdk/src/clients/lcd-client/bundles/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/delegation/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/funders/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/global/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/pool/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/stakers/v1beta1/query.ts create mode 100644 common/sdk/src/clients/lcd-client/team/v1beta1/query.ts diff --git a/common/sdk/src/amino/stakers.amino.ts b/common/sdk/src/amino/stakers.amino.ts index d0057a0c..fd6c43b6 100644 --- a/common/sdk/src/amino/stakers.amino.ts +++ b/common/sdk/src/amino/stakers.amino.ts @@ -73,11 +73,11 @@ export const createStakersAminoConverters = (): AminoConverters => { aminoType: "kyve/stakers/MsgClaimCommissionRewards", toAmino: (msg: MsgClaimCommissionRewards) => ({ creator: msg.creator, - amount: [...msg.amount], + amounts: [...msg.amounts], }), fromAmino: (msg): MsgClaimCommissionRewards => ({ creator: msg.creator, - amount: [...msg.amount], + amounts: [...msg.amounts], }), }, "/kyve.stakers.v1beta1.MsgJoinPool": { diff --git a/common/sdk/src/clients/lcd-client/bundles/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/bundles/v1beta1/query.ts new file mode 100644 index 00000000..0bb4f655 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/bundles/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/bundles/v1beta1/params"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class BundlesModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/bundles/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/client.ts b/common/sdk/src/clients/lcd-client/client.ts index 307afe1a..eb63586e 100644 --- a/common/sdk/src/clients/lcd-client/client.ts +++ b/common/sdk/src/clients/lcd-client/client.ts @@ -1,15 +1,69 @@ -import { KyveRegistryLCDClient } from "./query/v1beta1/query"; +import { BundlesModuleLCDClient } from "./bundles/v1beta1/query"; +import { DelegationModuleLCDClient } from "./delegation/v1beta1/query"; +import { FundersModuleLCDClient } from "./funders/v1beta1/query"; +import { GlobalModuleLCDClient } from "./global/v1beta1/query"; +import { PoolModuleLCDClient } from "./pool/v1beta1/query"; +import { QueryModuleLCDClient } from "./query/v1beta1/query"; +import { StakersModuleLCDClient } from "./stakers/v1beta1/query"; +import { TeamModuleLCDClient } from "./team/v1beta1/query"; class KyveLCDClient { - public query: { v1beta1: KyveRegistryLCDClient }; + public bundles: { + v1beta1: BundlesModuleLCDClient; + }; + public delegation: { + v1beta1: DelegationModuleLCDClient; + }; + public funders: { + v1beta1: FundersModuleLCDClient; + }; + public global: { + v1beta1: GlobalModuleLCDClient; + }; + public pool: { + v1beta1: PoolModuleLCDClient; + }; + public query: { + v1beta1: QueryModuleLCDClient; + }; + public stakers: { + v1beta1: StakersModuleLCDClient; + }; + public team: { + v1beta1: TeamModuleLCDClient; + }; + constructor(restEndpoint: string) { + this.bundles = { + v1beta1: new BundlesModuleLCDClient(restEndpoint), + }; + this.delegation = { + v1beta1: new DelegationModuleLCDClient(restEndpoint), + }; + this.funders = { + v1beta1: new FundersModuleLCDClient(restEndpoint), + }; + this.global = { + v1beta1: new GlobalModuleLCDClient(restEndpoint), + }; + this.pool = { + v1beta1: new PoolModuleLCDClient(restEndpoint), + }; this.query = { - v1beta1: new KyveRegistryLCDClient(restEndpoint), + v1beta1: new QueryModuleLCDClient(restEndpoint), + }; + this.stakers = { + v1beta1: new StakersModuleLCDClient(restEndpoint), + }; + this.team = { + v1beta1: new TeamModuleLCDClient(restEndpoint), }; } } + export type KyveLCDClientType = { kyve: KyveLCDClient; }; + export function createKyveLCDClient(restEndpoint: string): KyveLCDClientType { return { kyve: new KyveLCDClient(restEndpoint), diff --git a/common/sdk/src/clients/lcd-client/delegation/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/delegation/v1beta1/query.ts new file mode 100644 index 00000000..534e9273 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/delegation/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/delegation/v1beta1/params"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class DelegationModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/delegation/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/funders/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/funders/v1beta1/query.ts new file mode 100644 index 00000000..f77102c6 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/funders/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/funders/v1beta1/params"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class FundersModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/funders/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/global/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/global/v1beta1/query.ts new file mode 100644 index 00000000..8f3a7c01 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/global/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/global/v1beta1/query"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class GlobalModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/global/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/pool/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/pool/v1beta1/query.ts new file mode 100644 index 00000000..eec6c36b --- /dev/null +++ b/common/sdk/src/clients/lcd-client/pool/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/pool/v1beta1/params"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class PoolModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/pool/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts index 8328525e..f0887133 100644 --- a/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts +++ b/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts @@ -51,7 +51,7 @@ type PaginationResponseTypeUtil = Overwrite< { pagination?: { next_key: string; total: string } } >; -export class KyveRegistryLCDClient extends AbstractKyveLCDClient { +export class QueryModuleLCDClient extends AbstractKyveLCDClient { constructor(restEndpoint: string) { super(restEndpoint); } @@ -126,28 +126,7 @@ export class KyveRegistryLCDClient extends AbstractKyveLCDClient { return await this.request(endpoint); } /** end stakers **/ - - // async finalizedBundles( - // params: PaginationPartialRequestUtilType - // ): Promise< - // PaginationResponseTypeUtil - // > { - // const parameters: Record = {}; - // - // if (typeof params?.pagination !== "undefined") { - // parameters.pagination = params.pagination; - // } - // const endpoint = `kyve/query/v1beta1/finalized_bundles/${params.pool_id}`; - // return await this.request(endpoint, parameters); - // } /** Bundles **/ - async finalizedBundle( - params: kyveQueryBundles.QueryFinalizedBundleRequest - ): Promise { - const endpoint = `/kyve/v1/bundles/${params.pool_id}/${params.id}`; - return await this.request(endpoint); - } - async finalizedBundles( params: PaginationPartialRequestUtilType ): Promise< @@ -158,9 +137,22 @@ export class KyveRegistryLCDClient extends AbstractKyveLCDClient { if (typeof params?.pagination !== "undefined") { parameters.pagination = params.pagination; } + + if (typeof params.index !== "undefined") { + parameters.index = params.index; + } + const endpoint = `/kyve/v1/bundles/${params.pool_id}`; return await this.request(endpoint, parameters); } + + async finalizedBundle( + params: kyveQueryBundles.QueryFinalizedBundleRequest + ): Promise { + const endpoint = `/kyve/v1/bundles/${params.pool_id}/${params.id}`; + return await this.request(endpoint); + } + async currentVoteStatus( params: kyveQueryBundles.QueryCurrentVoteStatusRequest ): Promise { diff --git a/common/sdk/src/clients/lcd-client/stakers/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/stakers/v1beta1/query.ts new file mode 100644 index 00000000..4740850a --- /dev/null +++ b/common/sdk/src/clients/lcd-client/stakers/v1beta1/query.ts @@ -0,0 +1,14 @@ +import paramsRes from "@kyvejs/types/lcd/kyve/stakers/v1beta1/params"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class StakersModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async params(): Promise { + const endpoint = `/kyve/stakers/v1beta1/params`; + return await this.request(endpoint); + } +} diff --git a/common/sdk/src/clients/lcd-client/team/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/team/v1beta1/query.ts new file mode 100644 index 00000000..e09385c5 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/team/v1beta1/query.ts @@ -0,0 +1,41 @@ +import queryReq from "@kyvejs/types/client/kyve/team/v1beta1/query"; +import queryRes from "@kyvejs/types/lcd/kyve/team/v1beta1/query"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +export class TeamModuleLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async teamInfo(): Promise { + const endpoint = `/kyve/team/v1beta1/team_info`; + return await this.request(endpoint); + } + + async teamVestingAccounts(): Promise { + const endpoint = `/kyve/team/v1beta1/team_vesting_accounts`; + return await this.request(endpoint); + } + + async teamVestingAccount( + params: queryReq.QueryTeamVestingAccountRequest + ): Promise { + const endpoint = `/kyve/team/v1beta1/team_vesting_account/${params.id}`; + return await this.request(endpoint); + } + + async teamVestingStatus( + params: queryReq.QueryTeamVestingStatusRequest + ): Promise { + const endpoint = `/kyve/team/v1beta1/team_vesting_status/${params.id}`; + return await this.request(endpoint); + } + + async teamVestingStatusByTime( + params: queryReq.QueryTeamVestingStatusByTimeRequest + ): Promise { + const endpoint = `/kyve/team/v1beta1/team_vesting_status_by_time/${params.id}/${params.time}`; + return await this.request(endpoint); + } +} diff --git a/common/types/src/client/amino/amino.ts b/common/types/src/client/amino/amino.ts index 9dee64db..804a46c0 100644 --- a/common/types/src/client/amino/amino.ts +++ b/common/types/src/client/amino/amino.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: amino/amino.proto diff --git a/common/types/src/client/cosmos/app/v1alpha1/module.ts b/common/types/src/client/cosmos/app/v1alpha1/module.ts index 8434c20f..49b4ccc5 100644 --- a/common/types/src/client/cosmos/app/v1alpha1/module.ts +++ b/common/types/src/client/cosmos/app/v1alpha1/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/app/v1alpha1/module.proto diff --git a/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts b/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts index 21a4c8c1..2dd71f6b 100644 --- a/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts +++ b/common/types/src/client/cosmos/base/query/v1beta1/pagination.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/base/query/v1beta1/pagination.proto diff --git a/common/types/src/client/cosmos/base/v1beta1/coin.ts b/common/types/src/client/cosmos/base/v1beta1/coin.ts index 36e9d5cf..25ad32cf 100644 --- a/common/types/src/client/cosmos/base/v1beta1/coin.ts +++ b/common/types/src/client/cosmos/base/v1beta1/coin.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/base/v1beta1/coin.proto diff --git a/common/types/src/client/cosmos/gov/v1/gov.ts b/common/types/src/client/cosmos/gov/v1/gov.ts index 5abbd6a5..9d021238 100644 --- a/common/types/src/client/cosmos/gov/v1/gov.ts +++ b/common/types/src/client/cosmos/gov/v1/gov.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/gov/v1/gov.proto diff --git a/common/types/src/client/cosmos/gov/v1/tx.ts b/common/types/src/client/cosmos/gov/v1/tx.ts index e108c3a2..0737790e 100644 --- a/common/types/src/client/cosmos/gov/v1/tx.ts +++ b/common/types/src/client/cosmos/gov/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/gov/v1/tx.proto diff --git a/common/types/src/client/cosmos/msg/v1/msg.ts b/common/types/src/client/cosmos/msg/v1/msg.ts index 964a82b0..7012edff 100644 --- a/common/types/src/client/cosmos/msg/v1/msg.ts +++ b/common/types/src/client/cosmos/msg/v1/msg.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/msg/v1/msg.proto diff --git a/common/types/src/client/cosmos_proto/cosmos.ts b/common/types/src/client/cosmos_proto/cosmos.ts index 864203ec..75fa23b3 100644 --- a/common/types/src/client/cosmos_proto/cosmos.ts +++ b/common/types/src/client/cosmos_proto/cosmos.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos_proto/cosmos.proto diff --git a/common/types/src/client/gogoproto/gogo.ts b/common/types/src/client/gogoproto/gogo.ts index f8d6a43c..edd73fe6 100644 --- a/common/types/src/client/gogoproto/gogo.ts +++ b/common/types/src/client/gogoproto/gogo.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: gogoproto/gogo.proto diff --git a/common/types/src/client/google/api/annotations.ts b/common/types/src/client/google/api/annotations.ts index 9bb063ea..1d1b2d5f 100644 --- a/common/types/src/client/google/api/annotations.ts +++ b/common/types/src/client/google/api/annotations.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/api/annotations.proto diff --git a/common/types/src/client/google/api/http.ts b/common/types/src/client/google/api/http.ts index 00c47d78..0b105734 100644 --- a/common/types/src/client/google/api/http.ts +++ b/common/types/src/client/google/api/http.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/api/http.proto diff --git a/common/types/src/client/google/protobuf/any.ts b/common/types/src/client/google/protobuf/any.ts index df2bb7f9..69bacf8e 100644 --- a/common/types/src/client/google/protobuf/any.ts +++ b/common/types/src/client/google/protobuf/any.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/any.proto diff --git a/common/types/src/client/google/protobuf/duration.ts b/common/types/src/client/google/protobuf/duration.ts index 99dc3ea9..68f69d05 100644 --- a/common/types/src/client/google/protobuf/duration.ts +++ b/common/types/src/client/google/protobuf/duration.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/duration.proto diff --git a/common/types/src/client/google/protobuf/timestamp.ts b/common/types/src/client/google/protobuf/timestamp.ts index 684c2ab2..84095fd4 100644 --- a/common/types/src/client/google/protobuf/timestamp.ts +++ b/common/types/src/client/google/protobuf/timestamp.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/timestamp.proto diff --git a/common/types/src/client/kyve/bundles/module/module.ts b/common/types/src/client/kyve/bundles/module/module.ts index f289c2b1..f025fd37 100644 --- a/common/types/src/client/kyve/bundles/module/module.ts +++ b/common/types/src/client/kyve/bundles/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/module/module.proto diff --git a/common/types/src/client/kyve/bundles/v1beta1/bundles.ts b/common/types/src/client/kyve/bundles/v1beta1/bundles.ts index 9073a257..2e6c6b5e 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/bundles.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/bundles.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/bundles.proto diff --git a/common/types/src/client/kyve/bundles/v1beta1/events.ts b/common/types/src/client/kyve/bundles/v1beta1/events.ts index 50cd454f..17b0285a 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/events.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BundleStatus, bundleStatusFromJSON, bundleStatusToJSON } from "./bundles"; import { Params } from "./params"; import { VoteType, voteTypeFromJSON, voteTypeToJSON } from "./tx"; @@ -113,20 +112,20 @@ export interface EventBundleFinalized { /** status of the finalized bundle */ status: BundleStatus; /** amount which funders provided to the total bundle reward */ - funders_payout: Coin[]; + funders_payout: string; /** amount which the inflation pool provided to the total reward (in ukyve) */ inflation_payout: string; /** rewards transferred to treasury */ - reward_treasury: Coin[]; + reward_treasury: string; /** - * reward_uploader_commission are the commission rewards of the uploader. - * if the uploader has no delegations the delegation rewards are included here + * reward_uploader are the total rewards (commission + storage cost) + * the uploader received */ - reward_uploader_commission: Coin[]; + reward_uploader: string; /** rewardDelegation rewards distributed among all delegators */ - reward_delegation: Coin[]; + reward_delegation: string; /** rewardTotal the total bundle reward */ - reward_total: Coin[]; + reward_total: string; /** finalized_at the block height where the bundle got finalized */ finalized_at: string; /** uploader the address of the uploader of this bundle */ @@ -134,7 +133,12 @@ export interface EventBundleFinalized { /** next_uploader the address of the next uploader after this bundle */ next_uploader: string; /** reward_uploader_storage_cost are the storage cost rewards for the uploader */ - reward_uploader_storage_cost: Coin[]; + reward_uploader_storage_cost: string; + /** + * reward_uploader_commission are the commission rewards of the uploader. + * if the uploader has no delegations the delegation rewards are included here + */ + reward_uploader_commission: string; } /** @@ -667,16 +671,17 @@ function createBaseEventBundleFinalized(): EventBundleFinalized { abstain: "0", total: "0", status: 0, - funders_payout: [], + funders_payout: "", inflation_payout: "0", - reward_treasury: [], - reward_uploader_commission: [], - reward_delegation: [], - reward_total: [], + reward_treasury: "", + reward_uploader: "", + reward_delegation: "", + reward_total: "", finalized_at: "0", uploader: "", next_uploader: "", - reward_uploader_storage_cost: [], + reward_uploader_storage_cost: "", + reward_uploader_commission: "", }; } @@ -703,23 +708,23 @@ export const EventBundleFinalized = { if (message.status !== 0) { writer.uint32(56).int32(message.status); } - for (const v of message.funders_payout) { - Coin.encode(v!, writer.uint32(66).fork()).ldelim(); + if (message.funders_payout !== "") { + writer.uint32(66).string(message.funders_payout); } if (message.inflation_payout !== "0") { writer.uint32(72).uint64(message.inflation_payout); } - for (const v of message.reward_treasury) { - Coin.encode(v!, writer.uint32(82).fork()).ldelim(); + if (message.reward_treasury !== "") { + writer.uint32(82).string(message.reward_treasury); } - for (const v of message.reward_uploader_commission) { - Coin.encode(v!, writer.uint32(90).fork()).ldelim(); + if (message.reward_uploader !== "") { + writer.uint32(90).string(message.reward_uploader); } - for (const v of message.reward_delegation) { - Coin.encode(v!, writer.uint32(98).fork()).ldelim(); + if (message.reward_delegation !== "") { + writer.uint32(98).string(message.reward_delegation); } - for (const v of message.reward_total) { - Coin.encode(v!, writer.uint32(106).fork()).ldelim(); + if (message.reward_total !== "") { + writer.uint32(106).string(message.reward_total); } if (message.finalized_at !== "0") { writer.uint32(112).uint64(message.finalized_at); @@ -730,8 +735,11 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { writer.uint32(130).string(message.next_uploader); } - for (const v of message.reward_uploader_storage_cost) { - Coin.encode(v!, writer.uint32(138).fork()).ldelim(); + if (message.reward_uploader_storage_cost !== "") { + writer.uint32(138).string(message.reward_uploader_storage_cost); + } + if (message.reward_uploader_commission !== "") { + writer.uint32(146).string(message.reward_uploader_commission); } return writer; }, @@ -797,7 +805,7 @@ export const EventBundleFinalized = { break; } - message.funders_payout.push(Coin.decode(reader, reader.uint32())); + message.funders_payout = reader.string(); continue; case 9: if (tag !== 72) { @@ -811,28 +819,28 @@ export const EventBundleFinalized = { break; } - message.reward_treasury.push(Coin.decode(reader, reader.uint32())); + message.reward_treasury = reader.string(); continue; case 11: if (tag !== 90) { break; } - message.reward_uploader_commission.push(Coin.decode(reader, reader.uint32())); + message.reward_uploader = reader.string(); continue; case 12: if (tag !== 98) { break; } - message.reward_delegation.push(Coin.decode(reader, reader.uint32())); + message.reward_delegation = reader.string(); continue; case 13: if (tag !== 106) { break; } - message.reward_total.push(Coin.decode(reader, reader.uint32())); + message.reward_total = reader.string(); continue; case 14: if (tag !== 112) { @@ -860,7 +868,14 @@ export const EventBundleFinalized = { break; } - message.reward_uploader_storage_cost.push(Coin.decode(reader, reader.uint32())); + message.reward_uploader_storage_cost = reader.string(); + continue; + case 18: + if (tag !== 146) { + break; + } + + message.reward_uploader_commission = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -880,28 +895,21 @@ export const EventBundleFinalized = { abstain: isSet(object.abstain) ? globalThis.String(object.abstain) : "0", total: isSet(object.total) ? globalThis.String(object.total) : "0", status: isSet(object.status) ? bundleStatusFromJSON(object.status) : 0, - funders_payout: globalThis.Array.isArray(object?.funders_payout) - ? object.funders_payout.map((e: any) => Coin.fromJSON(e)) - : [], + funders_payout: isSet(object.funders_payout) ? globalThis.String(object.funders_payout) : "", inflation_payout: isSet(object.inflation_payout) ? globalThis.String(object.inflation_payout) : "0", - reward_treasury: globalThis.Array.isArray(object?.reward_treasury) - ? object.reward_treasury.map((e: any) => Coin.fromJSON(e)) - : [], - reward_uploader_commission: globalThis.Array.isArray(object?.reward_uploader_commission) - ? object.reward_uploader_commission.map((e: any) => Coin.fromJSON(e)) - : [], - reward_delegation: globalThis.Array.isArray(object?.reward_delegation) - ? object.reward_delegation.map((e: any) => Coin.fromJSON(e)) - : [], - reward_total: globalThis.Array.isArray(object?.reward_total) - ? object.reward_total.map((e: any) => Coin.fromJSON(e)) - : [], + reward_treasury: isSet(object.reward_treasury) ? globalThis.String(object.reward_treasury) : "", + reward_uploader: isSet(object.reward_uploader) ? globalThis.String(object.reward_uploader) : "", + reward_delegation: isSet(object.reward_delegation) ? globalThis.String(object.reward_delegation) : "", + reward_total: isSet(object.reward_total) ? globalThis.String(object.reward_total) : "", finalized_at: isSet(object.finalized_at) ? globalThis.String(object.finalized_at) : "0", uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", next_uploader: isSet(object.next_uploader) ? globalThis.String(object.next_uploader) : "", - reward_uploader_storage_cost: globalThis.Array.isArray(object?.reward_uploader_storage_cost) - ? object.reward_uploader_storage_cost.map((e: any) => Coin.fromJSON(e)) - : [], + reward_uploader_storage_cost: isSet(object.reward_uploader_storage_cost) + ? globalThis.String(object.reward_uploader_storage_cost) + : "", + reward_uploader_commission: isSet(object.reward_uploader_commission) + ? globalThis.String(object.reward_uploader_commission) + : "", }; }, @@ -928,23 +936,23 @@ export const EventBundleFinalized = { if (message.status !== 0) { obj.status = bundleStatusToJSON(message.status); } - if (message.funders_payout?.length) { - obj.funders_payout = message.funders_payout.map((e) => Coin.toJSON(e)); + if (message.funders_payout !== "") { + obj.funders_payout = message.funders_payout; } if (message.inflation_payout !== "0") { obj.inflation_payout = message.inflation_payout; } - if (message.reward_treasury?.length) { - obj.reward_treasury = message.reward_treasury.map((e) => Coin.toJSON(e)); + if (message.reward_treasury !== "") { + obj.reward_treasury = message.reward_treasury; } - if (message.reward_uploader_commission?.length) { - obj.reward_uploader_commission = message.reward_uploader_commission.map((e) => Coin.toJSON(e)); + if (message.reward_uploader !== "") { + obj.reward_uploader = message.reward_uploader; } - if (message.reward_delegation?.length) { - obj.reward_delegation = message.reward_delegation.map((e) => Coin.toJSON(e)); + if (message.reward_delegation !== "") { + obj.reward_delegation = message.reward_delegation; } - if (message.reward_total?.length) { - obj.reward_total = message.reward_total.map((e) => Coin.toJSON(e)); + if (message.reward_total !== "") { + obj.reward_total = message.reward_total; } if (message.finalized_at !== "0") { obj.finalized_at = message.finalized_at; @@ -955,8 +963,11 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { obj.next_uploader = message.next_uploader; } - if (message.reward_uploader_storage_cost?.length) { - obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost.map((e) => Coin.toJSON(e)); + if (message.reward_uploader_storage_cost !== "") { + obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost; + } + if (message.reward_uploader_commission !== "") { + obj.reward_uploader_commission = message.reward_uploader_commission; } return obj; }, @@ -973,16 +984,17 @@ export const EventBundleFinalized = { message.abstain = object.abstain ?? "0"; message.total = object.total ?? "0"; message.status = object.status ?? 0; - message.funders_payout = object.funders_payout?.map((e) => Coin.fromPartial(e)) || []; + message.funders_payout = object.funders_payout ?? ""; message.inflation_payout = object.inflation_payout ?? "0"; - message.reward_treasury = object.reward_treasury?.map((e) => Coin.fromPartial(e)) || []; - message.reward_uploader_commission = object.reward_uploader_commission?.map((e) => Coin.fromPartial(e)) || []; - message.reward_delegation = object.reward_delegation?.map((e) => Coin.fromPartial(e)) || []; - message.reward_total = object.reward_total?.map((e) => Coin.fromPartial(e)) || []; + message.reward_treasury = object.reward_treasury ?? ""; + message.reward_uploader = object.reward_uploader ?? ""; + message.reward_delegation = object.reward_delegation ?? ""; + message.reward_total = object.reward_total ?? ""; message.finalized_at = object.finalized_at ?? "0"; message.uploader = object.uploader ?? ""; message.next_uploader = object.next_uploader ?? ""; - message.reward_uploader_storage_cost = object.reward_uploader_storage_cost?.map((e) => Coin.fromPartial(e)) || []; + message.reward_uploader_storage_cost = object.reward_uploader_storage_cost ?? ""; + message.reward_uploader_commission = object.reward_uploader_commission ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/bundles/v1beta1/genesis.ts b/common/types/src/client/kyve/bundles/v1beta1/genesis.ts index 3bf6d42d..8cdf9ace 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/bundles/v1beta1/params.ts b/common/types/src/client/kyve/bundles/v1beta1/params.ts index 404aa97e..6194f7eb 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/params.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/params.proto diff --git a/common/types/src/client/kyve/bundles/v1beta1/query.ts b/common/types/src/client/kyve/bundles/v1beta1/query.ts index 3719dbdd..9d07008b 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/query.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/query.proto diff --git a/common/types/src/client/kyve/bundles/v1beta1/tx.ts b/common/types/src/client/kyve/bundles/v1beta1/tx.ts index bb7258b7..d2fef630 100644 --- a/common/types/src/client/kyve/bundles/v1beta1/tx.ts +++ b/common/types/src/client/kyve/bundles/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/tx.proto diff --git a/common/types/src/client/kyve/delegation/module/module.ts b/common/types/src/client/kyve/delegation/module/module.ts index 4a0836c6..5e1a934d 100644 --- a/common/types/src/client/kyve/delegation/module/module.ts +++ b/common/types/src/client/kyve/delegation/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/module/module.proto diff --git a/common/types/src/client/kyve/delegation/v1beta1/delegation.ts b/common/types/src/client/kyve/delegation/v1beta1/delegation.ts index fa3222a3..96461ad8 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/delegation.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/delegation.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/delegation.proto diff --git a/common/types/src/client/kyve/delegation/v1beta1/events.ts b/common/types/src/client/kyve/delegation/v1beta1/events.ts index b26286e6..f58938b0 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/events.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { SlashType, slashTypeFromJSON, slashTypeToJSON } from "./delegation"; import { Params } from "./params"; @@ -98,8 +97,8 @@ export interface EventWithdrawRewards { address: string; /** staker is the account address of the protocol node the users withdraws from. */ staker: string; - /** amount ... */ - amount: Coin[]; + /** amounts ... */ + amounts: string; } /** @@ -599,7 +598,7 @@ export const EventRedelegate = { }; function createBaseEventWithdrawRewards(): EventWithdrawRewards { - return { address: "", staker: "", amount: [] }; + return { address: "", staker: "", amounts: "" }; } export const EventWithdrawRewards = { @@ -610,8 +609,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { writer.uint32(18).string(message.staker); } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } return writer; }, @@ -642,7 +641,7 @@ export const EventWithdrawRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -657,7 +656,7 @@ export const EventWithdrawRewards = { return { address: isSet(object.address) ? globalThis.String(object.address) : "", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -669,8 +668,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -682,7 +681,7 @@ export const EventWithdrawRewards = { const message = createBaseEventWithdrawRewards(); message.address = object.address ?? ""; message.staker = object.staker ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/delegation/v1beta1/genesis.ts b/common/types/src/client/kyve/delegation/v1beta1/genesis.ts index 403c0f99..88f9492a 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/delegation/v1beta1/params.ts b/common/types/src/client/kyve/delegation/v1beta1/params.ts index 0868bbc3..eaa8393c 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/params.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/params.proto diff --git a/common/types/src/client/kyve/delegation/v1beta1/query.ts b/common/types/src/client/kyve/delegation/v1beta1/query.ts index 1574a710..51787f12 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/query.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/query.proto diff --git a/common/types/src/client/kyve/delegation/v1beta1/tx.ts b/common/types/src/client/kyve/delegation/v1beta1/tx.ts index 3583aec6..52c7b68b 100644 --- a/common/types/src/client/kyve/delegation/v1beta1/tx.ts +++ b/common/types/src/client/kyve/delegation/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/tx.proto diff --git a/common/types/src/client/kyve/funders/module/module.ts b/common/types/src/client/kyve/funders/module/module.ts index a1f793ad..66639f77 100644 --- a/common/types/src/client/kyve/funders/module/module.ts +++ b/common/types/src/client/kyve/funders/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/module/module.proto diff --git a/common/types/src/client/kyve/funders/v1beta1/events.ts b/common/types/src/client/kyve/funders/v1beta1/events.ts index 741869a6..6711aa41 100644 --- a/common/types/src/client/kyve/funders/v1beta1/events.ts +++ b/common/types/src/client/kyve/funders/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -77,9 +76,9 @@ export interface EventFundPool { /** address is the account address of the pool funder. */ address: string; /** amounts is a list of coins the funder has funded */ - amounts: Coin[]; + amounts: string; /** amounts_per_bundle is a list of coins the funder wants to distribute per finalized bundle */ - amounts_per_bundle: Coin[]; + amounts_per_bundle: string; } /** @@ -92,7 +91,7 @@ export interface EventDefundPool { /** address is the account address of the pool funder. */ address: string; /** amounts is a list of coins that the funder wants to defund */ - amounts: Coin[]; + amounts: string; } /** @@ -466,7 +465,7 @@ export const EventUpdateFunder = { }; function createBaseEventFundPool(): EventFundPool { - return { pool_id: "0", address: "", amounts: [], amounts_per_bundle: [] }; + return { pool_id: "0", address: "", amounts: "", amounts_per_bundle: "" }; } export const EventFundPool = { @@ -477,11 +476,11 @@ export const EventFundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } - for (const v of message.amounts_per_bundle) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + if (message.amounts_per_bundle !== "") { + writer.uint32(34).string(message.amounts_per_bundle); } return writer; }, @@ -512,14 +511,14 @@ export const EventFundPool = { break; } - message.amounts.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; case 4: if (tag !== 34) { break; } - message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); + message.amounts_per_bundle = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -534,10 +533,8 @@ export const EventFundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], - amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) - ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) - : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", + amounts_per_bundle: isSet(object.amounts_per_bundle) ? globalThis.String(object.amounts_per_bundle) : "", }; }, @@ -549,11 +546,11 @@ export const EventFundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amounts?.length) { - obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } - if (message.amounts_per_bundle?.length) { - obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); + if (message.amounts_per_bundle !== "") { + obj.amounts_per_bundle = message.amounts_per_bundle; } return obj; }, @@ -565,14 +562,14 @@ export const EventFundPool = { const message = createBaseEventFundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; - message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; + message.amounts_per_bundle = object.amounts_per_bundle ?? ""; return message; }, }; function createBaseEventDefundPool(): EventDefundPool { - return { pool_id: "0", address: "", amounts: [] }; + return { pool_id: "0", address: "", amounts: "" }; } export const EventDefundPool = { @@ -583,8 +580,8 @@ export const EventDefundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } return writer; }, @@ -615,7 +612,7 @@ export const EventDefundPool = { break; } - message.amounts.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -630,7 +627,7 @@ export const EventDefundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -642,8 +639,8 @@ export const EventDefundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amounts?.length) { - obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -655,7 +652,7 @@ export const EventDefundPool = { const message = createBaseEventDefundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/funders/v1beta1/funders.ts b/common/types/src/client/kyve/funders/v1beta1/funders.ts index 477123ad..c8305c68 100644 --- a/common/types/src/client/kyve/funders/v1beta1/funders.ts +++ b/common/types/src/client/kyve/funders/v1beta1/funders.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/funders.proto diff --git a/common/types/src/client/kyve/funders/v1beta1/genesis.ts b/common/types/src/client/kyve/funders/v1beta1/genesis.ts index 6d119ecf..5ba62375 100644 --- a/common/types/src/client/kyve/funders/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/funders/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/funders/v1beta1/params.ts b/common/types/src/client/kyve/funders/v1beta1/params.ts index 067e9e88..e1f1b19d 100644 --- a/common/types/src/client/kyve/funders/v1beta1/params.ts +++ b/common/types/src/client/kyve/funders/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/params.proto @@ -20,14 +20,18 @@ export interface WhitelistCoinEntry { * needs to be unique */ coin_denom: string; + /** coin_decimals are the decimals of the coin */ + coin_decimals: number; /** * min_funding_amount is the minimum required amount of this denom that needs - * to be funded + * to be funded. It is of type math.Int since a uint64 is not sufficient for a + * coin with 18 decimals */ min_funding_amount: string; /** * min_funding_amount_per_bundle is the minimum required amount of this denom - * that needs to be funded per bundle + * that needs to be funded per bundle. It is of type math.Int since a uint64 + * is not sufficient for a coin with 18 decimals */ min_funding_amount_per_bundle: string; /** @@ -50,7 +54,13 @@ export interface Params { } function createBaseWhitelistCoinEntry(): WhitelistCoinEntry { - return { coin_denom: "", min_funding_amount: "0", min_funding_amount_per_bundle: "0", coin_weight: "" }; + return { + coin_denom: "", + coin_decimals: 0, + min_funding_amount: "", + min_funding_amount_per_bundle: "", + coin_weight: "", + }; } export const WhitelistCoinEntry = { @@ -58,14 +68,17 @@ export const WhitelistCoinEntry = { if (message.coin_denom !== "") { writer.uint32(10).string(message.coin_denom); } - if (message.min_funding_amount !== "0") { - writer.uint32(16).uint64(message.min_funding_amount); + if (message.coin_decimals !== 0) { + writer.uint32(16).uint32(message.coin_decimals); } - if (message.min_funding_amount_per_bundle !== "0") { - writer.uint32(24).uint64(message.min_funding_amount_per_bundle); + if (message.min_funding_amount !== "") { + writer.uint32(26).string(message.min_funding_amount); + } + if (message.min_funding_amount_per_bundle !== "") { + writer.uint32(34).string(message.min_funding_amount_per_bundle); } if (message.coin_weight !== "") { - writer.uint32(34).string(message.coin_weight); + writer.uint32(42).string(message.coin_weight); } return writer; }, @@ -89,20 +102,27 @@ export const WhitelistCoinEntry = { break; } - message.min_funding_amount = longToString(reader.uint64() as Long); + message.coin_decimals = reader.uint32(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + message.min_funding_amount = reader.string(); continue; case 4: if (tag !== 34) { break; } + message.min_funding_amount_per_bundle = reader.string(); + continue; + case 5: + if (tag !== 42) { + break; + } + message.coin_weight = reader.string(); continue; } @@ -117,10 +137,11 @@ export const WhitelistCoinEntry = { fromJSON(object: any): WhitelistCoinEntry { return { coin_denom: isSet(object.coin_denom) ? globalThis.String(object.coin_denom) : "", - min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "0", + coin_decimals: isSet(object.coin_decimals) ? globalThis.Number(object.coin_decimals) : 0, + min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "", min_funding_amount_per_bundle: isSet(object.min_funding_amount_per_bundle) ? globalThis.String(object.min_funding_amount_per_bundle) - : "0", + : "", coin_weight: isSet(object.coin_weight) ? globalThis.String(object.coin_weight) : "", }; }, @@ -130,10 +151,13 @@ export const WhitelistCoinEntry = { if (message.coin_denom !== "") { obj.coin_denom = message.coin_denom; } - if (message.min_funding_amount !== "0") { + if (message.coin_decimals !== 0) { + obj.coin_decimals = Math.round(message.coin_decimals); + } + if (message.min_funding_amount !== "") { obj.min_funding_amount = message.min_funding_amount; } - if (message.min_funding_amount_per_bundle !== "0") { + if (message.min_funding_amount_per_bundle !== "") { obj.min_funding_amount_per_bundle = message.min_funding_amount_per_bundle; } if (message.coin_weight !== "") { @@ -148,8 +172,9 @@ export const WhitelistCoinEntry = { fromPartial, I>>(object: I): WhitelistCoinEntry { const message = createBaseWhitelistCoinEntry(); message.coin_denom = object.coin_denom ?? ""; - message.min_funding_amount = object.min_funding_amount ?? "0"; - message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_decimals = object.coin_decimals ?? 0; + message.min_funding_amount = object.min_funding_amount ?? ""; + message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? ""; message.coin_weight = object.coin_weight ?? ""; return message; }, diff --git a/common/types/src/client/kyve/funders/v1beta1/query.ts b/common/types/src/client/kyve/funders/v1beta1/query.ts index dd5cb17c..0d1319bc 100644 --- a/common/types/src/client/kyve/funders/v1beta1/query.ts +++ b/common/types/src/client/kyve/funders/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/query.proto diff --git a/common/types/src/client/kyve/funders/v1beta1/tx.ts b/common/types/src/client/kyve/funders/v1beta1/tx.ts index 1838b452..9ed8ce6a 100644 --- a/common/types/src/client/kyve/funders/v1beta1/tx.ts +++ b/common/types/src/client/kyve/funders/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/tx.proto diff --git a/common/types/src/client/kyve/global/module/module.ts b/common/types/src/client/kyve/global/module/module.ts index 659044ab..94447ab1 100644 --- a/common/types/src/client/kyve/global/module/module.ts +++ b/common/types/src/client/kyve/global/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/module/module.proto diff --git a/common/types/src/client/kyve/global/v1beta1/events.ts b/common/types/src/client/kyve/global/v1beta1/events.ts index d21b23ef..cecb3965 100644 --- a/common/types/src/client/kyve/global/v1beta1/events.ts +++ b/common/types/src/client/kyve/global/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/events.proto diff --git a/common/types/src/client/kyve/global/v1beta1/genesis.ts b/common/types/src/client/kyve/global/v1beta1/genesis.ts index 14af13ee..0209aa89 100644 --- a/common/types/src/client/kyve/global/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/global/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/global/v1beta1/global.ts b/common/types/src/client/kyve/global/v1beta1/global.ts index a7b04716..3f6befde 100644 --- a/common/types/src/client/kyve/global/v1beta1/global.ts +++ b/common/types/src/client/kyve/global/v1beta1/global.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/global.proto diff --git a/common/types/src/client/kyve/global/v1beta1/query.ts b/common/types/src/client/kyve/global/v1beta1/query.ts index f1557a59..5aa88f4a 100644 --- a/common/types/src/client/kyve/global/v1beta1/query.ts +++ b/common/types/src/client/kyve/global/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/query.proto diff --git a/common/types/src/client/kyve/global/v1beta1/tx.ts b/common/types/src/client/kyve/global/v1beta1/tx.ts index e7e0953b..0170c465 100644 --- a/common/types/src/client/kyve/global/v1beta1/tx.ts +++ b/common/types/src/client/kyve/global/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/tx.proto diff --git a/common/types/src/client/kyve/pool/module/module.ts b/common/types/src/client/kyve/pool/module/module.ts index 63de1f11..8733c748 100644 --- a/common/types/src/client/kyve/pool/module/module.ts +++ b/common/types/src/client/kyve/pool/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/module/module.proto diff --git a/common/types/src/client/kyve/pool/v1beta1/events.ts b/common/types/src/client/kyve/pool/v1beta1/events.ts index 8e9ecff0..41176232 100644 --- a/common/types/src/client/kyve/pool/v1beta1/events.ts +++ b/common/types/src/client/kyve/pool/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/events.proto @@ -314,7 +314,7 @@ function createBaseEventCreatePool(): EventCreatePool { config: "", start_key: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", version: "", @@ -348,8 +348,8 @@ export const EventCreatePool = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -432,11 +432,11 @@ export const EventCreatePool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -507,7 +507,7 @@ export const EventCreatePool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", version: isSet(object.version) ? globalThis.String(object.version) : "", @@ -541,7 +541,7 @@ export const EventCreatePool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -580,7 +580,7 @@ export const EventCreatePool = { message.config = object.config ?? ""; message.start_key = object.start_key ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.version = object.version ?? ""; @@ -951,7 +951,7 @@ function createBaseEventPoolUpdated(): EventPoolUpdated { logo: "", config: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", storage_provider_id: 0, @@ -982,8 +982,8 @@ export const EventPoolUpdated = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -1057,11 +1057,11 @@ export const EventPoolUpdated = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -1111,7 +1111,7 @@ export const EventPoolUpdated = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, @@ -1142,7 +1142,7 @@ export const EventPoolUpdated = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -1172,7 +1172,7 @@ export const EventPoolUpdated = { message.logo = object.logo ?? ""; message.config = object.config ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.storage_provider_id = object.storage_provider_id ?? 0; diff --git a/common/types/src/client/kyve/pool/v1beta1/genesis.ts b/common/types/src/client/kyve/pool/v1beta1/genesis.ts index d48a82be..9c6e5893 100644 --- a/common/types/src/client/kyve/pool/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/pool/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/pool/v1beta1/params.ts b/common/types/src/client/kyve/pool/v1beta1/params.ts index f451b94a..8c995e04 100644 --- a/common/types/src/client/kyve/pool/v1beta1/params.ts +++ b/common/types/src/client/kyve/pool/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/params.proto diff --git a/common/types/src/client/kyve/pool/v1beta1/pool.ts b/common/types/src/client/kyve/pool/v1beta1/pool.ts index b7521d62..cbcfbe10 100644 --- a/common/types/src/client/kyve/pool/v1beta1/pool.ts +++ b/common/types/src/client/kyve/pool/v1beta1/pool.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/pool.proto @@ -411,7 +411,7 @@ function createBasePool(): Pool { current_index: "0", total_bundles: "0", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", disabled: false, @@ -458,8 +458,8 @@ export const Pool = { if (message.upload_interval !== "0") { writer.uint32(88).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(96).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(98).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(104).uint64(message.min_delegation); @@ -573,11 +573,11 @@ export const Pool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 12: - if (tag !== 96) { + if (tag !== 98) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 13: if (tag !== 104) { @@ -659,7 +659,7 @@ export const Pool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false, @@ -710,7 +710,7 @@ export const Pool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -756,7 +756,7 @@ export const Pool = { message.current_index = object.current_index ?? "0"; message.total_bundles = object.total_bundles ?? "0"; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.disabled = object.disabled ?? false; diff --git a/common/types/src/client/kyve/pool/v1beta1/query.ts b/common/types/src/client/kyve/pool/v1beta1/query.ts index 8cf05544..82da8405 100644 --- a/common/types/src/client/kyve/pool/v1beta1/query.ts +++ b/common/types/src/client/kyve/pool/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/query.proto diff --git a/common/types/src/client/kyve/pool/v1beta1/tx.ts b/common/types/src/client/kyve/pool/v1beta1/tx.ts index 2b54fb69..dd808ef7 100644 --- a/common/types/src/client/kyve/pool/v1beta1/tx.ts +++ b/common/types/src/client/kyve/pool/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/tx.proto @@ -139,7 +139,7 @@ function createBaseMsgCreatePool(): MsgCreatePool { config: "", start_key: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", version: "", @@ -173,8 +173,8 @@ export const MsgCreatePool = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -257,11 +257,11 @@ export const MsgCreatePool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -332,7 +332,7 @@ export const MsgCreatePool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", version: isSet(object.version) ? globalThis.String(object.version) : "", @@ -366,7 +366,7 @@ export const MsgCreatePool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -405,7 +405,7 @@ export const MsgCreatePool = { message.config = object.config ?? ""; message.start_key = object.start_key ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.version = object.version ?? ""; diff --git a/common/types/src/client/kyve/query/module/module.ts b/common/types/src/client/kyve/query/module/module.ts index 51604557..38ab6ab9 100644 --- a/common/types/src/client/kyve/query/module/module.ts +++ b/common/types/src/client/kyve/query/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/module/module.proto diff --git a/common/types/src/client/kyve/query/v1beta1/account.ts b/common/types/src/client/kyve/query/v1beta1/account.ts index ab020049..87e2b5be 100644 --- a/common/types/src/client/kyve/query/v1beta1/account.ts +++ b/common/types/src/client/kyve/query/v1beta1/account.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/account.proto diff --git a/common/types/src/client/kyve/query/v1beta1/bundles.ts b/common/types/src/client/kyve/query/v1beta1/bundles.ts index 4c5e6812..0ae1c2dc 100644 --- a/common/types/src/client/kyve/query/v1beta1/bundles.ts +++ b/common/types/src/client/kyve/query/v1beta1/bundles.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/bundles.proto @@ -100,8 +100,39 @@ export interface QueryFinalizedBundleRequest { /** QueryFinalizedBundleResponse is the response type for the Query/Staker RPC method. */ export interface QueryFinalizedBundleResponse { - /** finalized_bundles ... */ - finalized_bundles?: FinalizedBundle | undefined; + /** pool_id in which the bundle was created */ + pool_id: string; + /** id is is integrated with each valid bundle produced. */ + id: string; + /** storage_id is the id with which the data can be retrieved from the configured data provider */ + storage_id: string; + /** uploader is the address of the staker who submitted this bundle */ + uploader: string; + /** from_index is the index from where the bundle starts (inclusive) */ + from_index: string; + /** to_index is the index to which the bundle goes (exclusive) */ + to_index: string; + /** from_key is the key of the first data item in the bundle proposal */ + from_key: string; + /** to_key the key of the last data item in the bundle */ + to_key: string; + /** bundle_summary is a summary of the bundle. */ + bundle_summary: string; + /** data_hash is a sha256 hash of the uploaded data. */ + data_hash: string; + /** finalized_at contains details of the block that finalized this bundle. */ + finalized_at?: + | FinalizedAt + | undefined; + /** storage_provider_id the id of the storage provider where the bundle is stored */ + storage_provider_id: string; + /** compression_id the id of the compression type with which the data was compressed */ + compression_id: string; + /** + * stake_security defines the amount of stake which was present in the pool during the finalization of the bundle. + * This field was added in schema version 2. Bundles finalized before that return `null`. + */ + stake_security?: StakeSecurity | undefined; } /** QueryCurrentVoteStatusRequest is the request type for the Query/Staker RPC method. */ @@ -845,13 +876,67 @@ export const QueryFinalizedBundleRequest = { }; function createBaseQueryFinalizedBundleResponse(): QueryFinalizedBundleResponse { - return { finalized_bundles: undefined }; + return { + pool_id: "0", + id: "0", + storage_id: "", + uploader: "", + from_index: "0", + to_index: "0", + from_key: "", + to_key: "", + bundle_summary: "", + data_hash: "", + finalized_at: undefined, + storage_provider_id: "0", + compression_id: "0", + stake_security: undefined, + }; } export const QueryFinalizedBundleResponse = { encode(message: QueryFinalizedBundleResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.finalized_bundles !== undefined) { - FinalizedBundle.encode(message.finalized_bundles, writer.uint32(10).fork()).ldelim(); + if (message.pool_id !== "0") { + writer.uint32(8).uint64(message.pool_id); + } + if (message.id !== "0") { + writer.uint32(16).uint64(message.id); + } + if (message.storage_id !== "") { + writer.uint32(26).string(message.storage_id); + } + if (message.uploader !== "") { + writer.uint32(34).string(message.uploader); + } + if (message.from_index !== "0") { + writer.uint32(40).uint64(message.from_index); + } + if (message.to_index !== "0") { + writer.uint32(48).uint64(message.to_index); + } + if (message.from_key !== "") { + writer.uint32(90).string(message.from_key); + } + if (message.to_key !== "") { + writer.uint32(58).string(message.to_key); + } + if (message.bundle_summary !== "") { + writer.uint32(66).string(message.bundle_summary); + } + if (message.data_hash !== "") { + writer.uint32(74).string(message.data_hash); + } + if (message.finalized_at !== undefined) { + FinalizedAt.encode(message.finalized_at, writer.uint32(82).fork()).ldelim(); + } + if (message.storage_provider_id !== "0") { + writer.uint32(96).uint64(message.storage_provider_id); + } + if (message.compression_id !== "0") { + writer.uint32(104).uint64(message.compression_id); + } + if (message.stake_security !== undefined) { + StakeSecurity.encode(message.stake_security, writer.uint32(114).fork()).ldelim(); } return writer; }, @@ -864,11 +949,102 @@ export const QueryFinalizedBundleResponse = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 10) { + if (tag !== 8) { + break; + } + + message.pool_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.id = longToString(reader.uint64() as Long); + continue; + case 3: + if (tag !== 26) { + break; + } + + message.storage_id = reader.string(); + continue; + case 4: + if (tag !== 34) { + break; + } + + message.uploader = reader.string(); + continue; + case 5: + if (tag !== 40) { break; } - message.finalized_bundles = FinalizedBundle.decode(reader, reader.uint32()); + message.from_index = longToString(reader.uint64() as Long); + continue; + case 6: + if (tag !== 48) { + break; + } + + message.to_index = longToString(reader.uint64() as Long); + continue; + case 11: + if (tag !== 90) { + break; + } + + message.from_key = reader.string(); + continue; + case 7: + if (tag !== 58) { + break; + } + + message.to_key = reader.string(); + continue; + case 8: + if (tag !== 66) { + break; + } + + message.bundle_summary = reader.string(); + continue; + case 9: + if (tag !== 74) { + break; + } + + message.data_hash = reader.string(); + continue; + case 10: + if (tag !== 82) { + break; + } + + message.finalized_at = FinalizedAt.decode(reader, reader.uint32()); + continue; + case 12: + if (tag !== 96) { + break; + } + + message.storage_provider_id = longToString(reader.uint64() as Long); + continue; + case 13: + if (tag !== 104) { + break; + } + + message.compression_id = longToString(reader.uint64() as Long); + continue; + case 14: + if (tag !== 114) { + break; + } + + message.stake_security = StakeSecurity.decode(reader, reader.uint32()); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -881,16 +1057,66 @@ export const QueryFinalizedBundleResponse = { fromJSON(object: any): QueryFinalizedBundleResponse { return { - finalized_bundles: isSet(object.finalized_bundles) - ? FinalizedBundle.fromJSON(object.finalized_bundles) - : undefined, + pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", + id: isSet(object.id) ? globalThis.String(object.id) : "0", + storage_id: isSet(object.storage_id) ? globalThis.String(object.storage_id) : "", + uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", + from_index: isSet(object.from_index) ? globalThis.String(object.from_index) : "0", + to_index: isSet(object.to_index) ? globalThis.String(object.to_index) : "0", + from_key: isSet(object.from_key) ? globalThis.String(object.from_key) : "", + to_key: isSet(object.to_key) ? globalThis.String(object.to_key) : "", + bundle_summary: isSet(object.bundle_summary) ? globalThis.String(object.bundle_summary) : "", + data_hash: isSet(object.data_hash) ? globalThis.String(object.data_hash) : "", + finalized_at: isSet(object.finalized_at) ? FinalizedAt.fromJSON(object.finalized_at) : undefined, + storage_provider_id: isSet(object.storage_provider_id) ? globalThis.String(object.storage_provider_id) : "0", + compression_id: isSet(object.compression_id) ? globalThis.String(object.compression_id) : "0", + stake_security: isSet(object.stake_security) ? StakeSecurity.fromJSON(object.stake_security) : undefined, }; }, toJSON(message: QueryFinalizedBundleResponse): unknown { const obj: any = {}; - if (message.finalized_bundles !== undefined) { - obj.finalized_bundles = FinalizedBundle.toJSON(message.finalized_bundles); + if (message.pool_id !== "0") { + obj.pool_id = message.pool_id; + } + if (message.id !== "0") { + obj.id = message.id; + } + if (message.storage_id !== "") { + obj.storage_id = message.storage_id; + } + if (message.uploader !== "") { + obj.uploader = message.uploader; + } + if (message.from_index !== "0") { + obj.from_index = message.from_index; + } + if (message.to_index !== "0") { + obj.to_index = message.to_index; + } + if (message.from_key !== "") { + obj.from_key = message.from_key; + } + if (message.to_key !== "") { + obj.to_key = message.to_key; + } + if (message.bundle_summary !== "") { + obj.bundle_summary = message.bundle_summary; + } + if (message.data_hash !== "") { + obj.data_hash = message.data_hash; + } + if (message.finalized_at !== undefined) { + obj.finalized_at = FinalizedAt.toJSON(message.finalized_at); + } + if (message.storage_provider_id !== "0") { + obj.storage_provider_id = message.storage_provider_id; + } + if (message.compression_id !== "0") { + obj.compression_id = message.compression_id; + } + if (message.stake_security !== undefined) { + obj.stake_security = StakeSecurity.toJSON(message.stake_security); } return obj; }, @@ -900,8 +1126,23 @@ export const QueryFinalizedBundleResponse = { }, fromPartial, I>>(object: I): QueryFinalizedBundleResponse { const message = createBaseQueryFinalizedBundleResponse(); - message.finalized_bundles = (object.finalized_bundles !== undefined && object.finalized_bundles !== null) - ? FinalizedBundle.fromPartial(object.finalized_bundles) + message.pool_id = object.pool_id ?? "0"; + message.id = object.id ?? "0"; + message.storage_id = object.storage_id ?? ""; + message.uploader = object.uploader ?? ""; + message.from_index = object.from_index ?? "0"; + message.to_index = object.to_index ?? "0"; + message.from_key = object.from_key ?? ""; + message.to_key = object.to_key ?? ""; + message.bundle_summary = object.bundle_summary ?? ""; + message.data_hash = object.data_hash ?? ""; + message.finalized_at = (object.finalized_at !== undefined && object.finalized_at !== null) + ? FinalizedAt.fromPartial(object.finalized_at) + : undefined; + message.storage_provider_id = object.storage_provider_id ?? "0"; + message.compression_id = object.compression_id ?? "0"; + message.stake_security = (object.stake_security !== undefined && object.stake_security !== null) + ? StakeSecurity.fromPartial(object.stake_security) : undefined; return message; }, @@ -1581,7 +1822,7 @@ export interface QueryBundles { /** FinalizedBundles ... */ FinalizedBundlesQuery(request: QueryFinalizedBundlesRequest): Promise; /** FinalizedBundle ... */ - FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise; + FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise; /** CurrentVoteStatus ... */ CurrentVoteStatus(request: QueryCurrentVoteStatusRequest): Promise; /** CanValidate ... */ @@ -1612,10 +1853,10 @@ export class QueryBundlesClientImpl implements QueryBundles { return promise.then((data) => QueryFinalizedBundlesResponse.decode(_m0.Reader.create(data))); } - FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise { + FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise { const data = QueryFinalizedBundleRequest.encode(request).finish(); const promise = this.rpc.request(this.service, "FinalizedBundleQuery", data); - return promise.then((data) => FinalizedBundle.decode(_m0.Reader.create(data))); + return promise.then((data) => QueryFinalizedBundleResponse.decode(_m0.Reader.create(data))); } CurrentVoteStatus(request: QueryCurrentVoteStatusRequest): Promise { diff --git a/common/types/src/client/kyve/query/v1beta1/delegation.ts b/common/types/src/client/kyve/query/v1beta1/delegation.ts index e42b209a..39e5fe44 100644 --- a/common/types/src/client/kyve/query/v1beta1/delegation.ts +++ b/common/types/src/client/kyve/query/v1beta1/delegation.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/delegation.proto diff --git a/common/types/src/client/kyve/query/v1beta1/funders.ts b/common/types/src/client/kyve/query/v1beta1/funders.ts index e8b1dcd0..43535cf9 100644 --- a/common/types/src/client/kyve/query/v1beta1/funders.ts +++ b/common/types/src/client/kyve/query/v1beta1/funders.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/funders.proto diff --git a/common/types/src/client/kyve/query/v1beta1/params.ts b/common/types/src/client/kyve/query/v1beta1/params.ts index d0a927e0..cdd2a5ec 100644 --- a/common/types/src/client/kyve/query/v1beta1/params.ts +++ b/common/types/src/client/kyve/query/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/params.proto diff --git a/common/types/src/client/kyve/query/v1beta1/pools.ts b/common/types/src/client/kyve/query/v1beta1/pools.ts index e90b98a8..dd123737 100644 --- a/common/types/src/client/kyve/query/v1beta1/pools.ts +++ b/common/types/src/client/kyve/query/v1beta1/pools.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/pools.proto diff --git a/common/types/src/client/kyve/query/v1beta1/query.ts b/common/types/src/client/kyve/query/v1beta1/query.ts index a512c68a..55fb94f7 100644 --- a/common/types/src/client/kyve/query/v1beta1/query.ts +++ b/common/types/src/client/kyve/query/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/query.proto @@ -180,7 +180,7 @@ function createBaseBasicPool(): BasicPool { name: "", runtime: "", logo: "", - inflation_share_weight: "0", + inflation_share_weight: "", upload_interval: "0", total_funds: [], total_delegation: "0", @@ -202,8 +202,8 @@ export const BasicPool = { if (message.logo !== "") { writer.uint32(34).string(message.logo); } - if (message.inflation_share_weight !== "0") { - writer.uint32(40).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(42).string(message.inflation_share_weight); } if (message.upload_interval !== "0") { writer.uint32(48).uint64(message.upload_interval); @@ -256,11 +256,11 @@ export const BasicPool = { message.logo = reader.string(); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 6: if (tag !== 48) { @@ -307,7 +307,7 @@ export const BasicPool = { logo: isSet(object.logo) ? globalThis.String(object.logo) : "", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", total_funds: globalThis.Array.isArray(object?.total_funds) ? object.total_funds.map((e: any) => Coin.fromJSON(e)) @@ -331,7 +331,7 @@ export const BasicPool = { if (message.logo !== "") { obj.logo = message.logo; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.upload_interval !== "0") { @@ -358,7 +358,7 @@ export const BasicPool = { message.name = object.name ?? ""; message.runtime = object.runtime ?? ""; message.logo = object.logo ?? ""; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.upload_interval = object.upload_interval ?? "0"; message.total_funds = object.total_funds?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; diff --git a/common/types/src/client/kyve/query/v1beta1/stakers.ts b/common/types/src/client/kyve/query/v1beta1/stakers.ts index 9bb3fc1e..7c8b1158 100644 --- a/common/types/src/client/kyve/query/v1beta1/stakers.ts +++ b/common/types/src/client/kyve/query/v1beta1/stakers.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/stakers.proto diff --git a/common/types/src/client/kyve/stakers/module/module.ts b/common/types/src/client/kyve/stakers/module/module.ts index a5570665..8848d210 100644 --- a/common/types/src/client/kyve/stakers/module/module.ts +++ b/common/types/src/client/kyve/stakers/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/module/module.proto diff --git a/common/types/src/client/kyve/stakers/v1beta1/events.ts b/common/types/src/client/kyve/stakers/v1beta1/events.ts index ae783bc0..e61d6df4 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/events.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -79,8 +78,8 @@ export interface EventUpdateCommission { export interface EventClaimCommissionRewards { /** staker is the account address of the protocol node. */ staker: string; - /** amount is the amount of the commission rewards claimed */ - amount: Coin[]; + /** amounts is the amount of the commission rewards claimed */ + amounts: string; } /** @@ -503,7 +502,7 @@ export const EventUpdateCommission = { }; function createBaseEventClaimCommissionRewards(): EventClaimCommissionRewards { - return { staker: "", amount: [] }; + return { staker: "", amounts: "" }; } export const EventClaimCommissionRewards = { @@ -511,8 +510,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(18).string(message.amounts); } return writer; }, @@ -536,7 +535,7 @@ export const EventClaimCommissionRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -550,7 +549,7 @@ export const EventClaimCommissionRewards = { fromJSON(object: any): EventClaimCommissionRewards { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -559,8 +558,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -571,7 +570,7 @@ export const EventClaimCommissionRewards = { fromPartial, I>>(object: I): EventClaimCommissionRewards { const message = createBaseEventClaimCommissionRewards(); message.staker = object.staker ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/client/kyve/stakers/v1beta1/genesis.ts b/common/types/src/client/kyve/stakers/v1beta1/genesis.ts index 883ae6a8..c9eecdf9 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/stakers/v1beta1/params.ts b/common/types/src/client/kyve/stakers/v1beta1/params.ts index cdc9d7ca..15a53283 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/params.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/params.proto diff --git a/common/types/src/client/kyve/stakers/v1beta1/query.ts b/common/types/src/client/kyve/stakers/v1beta1/query.ts index 287746eb..3dc7c9b9 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/query.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/query.proto diff --git a/common/types/src/client/kyve/stakers/v1beta1/stakers.ts b/common/types/src/client/kyve/stakers/v1beta1/stakers.ts index 53a46996..258b0a80 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/stakers.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/stakers.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/stakers.proto diff --git a/common/types/src/client/kyve/stakers/v1beta1/tx.ts b/common/types/src/client/kyve/stakers/v1beta1/tx.ts index f84267dc..f7e98a4e 100644 --- a/common/types/src/client/kyve/stakers/v1beta1/tx.ts +++ b/common/types/src/client/kyve/stakers/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/tx.proto @@ -64,8 +64,8 @@ export interface MsgUpdateCommissionResponse { export interface MsgClaimCommissionRewards { /** creator ... */ creator: string; - /** amount ... */ - amount: Coin[]; + /** amounts ... */ + amounts: Coin[]; } /** MsgClaimCommissionRewardsResponse ... */ @@ -539,7 +539,7 @@ export const MsgUpdateCommissionResponse = { }; function createBaseMsgClaimCommissionRewards(): MsgClaimCommissionRewards { - return { creator: "", amount: [] }; + return { creator: "", amounts: [] }; } export const MsgClaimCommissionRewards = { @@ -547,7 +547,7 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { writer.uint32(10).string(message.creator); } - for (const v of message.amount) { + for (const v of message.amounts) { Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; @@ -572,7 +572,7 @@ export const MsgClaimCommissionRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -586,7 +586,7 @@ export const MsgClaimCommissionRewards = { fromJSON(object: any): MsgClaimCommissionRewards { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -595,8 +595,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { obj.creator = message.creator; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -607,7 +607,7 @@ export const MsgClaimCommissionRewards = { fromPartial, I>>(object: I): MsgClaimCommissionRewards { const message = createBaseMsgClaimCommissionRewards(); message.creator = object.creator ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/client/kyve/team/module/module.ts b/common/types/src/client/kyve/team/module/module.ts index 74938b0a..f4c0c974 100644 --- a/common/types/src/client/kyve/team/module/module.ts +++ b/common/types/src/client/kyve/team/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/module/module.proto diff --git a/common/types/src/client/kyve/team/v1beta1/events.ts b/common/types/src/client/kyve/team/v1beta1/events.ts index e2acd254..75994fac 100644 --- a/common/types/src/client/kyve/team/v1beta1/events.ts +++ b/common/types/src/client/kyve/team/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/events.proto diff --git a/common/types/src/client/kyve/team/v1beta1/genesis.ts b/common/types/src/client/kyve/team/v1beta1/genesis.ts index bbfe6756..3e2b74ce 100644 --- a/common/types/src/client/kyve/team/v1beta1/genesis.ts +++ b/common/types/src/client/kyve/team/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/genesis.proto diff --git a/common/types/src/client/kyve/team/v1beta1/query.ts b/common/types/src/client/kyve/team/v1beta1/query.ts index 1f049298..df9c4533 100644 --- a/common/types/src/client/kyve/team/v1beta1/query.ts +++ b/common/types/src/client/kyve/team/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/query.proto diff --git a/common/types/src/client/kyve/team/v1beta1/team.ts b/common/types/src/client/kyve/team/v1beta1/team.ts index 80152a7f..4e1ecf26 100644 --- a/common/types/src/client/kyve/team/v1beta1/team.ts +++ b/common/types/src/client/kyve/team/v1beta1/team.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/team.proto diff --git a/common/types/src/client/kyve/team/v1beta1/tx.ts b/common/types/src/client/kyve/team/v1beta1/tx.ts index b16326a5..19fd3bb6 100644 --- a/common/types/src/client/kyve/team/v1beta1/tx.ts +++ b/common/types/src/client/kyve/team/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/tx.proto diff --git a/common/types/src/lcd/amino/amino.ts b/common/types/src/lcd/amino/amino.ts index 9dee64db..804a46c0 100644 --- a/common/types/src/lcd/amino/amino.ts +++ b/common/types/src/lcd/amino/amino.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: amino/amino.proto diff --git a/common/types/src/lcd/cosmos/app/v1alpha1/module.ts b/common/types/src/lcd/cosmos/app/v1alpha1/module.ts index 8434c20f..49b4ccc5 100644 --- a/common/types/src/lcd/cosmos/app/v1alpha1/module.ts +++ b/common/types/src/lcd/cosmos/app/v1alpha1/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/app/v1alpha1/module.proto diff --git a/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts b/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts index 21a4c8c1..2dd71f6b 100644 --- a/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts +++ b/common/types/src/lcd/cosmos/base/query/v1beta1/pagination.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/base/query/v1beta1/pagination.proto diff --git a/common/types/src/lcd/cosmos/base/v1beta1/coin.ts b/common/types/src/lcd/cosmos/base/v1beta1/coin.ts index 36e9d5cf..25ad32cf 100644 --- a/common/types/src/lcd/cosmos/base/v1beta1/coin.ts +++ b/common/types/src/lcd/cosmos/base/v1beta1/coin.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/base/v1beta1/coin.proto diff --git a/common/types/src/lcd/cosmos/gov/v1/gov.ts b/common/types/src/lcd/cosmos/gov/v1/gov.ts index b0e066dd..290bd6f6 100644 --- a/common/types/src/lcd/cosmos/gov/v1/gov.ts +++ b/common/types/src/lcd/cosmos/gov/v1/gov.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/gov/v1/gov.proto diff --git a/common/types/src/lcd/cosmos/gov/v1/tx.ts b/common/types/src/lcd/cosmos/gov/v1/tx.ts index 04f29bc2..68149f0c 100644 --- a/common/types/src/lcd/cosmos/gov/v1/tx.ts +++ b/common/types/src/lcd/cosmos/gov/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/gov/v1/tx.proto diff --git a/common/types/src/lcd/cosmos/msg/v1/msg.ts b/common/types/src/lcd/cosmos/msg/v1/msg.ts index 964a82b0..7012edff 100644 --- a/common/types/src/lcd/cosmos/msg/v1/msg.ts +++ b/common/types/src/lcd/cosmos/msg/v1/msg.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos/msg/v1/msg.proto diff --git a/common/types/src/lcd/cosmos_proto/cosmos.ts b/common/types/src/lcd/cosmos_proto/cosmos.ts index ee769568..7a90439d 100644 --- a/common/types/src/lcd/cosmos_proto/cosmos.ts +++ b/common/types/src/lcd/cosmos_proto/cosmos.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: cosmos_proto/cosmos.proto diff --git a/common/types/src/lcd/gogoproto/gogo.ts b/common/types/src/lcd/gogoproto/gogo.ts index f8d6a43c..edd73fe6 100644 --- a/common/types/src/lcd/gogoproto/gogo.ts +++ b/common/types/src/lcd/gogoproto/gogo.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: gogoproto/gogo.proto diff --git a/common/types/src/lcd/google/api/annotations.ts b/common/types/src/lcd/google/api/annotations.ts index 9bb063ea..1d1b2d5f 100644 --- a/common/types/src/lcd/google/api/annotations.ts +++ b/common/types/src/lcd/google/api/annotations.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/api/annotations.proto diff --git a/common/types/src/lcd/google/api/http.ts b/common/types/src/lcd/google/api/http.ts index 00c47d78..0b105734 100644 --- a/common/types/src/lcd/google/api/http.ts +++ b/common/types/src/lcd/google/api/http.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/api/http.proto diff --git a/common/types/src/lcd/google/protobuf/any.ts b/common/types/src/lcd/google/protobuf/any.ts index df2bb7f9..69bacf8e 100644 --- a/common/types/src/lcd/google/protobuf/any.ts +++ b/common/types/src/lcd/google/protobuf/any.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/any.proto diff --git a/common/types/src/lcd/google/protobuf/duration.ts b/common/types/src/lcd/google/protobuf/duration.ts index 99dc3ea9..68f69d05 100644 --- a/common/types/src/lcd/google/protobuf/duration.ts +++ b/common/types/src/lcd/google/protobuf/duration.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/duration.proto diff --git a/common/types/src/lcd/google/protobuf/timestamp.ts b/common/types/src/lcd/google/protobuf/timestamp.ts index 684c2ab2..84095fd4 100644 --- a/common/types/src/lcd/google/protobuf/timestamp.ts +++ b/common/types/src/lcd/google/protobuf/timestamp.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: google/protobuf/timestamp.proto diff --git a/common/types/src/lcd/kyve/bundles/module/module.ts b/common/types/src/lcd/kyve/bundles/module/module.ts index f289c2b1..f025fd37 100644 --- a/common/types/src/lcd/kyve/bundles/module/module.ts +++ b/common/types/src/lcd/kyve/bundles/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/module/module.proto diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts b/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts index 46da7e97..de6c0569 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/bundles.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/bundles.proto diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/events.ts b/common/types/src/lcd/kyve/bundles/v1beta1/events.ts index 6fcb6c9f..19ea8196 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BundleStatus, bundleStatusFromJSON, bundleStatusToJSON, bundleStatusToNumber } from "./bundles"; import { Params } from "./params"; import { VoteType, voteTypeFromJSON, voteTypeToJSON, voteTypeToNumber } from "./tx"; @@ -113,20 +112,20 @@ export interface EventBundleFinalized { /** status of the finalized bundle */ status: BundleStatus; /** amount which funders provided to the total bundle reward */ - funders_payout: Coin[]; + funders_payout: string; /** amount which the inflation pool provided to the total reward (in ukyve) */ inflation_payout: string; /** rewards transferred to treasury */ - reward_treasury: Coin[]; + reward_treasury: string; /** - * reward_uploader_commission are the commission rewards of the uploader. - * if the uploader has no delegations the delegation rewards are included here + * reward_uploader are the total rewards (commission + storage cost) + * the uploader received */ - reward_uploader_commission: Coin[]; + reward_uploader: string; /** rewardDelegation rewards distributed among all delegators */ - reward_delegation: Coin[]; + reward_delegation: string; /** rewardTotal the total bundle reward */ - reward_total: Coin[]; + reward_total: string; /** finalized_at the block height where the bundle got finalized */ finalized_at: string; /** uploader the address of the uploader of this bundle */ @@ -134,7 +133,12 @@ export interface EventBundleFinalized { /** next_uploader the address of the next uploader after this bundle */ next_uploader: string; /** reward_uploader_storage_cost are the storage cost rewards for the uploader */ - reward_uploader_storage_cost: Coin[]; + reward_uploader_storage_cost: string; + /** + * reward_uploader_commission are the commission rewards of the uploader. + * if the uploader has no delegations the delegation rewards are included here + */ + reward_uploader_commission: string; } /** @@ -667,16 +671,17 @@ function createBaseEventBundleFinalized(): EventBundleFinalized { abstain: "0", total: "0", status: BundleStatus.BUNDLE_STATUS_UNSPECIFIED, - funders_payout: [], + funders_payout: "", inflation_payout: "0", - reward_treasury: [], - reward_uploader_commission: [], - reward_delegation: [], - reward_total: [], + reward_treasury: "", + reward_uploader: "", + reward_delegation: "", + reward_total: "", finalized_at: "0", uploader: "", next_uploader: "", - reward_uploader_storage_cost: [], + reward_uploader_storage_cost: "", + reward_uploader_commission: "", }; } @@ -703,23 +708,23 @@ export const EventBundleFinalized = { if (message.status !== BundleStatus.BUNDLE_STATUS_UNSPECIFIED) { writer.uint32(56).int32(bundleStatusToNumber(message.status)); } - for (const v of message.funders_payout) { - Coin.encode(v!, writer.uint32(66).fork()).ldelim(); + if (message.funders_payout !== "") { + writer.uint32(66).string(message.funders_payout); } if (message.inflation_payout !== "0") { writer.uint32(72).uint64(message.inflation_payout); } - for (const v of message.reward_treasury) { - Coin.encode(v!, writer.uint32(82).fork()).ldelim(); + if (message.reward_treasury !== "") { + writer.uint32(82).string(message.reward_treasury); } - for (const v of message.reward_uploader_commission) { - Coin.encode(v!, writer.uint32(90).fork()).ldelim(); + if (message.reward_uploader !== "") { + writer.uint32(90).string(message.reward_uploader); } - for (const v of message.reward_delegation) { - Coin.encode(v!, writer.uint32(98).fork()).ldelim(); + if (message.reward_delegation !== "") { + writer.uint32(98).string(message.reward_delegation); } - for (const v of message.reward_total) { - Coin.encode(v!, writer.uint32(106).fork()).ldelim(); + if (message.reward_total !== "") { + writer.uint32(106).string(message.reward_total); } if (message.finalized_at !== "0") { writer.uint32(112).uint64(message.finalized_at); @@ -730,8 +735,11 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { writer.uint32(130).string(message.next_uploader); } - for (const v of message.reward_uploader_storage_cost) { - Coin.encode(v!, writer.uint32(138).fork()).ldelim(); + if (message.reward_uploader_storage_cost !== "") { + writer.uint32(138).string(message.reward_uploader_storage_cost); + } + if (message.reward_uploader_commission !== "") { + writer.uint32(146).string(message.reward_uploader_commission); } return writer; }, @@ -797,7 +805,7 @@ export const EventBundleFinalized = { break; } - message.funders_payout.push(Coin.decode(reader, reader.uint32())); + message.funders_payout = reader.string(); continue; case 9: if (tag !== 72) { @@ -811,28 +819,28 @@ export const EventBundleFinalized = { break; } - message.reward_treasury.push(Coin.decode(reader, reader.uint32())); + message.reward_treasury = reader.string(); continue; case 11: if (tag !== 90) { break; } - message.reward_uploader_commission.push(Coin.decode(reader, reader.uint32())); + message.reward_uploader = reader.string(); continue; case 12: if (tag !== 98) { break; } - message.reward_delegation.push(Coin.decode(reader, reader.uint32())); + message.reward_delegation = reader.string(); continue; case 13: if (tag !== 106) { break; } - message.reward_total.push(Coin.decode(reader, reader.uint32())); + message.reward_total = reader.string(); continue; case 14: if (tag !== 112) { @@ -860,7 +868,14 @@ export const EventBundleFinalized = { break; } - message.reward_uploader_storage_cost.push(Coin.decode(reader, reader.uint32())); + message.reward_uploader_storage_cost = reader.string(); + continue; + case 18: + if (tag !== 146) { + break; + } + + message.reward_uploader_commission = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -880,28 +895,21 @@ export const EventBundleFinalized = { abstain: isSet(object.abstain) ? globalThis.String(object.abstain) : "0", total: isSet(object.total) ? globalThis.String(object.total) : "0", status: isSet(object.status) ? bundleStatusFromJSON(object.status) : BundleStatus.BUNDLE_STATUS_UNSPECIFIED, - funders_payout: globalThis.Array.isArray(object?.funders_payout) - ? object.funders_payout.map((e: any) => Coin.fromJSON(e)) - : [], + funders_payout: isSet(object.funders_payout) ? globalThis.String(object.funders_payout) : "", inflation_payout: isSet(object.inflation_payout) ? globalThis.String(object.inflation_payout) : "0", - reward_treasury: globalThis.Array.isArray(object?.reward_treasury) - ? object.reward_treasury.map((e: any) => Coin.fromJSON(e)) - : [], - reward_uploader_commission: globalThis.Array.isArray(object?.reward_uploader_commission) - ? object.reward_uploader_commission.map((e: any) => Coin.fromJSON(e)) - : [], - reward_delegation: globalThis.Array.isArray(object?.reward_delegation) - ? object.reward_delegation.map((e: any) => Coin.fromJSON(e)) - : [], - reward_total: globalThis.Array.isArray(object?.reward_total) - ? object.reward_total.map((e: any) => Coin.fromJSON(e)) - : [], + reward_treasury: isSet(object.reward_treasury) ? globalThis.String(object.reward_treasury) : "", + reward_uploader: isSet(object.reward_uploader) ? globalThis.String(object.reward_uploader) : "", + reward_delegation: isSet(object.reward_delegation) ? globalThis.String(object.reward_delegation) : "", + reward_total: isSet(object.reward_total) ? globalThis.String(object.reward_total) : "", finalized_at: isSet(object.finalized_at) ? globalThis.String(object.finalized_at) : "0", uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", next_uploader: isSet(object.next_uploader) ? globalThis.String(object.next_uploader) : "", - reward_uploader_storage_cost: globalThis.Array.isArray(object?.reward_uploader_storage_cost) - ? object.reward_uploader_storage_cost.map((e: any) => Coin.fromJSON(e)) - : [], + reward_uploader_storage_cost: isSet(object.reward_uploader_storage_cost) + ? globalThis.String(object.reward_uploader_storage_cost) + : "", + reward_uploader_commission: isSet(object.reward_uploader_commission) + ? globalThis.String(object.reward_uploader_commission) + : "", }; }, @@ -928,23 +936,23 @@ export const EventBundleFinalized = { if (message.status !== BundleStatus.BUNDLE_STATUS_UNSPECIFIED) { obj.status = bundleStatusToJSON(message.status); } - if (message.funders_payout?.length) { - obj.funders_payout = message.funders_payout.map((e) => Coin.toJSON(e)); + if (message.funders_payout !== "") { + obj.funders_payout = message.funders_payout; } if (message.inflation_payout !== "0") { obj.inflation_payout = message.inflation_payout; } - if (message.reward_treasury?.length) { - obj.reward_treasury = message.reward_treasury.map((e) => Coin.toJSON(e)); + if (message.reward_treasury !== "") { + obj.reward_treasury = message.reward_treasury; } - if (message.reward_uploader_commission?.length) { - obj.reward_uploader_commission = message.reward_uploader_commission.map((e) => Coin.toJSON(e)); + if (message.reward_uploader !== "") { + obj.reward_uploader = message.reward_uploader; } - if (message.reward_delegation?.length) { - obj.reward_delegation = message.reward_delegation.map((e) => Coin.toJSON(e)); + if (message.reward_delegation !== "") { + obj.reward_delegation = message.reward_delegation; } - if (message.reward_total?.length) { - obj.reward_total = message.reward_total.map((e) => Coin.toJSON(e)); + if (message.reward_total !== "") { + obj.reward_total = message.reward_total; } if (message.finalized_at !== "0") { obj.finalized_at = message.finalized_at; @@ -955,8 +963,11 @@ export const EventBundleFinalized = { if (message.next_uploader !== "") { obj.next_uploader = message.next_uploader; } - if (message.reward_uploader_storage_cost?.length) { - obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost.map((e) => Coin.toJSON(e)); + if (message.reward_uploader_storage_cost !== "") { + obj.reward_uploader_storage_cost = message.reward_uploader_storage_cost; + } + if (message.reward_uploader_commission !== "") { + obj.reward_uploader_commission = message.reward_uploader_commission; } return obj; }, @@ -973,16 +984,17 @@ export const EventBundleFinalized = { message.abstain = object.abstain ?? "0"; message.total = object.total ?? "0"; message.status = object.status ?? BundleStatus.BUNDLE_STATUS_UNSPECIFIED; - message.funders_payout = object.funders_payout?.map((e) => Coin.fromPartial(e)) || []; + message.funders_payout = object.funders_payout ?? ""; message.inflation_payout = object.inflation_payout ?? "0"; - message.reward_treasury = object.reward_treasury?.map((e) => Coin.fromPartial(e)) || []; - message.reward_uploader_commission = object.reward_uploader_commission?.map((e) => Coin.fromPartial(e)) || []; - message.reward_delegation = object.reward_delegation?.map((e) => Coin.fromPartial(e)) || []; - message.reward_total = object.reward_total?.map((e) => Coin.fromPartial(e)) || []; + message.reward_treasury = object.reward_treasury ?? ""; + message.reward_uploader = object.reward_uploader ?? ""; + message.reward_delegation = object.reward_delegation ?? ""; + message.reward_total = object.reward_total ?? ""; message.finalized_at = object.finalized_at ?? "0"; message.uploader = object.uploader ?? ""; message.next_uploader = object.next_uploader ?? ""; - message.reward_uploader_storage_cost = object.reward_uploader_storage_cost?.map((e) => Coin.fromPartial(e)) || []; + message.reward_uploader_storage_cost = object.reward_uploader_storage_cost ?? ""; + message.reward_uploader_commission = object.reward_uploader_commission ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts b/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts index 3bf6d42d..8cdf9ace 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/params.ts b/common/types/src/lcd/kyve/bundles/v1beta1/params.ts index 404aa97e..6194f7eb 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/params.proto diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/query.ts b/common/types/src/lcd/kyve/bundles/v1beta1/query.ts index 3719dbdd..9d07008b 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts b/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts index cb64fbc0..d5d9748f 100644 --- a/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/bundles/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/bundles/v1beta1/tx.proto diff --git a/common/types/src/lcd/kyve/delegation/module/module.ts b/common/types/src/lcd/kyve/delegation/module/module.ts index 4a0836c6..5e1a934d 100644 --- a/common/types/src/lcd/kyve/delegation/module/module.ts +++ b/common/types/src/lcd/kyve/delegation/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/module/module.proto diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts b/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts index 891680b0..f1484fde 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/delegation.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/delegation.proto diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/events.ts b/common/types/src/lcd/kyve/delegation/v1beta1/events.ts index 46e02d4b..23688366 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { SlashType, slashTypeFromJSON, slashTypeToJSON, slashTypeToNumber } from "./delegation"; import { Params } from "./params"; @@ -98,8 +97,8 @@ export interface EventWithdrawRewards { address: string; /** staker is the account address of the protocol node the users withdraws from. */ staker: string; - /** amount ... */ - amount: Coin[]; + /** amounts ... */ + amounts: string; } /** @@ -599,7 +598,7 @@ export const EventRedelegate = { }; function createBaseEventWithdrawRewards(): EventWithdrawRewards { - return { address: "", staker: "", amount: [] }; + return { address: "", staker: "", amounts: "" }; } export const EventWithdrawRewards = { @@ -610,8 +609,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { writer.uint32(18).string(message.staker); } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } return writer; }, @@ -642,7 +641,7 @@ export const EventWithdrawRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -657,7 +656,7 @@ export const EventWithdrawRewards = { return { address: isSet(object.address) ? globalThis.String(object.address) : "", staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -669,8 +668,8 @@ export const EventWithdrawRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -682,7 +681,7 @@ export const EventWithdrawRewards = { const message = createBaseEventWithdrawRewards(); message.address = object.address ?? ""; message.staker = object.staker ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts b/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts index 403c0f99..88f9492a 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/params.ts b/common/types/src/lcd/kyve/delegation/v1beta1/params.ts index 0868bbc3..eaa8393c 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/params.proto diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/query.ts b/common/types/src/lcd/kyve/delegation/v1beta1/query.ts index 1574a710..51787f12 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts b/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts index 3583aec6..52c7b68b 100644 --- a/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/delegation/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/delegation/v1beta1/tx.proto diff --git a/common/types/src/lcd/kyve/funders/module/module.ts b/common/types/src/lcd/kyve/funders/module/module.ts index a1f793ad..66639f77 100644 --- a/common/types/src/lcd/kyve/funders/module/module.ts +++ b/common/types/src/lcd/kyve/funders/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/module/module.proto diff --git a/common/types/src/lcd/kyve/funders/v1beta1/events.ts b/common/types/src/lcd/kyve/funders/v1beta1/events.ts index 741869a6..6711aa41 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.funders.v1beta1"; @@ -77,9 +76,9 @@ export interface EventFundPool { /** address is the account address of the pool funder. */ address: string; /** amounts is a list of coins the funder has funded */ - amounts: Coin[]; + amounts: string; /** amounts_per_bundle is a list of coins the funder wants to distribute per finalized bundle */ - amounts_per_bundle: Coin[]; + amounts_per_bundle: string; } /** @@ -92,7 +91,7 @@ export interface EventDefundPool { /** address is the account address of the pool funder. */ address: string; /** amounts is a list of coins that the funder wants to defund */ - amounts: Coin[]; + amounts: string; } /** @@ -466,7 +465,7 @@ export const EventUpdateFunder = { }; function createBaseEventFundPool(): EventFundPool { - return { pool_id: "0", address: "", amounts: [], amounts_per_bundle: [] }; + return { pool_id: "0", address: "", amounts: "", amounts_per_bundle: "" }; } export const EventFundPool = { @@ -477,11 +476,11 @@ export const EventFundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } - for (const v of message.amounts_per_bundle) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); + if (message.amounts_per_bundle !== "") { + writer.uint32(34).string(message.amounts_per_bundle); } return writer; }, @@ -512,14 +511,14 @@ export const EventFundPool = { break; } - message.amounts.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; case 4: if (tag !== 34) { break; } - message.amounts_per_bundle.push(Coin.decode(reader, reader.uint32())); + message.amounts_per_bundle = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -534,10 +533,8 @@ export const EventFundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], - amounts_per_bundle: globalThis.Array.isArray(object?.amounts_per_bundle) - ? object.amounts_per_bundle.map((e: any) => Coin.fromJSON(e)) - : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", + amounts_per_bundle: isSet(object.amounts_per_bundle) ? globalThis.String(object.amounts_per_bundle) : "", }; }, @@ -549,11 +546,11 @@ export const EventFundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amounts?.length) { - obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } - if (message.amounts_per_bundle?.length) { - obj.amounts_per_bundle = message.amounts_per_bundle.map((e) => Coin.toJSON(e)); + if (message.amounts_per_bundle !== "") { + obj.amounts_per_bundle = message.amounts_per_bundle; } return obj; }, @@ -565,14 +562,14 @@ export const EventFundPool = { const message = createBaseEventFundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; - message.amounts_per_bundle = object.amounts_per_bundle?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; + message.amounts_per_bundle = object.amounts_per_bundle ?? ""; return message; }, }; function createBaseEventDefundPool(): EventDefundPool { - return { pool_id: "0", address: "", amounts: [] }; + return { pool_id: "0", address: "", amounts: "" }; } export const EventDefundPool = { @@ -583,8 +580,8 @@ export const EventDefundPool = { if (message.address !== "") { writer.uint32(18).string(message.address); } - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(26).string(message.amounts); } return writer; }, @@ -615,7 +612,7 @@ export const EventDefundPool = { break; } - message.amounts.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -630,7 +627,7 @@ export const EventDefundPool = { return { pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", address: isSet(object.address) ? globalThis.String(object.address) : "", - amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -642,8 +639,8 @@ export const EventDefundPool = { if (message.address !== "") { obj.address = message.address; } - if (message.amounts?.length) { - obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -655,7 +652,7 @@ export const EventDefundPool = { const message = createBaseEventDefundPool(); message.pool_id = object.pool_id ?? "0"; message.address = object.address ?? ""; - message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/funders/v1beta1/funders.ts b/common/types/src/lcd/kyve/funders/v1beta1/funders.ts index 477123ad..c8305c68 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/funders.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/funders.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/funders.proto diff --git a/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts b/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts index 6d119ecf..5ba62375 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/funders/v1beta1/params.ts b/common/types/src/lcd/kyve/funders/v1beta1/params.ts index 067e9e88..e1f1b19d 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/params.proto @@ -20,14 +20,18 @@ export interface WhitelistCoinEntry { * needs to be unique */ coin_denom: string; + /** coin_decimals are the decimals of the coin */ + coin_decimals: number; /** * min_funding_amount is the minimum required amount of this denom that needs - * to be funded + * to be funded. It is of type math.Int since a uint64 is not sufficient for a + * coin with 18 decimals */ min_funding_amount: string; /** * min_funding_amount_per_bundle is the minimum required amount of this denom - * that needs to be funded per bundle + * that needs to be funded per bundle. It is of type math.Int since a uint64 + * is not sufficient for a coin with 18 decimals */ min_funding_amount_per_bundle: string; /** @@ -50,7 +54,13 @@ export interface Params { } function createBaseWhitelistCoinEntry(): WhitelistCoinEntry { - return { coin_denom: "", min_funding_amount: "0", min_funding_amount_per_bundle: "0", coin_weight: "" }; + return { + coin_denom: "", + coin_decimals: 0, + min_funding_amount: "", + min_funding_amount_per_bundle: "", + coin_weight: "", + }; } export const WhitelistCoinEntry = { @@ -58,14 +68,17 @@ export const WhitelistCoinEntry = { if (message.coin_denom !== "") { writer.uint32(10).string(message.coin_denom); } - if (message.min_funding_amount !== "0") { - writer.uint32(16).uint64(message.min_funding_amount); + if (message.coin_decimals !== 0) { + writer.uint32(16).uint32(message.coin_decimals); } - if (message.min_funding_amount_per_bundle !== "0") { - writer.uint32(24).uint64(message.min_funding_amount_per_bundle); + if (message.min_funding_amount !== "") { + writer.uint32(26).string(message.min_funding_amount); + } + if (message.min_funding_amount_per_bundle !== "") { + writer.uint32(34).string(message.min_funding_amount_per_bundle); } if (message.coin_weight !== "") { - writer.uint32(34).string(message.coin_weight); + writer.uint32(42).string(message.coin_weight); } return writer; }, @@ -89,20 +102,27 @@ export const WhitelistCoinEntry = { break; } - message.min_funding_amount = longToString(reader.uint64() as Long); + message.coin_decimals = reader.uint32(); continue; case 3: - if (tag !== 24) { + if (tag !== 26) { break; } - message.min_funding_amount_per_bundle = longToString(reader.uint64() as Long); + message.min_funding_amount = reader.string(); continue; case 4: if (tag !== 34) { break; } + message.min_funding_amount_per_bundle = reader.string(); + continue; + case 5: + if (tag !== 42) { + break; + } + message.coin_weight = reader.string(); continue; } @@ -117,10 +137,11 @@ export const WhitelistCoinEntry = { fromJSON(object: any): WhitelistCoinEntry { return { coin_denom: isSet(object.coin_denom) ? globalThis.String(object.coin_denom) : "", - min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "0", + coin_decimals: isSet(object.coin_decimals) ? globalThis.Number(object.coin_decimals) : 0, + min_funding_amount: isSet(object.min_funding_amount) ? globalThis.String(object.min_funding_amount) : "", min_funding_amount_per_bundle: isSet(object.min_funding_amount_per_bundle) ? globalThis.String(object.min_funding_amount_per_bundle) - : "0", + : "", coin_weight: isSet(object.coin_weight) ? globalThis.String(object.coin_weight) : "", }; }, @@ -130,10 +151,13 @@ export const WhitelistCoinEntry = { if (message.coin_denom !== "") { obj.coin_denom = message.coin_denom; } - if (message.min_funding_amount !== "0") { + if (message.coin_decimals !== 0) { + obj.coin_decimals = Math.round(message.coin_decimals); + } + if (message.min_funding_amount !== "") { obj.min_funding_amount = message.min_funding_amount; } - if (message.min_funding_amount_per_bundle !== "0") { + if (message.min_funding_amount_per_bundle !== "") { obj.min_funding_amount_per_bundle = message.min_funding_amount_per_bundle; } if (message.coin_weight !== "") { @@ -148,8 +172,9 @@ export const WhitelistCoinEntry = { fromPartial, I>>(object: I): WhitelistCoinEntry { const message = createBaseWhitelistCoinEntry(); message.coin_denom = object.coin_denom ?? ""; - message.min_funding_amount = object.min_funding_amount ?? "0"; - message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? "0"; + message.coin_decimals = object.coin_decimals ?? 0; + message.min_funding_amount = object.min_funding_amount ?? ""; + message.min_funding_amount_per_bundle = object.min_funding_amount_per_bundle ?? ""; message.coin_weight = object.coin_weight ?? ""; return message; }, diff --git a/common/types/src/lcd/kyve/funders/v1beta1/query.ts b/common/types/src/lcd/kyve/funders/v1beta1/query.ts index dd5cb17c..0d1319bc 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/funders/v1beta1/tx.ts b/common/types/src/lcd/kyve/funders/v1beta1/tx.ts index 1838b452..9ed8ce6a 100644 --- a/common/types/src/lcd/kyve/funders/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/funders/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/funders/v1beta1/tx.proto diff --git a/common/types/src/lcd/kyve/global/module/module.ts b/common/types/src/lcd/kyve/global/module/module.ts index 659044ab..94447ab1 100644 --- a/common/types/src/lcd/kyve/global/module/module.ts +++ b/common/types/src/lcd/kyve/global/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/module/module.proto diff --git a/common/types/src/lcd/kyve/global/v1beta1/events.ts b/common/types/src/lcd/kyve/global/v1beta1/events.ts index d21b23ef..cecb3965 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/events.proto diff --git a/common/types/src/lcd/kyve/global/v1beta1/genesis.ts b/common/types/src/lcd/kyve/global/v1beta1/genesis.ts index 14af13ee..0209aa89 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/global/v1beta1/global.ts b/common/types/src/lcd/kyve/global/v1beta1/global.ts index a7b04716..3f6befde 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/global.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/global.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/global.proto diff --git a/common/types/src/lcd/kyve/global/v1beta1/query.ts b/common/types/src/lcd/kyve/global/v1beta1/query.ts index f1557a59..5aa88f4a 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/global/v1beta1/tx.ts b/common/types/src/lcd/kyve/global/v1beta1/tx.ts index e7e0953b..0170c465 100644 --- a/common/types/src/lcd/kyve/global/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/global/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/global/v1beta1/tx.proto diff --git a/common/types/src/lcd/kyve/pool/module/module.ts b/common/types/src/lcd/kyve/pool/module/module.ts index 63de1f11..8733c748 100644 --- a/common/types/src/lcd/kyve/pool/module/module.ts +++ b/common/types/src/lcd/kyve/pool/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/module/module.proto diff --git a/common/types/src/lcd/kyve/pool/v1beta1/events.ts b/common/types/src/lcd/kyve/pool/v1beta1/events.ts index 8e9ecff0..41176232 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/events.proto @@ -314,7 +314,7 @@ function createBaseEventCreatePool(): EventCreatePool { config: "", start_key: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", version: "", @@ -348,8 +348,8 @@ export const EventCreatePool = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -432,11 +432,11 @@ export const EventCreatePool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -507,7 +507,7 @@ export const EventCreatePool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", version: isSet(object.version) ? globalThis.String(object.version) : "", @@ -541,7 +541,7 @@ export const EventCreatePool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -580,7 +580,7 @@ export const EventCreatePool = { message.config = object.config ?? ""; message.start_key = object.start_key ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.version = object.version ?? ""; @@ -951,7 +951,7 @@ function createBaseEventPoolUpdated(): EventPoolUpdated { logo: "", config: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", storage_provider_id: 0, @@ -982,8 +982,8 @@ export const EventPoolUpdated = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -1057,11 +1057,11 @@ export const EventPoolUpdated = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -1111,7 +1111,7 @@ export const EventPoolUpdated = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", storage_provider_id: isSet(object.storage_provider_id) ? globalThis.Number(object.storage_provider_id) : 0, @@ -1142,7 +1142,7 @@ export const EventPoolUpdated = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -1172,7 +1172,7 @@ export const EventPoolUpdated = { message.logo = object.logo ?? ""; message.config = object.config ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.storage_provider_id = object.storage_provider_id ?? 0; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts b/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts index d48a82be..9c6e5893 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/pool/v1beta1/params.ts b/common/types/src/lcd/kyve/pool/v1beta1/params.ts index f451b94a..8c995e04 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/params.proto diff --git a/common/types/src/lcd/kyve/pool/v1beta1/pool.ts b/common/types/src/lcd/kyve/pool/v1beta1/pool.ts index 94f768b3..884ec321 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/pool.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/pool.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/pool.proto @@ -435,7 +435,7 @@ function createBasePool(): Pool { current_index: "0", total_bundles: "0", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", disabled: false, @@ -482,8 +482,8 @@ export const Pool = { if (message.upload_interval !== "0") { writer.uint32(88).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(96).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(98).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(104).uint64(message.min_delegation); @@ -597,11 +597,11 @@ export const Pool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 12: - if (tag !== 96) { + if (tag !== 98) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 13: if (tag !== 104) { @@ -683,7 +683,7 @@ export const Pool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false, @@ -734,7 +734,7 @@ export const Pool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -780,7 +780,7 @@ export const Pool = { message.current_index = object.current_index ?? "0"; message.total_bundles = object.total_bundles ?? "0"; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.disabled = object.disabled ?? false; diff --git a/common/types/src/lcd/kyve/pool/v1beta1/query.ts b/common/types/src/lcd/kyve/pool/v1beta1/query.ts index 8cf05544..82da8405 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/pool/v1beta1/tx.ts b/common/types/src/lcd/kyve/pool/v1beta1/tx.ts index 2b54fb69..dd808ef7 100644 --- a/common/types/src/lcd/kyve/pool/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/pool/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/pool/v1beta1/tx.proto @@ -139,7 +139,7 @@ function createBaseMsgCreatePool(): MsgCreatePool { config: "", start_key: "", upload_interval: "0", - inflation_share_weight: "0", + inflation_share_weight: "", min_delegation: "0", max_bundle_size: "0", version: "", @@ -173,8 +173,8 @@ export const MsgCreatePool = { if (message.upload_interval !== "0") { writer.uint32(56).uint64(message.upload_interval); } - if (message.inflation_share_weight !== "0") { - writer.uint32(64).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(66).string(message.inflation_share_weight); } if (message.min_delegation !== "0") { writer.uint32(72).uint64(message.min_delegation); @@ -257,11 +257,11 @@ export const MsgCreatePool = { message.upload_interval = longToString(reader.uint64() as Long); continue; case 8: - if (tag !== 64) { + if (tag !== 66) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 9: if (tag !== 72) { @@ -332,7 +332,7 @@ export const MsgCreatePool = { upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", min_delegation: isSet(object.min_delegation) ? globalThis.String(object.min_delegation) : "0", max_bundle_size: isSet(object.max_bundle_size) ? globalThis.String(object.max_bundle_size) : "0", version: isSet(object.version) ? globalThis.String(object.version) : "", @@ -366,7 +366,7 @@ export const MsgCreatePool = { if (message.upload_interval !== "0") { obj.upload_interval = message.upload_interval; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.min_delegation !== "0") { @@ -405,7 +405,7 @@ export const MsgCreatePool = { message.config = object.config ?? ""; message.start_key = object.start_key ?? ""; message.upload_interval = object.upload_interval ?? "0"; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.min_delegation = object.min_delegation ?? "0"; message.max_bundle_size = object.max_bundle_size ?? "0"; message.version = object.version ?? ""; diff --git a/common/types/src/lcd/kyve/query/module/module.ts b/common/types/src/lcd/kyve/query/module/module.ts index 51604557..38ab6ab9 100644 --- a/common/types/src/lcd/kyve/query/module/module.ts +++ b/common/types/src/lcd/kyve/query/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/module/module.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/account.ts b/common/types/src/lcd/kyve/query/v1beta1/account.ts index ab020049..87e2b5be 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/account.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/account.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/account.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/bundles.ts b/common/types/src/lcd/kyve/query/v1beta1/bundles.ts index 4c5e6812..0ae1c2dc 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/bundles.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/bundles.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/bundles.proto @@ -100,8 +100,39 @@ export interface QueryFinalizedBundleRequest { /** QueryFinalizedBundleResponse is the response type for the Query/Staker RPC method. */ export interface QueryFinalizedBundleResponse { - /** finalized_bundles ... */ - finalized_bundles?: FinalizedBundle | undefined; + /** pool_id in which the bundle was created */ + pool_id: string; + /** id is is integrated with each valid bundle produced. */ + id: string; + /** storage_id is the id with which the data can be retrieved from the configured data provider */ + storage_id: string; + /** uploader is the address of the staker who submitted this bundle */ + uploader: string; + /** from_index is the index from where the bundle starts (inclusive) */ + from_index: string; + /** to_index is the index to which the bundle goes (exclusive) */ + to_index: string; + /** from_key is the key of the first data item in the bundle proposal */ + from_key: string; + /** to_key the key of the last data item in the bundle */ + to_key: string; + /** bundle_summary is a summary of the bundle. */ + bundle_summary: string; + /** data_hash is a sha256 hash of the uploaded data. */ + data_hash: string; + /** finalized_at contains details of the block that finalized this bundle. */ + finalized_at?: + | FinalizedAt + | undefined; + /** storage_provider_id the id of the storage provider where the bundle is stored */ + storage_provider_id: string; + /** compression_id the id of the compression type with which the data was compressed */ + compression_id: string; + /** + * stake_security defines the amount of stake which was present in the pool during the finalization of the bundle. + * This field was added in schema version 2. Bundles finalized before that return `null`. + */ + stake_security?: StakeSecurity | undefined; } /** QueryCurrentVoteStatusRequest is the request type for the Query/Staker RPC method. */ @@ -845,13 +876,67 @@ export const QueryFinalizedBundleRequest = { }; function createBaseQueryFinalizedBundleResponse(): QueryFinalizedBundleResponse { - return { finalized_bundles: undefined }; + return { + pool_id: "0", + id: "0", + storage_id: "", + uploader: "", + from_index: "0", + to_index: "0", + from_key: "", + to_key: "", + bundle_summary: "", + data_hash: "", + finalized_at: undefined, + storage_provider_id: "0", + compression_id: "0", + stake_security: undefined, + }; } export const QueryFinalizedBundleResponse = { encode(message: QueryFinalizedBundleResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.finalized_bundles !== undefined) { - FinalizedBundle.encode(message.finalized_bundles, writer.uint32(10).fork()).ldelim(); + if (message.pool_id !== "0") { + writer.uint32(8).uint64(message.pool_id); + } + if (message.id !== "0") { + writer.uint32(16).uint64(message.id); + } + if (message.storage_id !== "") { + writer.uint32(26).string(message.storage_id); + } + if (message.uploader !== "") { + writer.uint32(34).string(message.uploader); + } + if (message.from_index !== "0") { + writer.uint32(40).uint64(message.from_index); + } + if (message.to_index !== "0") { + writer.uint32(48).uint64(message.to_index); + } + if (message.from_key !== "") { + writer.uint32(90).string(message.from_key); + } + if (message.to_key !== "") { + writer.uint32(58).string(message.to_key); + } + if (message.bundle_summary !== "") { + writer.uint32(66).string(message.bundle_summary); + } + if (message.data_hash !== "") { + writer.uint32(74).string(message.data_hash); + } + if (message.finalized_at !== undefined) { + FinalizedAt.encode(message.finalized_at, writer.uint32(82).fork()).ldelim(); + } + if (message.storage_provider_id !== "0") { + writer.uint32(96).uint64(message.storage_provider_id); + } + if (message.compression_id !== "0") { + writer.uint32(104).uint64(message.compression_id); + } + if (message.stake_security !== undefined) { + StakeSecurity.encode(message.stake_security, writer.uint32(114).fork()).ldelim(); } return writer; }, @@ -864,11 +949,102 @@ export const QueryFinalizedBundleResponse = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (tag !== 10) { + if (tag !== 8) { + break; + } + + message.pool_id = longToString(reader.uint64() as Long); + continue; + case 2: + if (tag !== 16) { + break; + } + + message.id = longToString(reader.uint64() as Long); + continue; + case 3: + if (tag !== 26) { + break; + } + + message.storage_id = reader.string(); + continue; + case 4: + if (tag !== 34) { + break; + } + + message.uploader = reader.string(); + continue; + case 5: + if (tag !== 40) { break; } - message.finalized_bundles = FinalizedBundle.decode(reader, reader.uint32()); + message.from_index = longToString(reader.uint64() as Long); + continue; + case 6: + if (tag !== 48) { + break; + } + + message.to_index = longToString(reader.uint64() as Long); + continue; + case 11: + if (tag !== 90) { + break; + } + + message.from_key = reader.string(); + continue; + case 7: + if (tag !== 58) { + break; + } + + message.to_key = reader.string(); + continue; + case 8: + if (tag !== 66) { + break; + } + + message.bundle_summary = reader.string(); + continue; + case 9: + if (tag !== 74) { + break; + } + + message.data_hash = reader.string(); + continue; + case 10: + if (tag !== 82) { + break; + } + + message.finalized_at = FinalizedAt.decode(reader, reader.uint32()); + continue; + case 12: + if (tag !== 96) { + break; + } + + message.storage_provider_id = longToString(reader.uint64() as Long); + continue; + case 13: + if (tag !== 104) { + break; + } + + message.compression_id = longToString(reader.uint64() as Long); + continue; + case 14: + if (tag !== 114) { + break; + } + + message.stake_security = StakeSecurity.decode(reader, reader.uint32()); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -881,16 +1057,66 @@ export const QueryFinalizedBundleResponse = { fromJSON(object: any): QueryFinalizedBundleResponse { return { - finalized_bundles: isSet(object.finalized_bundles) - ? FinalizedBundle.fromJSON(object.finalized_bundles) - : undefined, + pool_id: isSet(object.pool_id) ? globalThis.String(object.pool_id) : "0", + id: isSet(object.id) ? globalThis.String(object.id) : "0", + storage_id: isSet(object.storage_id) ? globalThis.String(object.storage_id) : "", + uploader: isSet(object.uploader) ? globalThis.String(object.uploader) : "", + from_index: isSet(object.from_index) ? globalThis.String(object.from_index) : "0", + to_index: isSet(object.to_index) ? globalThis.String(object.to_index) : "0", + from_key: isSet(object.from_key) ? globalThis.String(object.from_key) : "", + to_key: isSet(object.to_key) ? globalThis.String(object.to_key) : "", + bundle_summary: isSet(object.bundle_summary) ? globalThis.String(object.bundle_summary) : "", + data_hash: isSet(object.data_hash) ? globalThis.String(object.data_hash) : "", + finalized_at: isSet(object.finalized_at) ? FinalizedAt.fromJSON(object.finalized_at) : undefined, + storage_provider_id: isSet(object.storage_provider_id) ? globalThis.String(object.storage_provider_id) : "0", + compression_id: isSet(object.compression_id) ? globalThis.String(object.compression_id) : "0", + stake_security: isSet(object.stake_security) ? StakeSecurity.fromJSON(object.stake_security) : undefined, }; }, toJSON(message: QueryFinalizedBundleResponse): unknown { const obj: any = {}; - if (message.finalized_bundles !== undefined) { - obj.finalized_bundles = FinalizedBundle.toJSON(message.finalized_bundles); + if (message.pool_id !== "0") { + obj.pool_id = message.pool_id; + } + if (message.id !== "0") { + obj.id = message.id; + } + if (message.storage_id !== "") { + obj.storage_id = message.storage_id; + } + if (message.uploader !== "") { + obj.uploader = message.uploader; + } + if (message.from_index !== "0") { + obj.from_index = message.from_index; + } + if (message.to_index !== "0") { + obj.to_index = message.to_index; + } + if (message.from_key !== "") { + obj.from_key = message.from_key; + } + if (message.to_key !== "") { + obj.to_key = message.to_key; + } + if (message.bundle_summary !== "") { + obj.bundle_summary = message.bundle_summary; + } + if (message.data_hash !== "") { + obj.data_hash = message.data_hash; + } + if (message.finalized_at !== undefined) { + obj.finalized_at = FinalizedAt.toJSON(message.finalized_at); + } + if (message.storage_provider_id !== "0") { + obj.storage_provider_id = message.storage_provider_id; + } + if (message.compression_id !== "0") { + obj.compression_id = message.compression_id; + } + if (message.stake_security !== undefined) { + obj.stake_security = StakeSecurity.toJSON(message.stake_security); } return obj; }, @@ -900,8 +1126,23 @@ export const QueryFinalizedBundleResponse = { }, fromPartial, I>>(object: I): QueryFinalizedBundleResponse { const message = createBaseQueryFinalizedBundleResponse(); - message.finalized_bundles = (object.finalized_bundles !== undefined && object.finalized_bundles !== null) - ? FinalizedBundle.fromPartial(object.finalized_bundles) + message.pool_id = object.pool_id ?? "0"; + message.id = object.id ?? "0"; + message.storage_id = object.storage_id ?? ""; + message.uploader = object.uploader ?? ""; + message.from_index = object.from_index ?? "0"; + message.to_index = object.to_index ?? "0"; + message.from_key = object.from_key ?? ""; + message.to_key = object.to_key ?? ""; + message.bundle_summary = object.bundle_summary ?? ""; + message.data_hash = object.data_hash ?? ""; + message.finalized_at = (object.finalized_at !== undefined && object.finalized_at !== null) + ? FinalizedAt.fromPartial(object.finalized_at) + : undefined; + message.storage_provider_id = object.storage_provider_id ?? "0"; + message.compression_id = object.compression_id ?? "0"; + message.stake_security = (object.stake_security !== undefined && object.stake_security !== null) + ? StakeSecurity.fromPartial(object.stake_security) : undefined; return message; }, @@ -1581,7 +1822,7 @@ export interface QueryBundles { /** FinalizedBundles ... */ FinalizedBundlesQuery(request: QueryFinalizedBundlesRequest): Promise; /** FinalizedBundle ... */ - FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise; + FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise; /** CurrentVoteStatus ... */ CurrentVoteStatus(request: QueryCurrentVoteStatusRequest): Promise; /** CanValidate ... */ @@ -1612,10 +1853,10 @@ export class QueryBundlesClientImpl implements QueryBundles { return promise.then((data) => QueryFinalizedBundlesResponse.decode(_m0.Reader.create(data))); } - FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise { + FinalizedBundleQuery(request: QueryFinalizedBundleRequest): Promise { const data = QueryFinalizedBundleRequest.encode(request).finish(); const promise = this.rpc.request(this.service, "FinalizedBundleQuery", data); - return promise.then((data) => FinalizedBundle.decode(_m0.Reader.create(data))); + return promise.then((data) => QueryFinalizedBundleResponse.decode(_m0.Reader.create(data))); } CurrentVoteStatus(request: QueryCurrentVoteStatusRequest): Promise { diff --git a/common/types/src/lcd/kyve/query/v1beta1/delegation.ts b/common/types/src/lcd/kyve/query/v1beta1/delegation.ts index e42b209a..39e5fe44 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/delegation.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/delegation.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/delegation.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/funders.ts b/common/types/src/lcd/kyve/query/v1beta1/funders.ts index 475a89d7..17469d21 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/funders.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/funders.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/funders.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/params.ts b/common/types/src/lcd/kyve/query/v1beta1/params.ts index d0a927e0..cdd2a5ec 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/params.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/pools.ts b/common/types/src/lcd/kyve/query/v1beta1/pools.ts index 44fedb63..d0787094 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/pools.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/pools.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/pools.proto diff --git a/common/types/src/lcd/kyve/query/v1beta1/query.ts b/common/types/src/lcd/kyve/query/v1beta1/query.ts index 3b190beb..d8d50815 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/query.proto @@ -180,7 +180,7 @@ function createBaseBasicPool(): BasicPool { name: "", runtime: "", logo: "", - inflation_share_weight: "0", + inflation_share_weight: "", upload_interval: "0", total_funds: [], total_delegation: "0", @@ -202,8 +202,8 @@ export const BasicPool = { if (message.logo !== "") { writer.uint32(34).string(message.logo); } - if (message.inflation_share_weight !== "0") { - writer.uint32(40).uint64(message.inflation_share_weight); + if (message.inflation_share_weight !== "") { + writer.uint32(42).string(message.inflation_share_weight); } if (message.upload_interval !== "0") { writer.uint32(48).uint64(message.upload_interval); @@ -256,11 +256,11 @@ export const BasicPool = { message.logo = reader.string(); continue; case 5: - if (tag !== 40) { + if (tag !== 42) { break; } - message.inflation_share_weight = longToString(reader.uint64() as Long); + message.inflation_share_weight = reader.string(); continue; case 6: if (tag !== 48) { @@ -307,7 +307,7 @@ export const BasicPool = { logo: isSet(object.logo) ? globalThis.String(object.logo) : "", inflation_share_weight: isSet(object.inflation_share_weight) ? globalThis.String(object.inflation_share_weight) - : "0", + : "", upload_interval: isSet(object.upload_interval) ? globalThis.String(object.upload_interval) : "0", total_funds: globalThis.Array.isArray(object?.total_funds) ? object.total_funds.map((e: any) => Coin.fromJSON(e)) @@ -331,7 +331,7 @@ export const BasicPool = { if (message.logo !== "") { obj.logo = message.logo; } - if (message.inflation_share_weight !== "0") { + if (message.inflation_share_weight !== "") { obj.inflation_share_weight = message.inflation_share_weight; } if (message.upload_interval !== "0") { @@ -358,7 +358,7 @@ export const BasicPool = { message.name = object.name ?? ""; message.runtime = object.runtime ?? ""; message.logo = object.logo ?? ""; - message.inflation_share_weight = object.inflation_share_weight ?? "0"; + message.inflation_share_weight = object.inflation_share_weight ?? ""; message.upload_interval = object.upload_interval ?? "0"; message.total_funds = object.total_funds?.map((e) => Coin.fromPartial(e)) || []; message.total_delegation = object.total_delegation ?? "0"; diff --git a/common/types/src/lcd/kyve/query/v1beta1/stakers.ts b/common/types/src/lcd/kyve/query/v1beta1/stakers.ts index faf90d11..f21ff8f2 100644 --- a/common/types/src/lcd/kyve/query/v1beta1/stakers.ts +++ b/common/types/src/lcd/kyve/query/v1beta1/stakers.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/query/v1beta1/stakers.proto diff --git a/common/types/src/lcd/kyve/stakers/module/module.ts b/common/types/src/lcd/kyve/stakers/module/module.ts index a5570665..8848d210 100644 --- a/common/types/src/lcd/kyve/stakers/module/module.ts +++ b/common/types/src/lcd/kyve/stakers/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/module/module.proto diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/events.ts b/common/types/src/lcd/kyve/stakers/v1beta1/events.ts index ae783bc0..e61d6df4 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/events.ts @@ -1,13 +1,12 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/events.proto /* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; -import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { Params } from "./params"; export const protobufPackage = "kyve.stakers.v1beta1"; @@ -79,8 +78,8 @@ export interface EventUpdateCommission { export interface EventClaimCommissionRewards { /** staker is the account address of the protocol node. */ staker: string; - /** amount is the amount of the commission rewards claimed */ - amount: Coin[]; + /** amounts is the amount of the commission rewards claimed */ + amounts: string; } /** @@ -503,7 +502,7 @@ export const EventUpdateCommission = { }; function createBaseEventClaimCommissionRewards(): EventClaimCommissionRewards { - return { staker: "", amount: [] }; + return { staker: "", amounts: "" }; } export const EventClaimCommissionRewards = { @@ -511,8 +510,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { writer.uint32(10).string(message.staker); } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); + if (message.amounts !== "") { + writer.uint32(18).string(message.amounts); } return writer; }, @@ -536,7 +535,7 @@ export const EventClaimCommissionRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -550,7 +549,7 @@ export const EventClaimCommissionRewards = { fromJSON(object: any): EventClaimCommissionRewards { return { staker: isSet(object.staker) ? globalThis.String(object.staker) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: isSet(object.amounts) ? globalThis.String(object.amounts) : "", }; }, @@ -559,8 +558,8 @@ export const EventClaimCommissionRewards = { if (message.staker !== "") { obj.staker = message.staker; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts !== "") { + obj.amounts = message.amounts; } return obj; }, @@ -571,7 +570,7 @@ export const EventClaimCommissionRewards = { fromPartial, I>>(object: I): EventClaimCommissionRewards { const message = createBaseEventClaimCommissionRewards(); message.staker = object.staker ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts ?? ""; return message; }, }; diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts b/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts index 883ae6a8..c9eecdf9 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/params.ts b/common/types/src/lcd/kyve/stakers/v1beta1/params.ts index cdc9d7ca..15a53283 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/params.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/params.proto diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/query.ts b/common/types/src/lcd/kyve/stakers/v1beta1/query.ts index 287746eb..3dc7c9b9 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts b/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts index 53a46996..258b0a80 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/stakers.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/stakers.proto diff --git a/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts b/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts index f84267dc..f7e98a4e 100644 --- a/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/stakers/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/stakers/v1beta1/tx.proto @@ -64,8 +64,8 @@ export interface MsgUpdateCommissionResponse { export interface MsgClaimCommissionRewards { /** creator ... */ creator: string; - /** amount ... */ - amount: Coin[]; + /** amounts ... */ + amounts: Coin[]; } /** MsgClaimCommissionRewardsResponse ... */ @@ -539,7 +539,7 @@ export const MsgUpdateCommissionResponse = { }; function createBaseMsgClaimCommissionRewards(): MsgClaimCommissionRewards { - return { creator: "", amount: [] }; + return { creator: "", amounts: [] }; } export const MsgClaimCommissionRewards = { @@ -547,7 +547,7 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { writer.uint32(10).string(message.creator); } - for (const v of message.amount) { + for (const v of message.amounts) { Coin.encode(v!, writer.uint32(18).fork()).ldelim(); } return writer; @@ -572,7 +572,7 @@ export const MsgClaimCommissionRewards = { break; } - message.amount.push(Coin.decode(reader, reader.uint32())); + message.amounts.push(Coin.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -586,7 +586,7 @@ export const MsgClaimCommissionRewards = { fromJSON(object: any): MsgClaimCommissionRewards { return { creator: isSet(object.creator) ? globalThis.String(object.creator) : "", - amount: globalThis.Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], + amounts: globalThis.Array.isArray(object?.amounts) ? object.amounts.map((e: any) => Coin.fromJSON(e)) : [], }; }, @@ -595,8 +595,8 @@ export const MsgClaimCommissionRewards = { if (message.creator !== "") { obj.creator = message.creator; } - if (message.amount?.length) { - obj.amount = message.amount.map((e) => Coin.toJSON(e)); + if (message.amounts?.length) { + obj.amounts = message.amounts.map((e) => Coin.toJSON(e)); } return obj; }, @@ -607,7 +607,7 @@ export const MsgClaimCommissionRewards = { fromPartial, I>>(object: I): MsgClaimCommissionRewards { const message = createBaseMsgClaimCommissionRewards(); message.creator = object.creator ?? ""; - message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || []; + message.amounts = object.amounts?.map((e) => Coin.fromPartial(e)) || []; return message; }, }; diff --git a/common/types/src/lcd/kyve/team/module/module.ts b/common/types/src/lcd/kyve/team/module/module.ts index 74938b0a..f4c0c974 100644 --- a/common/types/src/lcd/kyve/team/module/module.ts +++ b/common/types/src/lcd/kyve/team/module/module.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/module/module.proto diff --git a/common/types/src/lcd/kyve/team/v1beta1/events.ts b/common/types/src/lcd/kyve/team/v1beta1/events.ts index e2acd254..75994fac 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/events.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/events.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/events.proto diff --git a/common/types/src/lcd/kyve/team/v1beta1/genesis.ts b/common/types/src/lcd/kyve/team/v1beta1/genesis.ts index bbfe6756..3e2b74ce 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/genesis.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/genesis.proto diff --git a/common/types/src/lcd/kyve/team/v1beta1/query.ts b/common/types/src/lcd/kyve/team/v1beta1/query.ts index 1f049298..df9c4533 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/query.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/query.proto diff --git a/common/types/src/lcd/kyve/team/v1beta1/team.ts b/common/types/src/lcd/kyve/team/v1beta1/team.ts index 80152a7f..4e1ecf26 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/team.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/team.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/team.proto diff --git a/common/types/src/lcd/kyve/team/v1beta1/tx.ts b/common/types/src/lcd/kyve/team/v1beta1/tx.ts index b16326a5..19fd3bb6 100644 --- a/common/types/src/lcd/kyve/team/v1beta1/tx.ts +++ b/common/types/src/lcd/kyve/team/v1beta1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.176.1 +// protoc-gen-ts_proto v1.178.0 // protoc unknown // source: kyve/team/v1beta1/tx.proto From 52fb22eb230534cf80b16940ababdfcf874ad798 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 12 Jun 2024 16:34:11 +0200 Subject: [PATCH 05/15] feat: add end-key to pool (#133) * chore: generate new lcd/client * feat: skipUploaderRole when endKey is reached * chore: add tests * chore: properly implemented end key on protocol node * fix: yarn.lock --------- Co-authored-by: Troy Kessler --- .../src/methods/checks/isPoolActive.ts | 3 + common/protocol/src/methods/main/runCache.ts | 14 +- common/protocol/src/methods/main/runNode.ts | 6 + .../validate/validateBundleProposal.ts | 13 + common/protocol/test/cache.test.ts | 188 +- .../test/checks/is_pool_active.test.ts | 14 +- common/protocol/test/mocks/constants.ts | 1 + common/protocol/test/vote_invalid.test.ts | 141 + common/protocol/test/vote_valid.test.ts | 310 ++ yarn.lock | 3024 ++++++++--------- 10 files changed, 2093 insertions(+), 1621 deletions(-) diff --git a/common/protocol/src/methods/checks/isPoolActive.ts b/common/protocol/src/methods/checks/isPoolActive.ts index 0146ee34..3dfa7c07 100644 --- a/common/protocol/src/methods/checks/isPoolActive.ts +++ b/common/protocol/src/methods/checks/isPoolActive.ts @@ -37,6 +37,9 @@ export function isPoolActive(this: Validator): boolean { case PoolStatus.POOL_STATUS_UNSPECIFIED: this.logger.info("Pool status is currently unspecified. Idling ..."); return false; + case PoolStatus.POOL_STATUS_END_KEY_REACHED: + this.logger.info("End key reached. Idling ..."); + return false; default: this.logger.info("Pool status is currently unknown. Idling ..."); return false; diff --git a/common/protocol/src/methods/main/runCache.ts b/common/protocol/src/methods/main/runCache.ts index e73e262c..e3fed0e4 100644 --- a/common/protocol/src/methods/main/runCache.ts +++ b/common/protocol/src/methods/main/runCache.ts @@ -119,6 +119,15 @@ export async function runCache(this: Validator): Promise { this.m.cache_index_tail.set(Math.max(0, currentIndex - 1)); for (let i = currentIndex; i < targetIndex; i++) { + // if the end key is not empty and we have reached the end key of the pool + // we do not sync past this key + if (this.pool.data?.end_key && this.pool.data.end_key === key) { + this.logger.info( + `Reached pool end key "${key}", the node will not continue collecting data past this key.` + ); + break; + } + // check if data item was already collected. If it was // already collected we don't need to retrieve it again this.logger.debug(`this.cacheProvider.exists(${i.toString()})`); @@ -223,11 +232,6 @@ export async function runCache(this: Validator): Promise { key = nextKey; } - // indicate that current caching round is done - this.logger.debug( - `Finished caching from index ${currentIndex} to ${targetIndex}. Waiting for next round ...` - ); - // wait until a new bundle proposal is available. We don't need // to sync the pool here because the pool state already gets // synced in the other main function "runNode" so we only listen diff --git a/common/protocol/src/methods/main/runNode.ts b/common/protocol/src/methods/main/runNode.ts index 3b85718a..d9b8560b 100644 --- a/common/protocol/src/methods/main/runNode.ts +++ b/common/protocol/src/methods/main/runNode.ts @@ -1,3 +1,4 @@ +import { PoolStatus } from "@kyvejs/types/lcd/kyve/pool/v1beta1/pool"; import { Validator } from "../.."; import { IDLE_TIME, sleep } from "../../utils"; @@ -33,6 +34,11 @@ export async function runNode(this: Validator): Promise { process.exit(1); } + if (this.pool.status === PoolStatus.POOL_STATUS_END_KEY_REACHED) { + this.logger.info(`Reached pool end key. Shutting down node ...`); + process.exit(0); + } + // log warnings if storage provider balance is low await this.isStorageBalanceLow(); diff --git a/common/protocol/src/methods/validate/validateBundleProposal.ts b/common/protocol/src/methods/validate/validateBundleProposal.ts index 09495d7c..c2710b0d 100644 --- a/common/protocol/src/methods/validate/validateBundleProposal.ts +++ b/common/protocol/src/methods/validate/validateBundleProposal.ts @@ -234,6 +234,19 @@ export async function validateBundleProposal( // validate each data item in bundle with custom runtime validation for (let i = 0; i < proposedBundle.length; i++) { if (valid) { + // if the pool has an end key and we find out that a data item + // has the end key and it is not the last data item in the bundle + // we consider the bundle invalid + if (this.pool.data?.end_key) { + if ( + i < proposedBundle.length - 1 && + proposedBundle[i].key === this.pool.data?.end_key + ) { + valid = false; + break; + } + } + this.logger.debug( `this.runtime.validateDataItem($THIS, $PROPOSED_DATA_ITEM, $VALIDATION_DATA_ITEM)` ); diff --git a/common/protocol/test/cache.test.ts b/common/protocol/test/cache.test.ts index 3420a3eb..788dedb4 100644 --- a/common/protocol/test/cache.test.ts +++ b/common/protocol/test/cache.test.ts @@ -29,9 +29,7 @@ TEST CASES - cache tests * start caching from a pool where transformDataItem fails * start caching from a pool where nextKey fails once * start caching from a pool where cache methods fail -* TODO: test with pool config that has no source object -* TODO: test with pool config that has zero sources -* TODO: start caching from a pool where node has not cached anything yet +* start caching from a pool which has an endKey */ @@ -249,8 +247,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("start caching from a pool which has a bundle proposal ongoing", async () => { @@ -423,8 +419,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("continue caching from a pool which has a bundle proposal ongoing", async () => { @@ -602,8 +596,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("start caching from a pool where last bundle proposal was dropped", async () => { @@ -767,8 +759,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("start caching from a pool where getNextDataItem fails once", async () => { @@ -931,8 +921,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("start caching from a pool where getNextDataItem fails multiple times", async () => { @@ -1175,8 +1163,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test("start caching from a pool where transformDataItem fails", async () => { @@ -1407,8 +1393,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); - - // TODO: assert timeouts }); test.skip("start caching from a pool where nextKey fails once", async () => { @@ -1527,8 +1511,6 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(0); - - // TODO: assert timeouts }); test("start caching from a pool where cache methods fail", async () => { @@ -1665,7 +1647,173 @@ describe("cache tests", () => { // assert that only one round ran expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(0); + }); + + test("start caching from a pool which has an endKey", async () => { + // ARRANGE + v.pool = { + ...genesis_pool, + data: { + ...genesis_pool.data, + current_key: "99", + current_index: "100", + end_key: "152", + }, + bundle_proposal: { + ...genesis_pool.bundle_proposal, + storage_id: "test_storage_id", + uploader: "test_staker", + next_uploader: "test_staker", + data_size: "123456789", + data_hash: "test_bundle_hash", + bundle_size: "50", + from_key: "100", + to_key: "149", + bundle_summary: "test_summary", + updated_at: "0", + voters_valid: ["test_staker"], + }, + } as any; + + // ACT + await runCache.call(v); + + // ASSERT + const txs = v["client"][0].kyve.bundles.v1beta1; + const queries = v["lcd"][0].kyve.query.v1beta1; + const cacheProvider = v["cacheProvider"]; + const runtime = v["runtime"]; + + // ======================== + // ASSERT CLIENT INTERFACES + // ======================== + + expect(txs.claimUploaderRole).toHaveBeenCalledTimes(0); + + expect(txs.voteBundleProposal).toHaveBeenCalledTimes(0); + + expect(txs.submitBundleProposal).toHaveBeenCalledTimes(0); + + expect(txs.skipUploaderRole).toHaveBeenCalledTimes(0); + + // ===================== + // ASSERT LCD INTERFACES + // ===================== + + expect(queries.canVote).toHaveBeenCalledTimes(0); + + expect(queries.canPropose).toHaveBeenCalledTimes(0); + + // ========================= + // ASSERT STORAGE INTERFACES + // ========================= + + expect(storageProvider.saveBundle).toHaveBeenCalledTimes(0); + + expect(storageProvider.retrieveBundle).toHaveBeenCalledTimes(0); + + // ======================= + // ASSERT CACHE INTERFACES + // ======================= + + // we use 50 + 3 here because the current bundle is 50 items big + // and because of the end key we only index the next 3 items and stop + // afterwards + expect(cacheProvider.put).toHaveBeenCalledTimes(50 + 3); + + for (let n = 0; n < 50 + 3; n++) { + const item = { + key: (n + parseInt(genesis_pool.data.max_bundle_size)).toString(), + value: `${ + n + parseInt(genesis_pool.data.max_bundle_size) + }-value-transform`, + }; + expect(cacheProvider.put).toHaveBeenNthCalledWith( + n + 1, + (n + parseInt(genesis_pool.data.max_bundle_size)).toString(), + item + ); + } + + expect(cacheProvider.get).toHaveBeenCalledTimes(0); + + expect(cacheProvider.exists).toHaveBeenCalledTimes( + parseInt(genesis_pool.data.max_bundle_size) + 50 + 3 + ); + + for (let n = 0; n < parseInt(genesis_pool.data.max_bundle_size); n++) { + expect(cacheProvider.exists).toHaveBeenNthCalledWith(n + 1, n.toString()); + } + + for ( + let n = parseInt(genesis_pool.data.max_bundle_size); + n < parseInt(genesis_pool.data.max_bundle_size) + 50 + 3; + n++ + ) { + expect(cacheProvider.exists).toHaveBeenNthCalledWith(n + 1, n.toString()); + } + + expect(cacheProvider.del).toHaveBeenCalledTimes(0); + + expect(cacheProvider.drop).toHaveBeenCalledTimes(0); + + // ============================= + // ASSERT COMPRESSION INTERFACES + // ============================= + + expect(compression.compress).toHaveBeenCalledTimes(0); + + expect(compression.decompress).toHaveBeenCalledTimes(0); + + // ========================= + // ASSERT RUNTIME INTERFACES + // ========================= - // TODO: assert timeouts + expect(runtime.getDataItem).toHaveBeenCalledTimes(50 + 3); + + for (let n = 0; n < 50 + 3; n++) { + expect(runtime.getDataItem).toHaveBeenNthCalledWith( + n + 1, + v, + (n + parseInt(genesis_pool.data.max_bundle_size)).toString() + ); + } + + expect(runtime.transformDataItem).toHaveBeenCalledTimes(50 + 3); + + for (let n = 0; n < 50 + 3; n++) { + const item = { + key: (n + parseInt(genesis_pool.data.max_bundle_size)).toString(), + value: `${n + parseInt(genesis_pool.data.max_bundle_size)}-value`, + }; + expect(runtime.transformDataItem).toHaveBeenNthCalledWith( + n + 1, + expect.any(Validator), + item + ); + } + + expect(runtime.validateDataItem).toHaveBeenCalledTimes(0); + + expect(runtime.nextKey).toHaveBeenCalledTimes(50 + 3); + + // here we subtract the key - 1 because we start using the + // current key + for (let n = 0; n < 50 + 3; n++) { + expect(runtime.nextKey).toHaveBeenNthCalledWith( + n + 1, + expect.any(Validator), + (n + parseInt(genesis_pool.data.max_bundle_size) - 1).toString() + ); + } + + expect(runtime.summarizeDataBundle).toHaveBeenCalledTimes(0); + + // ======================== + // ASSERT NODEJS INTERFACES + // ======================== + + // assert that only one round ran + expect(v["waitForCacheContinuation"]).toHaveBeenCalledTimes(1); }); }); diff --git a/common/protocol/test/checks/is_pool_active.test.ts b/common/protocol/test/checks/is_pool_active.test.ts index e7b7ef32..5a30b6b6 100644 --- a/common/protocol/test/checks/is_pool_active.test.ts +++ b/common/protocol/test/checks/is_pool_active.test.ts @@ -1,6 +1,6 @@ import { Logger } from "tslog"; import { Validator } from "../../src/index"; -import { setupMetrics, isPoolActive } from "../../src/methods"; +import { isPoolActive, setupMetrics } from "../../src/methods"; import { register } from "prom-client"; import { TestRuntime } from "../mocks/runtime.mock"; import { genesis_pool } from "../mocks/constants"; @@ -13,6 +13,7 @@ TEST CASES - isPoolActive * assert if pool status is POOL_STATUS_ACTIVE * assert if pool status is POOL_STATUS_NO_FUNDS * assert if pool status is POOL_STATUS_DISABLED +* assert if pool status is POOL_STATUS_END_KEY_REACHED * assert if pool status is POOL_STATUS_NOT_ENOUGH_DELEGATION * assert if pool status is POOL_STATUS_UPGRADING * assert if pool status is POOL_STATUS_UNSPECIFIED @@ -80,6 +81,17 @@ describe("isPoolActive", () => { expect(result).toBeFalsy(); }); + test("assert if pool status is POOL_STATUS_END_KEY_REACHED", async () => { + // ARRANGE + v.pool.status = PoolStatus.POOL_STATUS_END_KEY_REACHED; + + // ACT + const result = isPoolActive.call(v); + + // ASSERT + expect(result).toBeFalsy(); + }); + test("assert if pool status is POOL_STATUS_NOT_ENOUGH_DELEGATION", async () => { // ARRANGE v.pool.status = PoolStatus.POOL_STATUS_NOT_ENOUGH_DELEGATION; diff --git a/common/protocol/test/mocks/constants.ts b/common/protocol/test/mocks/constants.ts index 8e4aa64c..45a9d4df 100644 --- a/common/protocol/test/mocks/constants.ts +++ b/common/protocol/test/mocks/constants.ts @@ -7,6 +7,7 @@ export const genesis_pool = { logo: "ar://9FJDam56yBbmvn8rlamEucATH5UcYqSBw468rlCXn8E", config: "ar://bYvlKiVLb1YY0Gx4mjUhpWBkztqmA4uEN97kTaZtBfY", start_key: "0", + end_key: "", current_key: "", current_summary: "", current_index: "0", diff --git a/common/protocol/test/vote_invalid.test.ts b/common/protocol/test/vote_invalid.test.ts index 134230e2..077afb8b 100644 --- a/common/protocol/test/vote_invalid.test.ts +++ b/common/protocol/test/vote_invalid.test.ts @@ -36,6 +36,7 @@ TEST CASES - invalid votes tests * vote invalid but bundle from storage provider could not be loaded in the first try * try to vote invalid where voteBundleProposal fails * vote invalid because bundle is empty +* vote invalid because there were items after the end key data item */ @@ -2043,4 +2044,144 @@ describe("invalid votes tests", () => { // assert that only one round ran expect(v["waitForNextBundleProposal"]).toHaveBeenCalledTimes(1); }); + + test("vote invalid because there were items after the end key data item ", async () => { + const bundle = [ + { key: "test_key_1", value: "test_value_1" }, + { key: "test_key_2", value: "test_value_2" }, + ]; + + const bundleBytes = bundleToBytes(bundle); + const compressedBundle = bundleBytes; // no compression + const dataSize = compressedBundle.byteLength.toString(); + const dataHash = sha256(bundleBytes); + + v["syncPoolState"] = jest.fn().mockImplementation(() => { + v.pool = { + ...genesis_pool, + data: { + ...genesis_pool.data, + end_key: "test_key_1", + }, + bundle_proposal: { + ...genesis_pool.bundle_proposal, + storage_id: "another_test_storage_id", + uploader: "another_test_staker", + next_uploader: "another_test_staker", + data_size: dataSize, + data_hash: dataHash, + bundle_size: "2", + from_key: "test_key_1", + to_key: "test_key_2", + bundle_summary: JSON.stringify(bundle), + updated_at: "0", + voters_valid: ["another_test_staker"], + }, + } as any; + }); + + v["cacheProvider"].get = jest + .fn() + .mockResolvedValueOnce({ + key: "test_key_1", + value: "test_value_1", + }) + .mockResolvedValueOnce({ + key: "test_key_2", + value: "test_value_2", + }); + + // ACT + await runNode.call(v); + + // ASSERT + const txs = v["client"][0].kyve.bundles.v1beta1; + const queries = v["lcd"][0].kyve.query.v1beta1; + const cacheProvider = v["cacheProvider"]; + const runtime = v["runtime"]; + + // ======================== + // ASSERT CLIENT INTERFACES + // ======================== + + expect(txs.claimUploaderRole).toHaveBeenCalledTimes(0); + + expect(txs.voteBundleProposal).toHaveBeenCalledTimes(1); + expect(txs.voteBundleProposal).toHaveBeenLastCalledWith( + { + staker: "test_staker", + pool_id: "0", + storage_id: "another_test_storage_id", + vote: VoteType.VOTE_TYPE_INVALID, + }, + { + fee: 1.6, + } + ); + + expect(txs.submitBundleProposal).toHaveBeenCalledTimes(0); + + expect(txs.skipUploaderRole).toHaveBeenCalledTimes(0); + + // ===================== + // ASSERT LCD INTERFACES + // ===================== + + expect(queries.canVote).toHaveBeenCalledTimes(1); + expect(queries.canVote).toHaveBeenLastCalledWith({ + staker: "test_staker", + pool_id: "0", + voter: "test_valaddress", + storage_id: "another_test_storage_id", + }); + + expect(queries.canPropose).toHaveBeenCalledTimes(0); + + // ========================= + // ASSERT STORAGE INTERFACES + // ========================= + + expect(storageProvider.saveBundle).toHaveBeenCalledTimes(0); + + expect(storageProvider.retrieveBundle).toHaveBeenCalledTimes(1); + expect(storageProvider.retrieveBundle).toHaveBeenLastCalledWith( + "another_test_storage_id", + (120 - 20) * 1000 + ); + + // ======================= + // ASSERT CACHE INTERFACES + // ======================= + + expect(cacheProvider.get).toHaveBeenCalledTimes(2); + expect(cacheProvider.get).toHaveBeenNthCalledWith(1, "0"); + expect(cacheProvider.get).toHaveBeenNthCalledWith(2, "1"); + + // ============================= + // ASSERT COMPRESSION INTERFACES + // ============================= + + expect(compression.compress).toHaveBeenCalledTimes(0); + + expect(compression.decompress).toHaveBeenCalledTimes(1); + expect(compression.decompress).toHaveBeenLastCalledWith(compressedBundle); + + // ============================= + // ASSERT INTEGRATION INTERFACES + // ============================= + + expect(runtime.summarizeDataBundle).toHaveBeenCalledTimes(0); + + expect(runtime.validateDataItem).toHaveBeenCalledTimes(0); + + // ======================== + // ASSERT NODEJS INTERFACES + // ======================== + + // assert that debug bundle was saved + expect(v["archiveDebugBundle"]).toHaveBeenCalledTimes(1); + + // assert that only one round ran + expect(v["waitForNextBundleProposal"]).toHaveBeenCalledTimes(1); + }); }); diff --git a/common/protocol/test/vote_valid.test.ts b/common/protocol/test/vote_valid.test.ts index 0915cb0d..d740a636 100644 --- a/common/protocol/test/vote_valid.test.ts +++ b/common/protocol/test/vote_valid.test.ts @@ -30,6 +30,8 @@ TEST CASES - vote valid tests * try to vote valid after validator has voted invalid before * try to vote valid after validator has voted valid before * try to vote valid where voteBundleProposal fails +* vote valid with the bundle being before the end key +* vote valid with the last data item containing the end key */ @@ -1207,4 +1209,312 @@ describe("vote valid tests", () => { // assert that only one round ran expect(v["waitForNextBundleProposal"]).toHaveBeenCalledTimes(1); }); + + test("vote valid with the bundle being before the end key", async () => { + // ARRANGE + const bundle = [ + { key: "test_key_1", value: "test_value_1" }, + { key: "test_key_2", value: "test_value_2" }, + ]; + + const bundleBytes = bundleToBytes(bundle); + const compressedBundle = bundleBytes; // no compression + const dataSize = compressedBundle.byteLength.toString(); + const dataHash = sha256(bundleBytes); + + v["syncPoolState"] = jest.fn().mockImplementation(() => { + v.pool = { + ...genesis_pool, + data: { + ...genesis_pool.data, + end_key: "test_key_6", + }, + bundle_proposal: { + ...genesis_pool.bundle_proposal, + storage_id: "another_test_storage_id", + uploader: "another_test_staker", + next_uploader: "another_test_staker", + data_size: dataSize, + data_hash: dataHash, + bundle_size: "2", + from_key: "test_key_1", + to_key: "test_key_2", + bundle_summary: JSON.stringify(bundle), + updated_at: "0", + voters_valid: ["another_test_staker"], + }, + } as any; + }); + + v["cacheProvider"].get = jest + .fn() + .mockResolvedValueOnce({ + key: "test_key_1", + value: "test_value_1", + }) + .mockResolvedValueOnce({ + key: "test_key_2", + value: "test_value_2", + }); + + // ACT + await runNode.call(v); + + // ASSERT + const txs = v["client"][0].kyve.bundles.v1beta1; + const queries = v["lcd"][0].kyve.query.v1beta1; + const cacheProvider = v["cacheProvider"]; + const runtime = v["runtime"]; + + // ======================== + // ASSERT CLIENT INTERFACES + // ======================== + + expect(txs.claimUploaderRole).toHaveBeenCalledTimes(0); + + expect(txs.voteBundleProposal).toHaveBeenCalledTimes(1); + expect(txs.voteBundleProposal).toHaveBeenLastCalledWith( + { + staker: "test_staker", + pool_id: "0", + storage_id: "another_test_storage_id", + vote: VoteType.VOTE_TYPE_VALID, + }, + { + fee: 1.6, + } + ); + + expect(txs.submitBundleProposal).toHaveBeenCalledTimes(0); + + expect(txs.skipUploaderRole).toHaveBeenCalledTimes(0); + + // ===================== + // ASSERT LCD INTERFACES + // ===================== + + expect(queries.canVote).toHaveBeenCalledTimes(1); + expect(queries.canVote).toHaveBeenLastCalledWith({ + staker: "test_staker", + pool_id: "0", + voter: "test_valaddress", + storage_id: "another_test_storage_id", + }); + + expect(queries.canPropose).toHaveBeenCalledTimes(0); + + // ========================= + // ASSERT STORAGE INTERFACES + // ========================= + + expect(storageProvider.saveBundle).toHaveBeenCalledTimes(0); + + expect(storageProvider.retrieveBundle).toHaveBeenCalledTimes(1); + expect(storageProvider.retrieveBundle).toHaveBeenLastCalledWith( + "another_test_storage_id", + (120 - 20) * 1000 + ); + + // ======================= + // ASSERT CACHE INTERFACES + // ======================= + + expect(cacheProvider.get).toHaveBeenCalledTimes(2); + expect(cacheProvider.get).toHaveBeenNthCalledWith(1, "0"); + expect(cacheProvider.get).toHaveBeenNthCalledWith(2, "1"); + + // ============================= + // ASSERT COMPRESSION INTERFACES + // ============================= + + expect(compression.compress).toHaveBeenCalledTimes(0); + + expect(compression.decompress).toHaveBeenCalledTimes(1); + expect(compression.decompress).toHaveBeenLastCalledWith(compressedBundle); + + // ============================= + // ASSERT INTEGRATION INTERFACES + // ============================= + + expect(runtime.summarizeDataBundle).toHaveBeenCalledTimes(1); + expect(runtime.summarizeDataBundle).toHaveBeenLastCalledWith( + expect.any(Validator), + bundle + ); + + expect(runtime.validateDataItem).toHaveBeenCalledTimes(bundle.length); + + for (let i = 0; i < bundle.length; i++) { + expect(runtime.validateDataItem).toHaveBeenNthCalledWith( + i + 1, + expect.any(Validator), + standardizeJSON(bundle[i]), + standardizeJSON(bundle[i]) + ); + } + + // ======================== + // ASSERT NODEJS INTERFACES + // ======================== + + // assert that debug bundle was saved + expect(v["archiveDebugBundle"]).toHaveBeenCalledTimes(0); + + // assert that only one round ran + expect(v["waitForNextBundleProposal"]).toHaveBeenCalledTimes(1); + }); + + test("vote valid with the last data item containing the end key", async () => { + // ARRANGE + const bundle = [ + { key: "test_key_1", value: "test_value_1" }, + { key: "test_key_2", value: "test_value_2" }, + ]; + + const bundleBytes = bundleToBytes(bundle); + const compressedBundle = bundleBytes; // no compression + const dataSize = compressedBundle.byteLength.toString(); + const dataHash = sha256(bundleBytes); + + v["syncPoolState"] = jest.fn().mockImplementation(() => { + v.pool = { + ...genesis_pool, + data: { + ...genesis_pool.data, + end_key: "test_key_2", + }, + bundle_proposal: { + ...genesis_pool.bundle_proposal, + storage_id: "another_test_storage_id", + uploader: "another_test_staker", + next_uploader: "another_test_staker", + data_size: dataSize, + data_hash: dataHash, + bundle_size: "2", + from_key: "test_key_1", + to_key: "test_key_2", + bundle_summary: JSON.stringify(bundle), + updated_at: "0", + voters_valid: ["another_test_staker"], + }, + } as any; + }); + + v["cacheProvider"].get = jest + .fn() + .mockResolvedValueOnce({ + key: "test_key_1", + value: "test_value_1", + }) + .mockResolvedValueOnce({ + key: "test_key_2", + value: "test_value_2", + }); + + // ACT + await runNode.call(v); + + // ASSERT + const txs = v["client"][0].kyve.bundles.v1beta1; + const queries = v["lcd"][0].kyve.query.v1beta1; + const cacheProvider = v["cacheProvider"]; + const runtime = v["runtime"]; + + // ======================== + // ASSERT CLIENT INTERFACES + // ======================== + + expect(txs.claimUploaderRole).toHaveBeenCalledTimes(0); + + expect(txs.voteBundleProposal).toHaveBeenCalledTimes(1); + expect(txs.voteBundleProposal).toHaveBeenLastCalledWith( + { + staker: "test_staker", + pool_id: "0", + storage_id: "another_test_storage_id", + vote: VoteType.VOTE_TYPE_VALID, + }, + { + fee: 1.6, + } + ); + + expect(txs.submitBundleProposal).toHaveBeenCalledTimes(0); + + expect(txs.skipUploaderRole).toHaveBeenCalledTimes(0); + + // ===================== + // ASSERT LCD INTERFACES + // ===================== + + expect(queries.canVote).toHaveBeenCalledTimes(1); + expect(queries.canVote).toHaveBeenLastCalledWith({ + staker: "test_staker", + pool_id: "0", + voter: "test_valaddress", + storage_id: "another_test_storage_id", + }); + + expect(queries.canPropose).toHaveBeenCalledTimes(0); + + // ========================= + // ASSERT STORAGE INTERFACES + // ========================= + + expect(storageProvider.saveBundle).toHaveBeenCalledTimes(0); + + expect(storageProvider.retrieveBundle).toHaveBeenCalledTimes(1); + expect(storageProvider.retrieveBundle).toHaveBeenLastCalledWith( + "another_test_storage_id", + (120 - 20) * 1000 + ); + + // ======================= + // ASSERT CACHE INTERFACES + // ======================= + + expect(cacheProvider.get).toHaveBeenCalledTimes(2); + expect(cacheProvider.get).toHaveBeenNthCalledWith(1, "0"); + expect(cacheProvider.get).toHaveBeenNthCalledWith(2, "1"); + + // ============================= + // ASSERT COMPRESSION INTERFACES + // ============================= + + expect(compression.compress).toHaveBeenCalledTimes(0); + + expect(compression.decompress).toHaveBeenCalledTimes(1); + expect(compression.decompress).toHaveBeenLastCalledWith(compressedBundle); + + // ============================= + // ASSERT INTEGRATION INTERFACES + // ============================= + + expect(runtime.summarizeDataBundle).toHaveBeenCalledTimes(1); + expect(runtime.summarizeDataBundle).toHaveBeenLastCalledWith( + expect.any(Validator), + bundle + ); + + expect(runtime.validateDataItem).toHaveBeenCalledTimes(bundle.length); + + for (let i = 0; i < bundle.length; i++) { + expect(runtime.validateDataItem).toHaveBeenNthCalledWith( + i + 1, + expect.any(Validator), + standardizeJSON(bundle[i]), + standardizeJSON(bundle[i]) + ); + } + + // ======================== + // ASSERT NODEJS INTERFACES + // ======================== + + // assert that debug bundle was saved + expect(v["archiveDebugBundle"]).toHaveBeenCalledTimes(0); + + // assert that only one round ran + expect(v["waitForNextBundleProposal"]).toHaveBeenCalledTimes(1); + }); }); diff --git a/yarn.lock b/yarn.lock index e972f4e3..6844e787 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,18 +2,13 @@ # yarn lockfile v1 -"@aashutoshrathi/word-wrap@^1.2.3": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" - integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== - "@ampproject/remapping@^2.2.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" - integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + version "2.3.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== dependencies: - "@jridgewell/gen-mapping" "^0.3.0" - "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" "@aws-crypto/crc32@3.0.0": version "3.0.0" @@ -93,486 +88,521 @@ tslib "^1.11.1" "@aws-sdk/client-s3@^3.370.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.458.0.tgz#3e60c0c790398cf4ca6862254fff5a2aaf102873" - integrity sha512-MTRhiBLGjCd3x3fPpDpXf6fjBsaX+jvh9vSv1S5ulgOR+z2vbUOViXHNTpuHcgOJ3TnnSP5/voHr7K8NJHUksg== + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.592.0.tgz#ed9cfb1e968ecad06b716ffc20c02687ca789801" + integrity sha512-abn1XYk9HW2nXIvyD6ldwrNcF5/7a2p06OSWEr7zVTo954kArg8N0yTsy83ezznEHZfaZpdZn/DLDl2GxrE1Xw== dependencies: "@aws-crypto/sha1-browser" "3.0.0" "@aws-crypto/sha256-browser" "3.0.0" "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.458.0" - "@aws-sdk/core" "3.451.0" - "@aws-sdk/credential-provider-node" "3.458.0" - "@aws-sdk/middleware-bucket-endpoint" "3.451.0" - "@aws-sdk/middleware-expect-continue" "3.451.0" - "@aws-sdk/middleware-flexible-checksums" "3.451.0" - "@aws-sdk/middleware-host-header" "3.451.0" - "@aws-sdk/middleware-location-constraint" "3.451.0" - "@aws-sdk/middleware-logger" "3.451.0" - "@aws-sdk/middleware-recursion-detection" "3.451.0" - "@aws-sdk/middleware-sdk-s3" "3.451.0" - "@aws-sdk/middleware-signing" "3.451.0" - "@aws-sdk/middleware-ssec" "3.451.0" - "@aws-sdk/middleware-user-agent" "3.451.0" - "@aws-sdk/region-config-resolver" "3.451.0" - "@aws-sdk/signature-v4-multi-region" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-endpoints" "3.451.0" - "@aws-sdk/util-user-agent-browser" "3.451.0" - "@aws-sdk/util-user-agent-node" "3.451.0" - "@aws-sdk/xml-builder" "3.310.0" - "@smithy/config-resolver" "^2.0.18" - "@smithy/eventstream-serde-browser" "^2.0.13" - "@smithy/eventstream-serde-config-resolver" "^2.0.13" - "@smithy/eventstream-serde-node" "^2.0.13" - "@smithy/fetch-http-handler" "^2.2.6" - "@smithy/hash-blob-browser" "^2.0.14" - "@smithy/hash-node" "^2.0.15" - "@smithy/hash-stream-node" "^2.0.15" - "@smithy/invalid-dependency" "^2.0.13" - "@smithy/md5-js" "^2.0.15" - "@smithy/middleware-content-length" "^2.0.15" - "@smithy/middleware-endpoint" "^2.2.0" - "@smithy/middleware-retry" "^2.0.20" - "@smithy/middleware-serde" "^2.0.13" - "@smithy/middleware-stack" "^2.0.7" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/node-http-handler" "^2.1.9" - "@smithy/protocol-http" "^3.0.9" - "@smithy/smithy-client" "^2.1.15" - "@smithy/types" "^2.5.0" - "@smithy/url-parser" "^2.0.13" - "@smithy/util-base64" "^2.0.1" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.19" - "@smithy/util-defaults-mode-node" "^2.0.25" - "@smithy/util-endpoints" "^1.0.4" - "@smithy/util-retry" "^2.0.6" - "@smithy/util-stream" "^2.0.20" - "@smithy/util-utf8" "^2.0.2" - "@smithy/util-waiter" "^2.0.13" - fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/client-sso@3.458.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.458.0.tgz#f40d3556faa6bad60819eb4cd28f0cc45e80f23a" - integrity sha512-GTiIH4So0PTU5oAldtOacO/cBonu4NWGfvN3+BUaAb5Ybb9yQiwcO08PS/pXZ0cw4UTVK+zr22WVLR0reomUTA== + "@aws-sdk/client-sso-oidc" "3.592.0" + "@aws-sdk/client-sts" "3.592.0" + "@aws-sdk/core" "3.592.0" + "@aws-sdk/credential-provider-node" "3.592.0" + "@aws-sdk/middleware-bucket-endpoint" "3.587.0" + "@aws-sdk/middleware-expect-continue" "3.577.0" + "@aws-sdk/middleware-flexible-checksums" "3.587.0" + "@aws-sdk/middleware-host-header" "3.577.0" + "@aws-sdk/middleware-location-constraint" "3.577.0" + "@aws-sdk/middleware-logger" "3.577.0" + "@aws-sdk/middleware-recursion-detection" "3.577.0" + "@aws-sdk/middleware-sdk-s3" "3.587.0" + "@aws-sdk/middleware-signing" "3.587.0" + "@aws-sdk/middleware-ssec" "3.577.0" + "@aws-sdk/middleware-user-agent" "3.587.0" + "@aws-sdk/region-config-resolver" "3.587.0" + "@aws-sdk/signature-v4-multi-region" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-endpoints" "3.587.0" + "@aws-sdk/util-user-agent-browser" "3.577.0" + "@aws-sdk/util-user-agent-node" "3.587.0" + "@aws-sdk/xml-builder" "3.575.0" + "@smithy/config-resolver" "^3.0.1" + "@smithy/core" "^2.2.0" + "@smithy/eventstream-serde-browser" "^3.0.0" + "@smithy/eventstream-serde-config-resolver" "^3.0.0" + "@smithy/eventstream-serde-node" "^3.0.0" + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/hash-blob-browser" "^3.0.0" + "@smithy/hash-node" "^3.0.0" + "@smithy/hash-stream-node" "^3.0.0" + "@smithy/invalid-dependency" "^3.0.0" + "@smithy/md5-js" "^3.0.0" + "@smithy/middleware-content-length" "^3.0.0" + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-retry" "^3.0.3" + "@smithy/middleware-serde" "^3.0.0" + "@smithy/middleware-stack" "^3.0.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.3" + "@smithy/util-defaults-mode-node" "^3.0.3" + "@smithy/util-endpoints" "^2.0.1" + "@smithy/util-retry" "^3.0.0" + "@smithy/util-stream" "^3.0.1" + "@smithy/util-utf8" "^3.0.0" + "@smithy/util-waiter" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sso-oidc@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.592.0.tgz#0e5826e17a3d4db52cd38d0146e6faf520812cfe" + integrity sha512-11Zvm8nm0s/UF3XCjzFRpQU+8FFVW5rcr3BHfnH6xAe5JEoN6bJN/n+wOfnElnjek+90hh+Qc7s141AMrCjiiw== + dependencies: + "@aws-crypto/sha256-browser" "3.0.0" + "@aws-crypto/sha256-js" "3.0.0" + "@aws-sdk/client-sts" "3.592.0" + "@aws-sdk/core" "3.592.0" + "@aws-sdk/credential-provider-node" "3.592.0" + "@aws-sdk/middleware-host-header" "3.577.0" + "@aws-sdk/middleware-logger" "3.577.0" + "@aws-sdk/middleware-recursion-detection" "3.577.0" + "@aws-sdk/middleware-user-agent" "3.587.0" + "@aws-sdk/region-config-resolver" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-endpoints" "3.587.0" + "@aws-sdk/util-user-agent-browser" "3.577.0" + "@aws-sdk/util-user-agent-node" "3.587.0" + "@smithy/config-resolver" "^3.0.1" + "@smithy/core" "^2.2.0" + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/hash-node" "^3.0.0" + "@smithy/invalid-dependency" "^3.0.0" + "@smithy/middleware-content-length" "^3.0.0" + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-retry" "^3.0.3" + "@smithy/middleware-serde" "^3.0.0" + "@smithy/middleware-stack" "^3.0.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.3" + "@smithy/util-defaults-mode-node" "^3.0.3" + "@smithy/util-endpoints" "^2.0.1" + "@smithy/util-middleware" "^3.0.0" + "@smithy/util-retry" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sso@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.592.0.tgz#90462e744998990079c28a083553090af9ac2902" + integrity sha512-w+SuW47jQqvOC7fonyjFjsOh3yjqJ+VpWdVrmrl0E/KryBE7ho/Wn991Buf/EiHHeJikoWgHsAIPkBH29+ntdA== dependencies: "@aws-crypto/sha256-browser" "3.0.0" "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.451.0" - "@aws-sdk/middleware-host-header" "3.451.0" - "@aws-sdk/middleware-logger" "3.451.0" - "@aws-sdk/middleware-recursion-detection" "3.451.0" - "@aws-sdk/middleware-user-agent" "3.451.0" - "@aws-sdk/region-config-resolver" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-endpoints" "3.451.0" - "@aws-sdk/util-user-agent-browser" "3.451.0" - "@aws-sdk/util-user-agent-node" "3.451.0" - "@smithy/config-resolver" "^2.0.18" - "@smithy/fetch-http-handler" "^2.2.6" - "@smithy/hash-node" "^2.0.15" - "@smithy/invalid-dependency" "^2.0.13" - "@smithy/middleware-content-length" "^2.0.15" - "@smithy/middleware-endpoint" "^2.2.0" - "@smithy/middleware-retry" "^2.0.20" - "@smithy/middleware-serde" "^2.0.13" - "@smithy/middleware-stack" "^2.0.7" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/node-http-handler" "^2.1.9" - "@smithy/protocol-http" "^3.0.9" - "@smithy/smithy-client" "^2.1.15" - "@smithy/types" "^2.5.0" - "@smithy/url-parser" "^2.0.13" - "@smithy/util-base64" "^2.0.1" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.19" - "@smithy/util-defaults-mode-node" "^2.0.25" - "@smithy/util-endpoints" "^1.0.4" - "@smithy/util-retry" "^2.0.6" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@aws-sdk/client-sts@3.458.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.458.0.tgz#74b763093dd7ce10b8d5b06d4019cac8d47feea5" - integrity sha512-c34zmQxcP7AM62S7SAiOztxTaHJOG+0aIb2GYUeag5sQzG7FnGGwZ7hA0ggCQc7iMkDL9UYHKKtLs1ynQenW+A== + "@aws-sdk/core" "3.592.0" + "@aws-sdk/middleware-host-header" "3.577.0" + "@aws-sdk/middleware-logger" "3.577.0" + "@aws-sdk/middleware-recursion-detection" "3.577.0" + "@aws-sdk/middleware-user-agent" "3.587.0" + "@aws-sdk/region-config-resolver" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-endpoints" "3.587.0" + "@aws-sdk/util-user-agent-browser" "3.577.0" + "@aws-sdk/util-user-agent-node" "3.587.0" + "@smithy/config-resolver" "^3.0.1" + "@smithy/core" "^2.2.0" + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/hash-node" "^3.0.0" + "@smithy/invalid-dependency" "^3.0.0" + "@smithy/middleware-content-length" "^3.0.0" + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-retry" "^3.0.3" + "@smithy/middleware-serde" "^3.0.0" + "@smithy/middleware-stack" "^3.0.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.3" + "@smithy/util-defaults-mode-node" "^3.0.3" + "@smithy/util-endpoints" "^2.0.1" + "@smithy/util-middleware" "^3.0.0" + "@smithy/util-retry" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sts@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.592.0.tgz#8a24080785355ced48ed5b49ab23d1eaf9f70f47" + integrity sha512-KUrOdszZfcrlpKr4dpdkGibZ/qq3Lnfu1rjv1U+V1QJQ9OuMo9J3sDWpWV9tigNqY0aGllarWH5cJbz9868W/w== dependencies: "@aws-crypto/sha256-browser" "3.0.0" "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.451.0" - "@aws-sdk/credential-provider-node" "3.458.0" - "@aws-sdk/middleware-host-header" "3.451.0" - "@aws-sdk/middleware-logger" "3.451.0" - "@aws-sdk/middleware-recursion-detection" "3.451.0" - "@aws-sdk/middleware-sdk-sts" "3.451.0" - "@aws-sdk/middleware-signing" "3.451.0" - "@aws-sdk/middleware-user-agent" "3.451.0" - "@aws-sdk/region-config-resolver" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-endpoints" "3.451.0" - "@aws-sdk/util-user-agent-browser" "3.451.0" - "@aws-sdk/util-user-agent-node" "3.451.0" - "@smithy/config-resolver" "^2.0.18" - "@smithy/fetch-http-handler" "^2.2.6" - "@smithy/hash-node" "^2.0.15" - "@smithy/invalid-dependency" "^2.0.13" - "@smithy/middleware-content-length" "^2.0.15" - "@smithy/middleware-endpoint" "^2.2.0" - "@smithy/middleware-retry" "^2.0.20" - "@smithy/middleware-serde" "^2.0.13" - "@smithy/middleware-stack" "^2.0.7" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/node-http-handler" "^2.1.9" - "@smithy/protocol-http" "^3.0.9" - "@smithy/smithy-client" "^2.1.15" - "@smithy/types" "^2.5.0" - "@smithy/url-parser" "^2.0.13" - "@smithy/util-base64" "^2.0.1" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.19" - "@smithy/util-defaults-mode-node" "^2.0.25" - "@smithy/util-endpoints" "^1.0.4" - "@smithy/util-retry" "^2.0.6" - "@smithy/util-utf8" "^2.0.2" + "@aws-sdk/client-sso-oidc" "3.592.0" + "@aws-sdk/core" "3.592.0" + "@aws-sdk/credential-provider-node" "3.592.0" + "@aws-sdk/middleware-host-header" "3.577.0" + "@aws-sdk/middleware-logger" "3.577.0" + "@aws-sdk/middleware-recursion-detection" "3.577.0" + "@aws-sdk/middleware-user-agent" "3.587.0" + "@aws-sdk/region-config-resolver" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-endpoints" "3.587.0" + "@aws-sdk/util-user-agent-browser" "3.577.0" + "@aws-sdk/util-user-agent-node" "3.587.0" + "@smithy/config-resolver" "^3.0.1" + "@smithy/core" "^2.2.0" + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/hash-node" "^3.0.0" + "@smithy/invalid-dependency" "^3.0.0" + "@smithy/middleware-content-length" "^3.0.0" + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-retry" "^3.0.3" + "@smithy/middleware-serde" "^3.0.0" + "@smithy/middleware-stack" "^3.0.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.3" + "@smithy/util-defaults-mode-node" "^3.0.3" + "@smithy/util-endpoints" "^2.0.1" + "@smithy/util-middleware" "^3.0.0" + "@smithy/util-retry" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/core@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.592.0.tgz#d903a3993f8ba6836480314c2a8af8b7857bb943" + integrity sha512-gLPMXR/HXDP+9gXAt58t7gaMTvRts9i6Q7NMISpkGF54wehskl5WGrbdtHJFylrlJ5BQo3XVY6i661o+EuR1wg== + dependencies: + "@smithy/core" "^2.2.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/signature-v4" "^3.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/core@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.451.0.tgz#ecd30da40d8e02050a772920485f450ea2a1b804" - integrity sha512-SamWW2zHEf1ZKe3j1w0Piauryl8BQIlej0TBS18A4ACzhjhWXhCs13bO1S88LvPR5mBFXok3XOT6zPOnKDFktw== - dependencies: - "@smithy/smithy-client" "^2.1.15" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-env@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.451.0.tgz#7b7429bd2e3fdebf914a88269274190781aeeab2" - integrity sha512-9dAav7DcRgaF7xCJEQR5ER9ErXxnu/tdnVJ+UPmb1NPeIZdESv1A3lxFDEq1Fs8c4/lzAj9BpshGyJVIZwZDKg== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-ini@3.458.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.458.0.tgz#b37ca1740a87c169ad590e84cfc7d3e84106c673" - integrity sha512-M293Im4k6QrKlWaPfElYKRPlBXMaXbkqns4YgLGBpabfIVIZEguGj/kVm7gkEKdt8rCHbBqqXgsQrtQbfDkkBQ== - dependencies: - "@aws-sdk/credential-provider-env" "3.451.0" - "@aws-sdk/credential-provider-process" "3.451.0" - "@aws-sdk/credential-provider-sso" "3.458.0" - "@aws-sdk/credential-provider-web-identity" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@smithy/credential-provider-imds" "^2.0.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-node@3.458.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.458.0.tgz#a68b7bcbb28f49f6e6dd848590a263f0a462e503" - integrity sha512-psNXL3/GAoDAqRusdy5umglXTOvxtE9XQTtmOPn4O/H2NpXqe+cB2/W+H+uikgyyck9Lu4DwMk+voFz2Hl8znw== - dependencies: - "@aws-sdk/credential-provider-env" "3.451.0" - "@aws-sdk/credential-provider-ini" "3.458.0" - "@aws-sdk/credential-provider-process" "3.451.0" - "@aws-sdk/credential-provider-sso" "3.458.0" - "@aws-sdk/credential-provider-web-identity" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@smithy/credential-provider-imds" "^2.0.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-process@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.451.0.tgz#3dd1d7df235f4eeb99d7e0f16b0e8cd61d555a73" - integrity sha512-HQywSdKeD5PErcLLnZfSyCJO+6T+ZyzF+Lm/QgscSC+CbSUSIPi//s15qhBRVely/3KBV6AywxwNH+5eYgt4lQ== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-sso@3.458.0": - version "3.458.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.458.0.tgz#4634c0c67656b4963a3db7ae65ca7fc646f040ae" - integrity sha512-dyRAKvMLF9Ur6M0YtWSU4E5YDVEFO7Rfg5FOTk+Lwnk24UQ0RoHg3c6HZ8sPTNx16cgx4YY68UYi/HTZf56z2g== - dependencies: - "@aws-sdk/client-sso" "3.458.0" - "@aws-sdk/token-providers" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-web-identity@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.451.0.tgz#5dc40768869d5887888c6f178c7831dd2c74cfbe" - integrity sha512-Xtg3Qw65EfDjWNG7o2xD6sEmumPfsy3WDGjk2phEzVg8s7hcZGxf5wYwe6UY7RJvlEKrU0rFA+AMn6Hfj5oOzg== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-bucket-endpoint@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.451.0.tgz#d2853e30605771414fff762cd7680e449e3c811e" - integrity sha512-KWyZ1JGnYz2QbHuJtYTP1BVnMOfVopR8rP8dTinVb/JR5HfAYz4imICJlJUbOYRjN7wpA3PrRI8dNRjrSBjWJg== - dependencies: - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-arn-parser" "3.310.0" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - "@smithy/util-config-provider" "^2.0.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-expect-continue@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.451.0.tgz#6fa15a51d7d894230fa6cdf8989755f476005fff" - integrity sha512-vwG8o2Uk6biLDlOZnqXemsO4dS2HvrprUdxyouwu6hlzLFskg8nL122butn19JqXJKgcVLuSSLzT+xwqBWy2Rg== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-flexible-checksums@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.451.0.tgz#3617c35bceafcebd77faef5f47a3cfedc20d713c" - integrity sha512-eOkpcC2zgAvqs1w7Yp5nsk9LBIj6qLU5kaZuZEBOiFbNKIrTnPo6dQuhgvDcKHD6Y5W/cUjSBiFMs/ROb5aoug== + tslib "^2.6.2" + +"@aws-sdk/credential-provider-env@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.587.0.tgz#40435be331773e4b1b665a1f4963518d4647505c" + integrity sha512-Hyg/5KFECIk2k5o8wnVEiniV86yVkhn5kzITUydmNGCkXdBFHMHRx6hleQ1bqwJHbBskyu8nbYamzcwymmGwmw== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-http@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.587.0.tgz#dc23c6d6708bc67baea54bfab0f256c5fe4df023" + integrity sha512-Su1SRWVRCuR1e32oxX3C1V4c5hpPN20WYcRfdcr2wXwHqSvys5DrnmuCC+JoEnS/zt3adUJhPliTqpfKgSdMrA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/util-stream" "^3.0.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-ini@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.592.0.tgz#02b85eaca21fe54d4d285009b64a8add032a042b" + integrity sha512-3kG6ngCIOPbLJZZ3RV+NsU7HVK6vX1+1DrPJKj9fVlPYn7IXsk8NAaUT5885yC7+jKizjv0cWLrLKvAJV5gfUA== + dependencies: + "@aws-sdk/credential-provider-env" "3.587.0" + "@aws-sdk/credential-provider-http" "3.587.0" + "@aws-sdk/credential-provider-process" "3.587.0" + "@aws-sdk/credential-provider-sso" "3.592.0" + "@aws-sdk/credential-provider-web-identity" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@smithy/credential-provider-imds" "^3.1.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-node@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.592.0.tgz#b8339b1bfdea39b17e5da1a502b60f0fe3dde126" + integrity sha512-BguihBGTrEjVBQ07hm+ZsO29eNJaxwBwUZMftgGAm2XcMIEClNPfm5hydxu2BmA4ouIJQJ6nG8pNYghEumM+Aw== + dependencies: + "@aws-sdk/credential-provider-env" "3.587.0" + "@aws-sdk/credential-provider-http" "3.587.0" + "@aws-sdk/credential-provider-ini" "3.592.0" + "@aws-sdk/credential-provider-process" "3.587.0" + "@aws-sdk/credential-provider-sso" "3.592.0" + "@aws-sdk/credential-provider-web-identity" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@smithy/credential-provider-imds" "^3.1.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-process@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.587.0.tgz#1e5cc562a68438a77f464adc0493b02e04dd3ea1" + integrity sha512-V4xT3iCqkF8uL6QC4gqBJg/2asd/damswP1h9HCfqTllmPWzImS+8WD3VjgTLw5b0KbTy+ZdUhKc0wDnyzkzxg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-sso@3.592.0": + version "3.592.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.592.0.tgz#340649b4f5b4fbcb816f248089979d7d38ce96d3" + integrity sha512-fYFzAdDHKHvhtufPPtrLdSv8lO6GuW3em6n3erM5uFdpGytNpjXvr3XGokIsuXcNkETAY/Xihg+G9ksNE8WJxQ== + dependencies: + "@aws-sdk/client-sso" "3.592.0" + "@aws-sdk/token-providers" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-web-identity@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.587.0.tgz#daa41e3cc9309594327056e431b8065145c5297a" + integrity sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-bucket-endpoint@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.587.0.tgz#def5edbadf53bdfe765aa9acf12f119eb208b22f" + integrity sha512-HkFXLPl8pr6BH/Q0JpOESqEKL0ZK3sk7aSZ1S6GE4RXET7H5R94THULXqQFZzD48gZcyFooO/yNKZTqrZFaWKg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-arn-parser" "3.568.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-config-provider" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-expect-continue@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.577.0.tgz#47add47f17873a6044cb140f17033cb6e1d02744" + integrity sha512-6dPp8Tv4F0of4un5IAyG6q++GrRrNQQ4P2NAMB1W0VO4JoEu1C8GievbbDLi88TFIFmtKpnHB0ODCzwnoe8JsA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-flexible-checksums@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.587.0.tgz#74afe7bd3088adf05b2ed843ad41386e793e0397" + integrity sha512-URMwp/budDvKhIvZ4a6zIBfFTun/iDlPWXqsGKYjEtHt8jz27OSjCZtDtIeqW4WTBdKL8KZgQcl+DdaE5M1qiQ== dependencies: "@aws-crypto/crc32" "3.0.0" "@aws-crypto/crc32c" "3.0.0" - "@aws-sdk/types" "3.451.0" - "@smithy/is-array-buffer" "^2.0.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@aws-sdk/middleware-host-header@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.451.0.tgz#016fcd2b0ec58f26ce62c7ff792174bdf580972b" - integrity sha512-j8a5jAfhWmsK99i2k8oR8zzQgXrsJtgrLxc3js6U+525mcZytoiDndkWTmD5fjJ1byU1U2E5TaPq+QJeDip05Q== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-location-constraint@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.451.0.tgz#eb763e777b008e7f9fef3eda8dbfce27ed54cdaa" - integrity sha512-R4U2G7mybP0BMiQBJWTcB47g49F4PSXTiCsvMDp5WOEhpWvGQuO1ZIhTxCl5s5lgTSne063Os8W6KSdK2yG2TQ== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-logger@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.451.0.tgz#9ef8ac916199f92ea1bb6c153279727ffa2b0b36" - integrity sha512-0kHrYEyVeB2QBfP6TfbI240aRtatLZtcErJbhpiNUb+CQPgEL3crIjgVE8yYiJumZ7f0jyjo8HLPkwD1/2APaw== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-recursion-detection@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.451.0.tgz#333a12d4792788bfcc3cab1028868cf37fb17e76" - integrity sha512-J6jL6gJ7orjHGM70KDRcCP7so/J2SnkN4vZ9YRLTeeZY6zvBuHDjX8GCIgSqPn/nXFXckZO8XSnA7u6+3TAT0w== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-sdk-s3@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.451.0.tgz#2c9b47216b46fcb46e6a505463059eff89912cec" - integrity sha512-XF4Cw8HrYUwGLKOqKtWs6ss1WXoxvQUcgGLACGSqn9a0p51446NiS5671x7qJUsfBuygdKlIKcOc8pPr9a+5Ow== - dependencies: - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-arn-parser" "3.310.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/smithy-client" "^2.1.15" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-sdk-sts@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.451.0.tgz#0c70b57523386fe12357b4471cd20b681a27f9aa" - integrity sha512-UJ6UfVUEgp0KIztxpAeelPXI5MLj9wUtUCqYeIMP7C1ZhoEMNm3G39VLkGN43dNhBf1LqjsV9jkKMZbVfYXuwg== - dependencies: - "@aws-sdk/middleware-signing" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-signing@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.451.0.tgz#ed7f5665dd048228e00f8e7e5925db32901a7886" - integrity sha512-s5ZlcIoLNg1Huj4Qp06iKniE8nJt/Pj1B/fjhWc6cCPCM7XJYUCejCnRh6C5ZJoBEYodjuwZBejPc1Wh3j+znA== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/signature-v4" "^2.0.0" - "@smithy/types" "^2.5.0" - "@smithy/util-middleware" "^2.0.6" - tslib "^2.5.0" - -"@aws-sdk/middleware-ssec@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.451.0.tgz#056e4c8afc54651481d81d6c54fc0599c70f5c67" - integrity sha512-hDkeBUiRsvuDbvsPha0/uJHE680WDzjAOoE6ZnLBoWsw7ry+Bw1ULMj0sCmpBVrQ7Gpivi/6zbezhClVmt3ITw== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/middleware-user-agent@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.451.0.tgz#33d168e8411be4561eeef69e16c31e41b6f9a0cf" - integrity sha512-8NM/0JiKLNvT9wtAQVl1DFW0cEO7OvZyLSUBLNLTHqyvOZxKaZ8YFk7d8PL6l76LeUKRxq4NMxfZQlUIRe0eSA== - dependencies: - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-endpoints" "3.451.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/region-config-resolver@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.451.0.tgz#f4de34ebe435832dd6bcdc0a7b9fae14a42fc6de" - integrity sha512-3iMf4OwzrFb4tAAmoROXaiORUk2FvSejnHIw/XHvf/jjR4EqGGF95NZP/n/MeFZMizJWVssrwS412GmoEyoqhg== - dependencies: - "@smithy/node-config-provider" "^2.1.5" - "@smithy/types" "^2.5.0" - "@smithy/util-config-provider" "^2.0.0" - "@smithy/util-middleware" "^2.0.6" - tslib "^2.5.0" - -"@aws-sdk/signature-v4-multi-region@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.451.0.tgz#d8ec1b653037e3d979e6bb32df05a709ff32938b" - integrity sha512-qQKY7/txeNUTLyRL3WxUWEwaZ5sf76EIZgu9kLaR96cAYSxwQi/qQB3ijbfD6u7sJIA8aROMxeYK0VmRsQg0CA== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/signature-v4" "^2.0.0" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/token-providers@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.451.0.tgz#fb80e2fa39bb277fb77040a59c88312a115c35bd" - integrity sha512-ij1L5iUbn6CwxVOT1PG4NFjsrsKN9c4N1YEM0lkl6DwmaNOscjLKGSNyj9M118vSWsOs1ZDbTwtj++h0O/BWrQ== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/middleware-host-header" "3.451.0" - "@aws-sdk/middleware-logger" "3.451.0" - "@aws-sdk/middleware-recursion-detection" "3.451.0" - "@aws-sdk/middleware-user-agent" "3.451.0" - "@aws-sdk/region-config-resolver" "3.451.0" - "@aws-sdk/types" "3.451.0" - "@aws-sdk/util-endpoints" "3.451.0" - "@aws-sdk/util-user-agent-browser" "3.451.0" - "@aws-sdk/util-user-agent-node" "3.451.0" - "@smithy/config-resolver" "^2.0.18" - "@smithy/fetch-http-handler" "^2.2.6" - "@smithy/hash-node" "^2.0.15" - "@smithy/invalid-dependency" "^2.0.13" - "@smithy/middleware-content-length" "^2.0.15" - "@smithy/middleware-endpoint" "^2.2.0" - "@smithy/middleware-retry" "^2.0.20" - "@smithy/middleware-serde" "^2.0.13" - "@smithy/middleware-stack" "^2.0.7" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/node-http-handler" "^2.1.9" - "@smithy/property-provider" "^2.0.0" - "@smithy/protocol-http" "^3.0.9" - "@smithy/shared-ini-file-loader" "^2.0.6" - "@smithy/smithy-client" "^2.1.15" - "@smithy/types" "^2.5.0" - "@smithy/url-parser" "^2.0.13" - "@smithy/util-base64" "^2.0.1" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.19" - "@smithy/util-defaults-mode-node" "^2.0.25" - "@smithy/util-endpoints" "^1.0.4" - "@smithy/util-retry" "^2.0.6" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@aws-sdk/types@3.451.0", "@aws-sdk/types@^3.222.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.451.0.tgz#37ab4b25074c6a36152eb36abb7399b3768c2e7b" - integrity sha512-rhK+qeYwCIs+laJfWCcrYEjay2FR/9VABZJ2NRM89jV/fKqGVQR52E5DQqrI+oEIL5JHMhhnr4N4fyECMS35lw== - dependencies: - "@smithy/types" "^2.5.0" - tslib "^2.5.0" - -"@aws-sdk/util-arn-parser@3.310.0": - version "3.310.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.310.0.tgz#861ff8810851be52a320ec9e4786f15b5fc74fba" - integrity sha512-jL8509owp/xB9+Or0pvn3Fe+b94qfklc2yPowZZIFAkFcCSIdkIglz18cPDWnYAcy9JGewpMS1COXKIUhZkJsA== - dependencies: - tslib "^2.5.0" - -"@aws-sdk/util-endpoints@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.451.0.tgz#8719977c3535c6fec719a2854ffe037e02412ddb" - integrity sha512-giqLGBTnRIcKkDqwU7+GQhKbtJ5Ku35cjGQIfMyOga6pwTBUbaK0xW1Sdd8sBQ1GhApscnChzI9o/R9x0368vw== - dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/util-endpoints" "^1.0.4" - tslib "^2.5.0" + "@aws-sdk/types" "3.577.0" + "@smithy/is-array-buffer" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-host-header@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.577.0.tgz#a3fc626d409ec850296740478c64ef5806d8b878" + integrity sha512-9ca5MJz455CODIVXs0/sWmJm7t3QO4EUa1zf8pE8grLpzf0J94bz/skDWm37Pli13T3WaAQBHCTiH2gUVfCsWg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-location-constraint@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.577.0.tgz#9372441a4ac5747b3176ac6378d92866a51de815" + integrity sha512-DKPTD2D2s+t2QUo/IXYtVa/6Un8GZ+phSTBkyBNx2kfZz4Kwavhl/JJzSqTV3GfCXkVdFu7CrjoX7BZ6qWeTUA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-logger@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.577.0.tgz#6da3b13ae284fb3930961f0fc8e20b1f6cf8be30" + integrity sha512-aPFGpGjTZcJYk+24bg7jT4XdIp42mFXSuPt49lw5KygefLyJM/sB0bKKqPYYivW0rcuZ9brQ58eZUNthrzYAvg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-recursion-detection@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.577.0.tgz#fff76abc6d4521636f9e654ce5bf2c4c79249417" + integrity sha512-pn3ZVEd2iobKJlR3H+bDilHjgRnNrQ6HMmK9ZzZw89Ckn3Dcbv48xOv4RJvu0aU8SDLl/SNCxppKjeLDTPGBNA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-sdk-s3@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.587.0.tgz#720620ccdc2eb6ecab0f3a6adbd28fc27fdc70ce" + integrity sha512-vtXTGEiw1E9Fax4LmcU2Z208gbrC8ShrdsSLmGcRPpu5NPOGBFBSDG5sy5EDNClrFxIl/Le8coQnD0EDBtx+uQ== + dependencies: + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-arn-parser" "3.568.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/signature-v4" "^3.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/util-config-provider" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-signing@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.587.0.tgz#593c418c09c51c0bc55f23a7a6b0fda8502a8103" + integrity sha512-tiZaTDj4RvhXGRAlncFn7CSEfL3iNPO67WSaxAq+Ls5j1VgczPhu5262cWONNoMgth3nXR1hhLC4ITSl/a6AzA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/signature-v4" "^3.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-ssec@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.577.0.tgz#9fcd74e8bf2c277b4349c537cbeceba279166f32" + integrity sha512-i2BPJR+rp8xmRVIGc0h1kDRFcM2J9GnClqqpc+NLSjmYadlcg4mPklisz9HzwFVcRPJ5XcGf3U4BYs5G8+iTyg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-user-agent@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.587.0.tgz#2a68900cfb29afbae2952d901de4fcb91850bd3d" + integrity sha512-SyDomN+IOrygLucziG7/nOHkjUXES5oH5T7p8AboO8oakMQJdnudNXiYWTicQWO52R51U6CR27rcMPTGeMedYA== + dependencies: + "@aws-sdk/types" "3.577.0" + "@aws-sdk/util-endpoints" "3.587.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/region-config-resolver@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.587.0.tgz#ad1c15494f44dfc4c7a7bce389f8b128dace923f" + integrity sha512-93I7IPZtulZQoRK+O20IJ4a1syWwYPzoO2gc3v+/GNZflZPV3QJXuVbIm0pxBsu0n/mzKGUKqSOLPIaN098HcQ== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/signature-v4-multi-region@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.587.0.tgz#f8bb6de9135f3fafab04b9220409cd0d0549b7d8" + integrity sha512-TR9+ZSjdXvXUz54ayHcCihhcvxI9W7102J1OK6MrLgBlPE7uRhAx42BR9L5lLJ86Xj3LuqPWf//o9d/zR9WVIg== + dependencies: + "@aws-sdk/middleware-sdk-s3" "3.587.0" + "@aws-sdk/types" "3.577.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/signature-v4" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/token-providers@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.587.0.tgz#f9fd2ddfc554c1370f8d0f467c76a4c8cb904ae6" + integrity sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/types@3.577.0", "@aws-sdk/types@^3.222.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.577.0.tgz#7700784d368ce386745f8c340d9d68cea4716f90" + integrity sha512-FT2JZES3wBKN/alfmhlo+3ZOq/XJ0C7QOZcDNrpKjB0kqYoKjhVKZ/Hx6ArR0czkKfHzBBEs6y40ebIHx2nSmA== + dependencies: + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/util-arn-parser@3.568.0": + version "3.568.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.568.0.tgz#6a19a8c6bbaa520b6be1c278b2b8c17875b91527" + integrity sha512-XUKJWWo+KOB7fbnPP0+g/o5Ulku/X53t7i/h+sPHr5xxYTJJ9CYnbToo95mzxe7xWvkLrsNtJ8L+MnNn9INs2w== + dependencies: + tslib "^2.6.2" + +"@aws-sdk/util-endpoints@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.587.0.tgz#781e0822a95dba15f7ac8f22a6f6d7f0c8819818" + integrity sha512-8I1HG6Em8wQWqKcRW6m358mqebRVNpL8XrrEoT4In7xqkKkmYtHRNVYP6lcmiQh5pZ/c/FXu8dSchuFIWyEtqQ== + dependencies: + "@aws-sdk/types" "3.577.0" + "@smithy/types" "^3.0.0" + "@smithy/util-endpoints" "^2.0.1" + tslib "^2.6.2" "@aws-sdk/util-locate-window@^3.0.0": - version "3.310.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.310.0.tgz#b071baf050301adee89051032bd4139bba32cc40" - integrity sha512-qo2t/vBTnoXpjKxlsC2e1gBrRm80M3bId27r0BRB2VniSSe7bL1mmzM+/HFtujm0iAxtPM+aLEflLJlJeDPg0w== + version "3.568.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.568.0.tgz#2acc4b2236af0d7494f7e517401ba6b3c4af11ff" + integrity sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@aws-sdk/util-user-agent-browser@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.451.0.tgz#0b511703c3304a5c2fdaa864589246c93ad63dce" - integrity sha512-Ws5mG3J0TQifH7OTcMrCTexo7HeSAc3cBgjfhS/ofzPUzVCtsyg0G7I6T7wl7vJJETix2Kst2cpOsxygPgPD9w== +"@aws-sdk/util-user-agent-browser@3.577.0": + version "3.577.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.577.0.tgz#d4d2cdb3a2b3d1c8b35f239ee9f7b2c87bee66ea" + integrity sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA== dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/types" "^2.5.0" + "@aws-sdk/types" "3.577.0" + "@smithy/types" "^3.0.0" bowser "^2.11.0" - tslib "^2.5.0" + tslib "^2.6.2" -"@aws-sdk/util-user-agent-node@3.451.0": - version "3.451.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.451.0.tgz#f2af3f0d3f0389a14a7dbbc835dc94c705c0a39a" - integrity sha512-TBzm6P+ql4mkGFAjPlO1CI+w3yUT+NulaiALjl/jNX/nnUp6HsJsVxJf4nVFQTG5KRV0iqMypcs7I3KIhH+LmA== +"@aws-sdk/util-user-agent-node@3.587.0": + version "3.587.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.587.0.tgz#a6bf422f307a68e16a6c19ee5d731fcc32696fb9" + integrity sha512-Pnl+DUe/bvnbEEDHP3iVJrOtE3HbFJBPgsD6vJ+ml/+IYk1Eq49jEG+EHZdNTPz3SDG0kbp2+7u41MKYJHR/iQ== dependencies: - "@aws-sdk/types" "3.451.0" - "@smithy/node-config-provider" "^2.1.5" - "@smithy/types" "^2.5.0" - tslib "^2.5.0" + "@aws-sdk/types" "3.577.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" "@aws-sdk/util-utf8-browser@^3.0.0": version "3.259.0" @@ -581,22 +611,15 @@ dependencies: tslib "^2.3.1" -"@aws-sdk/xml-builder@3.310.0": - version "3.310.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.310.0.tgz#f0236f2103b438d16117e0939a6305ad69b7ff76" - integrity sha512-TqELu4mOuSIKQCqj63fGVs86Yh+vBx5nHRpWKNUNhB2nPTpfbziTs5c1X358be3peVWA4wPxW7Nt53KIg1tnNw== - dependencies: - tslib "^2.5.0" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.4.tgz#03ae5af150be94392cb5c7ccd97db5a19a5da6aa" - integrity sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA== +"@aws-sdk/xml-builder@3.575.0": + version "3.575.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.575.0.tgz#233b2aae422dd789a078073032da1bc60317aa1d" + integrity sha512-cWgAwmbFYNCFzPwxL705+lWps0F3ZvOckufd2KKoEZUmtpVw9/txUXNrPySUXSmRTSRhoatIMABNfStWR043bQ== dependencies: - "@babel/highlight" "^7.23.4" - chalk "^2.4.2" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@babel/code-frame@^7.24.7": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== @@ -604,38 +627,12 @@ "@babel/highlight" "^7.24.7" picocolors "^1.0.0" -"@babel/compat-data@^7.22.9": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.3.tgz#3febd552541e62b5e883a25eb3effd7c7379db11" - integrity sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ== - "@babel/compat-data@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.7.tgz#d23bbea508c3883ba8251fb4164982c36ea577ed" integrity sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw== -"@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.3.tgz#5ec09c8803b91f51cc887dedc2654a35852849c9" - integrity sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew== - dependencies: - "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.3" - "@babel/helper-compilation-targets" "^7.22.15" - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.23.2" - "@babel/parser" "^7.23.3" - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.3" - "@babel/types" "^7.23.3" - convert-source-map "^2.0.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.3" - semver "^6.3.1" - -"@babel/core@^7.23.9": +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.7.tgz#b676450141e0b52a3d43bc91da86aa608f950ac4" integrity sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g== @@ -665,17 +662,7 @@ "@jridgewell/gen-mapping" "^0.3.0" jsesc "^2.5.1" -"@babel/generator@^7.23.3", "@babel/generator@^7.23.4", "@babel/generator@^7.7.2": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.4.tgz#4a41377d8566ec18f807f42962a7f3551de83d1c" - integrity sha512-esuS49Cga3HcThFNebGhlgsrVLkvhqvYDTzgjfFFlHJcIfLe5jFmRRfCQ1KuBfc4Jrtn3ndLgKWAKjBE+IraYQ== - dependencies: - "@babel/types" "^7.23.4" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/generator@^7.24.7": +"@babel/generator@^7.24.7", "@babel/generator@^7.7.2": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.7.tgz#1654d01de20ad66b4b4d99c135471bc654c55e6d" integrity sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA== @@ -685,17 +672,6 @@ "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" -"@babel/helper-compilation-targets@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" - integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== - dependencies: - "@babel/compat-data" "^7.22.9" - "@babel/helper-validator-option" "^7.22.15" - browserslist "^4.21.9" - lru-cache "^5.1.1" - semver "^6.3.1" - "@babel/helper-compilation-targets@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz#4eb6c4a80d6ffeac25ab8cd9a21b5dfa48d503a9" @@ -707,11 +683,6 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-environment-visitor@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" - integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== - "@babel/helper-environment-visitor@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz#4b31ba9551d1f90781ba83491dd59cf9b269f7d9" @@ -719,14 +690,6 @@ dependencies: "@babel/types" "^7.24.7" -"@babel/helper-function-name@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" - integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== - dependencies: - "@babel/template" "^7.22.15" - "@babel/types" "^7.23.0" - "@babel/helper-function-name@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz#75f1e1725742f39ac6584ee0b16d94513da38dd2" @@ -735,13 +698,6 @@ "@babel/template" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-hoist-variables@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" - integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== - dependencies: - "@babel/types" "^7.22.5" - "@babel/helper-hoist-variables@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz#b4ede1cde2fd89436397f30dc9376ee06b0f25ee" @@ -749,13 +705,6 @@ dependencies: "@babel/types" "^7.24.7" -"@babel/helper-module-imports@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" - integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== - dependencies: - "@babel/types" "^7.22.15" - "@babel/helper-module-imports@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz#f2f980392de5b84c3328fc71d38bd81bbb83042b" @@ -764,17 +713,6 @@ "@babel/traverse" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-module-transforms@^7.23.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" - integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== - dependencies: - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-module-imports" "^7.22.15" - "@babel/helper-simple-access" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/helper-validator-identifier" "^7.22.20" - "@babel/helper-module-transforms@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz#31b6c9a2930679498db65b685b1698bfd6c7daf8" @@ -786,23 +724,11 @@ "@babel/helper-split-export-declaration" "^7.24.7" "@babel/helper-validator-identifier" "^7.24.7" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" - integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== - -"@babel/helper-plugin-utils@^7.24.7": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.8.0": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz#98c84fe6fe3d0d3ae7bfc3a5e166a46844feb2a0" integrity sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg== -"@babel/helper-simple-access@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" - integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== - dependencies: - "@babel/types" "^7.22.5" - "@babel/helper-simple-access@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz#bcade8da3aec8ed16b9c4953b74e506b51b5edb3" @@ -811,13 +737,6 @@ "@babel/traverse" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/helper-split-export-declaration@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" - integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== - dependencies: - "@babel/types" "^7.22.5" - "@babel/helper-split-export-declaration@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856" @@ -825,45 +744,21 @@ dependencies: "@babel/types" "^7.24.7" -"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" - integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== - -"@babel/helper-string-parser@^7.24.7": +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz#4d2d0f14820ede3b9807ea5fc36dfc8cd7da07f2" integrity sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg== -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" - integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== - -"@babel/helper-validator-identifier@^7.24.7": +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== -"@babel/helper-validator-option@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" - integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== - "@babel/helper-validator-option@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz#24c3bb77c7a425d1742eec8fb433b5a1b38e62f6" integrity sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw== -"@babel/helpers@^7.23.2": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.4.tgz#7d2cfb969aa43222032193accd7329851facf3c1" - integrity sha512-HfcMizYz10cr3h29VqyfGL6ZWIjTwWfvYBMsBVGwpcbhNGe3wQ1ZXZRPzZoAHhd9OqHadHqjQ89iVKINXnbzuw== - dependencies: - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.4" - "@babel/types" "^7.23.4" - "@babel/helpers@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.7.tgz#aa2ccda29f62185acb5d42fb4a3a1b1082107416" @@ -872,15 +767,6 @@ "@babel/template" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/highlight@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" - integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== - dependencies: - "@babel/helper-validator-identifier" "^7.22.20" - chalk "^2.4.2" - js-tokens "^4.0.0" - "@babel/highlight@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" @@ -896,12 +782,7 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.4.tgz#6774231779dd700e0af29f6ad8d479582d7ce5ef" integrity sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow== -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3", "@babel/parser@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.4.tgz#409fbe690c333bb70187e2de4021e1e47a026661" - integrity sha512-vf3Xna6UEprW+7t6EtOmFpHNAuxw3xqPZghy+brsnusscJRW5BMUzzHZc5ICjULee81WeUV2jjakG09MDglJXQ== - -"@babel/parser@^7.23.9", "@babel/parser@^7.24.7": +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85" integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw== @@ -998,29 +879,20 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" - integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz#58d458271b4d3b6bb27ee6ac9525acbb259bad1c" + integrity sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA== dependencies: - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.7" -"@babel/runtime@^7.17.2", "@babel/runtime@^7.23.2": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.4.tgz#36fa1d2b36db873d25ec631dcc4923fdc1cf2e2e" - integrity sha512-2Yv65nlWnWlSpe3fXEyX5i7fx5kIKo4Qbcj+hMO0odwaneFjfXw5fdum+4yL20O0QiaHpia0cYQ9xpNMqrBwHg== +"@babel/runtime@^7.24.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.22.15", "@babel/template@^7.3.3": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" - integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== - dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/parser" "^7.22.15" - "@babel/types" "^7.22.15" - -"@babel/template@^7.24.7": +"@babel/template@^7.24.7", "@babel/template@^7.3.3": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.7.tgz#02efcee317d0609d2c07117cb70ef8fb17ab7315" integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig== @@ -1029,23 +901,7 @@ "@babel/parser" "^7.24.7" "@babel/types" "^7.24.7" -"@babel/traverse@^7.23.3", "@babel/traverse@^7.23.4", "@babel/traverse@^7.7.2": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.4.tgz#c2790f7edf106d059a0098770fe70801417f3f85" - integrity sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg== - dependencies: - "@babel/code-frame" "^7.23.4" - "@babel/generator" "^7.23.4" - "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-function-name" "^7.23.0" - "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.4" - "@babel/types" "^7.23.4" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.24.7": +"@babel/traverse@^7.24.7", "@babel/traverse@^7.7.2": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.7.tgz#de2b900163fa741721ba382163fe46a936c40cf5" integrity sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA== @@ -1070,16 +926,7 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.2", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.23.4", "@babel/types@^7.3.3": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.4.tgz#7206a1810fc512a7f7f7d4dace4cb4c1c9dbfb8e" - integrity sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ== - dependencies: - "@babel/helper-string-parser" "^7.23.4" - "@babel/helper-validator-identifier" "^7.22.20" - to-fast-properties "^2.0.0" - -"@babel/types@^7.24.7": +"@babel/types@^7.0.0", "@babel/types@^7.18.2", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.3.3": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.7.tgz#6027fe12bc1aa724cd32ab113fb7f1988f1f66f2" integrity sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q== @@ -1376,14 +1223,14 @@ eslint-visitor-keys "^3.3.0" "@eslint-community/regexpp@^4.4.0", "@eslint-community/regexpp@^4.6.1": - version "4.10.0" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" - integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== + version "4.10.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.1.tgz#361461e5cb3845d874e61731c11cfedd664d83a0" + integrity sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA== -"@eslint/eslintrc@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.3.tgz#797470a75fe0fbd5a53350ee715e85e87baff22d" - integrity sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA== +"@eslint/eslintrc@^2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -1395,10 +1242,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.54.0": - version "8.54.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.54.0.tgz#4fab9a2ff7860082c304f750e94acd644cf984cf" - integrity sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ== +"@eslint/js@8.57.0": + version "8.57.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" + integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" @@ -1747,13 +1594,13 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@humanwhocodes/config-array@^0.11.13": - version "0.11.13" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" - integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ== +"@humanwhocodes/config-array@^0.11.14": + version "0.11.14" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== dependencies: - "@humanwhocodes/object-schema" "^2.0.1" - debug "^4.1.1" + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": @@ -1761,10 +1608,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" - integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" + integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== "@hutson/parse-repository-url@^3.0.0": version "3.0.2" @@ -2189,16 +2036,7 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" - integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== - dependencies: - "@jridgewell/set-array" "^1.0.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" - -"@jridgewell/gen-mapping@^0.3.5": +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.5": version "0.3.5" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== @@ -2208,14 +2046,9 @@ "@jridgewell/trace-mapping" "^0.3.24" "@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" - integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== - -"@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== "@jridgewell/set-array@^1.2.1": version "1.2.1" @@ -2235,15 +2068,7 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.20" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" - integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - -"@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== @@ -2251,37 +2076,37 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@keplr-wallet/common@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.96.tgz#ec1fddc48347125049ea696147d615b3694dc4ca" - integrity sha512-2W7WhZAVxs4xyiiw7OqGp2KPSRsIN26leOoPKKPUEKbcaYw9h6OQgl8OUN6YqbLerYxRwga6rEU5/6kCzwOYtg== +"@keplr-wallet/common@0.12.101": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.101.tgz#34cc93ac3b3622da5242a44956015d14c1f488a0" + integrity sha512-aRiusWbKmQ/Ct00HsjxH+BbKxaFBoE/SsJ4FlRDx0AyGo4P3a+eYPiOxqYZneCALfnNhQdCG9/EJZ4J4kxkJmg== dependencies: - "@keplr-wallet/crypto" "0.12.96" - "@keplr-wallet/types" "0.12.96" + "@keplr-wallet/crypto" "0.12.101" + "@keplr-wallet/types" "0.12.101" buffer "^6.0.3" delay "^4.4.0" "@keplr-wallet/cosmos@^0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.96.tgz#c2f3226123fbafe498c7cf2b08d4d4c4b9d60027" - integrity sha512-ST9VfDzXvGXAfB/U//xFDt9euDLZlZld/bjhMpCCGcKSFeCkdciJ5t8M/6G8/I6cXi1aAUsIf6IxyilfzzBpFw== + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.101.tgz#eb6caa16a0ec6cc0c57900dc5f3ed016cd041254" + integrity sha512-XrNevDPY9rEpDRq/0L2U7WdUvrhKhmb9f34peV8Jw78P/fTzUz5oGaizqotmrUABDQqe1tM/71OWl6AtwFguJQ== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.12.96" - "@keplr-wallet/crypto" "0.12.96" - "@keplr-wallet/proto-types" "0.12.96" - "@keplr-wallet/simple-fetch" "0.12.96" - "@keplr-wallet/types" "0.12.96" - "@keplr-wallet/unit" "0.12.96" + "@keplr-wallet/common" "0.12.101" + "@keplr-wallet/crypto" "0.12.101" + "@keplr-wallet/proto-types" "0.12.101" + "@keplr-wallet/simple-fetch" "0.12.101" + "@keplr-wallet/types" "0.12.101" + "@keplr-wallet/unit" "0.12.101" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.96.tgz#0f2060d2335569848a448290013caeaf8fed5470" - integrity sha512-V//wgKrE+h4gLNPWM8URb8SOzBVrLwX9bJm9JhvtsHvEj0gJj6YQzqJ0InyJFOGoJ96wUfIYW+rswz+al30SfA== +"@keplr-wallet/crypto@0.12.101": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.101.tgz#9249126f505ded09cec7b062b32d257557033e9c" + integrity sha512-rtGqIY80C1El5AxJgOckxnyGRzXEpOozfB2h2hCV0QjK2wScSwk9e1mQgrWQRgRrCtdKLovbPzDw9YCUFjzH+Q== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -2292,39 +2117,32 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.96.tgz#f2d2ea21158c882b0802548873704c96494cb32c" - integrity sha512-j0UbvyW2TyrCCvo6KN1QJl9vu1f/VmqTk1ScMYuPL+JT6Lo6J68Nip8SmVC4zAnCzZ1AUXs4bY/4k0fihW3ceQ== +"@keplr-wallet/proto-types@0.12.101": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.101.tgz#fd2bf5691e422ca9e98e0ce11c6684c4b626022b" + integrity sha512-+nsJIDCjBGrMPh/9lYoqrEBkkJCJGVU1I9HNuxOVzkLz8ozKgvvvTjHFmH5RHM9yfb0lRB5VAI8GUazpiJGagg== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/simple-fetch@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.96.tgz#58a880871517db431ddb22438440e368aa9df67c" - integrity sha512-Nba/bvmUdwSp+SH8oDdKdCbXlUjgPRD8bN5x/UY1jW3rL0ADmGqCO/JT72NSefzt09MihJpXCdRH7axcyqUKVA== +"@keplr-wallet/simple-fetch@0.12.101": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.101.tgz#3861d4780cf3496f55e71a99eccf00ee30158f46" + integrity sha512-7Rc8o6WyH2C1WPeQaj292kA2/GUjDQbT7fOw6cLKj/Izv3+5VN4CXiS2zFPiZQ1I5jrh843q7odGAiVxiV38oA== -"@keplr-wallet/types@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.96.tgz#a7735051b1f7cbcdf9b8c29010b1c3c45d195c19" - integrity sha512-tr4tPjMrJCsfRXXhhmqnpb9DqH9auJp3uuj8SvDB3pQTTaYJNxkdonLv1tYmXZZ6J9oWtk9WVEDTVgBQN/wisw== +"@keplr-wallet/types@0.12.101", "@keplr-wallet/types@^0.12.44": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.101.tgz#99ab423b9f285b5cb645e81fd595a5e1a3c063dd" + integrity sha512-gQbmEursW0FP/1RTebWMo2mYLulgoDz3ynpGu3T46wg3qHuPSgooKFNvT5xsLiVHPJlhHo+IKC/9pjKimllM/Q== dependencies: long "^4.0.0" -"@keplr-wallet/types@^0.12.44": - version "0.12.44" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.44.tgz#0e6615b1aa441ee589f78c89bf59830936c4683f" - integrity sha512-eyJMmEsYcKN/5iTIWKPmpLVeG4QRMJUlPnFxGd48FTq5/1ZwtXv1AcjN9BB13BSbp/S6vo9it2pSG+swPrno0Q== +"@keplr-wallet/unit@0.12.101": + version "0.12.101" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.101.tgz#3d1a447b10bcdd752377556a55201424dbde55ba" + integrity sha512-2T6HkJP6XbBCYktaN+hYGroDl9K3lUX+3A4HVwSlpCAIT6Jnj5tMo4uSHub6Yk3f5bstp7ZR0Wj6wSPkx8yzvw== dependencies: - long "^4.0.0" - -"@keplr-wallet/unit@0.12.96": - version "0.12.96" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.96.tgz#7eb34e5d9ec535ffd53e94eef3a7398235ee23a9" - integrity sha512-CuGUGVblEZAe7ija1Ynr/0yoZa0XxZE2YGlqyR7vwKe3KeZb3r0uQ6FrWPVB7S1WElrfk5jf3KUewKDRlma2JQ== - dependencies: - "@keplr-wallet/types" "0.12.96" + "@keplr-wallet/types" "0.12.101" big-integer "^1.6.48" utility-types "^3.10.0" @@ -2408,22 +2226,22 @@ yargs "16.2.0" yargs-parser "20.2.4" -"@noble/curves@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" - integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== +"@noble/curves@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" + integrity sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg== dependencies: - "@noble/hashes" "1.3.2" + "@noble/hashes" "1.4.0" "@noble/ed25519@^1.6.1": version "1.7.3" resolved "https://registry.yarnpkg.com/@noble/ed25519/-/ed25519-1.7.3.tgz#57e1677bf6885354b466c38e2b620c62f45a7123" integrity sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ== -"@noble/hashes@1.3.2", "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.2.0", "@noble/hashes@^1.3.1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" - integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== +"@noble/hashes@1.4.0", "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.2.0", "@noble/hashes@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" + integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -2455,9 +2273,9 @@ semver "^7.3.5" "@npmcli/fs@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.0.tgz#233d43a25a91d68c3a863ba0da6a3f00924a173e" - integrity sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w== + version "3.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.1.tgz#59cdaa5adca95d135fc00f2bb53f5771575ce726" + integrity sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg== dependencies: semver "^7.3.5" @@ -2476,9 +2294,9 @@ which "^3.0.0" "@npmcli/installed-package-contents@^2.0.1": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz#bfd817eccd9e8df200919e73f57f9e3d9e4f9e33" - integrity sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.1.0.tgz#63048e5f6e40947a3a88dcbcb4fd9b76fdd37c17" + integrity sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w== dependencies: npm-bundled "^3.0.0" npm-normalize-package-bin "^3.0.0" @@ -2872,454 +2690,471 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@smithy/abort-controller@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-2.0.14.tgz#0608c34e35289e66ba839bbdda0c2ccd971e8d26" - integrity sha512-zXtteuYLWbSXnzI3O6xq3FYvigYZFW8mdytGibfarLL2lxHto9L3ILtGVnVGmFZa7SDh62l39EnU5hesLN87Fw== +"@smithy/abort-controller@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.0.0.tgz#5815f5d4618e14bf8d031bb98a99adabbb831168" + integrity sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA== dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/chunked-blob-reader-native@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-2.0.1.tgz#0599eaed8c2cd15c7ab43a1838cef1258ff27133" - integrity sha512-N2oCZRglhWKm7iMBu7S6wDzXirjAofi7tAd26cxmgibRYOBS4D3hGfmkwCpHdASZzwZDD8rluh0Rcqw1JeZDRw== +"@smithy/chunked-blob-reader-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.0.tgz#f1104b30030f76f9aadcbd3cdca4377bd1ba2695" + integrity sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg== dependencies: - "@smithy/util-base64" "^2.0.1" - tslib "^2.5.0" + "@smithy/util-base64" "^3.0.0" + tslib "^2.6.2" -"@smithy/chunked-blob-reader@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-2.0.0.tgz#c44fe2c780eaf77f9e5381d982ac99a880cce51b" - integrity sha512-k+J4GHJsMSAIQPChGBrjEmGS+WbPonCXesoqP9fynIqjn7rdOThdH8FAeCmokP9mxTYKQAKoHCLPzNlm6gh7Wg== +"@smithy/chunked-blob-reader@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-3.0.0.tgz#e5d3b04e9b273ba8b7ede47461e2aa96c8aa49e0" + integrity sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/config-resolver@^2.0.18", "@smithy/config-resolver@^2.0.19": - version "2.0.19" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-2.0.19.tgz#d246fff11bdf8089e85de2e26172ba27a5ff7980" - integrity sha512-JsghnQ5zjWmjEVY8TFOulLdEOCj09SjRLugrHlkPZTIBBm7PQitCFVLThbsKPZQOP7N3ME1DU1nKUc1UaVnBog== +"@smithy/config-resolver@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.1.tgz#4e0917e5a02139ef978a1ed470543ab41dd3626b" + integrity sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg== dependencies: - "@smithy/node-config-provider" "^2.1.6" - "@smithy/types" "^2.6.0" - "@smithy/util-config-provider" "^2.0.0" - "@smithy/util-middleware" "^2.0.7" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + tslib "^2.6.2" -"@smithy/credential-provider-imds@^2.0.0", "@smithy/credential-provider-imds@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-2.1.2.tgz#b0225e2f514c5394558f702184feac94453ec9d1" - integrity sha512-Y62jBWdoLPSYjr9fFvJf+KwTa1EunjVr6NryTEWCnwIY93OJxwV4t0qxjwdPl/XMsUkq79ppNJSEQN6Ohnhxjw== +"@smithy/core@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.2.0.tgz#f1b0837b7afa5507a9693c1e93da6ca9808022c1" + integrity sha512-ygLZSSKgt9bR8HAxR9mK+U5obvAJBr6zlQuhN5soYWx/amjDoQN4dTkydTypgKe6rIbUjTILyLU+W5XFwXr4kg== + dependencies: + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-retry" "^3.0.3" + "@smithy/middleware-serde" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + tslib "^2.6.2" + +"@smithy/credential-provider-imds@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.0.tgz#7e58b78aa8de13dd04e94829241cd1cbde59b6d3" + integrity sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q== dependencies: - "@smithy/node-config-provider" "^2.1.6" - "@smithy/property-provider" "^2.0.15" - "@smithy/types" "^2.6.0" - "@smithy/url-parser" "^2.0.14" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-codec@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-2.0.14.tgz#e56434ae34be6682c7e9f12bb2f50e73b301914a" - integrity sha512-g/OU/MeWGfHDygoXgMWfG/Xb0QqDnAGcM9t2FRrVAhleXYRddGOEnfanR5cmHgB9ue52MJsyorqFjckzXsylaA== +"@smithy/eventstream-codec@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.0.0.tgz#81d30391220f73d41f432f65384b606d67673e46" + integrity sha512-PUtyEA0Oik50SaEFCZ0WPVtF9tz/teze2fDptW6WRXl+RrEenH8UbEjudOz8iakiMl3lE3lCVqYf2Y+znL8QFQ== dependencies: "@aws-crypto/crc32" "3.0.0" - "@smithy/types" "^2.6.0" - "@smithy/util-hex-encoding" "^2.0.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + "@smithy/util-hex-encoding" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-browser@^2.0.13": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.14.tgz#be04544b8d4efc29fa84c2b2d89bcd8a2280495b" - integrity sha512-41wmYE9smDGJi1ZXp+LogH6BR7MkSsQD91wneIFISF/mupKULvoOJUkv/Nf0NMRxWlM3Bf1Vvi9FlR2oV4KU8Q== +"@smithy/eventstream-serde-browser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.0.tgz#94721b01f01d8b7eb1db5814275a774ed4d38190" + integrity sha512-NB7AFiPN4NxP/YCAnrvYR18z2/ZsiHiF7VtG30gshO9GbFrIb1rC8ep4NGpJSWrz6P64uhPXeo4M0UsCLnZKqw== dependencies: - "@smithy/eventstream-serde-universal" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/eventstream-serde-universal" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-config-resolver@^2.0.13": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.14.tgz#ab2a2a96b6f5c04cc3c1bebd75375015016f4735" - integrity sha512-43IyRIzQ82s+5X+t/3Ood00CcWtAXQdmUIUKMed2Qg9REPk8SVIHhpm3rwewLwg+3G2Nh8NOxXlEQu6DsPUcMw== +"@smithy/eventstream-serde-config-resolver@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.0.tgz#420447d1d284d41f7f070a5d92fc3686cc922581" + integrity sha512-RUQG3vQ3LX7peqqHAbmayhgrF5aTilPnazinaSGF1P0+tgM3vvIRWPHmlLIz2qFqB9LqFIxditxc8O2Z6psrRw== dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-node@^2.0.13": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.14.tgz#810780e40810b8d7d4545b9961c0b4626ab9906a" - integrity sha512-jVh9E2qAr6DxH5tWfCAl9HV6tI0pEQ3JVmu85JknDvYTC66djcjDdhctPV2EHuKWf2kjRiFJcMIn0eercW4THA== +"@smithy/eventstream-serde-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.0.tgz#6519523fbb429307be29b151b8ba35bcca2b6e64" + integrity sha512-baRPdMBDMBExZXIUAoPGm/hntixjt/VFpU6+VmCyiYJYzRHRxoaI1MN+5XE+hIS8AJ2GCHLMFEIOLzq9xx1EgQ== dependencies: - "@smithy/eventstream-serde-universal" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/eventstream-serde-universal" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-universal@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.14.tgz#45d7fc506bd98d5f746b45fe9bfc8e3f09aa147f" - integrity sha512-Ie35+AISNn1NmEjn5b2SchIE49pvKp4Q74bE9ME5RULWI1MgXyGkQUajWd5E6OBSr/sqGcs+rD3IjPErXnCm9g== - dependencies: - "@smithy/eventstream-codec" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/fetch-http-handler@^2.2.6", "@smithy/fetch-http-handler@^2.2.7": - version "2.2.7" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.7.tgz#7e06aa774ea86f6529365e439256f17979c18445" - integrity sha512-iSDBjxuH9TgrtMYAr7j5evjvkvgwLY3y+9D547uep+JNkZ1ZT+BaeU20j6I/bO/i26ilCWFImrlXTPsfQtZdIQ== - dependencies: - "@smithy/protocol-http" "^3.0.10" - "@smithy/querystring-builder" "^2.0.14" - "@smithy/types" "^2.6.0" - "@smithy/util-base64" "^2.0.1" - tslib "^2.5.0" - -"@smithy/hash-blob-browser@^2.0.14": - version "2.0.15" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-2.0.15.tgz#be745ea0e79333dbb2d2a26b4be04ce283636c98" - integrity sha512-HX/7GIyPUT/HDWVYe2HYQu0iRnSYpF4uZVNhAhZsObPRawk5Mv0PbyluBgIFI2DDCCKgL/tloCYYwycff1GtQg== - dependencies: - "@smithy/chunked-blob-reader" "^2.0.0" - "@smithy/chunked-blob-reader-native" "^2.0.1" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/hash-node@^2.0.15": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-2.0.16.tgz#babd9e3fb13339507ffcc182834cf10c4df028b1" - integrity sha512-Wbi9A0PacMYUOwjAulQP90Wl3mQ6NDwnyrZQzFjDz+UzjXOSyQMgBrTkUBz+pVoYVlX3DUu24gWMZBcit+wOGg== - dependencies: - "@smithy/types" "^2.6.0" - "@smithy/util-buffer-from" "^2.0.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@smithy/hash-stream-node@^2.0.15": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-2.0.16.tgz#892d211ddc2609c3e5486a5d1b7e4d0423a7fbe9" - integrity sha512-4x24GFdeWos1Z49MC5sYdM1j+z32zcUr6oWM9Ggm3WudFAcRIcbG9uDQ1XgJ0Kl+ZTjpqLKniG0iuWvQb2Ud1A== - dependencies: - "@smithy/types" "^2.6.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@smithy/invalid-dependency@^2.0.13": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-2.0.14.tgz#fc898c8cf0c4ceb29bb23c6a90f7522193622e75" - integrity sha512-d8ohpwZo9RzTpGlAfsWtfm1SHBSU7+N4iuZ6MzR10xDTujJJWtmXYHK1uzcr7rggbpUTaWyHpPFgnf91q0EFqQ== +"@smithy/eventstream-serde-universal@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.0.tgz#cb8441a73fbde4cbaa68e4a21236f658d914a073" + integrity sha512-HNFfShmotWGeAoW4ujP8meV9BZavcpmerDbPIjkJbxKbN8RsUcpRQ/2OyIxWNxXNH2GWCAxuSB7ynmIGJlQ3Dw== dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/eventstream-codec" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/is-array-buffer@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-2.0.0.tgz#8fa9b8040651e7ba0b2f6106e636a91354ff7d34" - integrity sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug== +"@smithy/fetch-http-handler@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.1.tgz#dacfdf6e70d639fac4a0f57c42ce13f0ed14ff22" + integrity sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg== dependencies: - tslib "^2.5.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/querystring-builder" "^3.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + tslib "^2.6.2" -"@smithy/md5-js@^2.0.15": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-2.0.16.tgz#ef1af727ebeb0a24a195904c06a91b946f3ce32d" - integrity sha512-YhWt9aKl+EMSNXyUTUo7I01WHf3HcCkPu/Hl2QmTNwrHT49eWaY7hptAMaERZuHFH0V5xHgPKgKZo2I93DFtgQ== +"@smithy/hash-blob-browser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.0.0.tgz#63ef4c98f74c53cbcad8ec73387c68ec4708f55b" + integrity sha512-/Wbpdg+bwJvW7lxR/zpWAc1/x/YkcqguuF2bAzkJrvXriZu1vm8r+PUdE4syiVwQg7PPR2dXpi3CLBb9qRDaVQ== dependencies: - "@smithy/types" "^2.6.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" + "@smithy/chunked-blob-reader" "^3.0.0" + "@smithy/chunked-blob-reader-native" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/middleware-content-length@^2.0.15": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-2.0.16.tgz#0d77cfe0d375bfbf1e59f30a38de0e3f14a1e73f" - integrity sha512-9ddDia3pp1d3XzLXKcm7QebGxLq9iwKf+J1LapvlSOhpF8EM9SjMeSrMOOFgG+2TfW5K3+qz4IAJYYm7INYCng== +"@smithy/hash-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.0.tgz#f44b5fff193e241c1cdcc957b296b60f186f0e59" + integrity sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw== dependencies: - "@smithy/protocol-http" "^3.0.10" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/middleware-endpoint@^2.2.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-2.2.1.tgz#7fc156aaeaa0e8bd838c57a8b37ece355a9eeaec" - integrity sha512-dVDS7HNJl/wb0lpByXor6whqDbb1YlLoaoWYoelyYzLHioXOE7y/0iDwJWtDcN36/tVCw9EPBFZ3aans84jLpg== - dependencies: - "@smithy/middleware-serde" "^2.0.14" - "@smithy/node-config-provider" "^2.1.6" - "@smithy/shared-ini-file-loader" "^2.2.5" - "@smithy/types" "^2.6.0" - "@smithy/url-parser" "^2.0.14" - "@smithy/util-middleware" "^2.0.7" - tslib "^2.5.0" - -"@smithy/middleware-retry@^2.0.20": - version "2.0.21" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-2.0.21.tgz#7c18cbb7ca5c7fd1777e062b3cbebc57a60bddca" - integrity sha512-EZS1EXv1k6IJX6hyu/0yNQuPcPaXwG8SWljQHYueyRbOxmqYgoWMWPtfZj0xRRQ4YtLawQSpBgAeiJltq8/MPw== - dependencies: - "@smithy/node-config-provider" "^2.1.6" - "@smithy/protocol-http" "^3.0.10" - "@smithy/service-error-classification" "^2.0.7" - "@smithy/types" "^2.6.0" - "@smithy/util-middleware" "^2.0.7" - "@smithy/util-retry" "^2.0.7" - tslib "^2.5.0" - uuid "^8.3.2" +"@smithy/hash-stream-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.0.0.tgz#b395a8a0d2427e4a8effc56135b37cb299339f8f" + integrity sha512-J0i7de+EgXDEGITD4fxzmMX8CyCNETTIRXlxjMiNUvvu76Xn3GJ31wQR85ynlPk2wI1lqoknAFJaD1fiNDlbIA== + dependencies: + "@smithy/types" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/middleware-serde@^2.0.13", "@smithy/middleware-serde@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-2.0.14.tgz#147e7413f934f213dbfe4815e691409cc9c0d793" - integrity sha512-hFi3FqoYWDntCYA2IGY6gJ6FKjq2gye+1tfxF2HnIJB5uW8y2DhpRNBSUMoqP+qvYzRqZ6ntv4kgbG+o3pX57g== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/middleware-stack@^2.0.7", "@smithy/middleware-stack@^2.0.8": - version "2.0.8" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-2.0.8.tgz#76827e2818654eb5a482ede36a59de6d6db7b896" - integrity sha512-7/N59j0zWqVEKExJcA14MrLDZ/IeN+d6nbkN8ucs+eURyaDUXWYlZrQmMOd/TyptcQv0+RDlgag/zSTTV62y/Q== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/node-config-provider@^2.1.5", "@smithy/node-config-provider@^2.1.6": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-2.1.6.tgz#835f62902676de71a358f66a0887a09154cf43c2" - integrity sha512-HLqTs6O78m3M3z1cPLFxddxhEPv5MkVatfPuxoVO3A+cHZanNd/H5I6btcdHy6N2CB1MJ/lihJC92h30SESsBA== - dependencies: - "@smithy/property-provider" "^2.0.15" - "@smithy/shared-ini-file-loader" "^2.2.5" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/node-http-handler@^2.1.10", "@smithy/node-http-handler@^2.1.9": - version "2.1.10" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-2.1.10.tgz#8921a661dfb273a21dd1dff3ad1fe5196ea3c525" - integrity sha512-lkALAwtN6odygIM4nB8aHDahINM6WXXjNrZmWQAh0RSossySRT2qa31cFv0ZBuAYVWeprskRk13AFvvLmf1WLw== - dependencies: - "@smithy/abort-controller" "^2.0.14" - "@smithy/protocol-http" "^3.0.10" - "@smithy/querystring-builder" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/property-provider@^2.0.0", "@smithy/property-provider@^2.0.15": - version "2.0.15" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-2.0.15.tgz#7a5069f6bab4d59f640b2e73e99fa03e3fda3cc1" - integrity sha512-YbRFBn8oiiC3o1Kn3a4KjGa6k47rCM9++5W9cWqYn9WnkyH+hBWgfJAckuxpyA2Hq6Ys4eFrWzXq6fqHEw7iew== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/protocol-http@^3.0.10", "@smithy/protocol-http@^3.0.9": - version "3.0.10" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-3.0.10.tgz#235ffdcdc3022c4a76b1785dbc6f9f8427859e1f" - integrity sha512-6+tjNk7rXW7YTeGo9qwxXj/2BFpJTe37kTj3EnZCoX/nH+NP/WLA7O83fz8XhkGqsaAhLUPo/bB12vvd47nsmg== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/querystring-builder@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-2.0.14.tgz#3ba4ba728ab10e040b46079afc983c3378032328" - integrity sha512-lQ4pm9vTv9nIhl5jt6uVMPludr6syE2FyJmHsIJJuOD7QPIJnrf9HhUGf1iHh9KJ4CUv21tpOU3X6s0rB6uJ0g== +"@smithy/invalid-dependency@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.0.tgz#21cb6b5203ee15321bfcc751f21f7a19536d4ae8" + integrity sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g== dependencies: - "@smithy/types" "^2.6.0" - "@smithy/util-uri-escape" "^2.0.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/querystring-parser@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-2.0.14.tgz#0e3936d44c783540321fedd9d502aac22073a556" - integrity sha512-+cbtXWI9tNtQjlgQg3CA+pvL3zKTAxPnG3Pj6MP89CR3vi3QMmD0SOWoq84tqZDnJCxlsusbgIXk1ngMReXo+A== +"@smithy/is-array-buffer@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz#9a95c2d46b8768946a9eec7f935feaddcffa5e7a" + integrity sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ== dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/service-error-classification@^2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-2.0.7.tgz#9ef515fdc751a27a555f51121be5c37006a4c458" - integrity sha512-LLxgW12qGz8doYto15kZ4x1rHjtXl0BnCG6T6Wb8z2DI4PT9cJfOSvzbuLzy7+5I24PAepKgFeWHRd9GYy3Z9w== +"@smithy/md5-js@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.0.tgz#6a2d1c496f4d4476a0fc84f7724d79b234c3eb13" + integrity sha512-Tm0vrrVzjlD+6RCQTx7D3Ls58S3FUH1ZCtU1MIh/qQmaOo1H9lMN2as6CikcEwgattnA9SURSdoJJ27xMcEfMA== dependencies: - "@smithy/types" "^2.6.0" + "@smithy/types" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/shared-ini-file-loader@^2.0.6", "@smithy/shared-ini-file-loader@^2.2.5": - version "2.2.5" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.2.5.tgz#7fe24f5f8143e9082b61c3fab4d4d7c395dda807" - integrity sha512-LHA68Iu7SmNwfAVe8egmjDCy648/7iJR/fK1UnVw+iAOUJoEYhX2DLgVd5pWllqdDiRbQQzgaHLcRokM+UFR1w== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/signature-v4@^2.0.0": - version "2.0.16" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-2.0.16.tgz#51456baa6992120031692e1bf28178b766bf40ac" - integrity sha512-ilLY85xS2kZZzTb83diQKYLIYALvart0KnBaKnIRnMBHAGEio5aHSlANQoxVn0VsonwmQ3CnWhnCT0sERD8uTg== - dependencies: - "@smithy/eventstream-codec" "^2.0.14" - "@smithy/is-array-buffer" "^2.0.0" - "@smithy/types" "^2.6.0" - "@smithy/util-hex-encoding" "^2.0.0" - "@smithy/util-middleware" "^2.0.7" - "@smithy/util-uri-escape" "^2.0.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@smithy/smithy-client@^2.1.15", "@smithy/smithy-client@^2.1.16": - version "2.1.16" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-2.1.16.tgz#eae70fac673b06494c536fa5637c2df12887ce3a" - integrity sha512-Lw67+yQSpLl4YkDLUzI2KgS8TXclXmbzSeOJUmRFS4ueT56B4pw3RZRF/SRzvgyxM/HxgkUan8oSHXCujPDafQ== - dependencies: - "@smithy/middleware-stack" "^2.0.8" - "@smithy/types" "^2.6.0" - "@smithy/util-stream" "^2.0.21" - tslib "^2.5.0" - -"@smithy/types@^2.5.0", "@smithy/types@^2.6.0": - version "2.6.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-2.6.0.tgz#a09c40b512e2df213229a20a43d0d9cfcf55ca3e" - integrity sha512-PgqxJq2IcdMF9iAasxcqZqqoOXBHufEfmbEUdN1pmJrJltT42b0Sc8UiYSWWzKkciIp9/mZDpzYi4qYG1qqg6g== - dependencies: - tslib "^2.5.0" - -"@smithy/url-parser@^2.0.13", "@smithy/url-parser@^2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-2.0.14.tgz#6e09902482e9fef0882e6c9f1009ca57fcf3f7b4" - integrity sha512-kbu17Y1AFXi5lNlySdDj7ZzmvupyWKCX/0jNZ8ffquRyGdbDZb+eBh0QnWqsSmnZa/ctyWaTf7n4l/pXLExrnw== +"@smithy/middleware-content-length@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.0.tgz#084b3d22248967885d496eb0b105d9090e8ababd" + integrity sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg== dependencies: - "@smithy/querystring-parser" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-base64@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-2.0.1.tgz#57f782dafc187eddea7c8a1ff2a7c188ed1a02c4" - integrity sha512-DlI6XFYDMsIVN+GH9JtcRp3j02JEVuWIn/QOZisVzpIAprdsxGveFed0bjbMRCqmIFe8uetn5rxzNrBtIGrPIQ== +"@smithy/middleware-endpoint@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.1.tgz#49e8defb8e892e70417bd05f1faaf207070f32c7" + integrity sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ== + dependencies: + "@smithy/middleware-serde" "^3.0.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + "@smithy/url-parser" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + tslib "^2.6.2" + +"@smithy/middleware-retry@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.3.tgz#8e9af1c9db4bc8904d73126225211b42b562f961" + integrity sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA== + dependencies: + "@smithy/node-config-provider" "^3.1.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/service-error-classification" "^3.0.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + "@smithy/util-retry" "^3.0.0" + tslib "^2.6.2" + uuid "^9.0.1" + +"@smithy/middleware-serde@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.0.tgz#786da6a6bc0e5e51d669dac834c19965245dd302" + integrity sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w== dependencies: - "@smithy/util-buffer-from" "^2.0.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-body-length-browser@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz#5447853003b4c73da3bc5f3c5e82c21d592d1650" - integrity sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg== +"@smithy/middleware-stack@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.0.tgz#00f112bae7af5fc3bd37d4fab95ebce0f17a7774" + integrity sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q== dependencies: - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-body-length-node@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz#313a5f7c5017947baf5fa018bfc22628904bbcfa" - integrity sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw== +"@smithy/node-config-provider@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.0.tgz#e962987c4e2e2b8b50397de5f4745eb21ee7bdbb" + integrity sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q== dependencies: - tslib "^2.5.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/shared-ini-file-loader" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-buffer-from@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-2.0.0.tgz#7eb75d72288b6b3001bc5f75b48b711513091deb" - integrity sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw== +"@smithy/node-http-handler@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.0.0.tgz#e771ea95d03e259f04b7b37e8aece8a4fffc8cdc" + integrity sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ== dependencies: - "@smithy/is-array-buffer" "^2.0.0" - tslib "^2.5.0" + "@smithy/abort-controller" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/querystring-builder" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-config-provider@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz#4dd6a793605559d94267312fd06d0f58784b4c38" - integrity sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg== +"@smithy/property-provider@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.0.tgz#b78d4964a1016b90331cc0c770b472160361fde7" + integrity sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q== dependencies: - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-defaults-mode-browser@^2.0.19": - version "2.0.20" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.20.tgz#efabf1c0dadd0d86340f796b761bf17b59dcf900" - integrity sha512-QJtnbTIl0/BbEASkx1MUFf6EaoWqWW1/IM90N++8NNscePvPf77GheYfpoPis6CBQawUWq8QepTP2QUSAdrVkw== +"@smithy/protocol-http@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.0.0.tgz#04df3b5674b540323f678e7c4113e8abd8b26432" + integrity sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ== dependencies: - "@smithy/property-provider" "^2.0.15" - "@smithy/smithy-client" "^2.1.16" - "@smithy/types" "^2.6.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/querystring-builder@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.0.tgz#48a9aa7b700e8409368c21bc0adf7564e001daea" + integrity sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg== + dependencies: + "@smithy/types" "^3.0.0" + "@smithy/util-uri-escape" "^3.0.0" + tslib "^2.6.2" + +"@smithy/querystring-parser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.0.tgz#fa1ed0cee408cd4d622070fa874bc50ac1a379b7" + integrity sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ== + dependencies: + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/service-error-classification@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.0.tgz#06a45cb91b15b8b0d5f3b1df2b3743d2ca42f5c4" + integrity sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA== + dependencies: + "@smithy/types" "^3.0.0" + +"@smithy/shared-ini-file-loader@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.0.tgz#a4cb9304c3be1c232ec661132ca88d177ac7a5b1" + integrity sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg== + dependencies: + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/signature-v4@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-3.0.0.tgz#f536d0abebfeeca8e9aab846a4042658ca07d3b7" + integrity sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA== + dependencies: + "@smithy/is-array-buffer" "^3.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-middleware" "^3.0.0" + "@smithy/util-uri-escape" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/smithy-client@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.1.1.tgz#9aa770edd9b6277dc4124c924c617a436cdb670e" + integrity sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA== + dependencies: + "@smithy/middleware-endpoint" "^3.0.1" + "@smithy/middleware-stack" "^3.0.0" + "@smithy/protocol-http" "^4.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-stream" "^3.0.1" + tslib "^2.6.2" + +"@smithy/types@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.0.0.tgz#00231052945159c64ffd8b91e8909d8d3006cb7e" + integrity sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw== + dependencies: + tslib "^2.6.2" + +"@smithy/url-parser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.0.tgz#5fdc77cd22051c1aac6531be0315bfcba0fa705d" + integrity sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw== + dependencies: + "@smithy/querystring-parser" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-base64@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-3.0.0.tgz#f7a9a82adf34e27a72d0719395713edf0e493017" + integrity sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ== + dependencies: + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-body-length-browser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz#86ec2f6256310b4845a2f064e2f571c1ca164ded" + integrity sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ== + dependencies: + tslib "^2.6.2" + +"@smithy/util-body-length-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz#99a291bae40d8932166907fe981d6a1f54298a6d" + integrity sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA== + dependencies: + tslib "^2.6.2" + +"@smithy/util-buffer-from@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz#559fc1c86138a89b2edaefc1e6677780c24594e3" + integrity sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA== + dependencies: + "@smithy/is-array-buffer" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-config-provider@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz#62c6b73b22a430e84888a8f8da4b6029dd5b8efe" + integrity sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ== + dependencies: + tslib "^2.6.2" + +"@smithy/util-defaults-mode-browser@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.3.tgz#6fff11a6c407ca1d5a1dc009768bd09271b199c2" + integrity sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA== + dependencies: + "@smithy/property-provider" "^3.1.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" bowser "^2.11.0" - tslib "^2.5.0" - -"@smithy/util-defaults-mode-node@^2.0.25": - version "2.0.26" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.26.tgz#a701b6b0cc3f2bb57964049ccb0f8d147a8654df" - integrity sha512-lGFPOFCHv1ql019oegYqa54BZH7HREw6EBqjDLbAr0wquMX0BDi2sg8TJ6Eq+JGLijkZbJB73m4+aK8OFAapMg== - dependencies: - "@smithy/config-resolver" "^2.0.19" - "@smithy/credential-provider-imds" "^2.1.2" - "@smithy/node-config-provider" "^2.1.6" - "@smithy/property-provider" "^2.0.15" - "@smithy/smithy-client" "^2.1.16" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/util-endpoints@^1.0.4": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-1.0.5.tgz#9e6ffdc9ac9d597869209e3b83784a13f277956e" - integrity sha512-K7qNuCOD5K/90MjHvHm9kJldrfm40UxWYQxNEShMFxV/lCCCRIg8R4uu1PFAxRvPxNpIdcrh1uK6I1ISjDXZJw== + tslib "^2.6.2" + +"@smithy/util-defaults-mode-node@^3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.3.tgz#0b52ba9cb1138ee9076feba9a733462b2e2e6093" + integrity sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA== + dependencies: + "@smithy/config-resolver" "^3.0.1" + "@smithy/credential-provider-imds" "^3.1.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/property-provider" "^3.1.0" + "@smithy/smithy-client" "^3.1.1" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-endpoints@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.0.1.tgz#4ea8069bfbf3ebbcbe106b5156ff59a7a627b7dd" + integrity sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA== dependencies: - "@smithy/node-config-provider" "^2.1.6" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-hex-encoding@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz#0aa3515acd2b005c6d55675e377080a7c513b59e" - integrity sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA== - dependencies: - tslib "^2.5.0" - -"@smithy/util-middleware@^2.0.6", "@smithy/util-middleware@^2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-2.0.7.tgz#92dda5d2a79915e06a275b4df3d66d4381b60a5f" - integrity sha512-tRINOTlf1G9B0ECarFQAtTgMhpnrMPSa+5j4ZEwEawCLfTFTavk6757sxhE4RY5RMlD/I3x+DCS8ZUiR8ho9Pw== - dependencies: - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/util-retry@^2.0.6", "@smithy/util-retry@^2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-2.0.7.tgz#14ad8ebe5d8428dd0216d58b883e7fd964ae1e95" - integrity sha512-fIe5yARaF0+xVT1XKcrdnHKTJ1Vc4+3e3tLDjCuIcE9b6fkBzzGFY7AFiX4M+vj6yM98DrwkuZeHf7/hmtVp0Q== - dependencies: - "@smithy/service-error-classification" "^2.0.7" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" - -"@smithy/util-stream@^2.0.20", "@smithy/util-stream@^2.0.21": - version "2.0.21" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-2.0.21.tgz#290935084e026afae6bacec7481abdae3498ee35" - integrity sha512-0BUE16d7n1x7pi1YluXJdB33jOTyBChT0j/BlOkFa9uxfg6YqXieHxjHNuCdJRARa7AZEj32LLLEPJ1fSa4inA== - dependencies: - "@smithy/fetch-http-handler" "^2.2.7" - "@smithy/node-http-handler" "^2.1.10" - "@smithy/types" "^2.6.0" - "@smithy/util-base64" "^2.0.1" - "@smithy/util-buffer-from" "^2.0.0" - "@smithy/util-hex-encoding" "^2.0.0" - "@smithy/util-utf8" "^2.0.2" - tslib "^2.5.0" - -"@smithy/util-uri-escape@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz#19955b1a0f517a87ae77ac729e0e411963dfda95" - integrity sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw== +"@smithy/util-hex-encoding@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz#32938b33d5bf2a15796cd3f178a55b4155c535e6" + integrity sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-utf8@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-2.0.2.tgz#626b3e173ad137208e27ed329d6bea70f4a1a7f7" - integrity sha512-qOiVORSPm6Ce4/Yu6hbSgNHABLP2VMv8QOC3tTDNHHlWY19pPyc++fBTbZPtx6egPXi4HQxKDnMxVxpbtX2GoA== +"@smithy/util-middleware@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.0.tgz#64d775628b99a495ca83ce982f5c83aa45f1e894" + integrity sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ== dependencies: - "@smithy/util-buffer-from" "^2.0.0" - tslib "^2.5.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-waiter@^2.0.13": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-2.0.14.tgz#b2c8ce5728c1bb92236dfbfe3bf8f354a328c4f7" - integrity sha512-Q6gSz4GUNjNGhrfNg+2Mjy+7K4pEI3r82x1b/+3dSc03MQqobMiUrRVN/YK/4nHVagvBELCoXsiHAFQJNQ5BeA== +"@smithy/util-retry@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.0.tgz#8a0c47496aab74e1dfde4905d462ad636a8824bb" + integrity sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g== + dependencies: + "@smithy/service-error-classification" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-stream@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.0.1.tgz#3cf527bcd3fec82c231c38d47dd75f3364747edb" + integrity sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA== + dependencies: + "@smithy/fetch-http-handler" "^3.0.1" + "@smithy/node-http-handler" "^3.0.0" + "@smithy/types" "^3.0.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-uri-escape@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" + integrity sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg== + dependencies: + tslib "^2.6.2" + +"@smithy/util-utf8@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-3.0.0.tgz#1a6a823d47cbec1fd6933e5fc87df975286d9d6a" + integrity sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA== dependencies: - "@smithy/abort-controller" "^2.0.14" - "@smithy/types" "^2.6.0" - tslib "^2.5.0" + "@smithy/util-buffer-from" "^3.0.0" + tslib "^2.6.2" -"@solana/buffer-layout@^4.0.0": +"@smithy/util-waiter@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.0.0.tgz#26bcc5bbbf1de9360a7aeb3b3919926fc6afa2bc" + integrity sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw== + dependencies: + "@smithy/abort-controller" "^3.0.0" + "@smithy/types" "^3.0.0" + tslib "^2.6.2" + +"@solana/buffer-layout@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== @@ -3337,23 +3172,23 @@ eventemitter3 "^4.0.7" "@solana/wallet-standard-features@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@solana/wallet-standard-features/-/wallet-standard-features-1.1.0.tgz#516d78626dd0802d299db49298e4ebbec3433940" - integrity sha512-oVyygxfYkkF5INYL0GuD8GFmNO/wd45zNesIqGCFE6X66BYxmI6HmyzQJCcZTZ0BNsezlVg4t+3MCL5AhfFoGA== + version "1.2.0" + resolved "https://registry.yarnpkg.com/@solana/wallet-standard-features/-/wallet-standard-features-1.2.0.tgz#be8b3824abf5ebcfeaa7298445bf53f76a27c935" + integrity sha512-tUd9srDLkRpe1BYg7we+c4UhRQkq+XQWswsr/L1xfGmoRDF47BPSXf4zE7ZU2GRBGvxtGt7lwJVAufQyQYhxTQ== dependencies: "@wallet-standard/base" "^1.0.1" "@wallet-standard/features" "^1.0.3" "@solana/web3.js@^1.36.0": - version "1.87.6" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.87.6.tgz#6744cfc5f4fc81e0f58241c0a92648a7320bb3bf" - integrity sha512-LkqsEBgTZztFiccZZXnawWa8qNCATEqE97/d0vIwjTclmVlc8pBpD1DmjfVHtZ1HS5fZorFlVhXfpwnCNDZfyg== - dependencies: - "@babel/runtime" "^7.23.2" - "@noble/curves" "^1.2.0" - "@noble/hashes" "^1.3.1" - "@solana/buffer-layout" "^4.0.0" - agentkeepalive "^4.3.0" + version "1.92.3" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.92.3.tgz#8880b446c0ec30fc552e1d501bd8db2780a1f70c" + integrity sha512-NVBWvb9zdJIAx6X+caXaIICCEQfQaQ8ygykCjJW4u2z/sIKcvPj3ZIIllnx0MWMc3IxGq15ozGYDOQIMbwUcHw== + dependencies: + "@babel/runtime" "^7.24.6" + "@noble/curves" "^1.4.0" + "@noble/hashes" "^1.4.0" + "@solana/buffer-layout" "^4.0.1" + agentkeepalive "^4.5.0" bigint-buffer "^1.1.5" bn.js "^5.2.1" borsh "^0.7.0" @@ -3361,9 +3196,9 @@ buffer "6.0.3" fast-stable-stringify "^1.0.0" jayson "^4.1.0" - node-fetch "^2.6.12" - rpc-websockets "^7.5.1" - superstruct "^0.14.2" + node-fetch "^2.7.0" + rpc-websockets "^8.0.1" + superstruct "^1.0.4" "@supercharge/promise-pool@^2.1.0": version "2.4.0" @@ -3376,9 +3211,9 @@ integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== "@tsconfig/node10@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" - integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" + integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== "@tsconfig/node12@^1.0.7": version "1.0.11" @@ -3420,9 +3255,9 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.7" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.7.tgz#a7aebf15c7bc0eb9abd638bdb5c0b8700399c9d0" - integrity sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ== + version "7.6.8" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== dependencies: "@babel/types" "^7.0.0" @@ -3435,9 +3270,9 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.20.4" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.4.tgz#ec2c06fed6549df8bc0eb4615b683749a4a92e1b" - integrity sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA== + version "7.20.6" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" + integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== dependencies: "@babel/types" "^7.20.7" @@ -3475,9 +3310,9 @@ "@types/node" "*" "@types/diff@^5.0.7": - version "5.0.8" - resolved "https://registry.yarnpkg.com/@types/diff/-/diff-5.0.8.tgz#28dc501cc3e7c62d4c5d096afe20755170acf276" - integrity sha512-kR0gRf0wMwpxQq6ME5s+tWk9zVCfJUl98eRkD05HWWRbhPB/eu4V1IbyZAsvzC1Gn4znBJ0HN01M4DGXdBEV8Q== + version "5.2.1" + resolved "https://registry.yarnpkg.com/@types/diff/-/diff-5.2.1.tgz#cceae9c4b2dae5c6b8ab1ce1263601c255d87fb3" + integrity sha512-uxpcuwWJGhe2AR1g8hD9F5OYGCqjqWnBUQFD8gMZsDbv8oPHzxJF6iMO6n8Tk0AdzlxoaaoQhOYlIg/PukVU8g== "@types/download@^8.0.1": version "8.0.5" @@ -3579,17 +3414,17 @@ integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== "@types/node-fetch@^2.6.2": - version "2.6.9" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.9.tgz#15f529d247f1ede1824f7e7acdaa192d5f28071e" - integrity sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA== + version "2.6.11" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" + integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g== dependencies: "@types/node" "*" form-data "^4.0.0" "@types/node@*", "@types/node@>=13.7.0": - version "20.10.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.0.tgz#16ddf9c0a72b832ec4fcce35b8249cf149214617" - integrity sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ== + version "20.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.2.tgz#a5f4d2bcb4b6a87bffcaa717718c5a0f208f4a18" + integrity sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q== dependencies: undici-types "~5.26.4" @@ -3614,14 +3449,14 @@ integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== "@types/node@^16.9.2": - version "16.18.65" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.65.tgz#b07eb49a14a808777b82879288a7e6f5a296ccfa" - integrity sha512-5E9WgTy95B7i90oISjui9U5Zu7iExUPfU4ygtv4yXEy6zJFE3oQYHCnh5H1jZRPkjphJt2Ml3oQW6M0qtK534A== + version "16.18.98" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.98.tgz#3554bb7911ea2bbc3a528be0776d6ab16b7674d2" + integrity sha512-fpiC20NvLpTLAzo3oVBKIqBGR6Fx/8oAK/SSf7G+fydnXMY1x4x9RZ6sBXhqKlCU21g2QapUsbLlhv3+a7wS+Q== "@types/node@^18.11.9": - version "18.18.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.13.tgz#ae0f76c0bfe79d8fad0f910b78ae3e59b333c6e8" - integrity sha512-vXYZGRrSCreZmq1rEjMRLXJhiy8MrIeVasx+PCVlP414N7CJLHnMf+juVvjdprHyH+XRy3zKZLHeNueOpJCn0g== + version "18.19.34" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.34.tgz#c3fae2bbbdb94b4a52fe2d229d0dccce02ef3d27" + integrity sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g== dependencies: undici-types "~5.26.4" @@ -3649,9 +3484,9 @@ kleur "^3.0.3" "@types/qs@^6.9.7": - version "6.9.10" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.10.tgz#0af26845b5067e1c9a622658a51f60a3934d51e8" - integrity sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw== + version "6.9.15" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.15.tgz#adde8a060ec9c305a82de1babc1056e73bd64dce" + integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg== "@types/seedrandom@^3.0.2": version "3.0.8" @@ -3659,9 +3494,9 @@ integrity sha512-TY1eezMU2zH2ozQoAFAQFOPpvP15g+ZgSfTZt31AUUH/Rxtnz3H+A/Sv1Snw2/amp//omibc+AEkTaA8KUeOLQ== "@types/semver@^7.3.12", "@types/semver@^7.3.9": - version "7.5.6" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.6.tgz#c65b2bfce1bec346582c07724e3f8c1017a20339" - integrity sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A== + version "7.5.8" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" + integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== "@types/stack-utils@^2.0.0": version "2.0.3" @@ -3674,9 +3509,9 @@ integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== "@types/uuid@^9.0.2": - version "9.0.7" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.7.tgz#b14cebc75455eeeb160d5fe23c2fcc0c64f724d8" - integrity sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g== + version "9.0.8" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" + integrity sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA== "@types/ws@^7.4.4": version "7.4.7" @@ -3819,9 +3654,9 @@ tslib "^2.4.0" "@yarnpkg/parsers@^3.0.0-rc.18": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0.tgz#a43136f094bca5dcc1ae784c296446a85211cc62" - integrity sha512-jVZa3njBv6tcOUw34nlUdUM/40wwtm/gnVF8rtk0tA6vNcokqYI8CFU1BZjlpFwUSZaXxYkrtuPE/f2MMFlTxQ== + version "3.0.2" + resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.2.tgz#48a1517a0f49124827f4c37c284a689c607b2f32" + integrity sha512-/HcYgtUSiJiot/XWGLOlGxPYUG65+/31V8oqk17vZLW1xlCoR4PampyePljOxY2n8/3jz9+tIFzICsyGujJZoA== dependencies: js-yaml "^3.10.0" tslib "^2.4.0" @@ -3846,10 +3681,10 @@ abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -abstract-level@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/abstract-level/-/abstract-level-1.0.3.tgz#78a67d3d84da55ee15201486ab44c09560070741" - integrity sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA== +abstract-level@^1.0.2, abstract-level@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/abstract-level/-/abstract-level-1.0.4.tgz#3ad8d684c51cc9cbc9cf9612a7100b716c414b57" + integrity sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg== dependencies: buffer "^6.0.3" catering "^2.1.0" @@ -3865,14 +3700,14 @@ acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.3.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.0.tgz#2097665af50fd0cf7a2dfccd2b9368964e66540f" - integrity sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA== + version "8.3.2" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" + integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== acorn@^8.4.1, acorn@^8.9.0: - version "8.11.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" - integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== add-stream@^1.0.0: version "1.0.0" @@ -3891,7 +3726,7 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" -agentkeepalive@^4.2.1, agentkeepalive@^4.3.0: +agentkeepalive@^4.2.1, agentkeepalive@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== @@ -3917,14 +3752,14 @@ ajv@^6.12.4: uri-js "^4.2.2" ajv@^8.11.0, ajv@^8.12.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + version "8.16.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.16.0.tgz#22e2a92b94f005f7e0f9c9d39652ef0b8f6f0cb4" + integrity sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw== dependencies: - fast-deep-equal "^3.1.1" + fast-deep-equal "^3.1.3" json-schema-traverse "^1.0.0" require-from-string "^2.0.2" - uri-js "^4.2.2" + uri-js "^4.4.1" algo-msgpack-with-bigint@^2.1.1: version "2.1.1" @@ -4100,9 +3935,9 @@ arweave-stream-tx@^1.1.0: exponential-backoff "^3.1.0" arweave@^1.10.13, arweave@^1.10.17, arweave@^1.11.4: - version "1.14.4" - resolved "https://registry.yarnpkg.com/arweave/-/arweave-1.14.4.tgz#5ba22136aa0e7fd9495258a3931fb770c9d6bf21" - integrity sha512-tmqU9fug8XAmFETYwgUhLaD3WKav5DaM4p1vgJpEj/Px2ORPPMikwnSySlFymmL2qgRh2ZBcZsg11+RXPPGLsA== + version "1.15.1" + resolved "https://registry.yarnpkg.com/arweave/-/arweave-1.15.1.tgz#c6183136b20980c81a8cb77ce6fd9fb333e1a174" + integrity sha512-rT7FOwqdudd5npqp4xOYdDT2035LtpcqePjwirh4wjRiEtVsz1FZkRiM2Yj+fOAwYzOm/hNG0GDOipDSaiEGGQ== dependencies: arconnect "^0.4.2" asn1.js "^5.4.1" @@ -4167,16 +4002,7 @@ axios@^0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -axios@^1.0.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2" - integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -axios@^1.6.0: +axios@^1.0.0, axios@^1.6.0: version "1.7.2" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== @@ -4331,9 +4157,9 @@ bignumber.js@9.1.2, bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.0. integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== bindings@^1.3.0: version "1.5.0" @@ -4455,12 +4281,12 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== +braces@^3.0.3, braces@~3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: - fill-range "^7.0.1" + fill-range "^7.1.1" brorand@^1.1.0: version "1.1.0" @@ -4477,16 +4303,6 @@ browser-level@^1.0.1: module-error "^1.0.2" run-parallel-limit "^1.1.0" -browserslist@^4.21.9: - version "4.22.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619" - integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== - dependencies: - caniuse-lite "^1.0.30001541" - electron-to-chromium "^1.4.535" - node-releases "^2.0.13" - update-browserslist-db "^1.0.13" - browserslist@^4.22.2: version "4.23.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" @@ -4584,9 +4400,9 @@ builtins@^1.0.3: integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== builtins@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" - integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + version "5.1.0" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.1.0.tgz#6d85eeb360c4ebc166c3fdef922a15aa7316a5e8" + integrity sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg== dependencies: semver "^7.0.0" @@ -4650,14 +4466,16 @@ cacheable-request@^2.1.1: normalize-url "2.0.1" responselike "1.0.2" -call-bind@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" - integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.1" - set-function-length "^1.1.1" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" callsites@^3.0.0: version "3.1.0" @@ -4683,11 +4501,6 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001541: - version "1.0.30001565" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001565.tgz#a528b253c8a2d95d2b415e11d8b9942acc100c4f" - integrity sha512-xrE//a3O7TP0vaJ8ikzkD2c2NgcVUvsEe2IvFTntV4Yd1Z9FVzh+gW+enX96L0psrbaFMcVcH2l90xNuGDWc8w== - caniuse-lite@^1.0.30001629: version "1.0.30001632" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz#964207b7cba5851701afb4c8afaf1448db3884b6" @@ -4739,9 +4552,9 @@ chardet@^0.7.0: integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== chokidar@^3.5.1: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== dependencies: anymatch "~3.1.2" braces "~3.0.2" @@ -4777,14 +4590,14 @@ cipher-base@^1.0.1, cipher-base@^1.0.3: safe-buffer "^5.0.1" cjs-module-lexer@^1.0.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" - integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== + version "1.3.1" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz#c485341ae8fd999ca4ee5af2d7a1c9ae01e0099c" + integrity sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q== classic-level@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/classic-level/-/classic-level-1.3.0.tgz#5e36680e01dc6b271775c093f2150844c5edd5c8" - integrity sha512-iwFAJQYtqRTRM0F6L8h4JCt00ZSGdOyqh7yVrhhjrOpFhmBjNlRUey64MCiyo6UmQHMJ+No3c81nujPv+n9yrg== + version "1.4.1" + resolved "https://registry.yarnpkg.com/classic-level/-/classic-level-1.4.1.tgz#169ecf9f9c6200ad42a98c8576af449c1badbaee" + integrity sha512-qGx/KJl3bvtOHrGau2WklEZuXhS3zme+jf+fsu6Ej7W7IP/C49v7KNlWIsT1jZu0YnfzSIYDGcEWpCa1wKGWXQ== dependencies: abstract-level "^1.0.2" catering "^2.1.0" @@ -5158,30 +4971,30 @@ crypto-js@^4.0.0: resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== -csv-generate@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-4.3.0.tgz#e9004172ab1995815580f2253d8fc1bbd43a5d1f" - integrity sha512-7KdVId/2RgwPIKfWHaHtjBq7I9mgdi8ICzsUyIhP8is6UwpwVGGSC/aPnrZ8/SkgBcCP20lXrdPuP64Irs1VBg== +csv-generate@^4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-4.4.1.tgz#729781ace8d1b92f6bfb407d1ab9548728c55681" + integrity sha512-O/einO0v4zPmXaOV+sYqGa02VkST4GP5GLpWBNHEouIU7pF3kpGf3D0kCCvX82ydIY4EKkOK+R8b1BYsRXravg== -csv-parse@^5.5.2: - version "5.5.2" - resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.5.2.tgz#ab525e642093dccff7c5cca5c7b71fd3e99fe8f2" - integrity sha512-YRVtvdtUNXZCMyK5zd5Wty1W6dNTpGKdqQd4EQ8tl/c6KW1aMBB1Kg1ppky5FONKmEqGJ/8WjLlTNLPne4ioVA== +csv-parse@^5.5.6: + version "5.5.6" + resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.5.6.tgz#0d726d58a60416361358eec291a9f93abe0b6b1a" + integrity sha512-uNpm30m/AGSkLxxy7d9yRXpJQFrZzVWLFBkS+6ngPcZkw/5k3L/jjFuj7tVnEpRn+QgmiXr21nDlhCiUK4ij2A== -csv-stringify@^6.4.4: - version "6.4.4" - resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.4.4.tgz#92ef52e21b5cc39d20e7db9b6b913367460e2659" - integrity sha512-NDshLupGa7gp4UG4sSNIqwYJqgSwvds0SvENntxoVoVvTzXcrHvd5gG2MWpbRpSNvk59dlmIe1IwNvSxN4IVmg== +csv-stringify@^6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-6.5.0.tgz#7b1491893c917e018a97de9bf9604e23b88647c2" + integrity sha512-edlXFVKcUx7r8Vx5zQucsuMg4wb/xT6qyz+Sr1vnLrdXqlLD1+UKyWNyZ9zn6mUW1ewmGxrpVwAcChGF0HQ/2Q== csv@^6.0.5: - version "6.3.5" - resolved "https://registry.yarnpkg.com/csv/-/csv-6.3.5.tgz#af8c9f76fef21974cb8968a044fdeb1f84556011" - integrity sha512-Y+KTCAUljtq2JaGP42ZL1bymqlU5BkfnFpZhxRczGFDZox2VXhlRHnG5DRshyUrwQzmCdEiLjSqNldCfm1OVCA== + version "6.3.9" + resolved "https://registry.yarnpkg.com/csv/-/csv-6.3.9.tgz#1812e4542aa4ca1e4a70cb5a5d16c1e425451f06" + integrity sha512-eiN+Qu8NwSLxZYia6WzB8xlX/rAQ/8EgK5A4dIF7Bz96mzcr5dW1jlcNmjG0QWySWKfPdCerH3RQ96ZqqsE8cA== dependencies: - csv-generate "^4.3.0" - csv-parse "^5.5.2" - csv-stringify "^6.4.4" - stream-transform "^3.2.10" + csv-generate "^4.4.1" + csv-parse "^5.5.6" + csv-stringify "^6.5.0" + stream-transform "^3.3.2" dargs@^7.0.0: version "7.0.0" @@ -5193,14 +5006,7 @@ dateformat@^3.0.3: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -debug@^4.3.1: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: version "4.3.5" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== @@ -5324,21 +5130,21 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" -define-data-property@^1.0.1, define-data-property@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" - integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== +define-data-property@^1.0.1, define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== dependencies: - get-intrinsic "^1.2.1" + es-define-property "^1.0.0" + es-errors "^1.3.0" gopd "^1.0.1" - has-property-descriptors "^1.0.0" define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== -define-properties@^1.1.3: +define-properties@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== @@ -5388,9 +5194,9 @@ detect-indent@^5.0.0: integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== detect-libc@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" - integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.3.tgz#f0cd503b40f9939b894697d19ad50895e30cf700" + integrity sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw== detect-newline@^3.0.0: version "3.1.0" @@ -5438,16 +5244,21 @@ dotenv-expand@~10.0.0: resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37" integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A== -dotenv@^16.0.3, dotenv@^16.3.1, dotenv@~16.3.1: - version "16.3.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" - integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== +dotenv@^16.0.3, dotenv@^16.3.1: + version "16.4.5" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== dotenv@~10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +dotenv@~16.3.1: + version "16.3.2" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.2.tgz#3cb611ce5a63002dbabf7c281bc331f69d28f03f" + integrity sha512-HTlk5nmhkm8F6JcdXvHIzaorzCoziNQT9mGxLPVXW8wJF1TiGSL60ZGB4gHWabHOaMmWmhvk2/lPHfnBiT78AQ== + download@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/download/-/download-8.0.0.tgz#afc0b309730811731aae9f5371c9f46be73e51b1" @@ -5481,23 +5292,18 @@ eastasianwidth@^0.2.0: integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== ejs@^3.1.7: - version "3.1.9" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" - integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== + version "3.1.10" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" + integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.535: - version "1.4.594" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.594.tgz#f69f207fba80735a44a988df42f3f439115d0515" - integrity sha512-xT1HVAu5xFn7bDfkjGQi9dNpMqGchUkebwf1GL7cZN32NSwwlHRPMSDJ1KN6HkS0bWUtndbSQZqvpQftKG2uFQ== - electron-to-chromium@^1.4.796: version "1.4.799" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.799.tgz#271c56654ab4dc703037e47a5af4fc8945160611" integrity sha512-3D3DwWkRTzrdEpntY0hMLYwj7SeBk1138CkPE8sBDSj3WzrzOiG2rHm3luw8jucpf+WiyLBCZyU9lMHyQI9M9Q== -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: +elliptic@6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -5510,6 +5316,19 @@ elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.4.0, elliptic@^6.5.3, elliptic@^6.5.4: + version "6.5.5" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded" + integrity sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.10.2: version "0.10.2" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" @@ -5582,6 +5401,18 @@ error-polyfill@^0.1.3: o3 "^1.0.3" u3 "^0.1.1" +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es6-promise@^4.0.3: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -5594,12 +5425,7 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - -escalade@^3.1.2: +escalade@^3.1.1, escalade@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== @@ -5658,15 +5484,15 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4 integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== eslint@^8.27.0: - version "8.54.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.54.0.tgz#588e0dd4388af91a2e8fa37ea64924074c783537" - integrity sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA== + version "8.57.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668" + integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.3" - "@eslint/js" "8.54.0" - "@humanwhocodes/config-array" "^0.11.13" + "@eslint/eslintrc" "^2.1.4" + "@eslint/js" "8.57.0" + "@humanwhocodes/config-array" "^0.11.14" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" "@ungap/structured-clone" "^1.2.0" @@ -5947,9 +5773,9 @@ fast-xml-parser@4.2.5: strnum "^1.0.5" fastq@^1.6.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" - integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + version "1.17.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" + integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== dependencies: reusify "^1.0.4" @@ -6032,10 +5858,10 @@ filenamify@^3.0.0: strip-outer "^1.0.0" trim-repeated "^1.0.0" -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== dependencies: to-regex-range "^5.0.1" @@ -6077,24 +5903,19 @@ flat@^5.0.2: integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== flatted@^3.2.9: - version "3.2.9" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" - integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.14.0, follow-redirects@^1.14.7, follow-redirects@^1.14.9, follow-redirects@^1.15.0: - version "1.15.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" - integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== - -follow-redirects@^1.15.6: +follow-redirects@^1.14.0, follow-redirects@^1.14.7, follow-redirects@^1.14.9, follow-redirects@^1.15.6: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== foreground-child@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" - integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.0.tgz#5eb496c4ebf3bcc4572e8908a45a72f5a1d2d658" + integrity sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA== dependencies: cross-spawn "^7.0.0" signal-exit "^4.0.1" @@ -6140,9 +5961,9 @@ fs-extra@^10.0.1, fs-extra@^10.1.0: universalify "^2.0.0" fs-extra@^11.1.0, fs-extra@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" - integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== dependencies: graceful-fs "^4.2.0" jsonfile "^6.0.1" @@ -6211,11 +6032,12 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" - integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" @@ -6357,15 +6179,15 @@ glob@7.1.4: path-is-absolute "^1.0.0" glob@^10.2.2: - version "10.3.10" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" - integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + version "10.4.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.1.tgz#0cfb01ab6a6b438177bfe6a58e2576f6efe909c2" + integrity sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw== dependencies: foreground-child "^3.1.0" - jackspeak "^2.3.5" - minimatch "^9.0.1" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry "^1.10.1" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + path-scurry "^1.11.1" glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.7: version "7.2.3" @@ -6406,18 +6228,19 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0: - version "13.23.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" - integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" globalthis@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" - integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + version "1.0.4" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== dependencies: - define-properties "^1.1.3" + define-properties "^1.2.1" + gopd "^1.0.1" globby@11.1.0, globby@^11.1.0: version "11.1.0" @@ -6498,17 +6321,17 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-property-descriptors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" - integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== dependencies: - get-intrinsic "^1.2.2" + es-define-property "^1.0.0" has-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" - integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== has-symbol-support-x@^1.4.1: version "1.4.2" @@ -6555,9 +6378,9 @@ hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: minimalistic-assert "^1.0.1" hasown@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" - integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" @@ -6688,16 +6511,16 @@ ignore-walk@^5.0.1: minimatch "^5.0.1" ignore-walk@^6.0.0: - version "6.0.3" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.3.tgz#0fcdb6decaccda35e308a7b0948645dd9523b7bb" - integrity sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA== + version "6.0.5" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.5.tgz#ef8d61eab7da169078723d1f82833b36e200b0dd" + integrity sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A== dependencies: minimatch "^9.0.0" ignore@^5.0.4, ignore@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" - integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== immediate@~3.0.5: version "3.0.6" @@ -6803,10 +6626,13 @@ into-stream@^6.0.0: from2 "^2.3.0" p-is-promise "^3.0.0" -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== +ip-address@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" + integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== + dependencies: + jsbn "1.1.0" + sprintf-js "^1.1.3" is-arrayish@^0.2.1: version "0.2.1" @@ -7042,9 +6868,9 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.1.3: - version "3.1.6" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" - integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== + version "3.1.7" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" @@ -7057,19 +6883,19 @@ isurl@^1.0.0-alpha5: has-to-string-tag-x "^1.2.0" is-object "^1.0.1" -jackspeak@^2.3.5: - version "2.3.6" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" - integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== +jackspeak@^3.1.2: + version "3.4.0" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.0.tgz#a75763ff36ad778ede6a156d8ee8b124de445b4a" + integrity sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw== dependencies: "@isaacs/cliui" "^8.0.2" optionalDependencies: "@pkgjs/parseargs" "^0.11.0" jake@^10.8.5: - version "10.8.7" - resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" - integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== + version "10.9.1" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.1.tgz#8dc96b7fcc41cb19aa502af506da4e1d56f5e62b" + integrity sha512-61btcOHNnLnsOdtLgA5efqQWjnSi/vow5HbI7HMdKKWqvrKR1bLK3BPlJn9gcSaP2ewuamUSMB5XEy76KUIS2w== dependencies: async "^3.2.3" chalk "^4.0.2" @@ -7840,6 +7666,11 @@ js-yaml@^3.10.0, js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" + integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== + jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -7873,9 +7704,9 @@ json-parse-even-better-errors@^2.3.0: integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== json-parse-even-better-errors@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz#2cb2ee33069a78870a0c7e3da560026b89669cf7" - integrity sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA== + version "3.0.2" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz#b43d35e89c0f3be6b5fbbe9dc6c82467b30c28da" + integrity sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ== json-schema-traverse@^0.4.1: version "0.4.1" @@ -7909,11 +7740,16 @@ json5@^2.2.1, json5@^2.2.2, json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@3.2.0, jsonc-parser@^3.0.0: +jsonc-parser@3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== +jsonc-parser@^3.0.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.1.tgz#031904571ccf929d7670ee8c547545081cb37f1a" + integrity sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA== + jsonfile@^6.0.1, jsonfile@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" @@ -8066,10 +7902,11 @@ level-transcoder@^1.0.1: module-error "^1.0.1" level@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/level/-/level-8.0.0.tgz#41b4c515dabe28212a3e881b61c161ffead14394" - integrity sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ== + version "8.0.1" + resolved "https://registry.yarnpkg.com/level/-/level-8.0.1.tgz#737161db1bc317193aca4e7b6f436e7e1df64379" + integrity sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ== dependencies: + abstract-level "^1.0.4" browser-level "^1.0.1" classic-level "^1.2.0" @@ -8234,6 +8071,11 @@ lowercase-keys@^1.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== +lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -8253,11 +8095,6 @@ lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== -"lru-cache@^9.1.1 || ^10.0.0": - version "10.1.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484" - integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== - lunr@^2.3.9: version "2.3.9" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" @@ -8392,11 +8229,11 @@ merge2@^1.3.0, merge2@^1.4.1: integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + version "4.0.7" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" + integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== dependencies: - braces "^3.0.2" + braces "^3.0.3" picomatch "^2.3.1" mime-db@1.52.0, mime-db@^1.28.0: @@ -8469,10 +8306,10 @@ minimatch@^8.0.2: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.0, minimatch@^9.0.1: - version "9.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" - integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== +minimatch@^9.0.0, minimatch@^9.0.4: + version "9.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== dependencies: brace-expansion "^2.0.1" @@ -8509,9 +8346,9 @@ minipass-fetch@^2.0.3: encoding "^0.1.13" minipass-fetch@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.4.tgz#4d4d9b9f34053af6c6e597a64be8e66e42bf45b7" - integrity sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg== + version "3.0.5" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.5.tgz#f0f97e40580affc4a35cc4a1349f05ae36cb1e4c" + integrity sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg== dependencies: minipass "^7.0.3" minipass-sized "^1.0.3" @@ -8565,10 +8402,10 @@ minipass@^5.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3: - version "7.0.4" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" - integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3, minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" @@ -8637,15 +8474,15 @@ mute-stream@0.0.8: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -mute-stream@~1.0.0: +mute-stream@^1.0.0, mute-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e" integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== nan@^2.13.2: - version "2.18.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554" - integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w== + version "2.20.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3" + integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw== napi-build-utils@^1.0.1: version "1.0.2" @@ -8714,9 +8551,9 @@ neo-async@^2.6.2: integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== node-abi@^3.3.0: - version "3.51.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.51.0.tgz#970bf595ef5a26a271307f8a4befa02823d4e87d" - integrity sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA== + version "3.64.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.64.0.tgz#cb24a16eb939ba23d6a5a06a7835ab670e2f3027" + integrity sha512-lxowHVCx3o1zfKJthjWh6WI8Eyi4gdTaK9bUc3oTjYv9j8sp5gSiufkOvoYZ1LgmZKngWUkS5a8G1RSuLWtPgg== dependencies: semver "^7.3.5" @@ -8737,7 +8574,7 @@ node-fetch@2.6.7: dependencies: whatwg-url "^5.0.0" -node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.6.7: +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.6.7, node-fetch@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -8745,9 +8582,9 @@ node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.6.7: whatwg-url "^5.0.0" node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: - version "4.7.1" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.7.1.tgz#cd7d2eb48e594874053150a9418ac85af83ca8f7" - integrity sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg== + version "4.8.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" + integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== node-gyp@^9.0.0: version "9.4.1" @@ -8776,11 +8613,6 @@ node-machine-id@1.1.12: resolved "https://registry.yarnpkg.com/node-machine-id/-/node-machine-id-1.1.12.tgz#37904eee1e59b320bb9c5d6c0a59f3b469cb6267" integrity sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ== -node-releases@^2.0.13: - version "2.0.13" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" - integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== - node-releases@^2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" @@ -8853,9 +8685,9 @@ npm-bundled@^1.1.2: npm-normalize-package-bin "^1.0.1" npm-bundled@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-3.0.0.tgz#7e8e2f8bb26b794265028491be60321a25a39db7" - integrity sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ== + version "3.0.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-3.0.1.tgz#cca73e15560237696254b10170d8f86dad62da25" + integrity sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ== dependencies: npm-normalize-package-bin "^3.0.0" @@ -9058,7 +8890,7 @@ object-assign@^4.0.1, object-assign@^4.1.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.9.0: +object-inspect@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== @@ -9092,16 +8924,16 @@ open@^8.4.0: is-wsl "^2.2.0" optionator@^0.9.3: - version "0.9.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" - integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== dependencies: - "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" + word-wrap "^1.2.5" ora@^5.4.1: version "5.4.1" @@ -9351,12 +9183,12 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-scurry@^1.10.1, path-scurry@^1.6.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" - integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== +path-scurry@^1.11.1, path-scurry@^1.6.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== dependencies: - lru-cache "^9.1.1 || ^10.0.0" + lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-type@^3.0.0: @@ -9387,12 +9219,7 @@ pend@~1.2.0: resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg== -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picocolors@^1.0.1: +picocolors@^1.0.0, picocolors@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== @@ -9593,11 +9420,11 @@ prompts@^2.0.1, prompts@^2.4.2: sisteransi "^1.0.5" promzard@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/promzard/-/promzard-1.0.0.tgz#3246f8e6c9895a77c0549cefb65828ac0f6c006b" - integrity sha512-KQVDEubSUHGSt5xLakaToDFrSoZhStB8dXLzk2xvwR67gJktrHFvpR63oZgHyK19WKbHFLXJqCPXdVR3aBP8Ig== + version "1.0.2" + resolved "https://registry.yarnpkg.com/promzard/-/promzard-1.0.2.tgz#2226e7c6508b1da3471008ae17066a7c3251e660" + integrity sha512-2FPputGL+mP3jJ3UZg/Dl9YOkovB7DX0oOr+ck5QbZ5MtORtds8k/BZdn+02peDLI8/YWbmzx34k5fA+fHvCVQ== dependencies: - read "^2.0.0" + read "^3.0.1" protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2: version "6.11.4" @@ -9666,11 +9493,11 @@ pure-rand@^6.0.0: integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== qs@^6.10.5: - version "6.11.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" - integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + version "6.12.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.12.1.tgz#39422111ca7cbdb70425541cba20c7d7b216599a" + integrity sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ== dependencies: - side-channel "^1.0.4" + side-channel "^1.0.6" query-string@^5.0.1: version "5.1.1" @@ -9709,9 +9536,9 @@ rc@^1.2.7: strip-json-comments "~2.0.1" react-is@^18.0.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + version "18.3.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" + integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== read-cmd-shim@4.0.0: version "4.0.0" @@ -9779,6 +9606,13 @@ read@^2.0.0: dependencies: mute-stream "~1.0.0" +read@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/read/-/read-3.0.1.tgz#926808f0f7c83fa95f1ef33c0e2c09dbb28fd192" + integrity sha512-SLBrDU/Srs/9EoWhU5GdbAoxG1GzpQHo/6qiGItaoLJ1thmYpcNIM1qISEUvyHBzfGlWIyd6p2DNi1oV1VmAuw== + dependencies: + mute-stream "^1.0.0" + readable-stream@^2.0.0, readable-stream@^2.1.4, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" @@ -9832,9 +9666,9 @@ redent@^3.0.0: strip-indent "^3.0.0" regenerator-runtime@^0.14.0: - version "0.14.0" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45" - integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA== + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== require-directory@^2.1.1: version "2.1.1" @@ -9934,12 +9768,11 @@ ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: hash-base "^3.0.0" inherits "^2.0.1" -rpc-websockets@^7.5.1: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.8.0.tgz#1bcf571f65c51803e81f0824e9540a0da35a5287" - integrity sha512-AStkq6KDvSAmA4WiwlK1pDvj/33BWmExTATUokC0v+NhWekXSTNzXS5OGXeYwq501/pj6lBZMofg/h4dx4/tCg== +rpc-websockets@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-8.0.1.tgz#fa76db08badc0b2f5cd66b5496debd2c404c94b1" + integrity sha512-PptrPRK40uQvifq5sCcObmqInVcZXhy+RRrirzdE5KUPvDI47y1wPvfckD2QzqngOU9xaPW/dT+G+b+wj6M1MQ== dependencies: - "@babel/runtime" "^7.17.2" eventemitter3 "^4.0.7" uuid "^8.3.2" ws "^8.5.0" @@ -10038,37 +9871,32 @@ semver@7.5.3: dependencies: lru-cache "^6.0.0" -semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" +semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: + version "7.6.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.5.4: - version "7.6.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" - integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== - set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-function-length@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" - integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== dependencies: - define-data-property "^1.1.1" - get-intrinsic "^1.2.1" + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" gopd "^1.0.1" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.2" setimmediate@^1.0.5: version "1.0.5" @@ -10116,14 +9944,15 @@ shiki@^0.10.1: vscode-oniguruma "^1.6.1" vscode-textmate "5.2.0" -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== +side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" signal-exit@3.0.7, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" @@ -10185,11 +10014,11 @@ socks-proxy-agent@^7.0.0: socks "^2.6.2" socks@^2.6.2: - version "2.7.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" - integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== + version "2.8.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" + integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== dependencies: - ip "^2.0.0" + ip-address "^9.0.5" smart-buffer "^4.2.0" sort-keys-length@^1.0.0: @@ -10243,9 +10072,9 @@ spdx-correct@^3.0.0: spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" - integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== + version "2.5.0" + resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66" + integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w== spdx-expression-parse@^3.0.0: version "3.0.1" @@ -10256,9 +10085,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.16" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz#a14f64e0954f6e25cc6587bd4f392522db0d998f" - integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw== + version "3.0.18" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz#22aa922dcf2f2885a6494a261f2d8b75345d0326" + integrity sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ== split2@^3.2.2: version "3.2.2" @@ -10274,15 +10103,20 @@ split@^1.0.1: dependencies: through "2" +sprintf-js@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" + integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== ssri@^10.0.0, ssri@^10.0.1: - version "10.0.5" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.5.tgz#e49efcd6e36385196cb515d3a2ad6c3f0265ef8c" - integrity sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A== + version "10.0.6" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.6.tgz#a8aade2de60ba2bce8688e3fa349bad05c7dc1e5" + integrity sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ== dependencies: minipass "^7.0.3" @@ -10312,10 +10146,10 @@ stream-meter@^1.0.4: dependencies: readable-stream "^2.1.4" -stream-transform@^3.2.10: - version "3.2.10" - resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-3.2.10.tgz#1c59b9656d787de210ba17095933f5a88cb8e31b" - integrity sha512-Yu+x7zcWbWdyB0Td8dFzHt2JEyD6694CNq2lqh1rbuEBVxPtjb/GZ7xDnZcdYiU5E/RtufM54ClSEOzZDeWguA== +stream-transform@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-3.3.2.tgz#398c67b2f3b6ed5d04ceadde9e412bda8416c8ab" + integrity sha512-v64PUnPy9Qw94NGuaEMo+9RHQe4jTBYf+NkTtqkCgeuiNo8NlL0LtLR7fkKWNVFtp3RhIm5Dlxkgm5uz7TDimQ== strict-uri-encode@^1.0.0: version "1.1.0" @@ -10441,10 +10275,10 @@ strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: minimist "^1.2.0" through "^2.3.4" -superstruct@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.14.2.tgz#0dbcdf3d83676588828f1cf5ed35cda02f59025b" - integrity sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ== +superstruct@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-1.0.4.tgz#0adb99a7578bd2f1c526220da6571b2d485d91ca" + integrity sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ== supports-color@^5.3.0: version "5.5.0" @@ -10532,9 +10366,9 @@ tar@6.1.11: yallist "^4.0.0" tar@^6.1.11, tar@^6.1.2: - version "6.2.0" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" - integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" @@ -10631,11 +10465,9 @@ tmp@^0.0.33: os-tmpdir "~1.0.2" tmp@^0.2.0, tmp@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" + version "0.2.3" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" + integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== tmpl@1.0.5: version "1.0.5" @@ -10696,9 +10528,9 @@ ts-jest@^28.0.5, ts-jest@^28.0.8: yargs-parser "^21.0.1" ts-node@^10.2.1, ts-node@^10.8.1: - version "10.9.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" @@ -10715,9 +10547,9 @@ ts-node@^10.2.1, ts-node@^10.8.1: yn "3.1.1" tsconfig-paths@^3.9.0: - version "3.14.2" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" - integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== + version "3.15.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" + integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== dependencies: "@types/json5" "^0.0.29" json5 "^1.0.2" @@ -10738,10 +10570,10 @@ tslib@^1.11.1, tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== +tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" + integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== tslog@^3.2.2, tslog@^3.3.3: version "3.3.4" @@ -10856,9 +10688,9 @@ typescript-json-schema@^0.53.1: yargs "^17.1.1" "typescript@>=3 < 6": - version "5.3.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43" - integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ== + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== typescript@^4.4.3, typescript@^4.5.5, typescript@^4.6.4, typescript@^4.7.3, typescript@^4.7.4: version "4.9.5" @@ -10876,9 +10708,9 @@ u3@^0.1.1: integrity sha512-+J5D5ir763y+Am/QY6hXNRlwljIeRMZMGs0cT6qqZVVzzT3X3nFPXVyPOFRMOR4kupB0T8JnCdpWdp6Q/iXn3w== uglify-js@^3.1.4: - version "3.17.4" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" - integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== + version "3.18.0" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.18.0.tgz#73b576a7e8fda63d2831e293aeead73e0a270deb" + integrity sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A== unbzip2-stream@^1.0.9: version "1.4.3" @@ -10946,14 +10778,6 @@ upath@2.0.1: resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== -update-browserslist-db@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" - integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - update-browserslist-db@^1.0.16: version "1.0.16" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz#f6d489ed90fb2f07d67784eb3f53d7891f736356" @@ -10962,7 +10786,7 @@ update-browserslist-db@^1.0.16: escalade "^3.1.2" picocolors "^1.0.1" -uri-js@^4.2.2: +uri-js@^4.2.2, uri-js@^4.4.1: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== @@ -10994,16 +10818,16 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1: integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== utility-types@^3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" - integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + version "3.11.0" + resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.11.0.tgz#607c40edb4f258915e901ea7995607fdf319424c" + integrity sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw== uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -uuid@^9.0.0: +uuid@^9.0.0, uuid@^9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== @@ -11035,7 +10859,7 @@ validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validat spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -validate-npm-package-name@5.0.0, validate-npm-package-name@^5.0.0: +validate-npm-package-name@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz#f16afd48318e6f90a1ec101377fa0384cfc8c713" integrity sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ== @@ -11049,6 +10873,11 @@ validate-npm-package-name@^3.0.0: dependencies: builtins "^1.0.3" +validate-npm-package-name@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz#a316573e9b49f3ccd90dbb6eb52b3f06c6d604e8" + integrity sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ== + vlq@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/vlq/-/vlq-2.0.4.tgz#6057b85729245b9829e3cc7755f95b228d4fe041" @@ -11119,6 +10948,11 @@ wif@^2.0.6: dependencies: bs58check "<3.0.0" +word-wrap@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== + wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" @@ -11213,9 +11047,9 @@ ws@^7, ws@^7.4.5: integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== ws@^8.5.0: - version "8.14.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" - integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== + version "8.17.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.0.tgz#d145d18eca2ed25aaf791a183903f7be5e295fea" + integrity sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow== xstream@^11.14.0: version "11.14.0" From f2a420cc64c7aac747687d01e764d9ebb4b465fb Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Wed, 12 Jun 2024 16:41:55 +0200 Subject: [PATCH 06/15] chore: moved v1 endpoints to correct path --- common/sdk/src/clients/lcd-client/client.ts | 7 +++ .../clients/lcd-client/query/v1beta1/query.ts | 26 --------- .../clients/lcd-client/v1/bundles/query.ts | 54 +++++++++++++++++++ 3 files changed, 61 insertions(+), 26 deletions(-) create mode 100644 common/sdk/src/clients/lcd-client/v1/bundles/query.ts diff --git a/common/sdk/src/clients/lcd-client/client.ts b/common/sdk/src/clients/lcd-client/client.ts index eb63586e..240c752a 100644 --- a/common/sdk/src/clients/lcd-client/client.ts +++ b/common/sdk/src/clients/lcd-client/client.ts @@ -1,3 +1,4 @@ +import { V1BundlesLCDClient } from "./v1/bundles/query"; import { BundlesModuleLCDClient } from "./bundles/v1beta1/query"; import { DelegationModuleLCDClient } from "./delegation/v1beta1/query"; import { FundersModuleLCDClient } from "./funders/v1beta1/query"; @@ -7,6 +8,9 @@ import { QueryModuleLCDClient } from "./query/v1beta1/query"; import { StakersModuleLCDClient } from "./stakers/v1beta1/query"; import { TeamModuleLCDClient } from "./team/v1beta1/query"; class KyveLCDClient { + public v1: { + bundles: V1BundlesLCDClient; + }; public bundles: { v1beta1: BundlesModuleLCDClient; }; @@ -33,6 +37,9 @@ class KyveLCDClient { }; constructor(restEndpoint: string) { + this.v1 = { + bundles: new V1BundlesLCDClient(restEndpoint), + }; this.bundles = { v1beta1: new BundlesModuleLCDClient(restEndpoint), }; diff --git a/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts b/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts index f0887133..c1fc9cd2 100644 --- a/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts +++ b/common/sdk/src/clients/lcd-client/query/v1beta1/query.ts @@ -127,32 +127,6 @@ export class QueryModuleLCDClient extends AbstractKyveLCDClient { } /** end stakers **/ /** Bundles **/ - async finalizedBundles( - params: PaginationPartialRequestUtilType - ): Promise< - PaginationResponseTypeUtil - > { - const parameters: Record = {}; - - if (typeof params?.pagination !== "undefined") { - parameters.pagination = params.pagination; - } - - if (typeof params.index !== "undefined") { - parameters.index = params.index; - } - - const endpoint = `/kyve/v1/bundles/${params.pool_id}`; - return await this.request(endpoint, parameters); - } - - async finalizedBundle( - params: kyveQueryBundles.QueryFinalizedBundleRequest - ): Promise { - const endpoint = `/kyve/v1/bundles/${params.pool_id}/${params.id}`; - return await this.request(endpoint); - } - async currentVoteStatus( params: kyveQueryBundles.QueryCurrentVoteStatusRequest ): Promise { diff --git a/common/sdk/src/clients/lcd-client/v1/bundles/query.ts b/common/sdk/src/clients/lcd-client/v1/bundles/query.ts new file mode 100644 index 00000000..44e042c2 --- /dev/null +++ b/common/sdk/src/clients/lcd-client/v1/bundles/query.ts @@ -0,0 +1,54 @@ +import paginationQuery from "@kyvejs/types/client/cosmos/base/query/v1beta1/pagination"; +import kyveQueryBundles from "@kyvejs/types/client/kyve/query/v1beta1/bundles"; +import kyveQueryBundlesRes from "@kyvejs/types/lcd/kyve/query/v1beta1/bundles"; + +import { AbstractKyveLCDClient } from "../../lcd-client.abstract"; + +type Overwrite = Pick> & U; +type PaginationRequestType = { + offset: string; + limit: string; + count_total: boolean; + reverse: boolean; + key: string; +}; +type PaginationPartialRequestUtilType< + T extends { pagination?: paginationQuery.PageRequest } +> = Overwrite }>; + +type PaginationResponseTypeUtil = Overwrite< + T, + { pagination?: { next_key: string; total: string } } +>; + +export class V1BundlesLCDClient extends AbstractKyveLCDClient { + constructor(restEndpoint: string) { + super(restEndpoint); + } + + async finalizedBundles( + params: PaginationPartialRequestUtilType + ): Promise< + PaginationResponseTypeUtil + > { + const parameters: Record = {}; + + if (typeof params?.pagination !== "undefined") { + parameters.pagination = params.pagination; + } + + if (typeof params.index !== "undefined") { + parameters.index = params.index; + } + + const endpoint = `/kyve/v1/bundles/${params.pool_id}`; + return await this.request(endpoint, parameters); + } + + async finalizedBundle( + params: kyveQueryBundles.QueryFinalizedBundleRequest + ): Promise { + const endpoint = `/kyve/v1/bundles/${params.pool_id}/${params.id}`; + return await this.request(endpoint); + } +} From bd4fd837e5d5de6a16042caaa92bf67542bac560 Mon Sep 17 00:00:00 2001 From: Troy Kessler <43882936+troykessler@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:51:22 +0200 Subject: [PATCH 07/15] chore: added flag for data availability check (#120) * chore: added flag for data availability check * chore: added better logs --- common/protocol/src/index.ts | 14 +++++++++++--- .../protocol/src/methods/checks/isDataAvailable.ts | 10 +++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/common/protocol/src/index.ts b/common/protocol/src/index.ts index 4ede8f6e..11bfcb47 100644 --- a/common/protocol/src/index.ts +++ b/common/protocol/src/index.ts @@ -274,6 +274,10 @@ export class Validator { "Specify the home directory of the node where logs and the cache should save their data. [default current directory]", "./" ) + .option( + "--skip-data-availability-check", + "Skip data availability check and join pool instantly without waiting for the data source. WARNING: Only use this if you know what you are doing since this can lead to timeout slashes" + ) .action((options) => { this.start(options); }); @@ -326,9 +330,13 @@ export class Validator { process.exit(1); } - // until data is not available we wait and idle - while (!(await this.isDataAvailable())) { - await sleep(IDLE_TIME); + // by default we check if the first data items are available + // to protect the node operator from timeout slashes due to + // misconfiguration of the data source + if (!options.skipDataAvailabilityCheck) { + while (!(await this.isDataAvailable())) { + await sleep(IDLE_TIME); + } } await this.setupValidator(); diff --git a/common/protocol/src/methods/checks/isDataAvailable.ts b/common/protocol/src/methods/checks/isDataAvailable.ts index 478538d7..48a3e973 100644 --- a/common/protocol/src/methods/checks/isDataAvailable.ts +++ b/common/protocol/src/methods/checks/isDataAvailable.ts @@ -11,6 +11,8 @@ import { Validator, standardizeError } from "../.."; * @return {Promise} */ export async function isDataAvailable(this: Validator): Promise { + let nextKey = ""; + try { // log debug method if (this.pool.data!.current_key) { @@ -18,7 +20,7 @@ export async function isDataAvailable(this: Validator): Promise { } // get the next key to node has to fetch - const nextKey = this.pool.data!.current_key + nextKey = this.pool.data!.current_key ? await this.runtime.nextKey(this, this.pool.data!.current_key) : this.pool.data!.start_key; @@ -45,8 +47,10 @@ export async function isDataAvailable(this: Validator): Promise { return true; } catch (err) { - this.logger.warn(`Data not available for next key. Retrying in 60s ...`); - this.logger.debug(standardizeError(err)); + this.logger.warn( + `Data not available for next key ${nextKey}. Retrying in 60s ...` + ); + this.logger.warn(standardizeError(err)); return false; } From 86d51e7a4cc3b93b004e9229bdb74c0928bbf248 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Thu, 13 Jun 2024 16:54:54 +0200 Subject: [PATCH 08/15] chore: add property for injective --- integrations/tendermint/src/schemas/block_result.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integrations/tendermint/src/schemas/block_result.json b/integrations/tendermint/src/schemas/block_result.json index ed672b91..a9496733 100644 --- a/integrations/tendermint/src/schemas/block_result.json +++ b/integrations/tendermint/src/schemas/block_result.json @@ -231,7 +231,8 @@ } }, "required": ["block", "evidence", "validator"] - } + }, + "event_plaintext": { "type": "boolean" } }, "required": [ "height", From 2eac502864c32aad117b605a3597461a0ee84b97 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Fri, 14 Jun 2024 10:43:05 +0200 Subject: [PATCH 09/15] chore: removed unused deps --- common/protocol/package.json | 10 +- yarn.lock | 1515 +++------------------------------- 2 files changed, 105 insertions(+), 1420 deletions(-) diff --git a/common/protocol/package.json b/common/protocol/package.json index 6bb5ea31..612168a8 100644 --- a/common/protocol/package.json +++ b/common/protocol/package.json @@ -19,14 +19,11 @@ "doc": "typedoc" }, "dependencies": { - "@aws-sdk/client-s3": "^3.370.0", "@bundlr-network/client": "^0.8.9", - "@cosmjs/proto-signing": "^0.27.1", - "@cosmjs/stargate": "^0.27.1", + "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/stargate": "^0.32.3", "@kyvejs/sdk": "1.2.0", "@kyvejs/types": "1.3.0", - "@types/cli-progress": "^3.9.2", - "@types/jsonfile": "^6.0.1", "arweave": "^1.10.17", "axios": "^0.27.2", "bignumber.js": "^9.1.2", @@ -35,10 +32,8 @@ "fs-extra": "^10.0.1", "jsonfile": "^6.1.0", "jszip": "^3.10.1", - "level": "^8.0.0", "prando": "^6.0.1", "prom-client": "^14.1.0", - "protobufjs": "^6.11.4", "seedrandom": "^3.0.5", "semver": "^7.5.3", "tslog": "^3.2.2", @@ -46,6 +41,7 @@ "uuid": "^9.0.0" }, "devDependencies": { + "@types/jsonfile": "^6.0.1", "@types/clone": "^2.1.1", "@types/diff": "^5.0.7", "@types/fs-extra": "^9.0.13", diff --git a/yarn.lock b/yarn.lock index 6844e787..e0228e59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,615 +10,6 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@aws-crypto/crc32@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/crc32/-/crc32-3.0.0.tgz#07300eca214409c33e3ff769cd5697b57fdd38fa" - integrity sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA== - dependencies: - "@aws-crypto/util" "^3.0.0" - "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" - -"@aws-crypto/crc32c@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/crc32c/-/crc32c-3.0.0.tgz#016c92da559ef638a84a245eecb75c3e97cb664f" - integrity sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w== - dependencies: - "@aws-crypto/util" "^3.0.0" - "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" - -"@aws-crypto/ie11-detection@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz#640ae66b4ec3395cee6a8e94ebcd9f80c24cd688" - integrity sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q== - dependencies: - tslib "^1.11.1" - -"@aws-crypto/sha1-browser@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha1-browser/-/sha1-browser-3.0.0.tgz#f9083c00782b24714f528b1a1fef2174002266a3" - integrity sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw== - dependencies: - "@aws-crypto/ie11-detection" "^3.0.0" - "@aws-crypto/supports-web-crypto" "^3.0.0" - "@aws-crypto/util" "^3.0.0" - "@aws-sdk/types" "^3.222.0" - "@aws-sdk/util-locate-window" "^3.0.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" - -"@aws-crypto/sha256-browser@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz#05f160138ab893f1c6ba5be57cfd108f05827766" - integrity sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ== - dependencies: - "@aws-crypto/ie11-detection" "^3.0.0" - "@aws-crypto/sha256-js" "^3.0.0" - "@aws-crypto/supports-web-crypto" "^3.0.0" - "@aws-crypto/util" "^3.0.0" - "@aws-sdk/types" "^3.222.0" - "@aws-sdk/util-locate-window" "^3.0.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" - -"@aws-crypto/sha256-js@3.0.0", "@aws-crypto/sha256-js@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz#f06b84d550d25521e60d2a0e2a90139341e007c2" - integrity sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ== - dependencies: - "@aws-crypto/util" "^3.0.0" - "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" - -"@aws-crypto/supports-web-crypto@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz#5d1bf825afa8072af2717c3e455f35cda0103ec2" - integrity sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg== - dependencies: - tslib "^1.11.1" - -"@aws-crypto/util@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-3.0.0.tgz#1c7ca90c29293f0883468ad48117937f0fe5bfb0" - integrity sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w== - dependencies: - "@aws-sdk/types" "^3.222.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" - -"@aws-sdk/client-s3@^3.370.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.592.0.tgz#ed9cfb1e968ecad06b716ffc20c02687ca789801" - integrity sha512-abn1XYk9HW2nXIvyD6ldwrNcF5/7a2p06OSWEr7zVTo954kArg8N0yTsy83ezznEHZfaZpdZn/DLDl2GxrE1Xw== - dependencies: - "@aws-crypto/sha1-browser" "3.0.0" - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sso-oidc" "3.592.0" - "@aws-sdk/client-sts" "3.592.0" - "@aws-sdk/core" "3.592.0" - "@aws-sdk/credential-provider-node" "3.592.0" - "@aws-sdk/middleware-bucket-endpoint" "3.587.0" - "@aws-sdk/middleware-expect-continue" "3.577.0" - "@aws-sdk/middleware-flexible-checksums" "3.587.0" - "@aws-sdk/middleware-host-header" "3.577.0" - "@aws-sdk/middleware-location-constraint" "3.577.0" - "@aws-sdk/middleware-logger" "3.577.0" - "@aws-sdk/middleware-recursion-detection" "3.577.0" - "@aws-sdk/middleware-sdk-s3" "3.587.0" - "@aws-sdk/middleware-signing" "3.587.0" - "@aws-sdk/middleware-ssec" "3.577.0" - "@aws-sdk/middleware-user-agent" "3.587.0" - "@aws-sdk/region-config-resolver" "3.587.0" - "@aws-sdk/signature-v4-multi-region" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-endpoints" "3.587.0" - "@aws-sdk/util-user-agent-browser" "3.577.0" - "@aws-sdk/util-user-agent-node" "3.587.0" - "@aws-sdk/xml-builder" "3.575.0" - "@smithy/config-resolver" "^3.0.1" - "@smithy/core" "^2.2.0" - "@smithy/eventstream-serde-browser" "^3.0.0" - "@smithy/eventstream-serde-config-resolver" "^3.0.0" - "@smithy/eventstream-serde-node" "^3.0.0" - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/hash-blob-browser" "^3.0.0" - "@smithy/hash-node" "^3.0.0" - "@smithy/hash-stream-node" "^3.0.0" - "@smithy/invalid-dependency" "^3.0.0" - "@smithy/md5-js" "^3.0.0" - "@smithy/middleware-content-length" "^3.0.0" - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-body-length-browser" "^3.0.0" - "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.3" - "@smithy/util-defaults-mode-node" "^3.0.3" - "@smithy/util-endpoints" "^2.0.1" - "@smithy/util-retry" "^3.0.0" - "@smithy/util-stream" "^3.0.1" - "@smithy/util-utf8" "^3.0.0" - "@smithy/util-waiter" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/client-sso-oidc@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.592.0.tgz#0e5826e17a3d4db52cd38d0146e6faf520812cfe" - integrity sha512-11Zvm8nm0s/UF3XCjzFRpQU+8FFVW5rcr3BHfnH6xAe5JEoN6bJN/n+wOfnElnjek+90hh+Qc7s141AMrCjiiw== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.592.0" - "@aws-sdk/core" "3.592.0" - "@aws-sdk/credential-provider-node" "3.592.0" - "@aws-sdk/middleware-host-header" "3.577.0" - "@aws-sdk/middleware-logger" "3.577.0" - "@aws-sdk/middleware-recursion-detection" "3.577.0" - "@aws-sdk/middleware-user-agent" "3.587.0" - "@aws-sdk/region-config-resolver" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-endpoints" "3.587.0" - "@aws-sdk/util-user-agent-browser" "3.577.0" - "@aws-sdk/util-user-agent-node" "3.587.0" - "@smithy/config-resolver" "^3.0.1" - "@smithy/core" "^2.2.0" - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/hash-node" "^3.0.0" - "@smithy/invalid-dependency" "^3.0.0" - "@smithy/middleware-content-length" "^3.0.0" - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-body-length-browser" "^3.0.0" - "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.3" - "@smithy/util-defaults-mode-node" "^3.0.3" - "@smithy/util-endpoints" "^2.0.1" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-retry" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/client-sso@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.592.0.tgz#90462e744998990079c28a083553090af9ac2902" - integrity sha512-w+SuW47jQqvOC7fonyjFjsOh3yjqJ+VpWdVrmrl0E/KryBE7ho/Wn991Buf/EiHHeJikoWgHsAIPkBH29+ntdA== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.592.0" - "@aws-sdk/middleware-host-header" "3.577.0" - "@aws-sdk/middleware-logger" "3.577.0" - "@aws-sdk/middleware-recursion-detection" "3.577.0" - "@aws-sdk/middleware-user-agent" "3.587.0" - "@aws-sdk/region-config-resolver" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-endpoints" "3.587.0" - "@aws-sdk/util-user-agent-browser" "3.577.0" - "@aws-sdk/util-user-agent-node" "3.587.0" - "@smithy/config-resolver" "^3.0.1" - "@smithy/core" "^2.2.0" - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/hash-node" "^3.0.0" - "@smithy/invalid-dependency" "^3.0.0" - "@smithy/middleware-content-length" "^3.0.0" - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-body-length-browser" "^3.0.0" - "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.3" - "@smithy/util-defaults-mode-node" "^3.0.3" - "@smithy/util-endpoints" "^2.0.1" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-retry" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/client-sts@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.592.0.tgz#8a24080785355ced48ed5b49ab23d1eaf9f70f47" - integrity sha512-KUrOdszZfcrlpKr4dpdkGibZ/qq3Lnfu1rjv1U+V1QJQ9OuMo9J3sDWpWV9tigNqY0aGllarWH5cJbz9868W/w== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sso-oidc" "3.592.0" - "@aws-sdk/core" "3.592.0" - "@aws-sdk/credential-provider-node" "3.592.0" - "@aws-sdk/middleware-host-header" "3.577.0" - "@aws-sdk/middleware-logger" "3.577.0" - "@aws-sdk/middleware-recursion-detection" "3.577.0" - "@aws-sdk/middleware-user-agent" "3.587.0" - "@aws-sdk/region-config-resolver" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-endpoints" "3.587.0" - "@aws-sdk/util-user-agent-browser" "3.577.0" - "@aws-sdk/util-user-agent-node" "3.587.0" - "@smithy/config-resolver" "^3.0.1" - "@smithy/core" "^2.2.0" - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/hash-node" "^3.0.0" - "@smithy/invalid-dependency" "^3.0.0" - "@smithy/middleware-content-length" "^3.0.0" - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-body-length-browser" "^3.0.0" - "@smithy/util-body-length-node" "^3.0.0" - "@smithy/util-defaults-mode-browser" "^3.0.3" - "@smithy/util-defaults-mode-node" "^3.0.3" - "@smithy/util-endpoints" "^2.0.1" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-retry" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/core@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.592.0.tgz#d903a3993f8ba6836480314c2a8af8b7857bb943" - integrity sha512-gLPMXR/HXDP+9gXAt58t7gaMTvRts9i6Q7NMISpkGF54wehskl5WGrbdtHJFylrlJ5BQo3XVY6i661o+EuR1wg== - dependencies: - "@smithy/core" "^2.2.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/signature-v4" "^3.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - fast-xml-parser "4.2.5" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-env@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.587.0.tgz#40435be331773e4b1b665a1f4963518d4647505c" - integrity sha512-Hyg/5KFECIk2k5o8wnVEiniV86yVkhn5kzITUydmNGCkXdBFHMHRx6hleQ1bqwJHbBskyu8nbYamzcwymmGwmw== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-http@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.587.0.tgz#dc23c6d6708bc67baea54bfab0f256c5fe4df023" - integrity sha512-Su1SRWVRCuR1e32oxX3C1V4c5hpPN20WYcRfdcr2wXwHqSvys5DrnmuCC+JoEnS/zt3adUJhPliTqpfKgSdMrA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-stream" "^3.0.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-ini@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.592.0.tgz#02b85eaca21fe54d4d285009b64a8add032a042b" - integrity sha512-3kG6ngCIOPbLJZZ3RV+NsU7HVK6vX1+1DrPJKj9fVlPYn7IXsk8NAaUT5885yC7+jKizjv0cWLrLKvAJV5gfUA== - dependencies: - "@aws-sdk/credential-provider-env" "3.587.0" - "@aws-sdk/credential-provider-http" "3.587.0" - "@aws-sdk/credential-provider-process" "3.587.0" - "@aws-sdk/credential-provider-sso" "3.592.0" - "@aws-sdk/credential-provider-web-identity" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@smithy/credential-provider-imds" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-node@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.592.0.tgz#b8339b1bfdea39b17e5da1a502b60f0fe3dde126" - integrity sha512-BguihBGTrEjVBQ07hm+ZsO29eNJaxwBwUZMftgGAm2XcMIEClNPfm5hydxu2BmA4ouIJQJ6nG8pNYghEumM+Aw== - dependencies: - "@aws-sdk/credential-provider-env" "3.587.0" - "@aws-sdk/credential-provider-http" "3.587.0" - "@aws-sdk/credential-provider-ini" "3.592.0" - "@aws-sdk/credential-provider-process" "3.587.0" - "@aws-sdk/credential-provider-sso" "3.592.0" - "@aws-sdk/credential-provider-web-identity" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@smithy/credential-provider-imds" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-process@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.587.0.tgz#1e5cc562a68438a77f464adc0493b02e04dd3ea1" - integrity sha512-V4xT3iCqkF8uL6QC4gqBJg/2asd/damswP1h9HCfqTllmPWzImS+8WD3VjgTLw5b0KbTy+ZdUhKc0wDnyzkzxg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-sso@3.592.0": - version "3.592.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.592.0.tgz#340649b4f5b4fbcb816f248089979d7d38ce96d3" - integrity sha512-fYFzAdDHKHvhtufPPtrLdSv8lO6GuW3em6n3erM5uFdpGytNpjXvr3XGokIsuXcNkETAY/Xihg+G9ksNE8WJxQ== - dependencies: - "@aws-sdk/client-sso" "3.592.0" - "@aws-sdk/token-providers" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-web-identity@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.587.0.tgz#daa41e3cc9309594327056e431b8065145c5297a" - integrity sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-bucket-endpoint@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.587.0.tgz#def5edbadf53bdfe765aa9acf12f119eb208b22f" - integrity sha512-HkFXLPl8pr6BH/Q0JpOESqEKL0ZK3sk7aSZ1S6GE4RXET7H5R94THULXqQFZzD48gZcyFooO/yNKZTqrZFaWKg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-arn-parser" "3.568.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-config-provider" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-expect-continue@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.577.0.tgz#47add47f17873a6044cb140f17033cb6e1d02744" - integrity sha512-6dPp8Tv4F0of4un5IAyG6q++GrRrNQQ4P2NAMB1W0VO4JoEu1C8GievbbDLi88TFIFmtKpnHB0ODCzwnoe8JsA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-flexible-checksums@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.587.0.tgz#74afe7bd3088adf05b2ed843ad41386e793e0397" - integrity sha512-URMwp/budDvKhIvZ4a6zIBfFTun/iDlPWXqsGKYjEtHt8jz27OSjCZtDtIeqW4WTBdKL8KZgQcl+DdaE5M1qiQ== - dependencies: - "@aws-crypto/crc32" "3.0.0" - "@aws-crypto/crc32c" "3.0.0" - "@aws-sdk/types" "3.577.0" - "@smithy/is-array-buffer" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-host-header@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.577.0.tgz#a3fc626d409ec850296740478c64ef5806d8b878" - integrity sha512-9ca5MJz455CODIVXs0/sWmJm7t3QO4EUa1zf8pE8grLpzf0J94bz/skDWm37Pli13T3WaAQBHCTiH2gUVfCsWg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-location-constraint@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.577.0.tgz#9372441a4ac5747b3176ac6378d92866a51de815" - integrity sha512-DKPTD2D2s+t2QUo/IXYtVa/6Un8GZ+phSTBkyBNx2kfZz4Kwavhl/JJzSqTV3GfCXkVdFu7CrjoX7BZ6qWeTUA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-logger@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.577.0.tgz#6da3b13ae284fb3930961f0fc8e20b1f6cf8be30" - integrity sha512-aPFGpGjTZcJYk+24bg7jT4XdIp42mFXSuPt49lw5KygefLyJM/sB0bKKqPYYivW0rcuZ9brQ58eZUNthrzYAvg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-recursion-detection@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.577.0.tgz#fff76abc6d4521636f9e654ce5bf2c4c79249417" - integrity sha512-pn3ZVEd2iobKJlR3H+bDilHjgRnNrQ6HMmK9ZzZw89Ckn3Dcbv48xOv4RJvu0aU8SDLl/SNCxppKjeLDTPGBNA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-sdk-s3@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.587.0.tgz#720620ccdc2eb6ecab0f3a6adbd28fc27fdc70ce" - integrity sha512-vtXTGEiw1E9Fax4LmcU2Z208gbrC8ShrdsSLmGcRPpu5NPOGBFBSDG5sy5EDNClrFxIl/Le8coQnD0EDBtx+uQ== - dependencies: - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-arn-parser" "3.568.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/signature-v4" "^3.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-config-provider" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-signing@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.587.0.tgz#593c418c09c51c0bc55f23a7a6b0fda8502a8103" - integrity sha512-tiZaTDj4RvhXGRAlncFn7CSEfL3iNPO67WSaxAq+Ls5j1VgczPhu5262cWONNoMgth3nXR1hhLC4ITSl/a6AzA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/signature-v4" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-ssec@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.577.0.tgz#9fcd74e8bf2c277b4349c537cbeceba279166f32" - integrity sha512-i2BPJR+rp8xmRVIGc0h1kDRFcM2J9GnClqqpc+NLSjmYadlcg4mPklisz9HzwFVcRPJ5XcGf3U4BYs5G8+iTyg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/middleware-user-agent@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.587.0.tgz#2a68900cfb29afbae2952d901de4fcb91850bd3d" - integrity sha512-SyDomN+IOrygLucziG7/nOHkjUXES5oH5T7p8AboO8oakMQJdnudNXiYWTicQWO52R51U6CR27rcMPTGeMedYA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@aws-sdk/util-endpoints" "3.587.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/region-config-resolver@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.587.0.tgz#ad1c15494f44dfc4c7a7bce389f8b128dace923f" - integrity sha512-93I7IPZtulZQoRK+O20IJ4a1syWwYPzoO2gc3v+/GNZflZPV3QJXuVbIm0pxBsu0n/mzKGUKqSOLPIaN098HcQ== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/signature-v4-multi-region@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.587.0.tgz#f8bb6de9135f3fafab04b9220409cd0d0549b7d8" - integrity sha512-TR9+ZSjdXvXUz54ayHcCihhcvxI9W7102J1OK6MrLgBlPE7uRhAx42BR9L5lLJ86Xj3LuqPWf//o9d/zR9WVIg== - dependencies: - "@aws-sdk/middleware-sdk-s3" "3.587.0" - "@aws-sdk/types" "3.577.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/signature-v4" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/token-providers@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.587.0.tgz#f9fd2ddfc554c1370f8d0f467c76a4c8cb904ae6" - integrity sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/types@3.577.0", "@aws-sdk/types@^3.222.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.577.0.tgz#7700784d368ce386745f8c340d9d68cea4716f90" - integrity sha512-FT2JZES3wBKN/alfmhlo+3ZOq/XJ0C7QOZcDNrpKjB0kqYoKjhVKZ/Hx6ArR0czkKfHzBBEs6y40ebIHx2nSmA== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/util-arn-parser@3.568.0": - version "3.568.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.568.0.tgz#6a19a8c6bbaa520b6be1c278b2b8c17875b91527" - integrity sha512-XUKJWWo+KOB7fbnPP0+g/o5Ulku/X53t7i/h+sPHr5xxYTJJ9CYnbToo95mzxe7xWvkLrsNtJ8L+MnNn9INs2w== - dependencies: - tslib "^2.6.2" - -"@aws-sdk/util-endpoints@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.587.0.tgz#781e0822a95dba15f7ac8f22a6f6d7f0c8819818" - integrity sha512-8I1HG6Em8wQWqKcRW6m358mqebRVNpL8XrrEoT4In7xqkKkmYtHRNVYP6lcmiQh5pZ/c/FXu8dSchuFIWyEtqQ== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/types" "^3.0.0" - "@smithy/util-endpoints" "^2.0.1" - tslib "^2.6.2" - -"@aws-sdk/util-locate-window@^3.0.0": - version "3.568.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.568.0.tgz#2acc4b2236af0d7494f7e517401ba6b3c4af11ff" - integrity sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig== - dependencies: - tslib "^2.6.2" - -"@aws-sdk/util-user-agent-browser@3.577.0": - version "3.577.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.577.0.tgz#d4d2cdb3a2b3d1c8b35f239ee9f7b2c87bee66ea" - integrity sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/types" "^3.0.0" - bowser "^2.11.0" - tslib "^2.6.2" - -"@aws-sdk/util-user-agent-node@3.587.0": - version "3.587.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.587.0.tgz#a6bf422f307a68e16a6c19ee5d731fcc32696fb9" - integrity sha512-Pnl+DUe/bvnbEEDHP3iVJrOtE3HbFJBPgsD6vJ+ml/+IYk1Eq49jEG+EHZdNTPz3SDG0kbp2+7u41MKYJHR/iQ== - dependencies: - "@aws-sdk/types" "3.577.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@aws-sdk/util-utf8-browser@^3.0.0": - version "3.259.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz#3275a6f5eb334f96ca76635b961d3c50259fd9ff" - integrity sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw== - dependencies: - tslib "^2.3.1" - -"@aws-sdk/xml-builder@3.575.0": - version "3.575.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.575.0.tgz#233b2aae422dd789a078073032da1bc60317aa1d" - integrity sha512-cWgAwmbFYNCFzPwxL705+lWps0F3ZvOckufd2KKoEZUmtpVw9/txUXNrPySUXSmRTSRhoatIMABNfStWR043bQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" @@ -885,7 +276,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/runtime@^7.24.6": +"@babel/runtime@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== @@ -965,7 +356,7 @@ near-api-js "^0.44.2" near-seed-phrase "^0.2.0" -"@confio/ics23@^0.6.3", "@confio/ics23@^0.6.8": +"@confio/ics23@^0.6.8": version "0.6.8" resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== @@ -973,16 +364,6 @@ "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1" - integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - "@cosmjs/amino@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.32.3.tgz#b81d4a2b8d61568431a1afcd871e1344a19d97ff" @@ -993,22 +374,6 @@ "@cosmjs/math" "^0.32.3" "@cosmjs/utils" "^0.32.3" -"@cosmjs/crypto@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.27.1.tgz#271c853089a3baf3acd6cf0b2122fd49f8815743" - integrity sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg== - dependencies: - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - bip39 "^3.0.2" - bn.js "^5.2.0" - elliptic "^6.5.3" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - ripemd160 "^2.0.2" - sha.js "^2.4.11" - "@cosmjs/crypto@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.3.tgz#787f8e659709678722068ee1ddf379f65051a25e" @@ -1022,15 +387,6 @@ elliptic "^6.5.4" libsodium-wrappers-sumo "^0.7.11" -"@cosmjs/encoding@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.27.1.tgz#3cd5bc0af743485eb2578cdb08cfa84c86d610e1" - integrity sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw== - dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" - "@cosmjs/encoding@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" @@ -1040,14 +396,6 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/json-rpc@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.27.1.tgz#ce0a6157f57a76e964587ceb9027884bc4ffe701" - integrity sha512-AKvsllGr6oN5kiroatIeIIxRdCFetLd8LCWV04RRNkoJ2OefDNb46VlWEQ+gI3ay5GgfVjB9qAcfvbJyrcEv+A== - dependencies: - "@cosmjs/stream" "0.27.1" - xstream "^11.14.0" - "@cosmjs/json-rpc@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz#ccffdd7f722cecfab6daaa7463843b92f5d25355" @@ -1056,13 +404,6 @@ "@cosmjs/stream" "^0.32.3" xstream "^11.14.0" -"@cosmjs/math@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.27.1.tgz#be78857b008ffc6b1ed6fecaa1c4cd5bc38c07d7" - integrity sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ== - dependencies: - bn.js "^5.2.0" - "@cosmjs/math@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" @@ -1070,18 +411,6 @@ dependencies: bn.js "^5.2.0" -"@cosmjs/proto-signing@0.27.1", "@cosmjs/proto-signing@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.27.1.tgz#1f8f662550aab012d957d02f43c77d914c2ae0db" - integrity sha512-t7/VvQivMdM1KgKWai/9ZCEcGFXJtr9Xo0hGcPLTn9wGkh9tmOsUXINYVMsf5D/jWIm1MDPbGCYfdb9V1Od4hw== - dependencies: - "@cosmjs/amino" "0.27.1" - "@cosmjs/crypto" "0.27.1" - "@cosmjs/math" "0.27.1" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.10.2" - "@cosmjs/proto-signing@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz#91ae149b747d18666a6ccc924165b306431f7c0d" @@ -1094,16 +423,6 @@ "@cosmjs/utils" "^0.32.3" cosmjs-types "^0.9.0" -"@cosmjs/socket@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.27.1.tgz#c7a3eceb15efb9874a048c3238d1f0b185185742" - integrity sha512-bKCRsaSXh/TA7efxVCogzS2K3cgC40Ge2itFYmTfgpOE+++52FchCblVCsCYwMNDLS497RP4P0GbeC1VEBToMA== - dependencies: - "@cosmjs/stream" "0.27.1" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" - "@cosmjs/socket@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.3.tgz#fa5c36bf58e87c0ad865d6318ecb0f8d9c89a28a" @@ -1114,24 +433,6 @@ ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.27.1.tgz#0abc1f91e5cc421940c920f16a22c6c93cc774d5" - integrity sha512-7hAIyNd6NbhQA51w9mPVyMYw515Hpj0o7SXMaqbc7nxs3hkJNMONQ9RakyMm0U/WeCd6ObcSaPEcdkqbfkc+mg== - dependencies: - "@confio/ics23" "^0.6.3" - "@cosmjs/amino" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/proto-signing" "0.27.1" - "@cosmjs/stream" "0.27.1" - "@cosmjs/tendermint-rpc" "0.27.1" - "@cosmjs/utils" "0.27.1" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.10.2" - xstream "^11.14.0" - "@cosmjs/stargate@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.3.tgz#5a92b222ada960ebecea72cc9f366370763f4b66" @@ -1148,13 +449,6 @@ cosmjs-types "^0.9.0" xstream "^11.14.0" -"@cosmjs/stream@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.27.1.tgz#02f40856c0840e34ef11054da9e84e8196d37593" - integrity sha512-cEyEAVfXEyuUpKYBeEJrOj8Dp/c+M6a0oGJHxvDdhP5gSsaeCPgQXrh7qZFBiUfu3Brmqd+e/bKZm+068l9bBw== - dependencies: - xstream "^11.14.0" - "@cosmjs/stream@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.3.tgz#7522579aaf18025d322c2f33d6fb7573220395d6" @@ -1162,21 +456,6 @@ dependencies: xstream "^11.14.0" -"@cosmjs/tendermint-rpc@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.27.1.tgz#66f4a04d1b9ac5849ea2981c2e67bc229996a85a" - integrity sha512-eN1NyBYIiFutDNleEaTfvIJ3S3KA1gP45UHaLhSETm8KyiaUqg/b0Mj6sp7J3h4BhgwLq2zn/TDtIn0k5luedg== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/json-rpc" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/socket" "0.27.1" - "@cosmjs/stream" "0.27.1" - axios "^0.21.2" - readonly-date "^1.0.0" - xstream "^11.14.0" - "@cosmjs/tendermint-rpc@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.3.tgz#f0406b9f0233e588fb924dca8c614972f9038aff" @@ -1193,11 +472,6 @@ readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/utils@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2" - integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg== - "@cosmjs/utils@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.3.tgz#5dcaee6dd7cc846cdc073e9a7a7f63242f5f7e31" @@ -2076,37 +1350,37 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@keplr-wallet/common@0.12.101": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.101.tgz#34cc93ac3b3622da5242a44956015d14c1f488a0" - integrity sha512-aRiusWbKmQ/Ct00HsjxH+BbKxaFBoE/SsJ4FlRDx0AyGo4P3a+eYPiOxqYZneCALfnNhQdCG9/EJZ4J4kxkJmg== +"@keplr-wallet/common@0.12.102": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.102.tgz#e983e151adbe7aa1cbe43461904b9d0f828fe179" + integrity sha512-D0r3FXF9ybORzZiTPd8rz/CiGcHpvlzhs0oPbPUgFlSsgpUgABGN9OL4DHHs4cOsmjypQnQ5BJss9CD0GjCXtw== dependencies: - "@keplr-wallet/crypto" "0.12.101" - "@keplr-wallet/types" "0.12.101" + "@keplr-wallet/crypto" "0.12.102" + "@keplr-wallet/types" "0.12.102" buffer "^6.0.3" delay "^4.4.0" "@keplr-wallet/cosmos@^0.12.96": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.101.tgz#eb6caa16a0ec6cc0c57900dc5f3ed016cd041254" - integrity sha512-XrNevDPY9rEpDRq/0L2U7WdUvrhKhmb9f34peV8Jw78P/fTzUz5oGaizqotmrUABDQqe1tM/71OWl6AtwFguJQ== + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.102.tgz#305f11c68b9acb5f5a633a43ddcc6d5df23415fd" + integrity sha512-LvioyNgViRHyo2hyQhVHn5JynL92TpF9KMrWhFdKV7BVobd1NP5xucen98ZnDZRivzfpvxv/Ns1cFEDfyDtGjQ== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.12.101" - "@keplr-wallet/crypto" "0.12.101" - "@keplr-wallet/proto-types" "0.12.101" - "@keplr-wallet/simple-fetch" "0.12.101" - "@keplr-wallet/types" "0.12.101" - "@keplr-wallet/unit" "0.12.101" + "@keplr-wallet/common" "0.12.102" + "@keplr-wallet/crypto" "0.12.102" + "@keplr-wallet/proto-types" "0.12.102" + "@keplr-wallet/simple-fetch" "0.12.102" + "@keplr-wallet/types" "0.12.102" + "@keplr-wallet/unit" "0.12.102" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.12.101": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.101.tgz#9249126f505ded09cec7b062b32d257557033e9c" - integrity sha512-rtGqIY80C1El5AxJgOckxnyGRzXEpOozfB2h2hCV0QjK2wScSwk9e1mQgrWQRgRrCtdKLovbPzDw9YCUFjzH+Q== +"@keplr-wallet/crypto@0.12.102": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.102.tgz#e265987bd0cf6fd47d8fdba15ecca2e5cd974e78" + integrity sha512-gXYwu21nbrvjyYSVYG2eIZ1Jb3wTMEskqcIrY2mTwEDh1gFN0bEGTCMlhCsAvlMMhmh6dcl6GBj7mVkfRYMcEg== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -2117,32 +1391,32 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.12.101": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.101.tgz#fd2bf5691e422ca9e98e0ce11c6684c4b626022b" - integrity sha512-+nsJIDCjBGrMPh/9lYoqrEBkkJCJGVU1I9HNuxOVzkLz8ozKgvvvTjHFmH5RHM9yfb0lRB5VAI8GUazpiJGagg== +"@keplr-wallet/proto-types@0.12.102": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.102.tgz#34d7fc6271d15e72db4cc5517c8cee6460ecbacc" + integrity sha512-V+PMw5WBYX1DsVXlwgakuQZwSyTF3bTw5Fri9/67CNUfJ4HlfPYx+kjYl9twoJWXC3YS7iaTaJrax1IcoL27Ow== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/simple-fetch@0.12.101": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.101.tgz#3861d4780cf3496f55e71a99eccf00ee30158f46" - integrity sha512-7Rc8o6WyH2C1WPeQaj292kA2/GUjDQbT7fOw6cLKj/Izv3+5VN4CXiS2zFPiZQ1I5jrh843q7odGAiVxiV38oA== +"@keplr-wallet/simple-fetch@0.12.102": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.102.tgz#720b75916555eefb9aeab9c49b7c1815355b6e11" + integrity sha512-dUf+vjyxH9+seHCTZa4tP4VSUnPupp0+PbhHRv9iPIXszI74MtXdLiOr2ctzluXlpXFfs19MefI/JTw3HeGxkA== -"@keplr-wallet/types@0.12.101", "@keplr-wallet/types@^0.12.44": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.101.tgz#99ab423b9f285b5cb645e81fd595a5e1a3c063dd" - integrity sha512-gQbmEursW0FP/1RTebWMo2mYLulgoDz3ynpGu3T46wg3qHuPSgooKFNvT5xsLiVHPJlhHo+IKC/9pjKimllM/Q== +"@keplr-wallet/types@0.12.102", "@keplr-wallet/types@^0.12.44": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.102.tgz#aa79d327232117790e7a43aa9e558733ec3a545a" + integrity sha512-q7qD5SmyU06zqi1tGIdiVJNBLFY20aGHY669i2i5ZnaF5XzcSBJiwazFY3GRPttXerkJjfOIk0IaxwO9Oz3Hbw== dependencies: long "^4.0.0" -"@keplr-wallet/unit@0.12.101": - version "0.12.101" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.101.tgz#3d1a447b10bcdd752377556a55201424dbde55ba" - integrity sha512-2T6HkJP6XbBCYktaN+hYGroDl9K3lUX+3A4HVwSlpCAIT6Jnj5tMo4uSHub6Yk3f5bstp7ZR0Wj6wSPkx8yzvw== +"@keplr-wallet/unit@0.12.102": + version "0.12.102" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.102.tgz#161c5be3f3e919bf12578eb51f63701e39a96d55" + integrity sha512-PI6hapu8qLiZzjlQM4opGsZm3NTl1qjy9zQ9dI20kRSLhYEuoWVNrCDDUp8ydeRBrykY+umQNXe9kYsrGlLl1w== dependencies: - "@keplr-wallet/types" "0.12.101" + "@keplr-wallet/types" "0.12.102" big-integer "^1.6.48" utility-types "^3.10.0" @@ -2690,470 +1964,6 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@smithy/abort-controller@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.0.0.tgz#5815f5d4618e14bf8d031bb98a99adabbb831168" - integrity sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/chunked-blob-reader-native@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.0.tgz#f1104b30030f76f9aadcbd3cdca4377bd1ba2695" - integrity sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg== - dependencies: - "@smithy/util-base64" "^3.0.0" - tslib "^2.6.2" - -"@smithy/chunked-blob-reader@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-3.0.0.tgz#e5d3b04e9b273ba8b7ede47461e2aa96c8aa49e0" - integrity sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA== - dependencies: - tslib "^2.6.2" - -"@smithy/config-resolver@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.1.tgz#4e0917e5a02139ef978a1ed470543ab41dd3626b" - integrity sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/core@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.2.0.tgz#f1b0837b7afa5507a9693c1e93da6ca9808022c1" - integrity sha512-ygLZSSKgt9bR8HAxR9mK+U5obvAJBr6zlQuhN5soYWx/amjDoQN4dTkydTypgKe6rIbUjTILyLU+W5XFwXr4kg== - dependencies: - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/credential-provider-imds@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.0.tgz#7e58b78aa8de13dd04e94829241cd1cbde59b6d3" - integrity sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-codec@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.0.0.tgz#81d30391220f73d41f432f65384b606d67673e46" - integrity sha512-PUtyEA0Oik50SaEFCZ0WPVtF9tz/teze2fDptW6WRXl+RrEenH8UbEjudOz8iakiMl3lE3lCVqYf2Y+znL8QFQ== - dependencies: - "@aws-crypto/crc32" "3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.0.tgz#94721b01f01d8b7eb1db5814275a774ed4d38190" - integrity sha512-NB7AFiPN4NxP/YCAnrvYR18z2/ZsiHiF7VtG30gshO9GbFrIb1rC8ep4NGpJSWrz6P64uhPXeo4M0UsCLnZKqw== - dependencies: - "@smithy/eventstream-serde-universal" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-config-resolver@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.0.tgz#420447d1d284d41f7f070a5d92fc3686cc922581" - integrity sha512-RUQG3vQ3LX7peqqHAbmayhgrF5aTilPnazinaSGF1P0+tgM3vvIRWPHmlLIz2qFqB9LqFIxditxc8O2Z6psrRw== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.0.tgz#6519523fbb429307be29b151b8ba35bcca2b6e64" - integrity sha512-baRPdMBDMBExZXIUAoPGm/hntixjt/VFpU6+VmCyiYJYzRHRxoaI1MN+5XE+hIS8AJ2GCHLMFEIOLzq9xx1EgQ== - dependencies: - "@smithy/eventstream-serde-universal" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-universal@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.0.tgz#cb8441a73fbde4cbaa68e4a21236f658d914a073" - integrity sha512-HNFfShmotWGeAoW4ujP8meV9BZavcpmerDbPIjkJbxKbN8RsUcpRQ/2OyIxWNxXNH2GWCAxuSB7ynmIGJlQ3Dw== - dependencies: - "@smithy/eventstream-codec" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/fetch-http-handler@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.1.tgz#dacfdf6e70d639fac4a0f57c42ce13f0ed14ff22" - integrity sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg== - dependencies: - "@smithy/protocol-http" "^4.0.0" - "@smithy/querystring-builder" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-blob-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.0.0.tgz#63ef4c98f74c53cbcad8ec73387c68ec4708f55b" - integrity sha512-/Wbpdg+bwJvW7lxR/zpWAc1/x/YkcqguuF2bAzkJrvXriZu1vm8r+PUdE4syiVwQg7PPR2dXpi3CLBb9qRDaVQ== - dependencies: - "@smithy/chunked-blob-reader" "^3.0.0" - "@smithy/chunked-blob-reader-native" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.0.tgz#f44b5fff193e241c1cdcc957b296b60f186f0e59" - integrity sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-stream-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.0.0.tgz#b395a8a0d2427e4a8effc56135b37cb299339f8f" - integrity sha512-J0i7de+EgXDEGITD4fxzmMX8CyCNETTIRXlxjMiNUvvu76Xn3GJ31wQR85ynlPk2wI1lqoknAFJaD1fiNDlbIA== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/invalid-dependency@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.0.tgz#21cb6b5203ee15321bfcc751f21f7a19536d4ae8" - integrity sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/is-array-buffer@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz#9a95c2d46b8768946a9eec7f935feaddcffa5e7a" - integrity sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ== - dependencies: - tslib "^2.6.2" - -"@smithy/md5-js@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.0.tgz#6a2d1c496f4d4476a0fc84f7724d79b234c3eb13" - integrity sha512-Tm0vrrVzjlD+6RCQTx7D3Ls58S3FUH1ZCtU1MIh/qQmaOo1H9lMN2as6CikcEwgattnA9SURSdoJJ27xMcEfMA== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-content-length@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.0.tgz#084b3d22248967885d496eb0b105d9090e8ababd" - integrity sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg== - dependencies: - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-endpoint@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.1.tgz#49e8defb8e892e70417bd05f1faaf207070f32c7" - integrity sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ== - dependencies: - "@smithy/middleware-serde" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-retry@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.3.tgz#8e9af1c9db4bc8904d73126225211b42b562f961" - integrity sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/service-error-classification" "^3.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-retry" "^3.0.0" - tslib "^2.6.2" - uuid "^9.0.1" - -"@smithy/middleware-serde@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.0.tgz#786da6a6bc0e5e51d669dac834c19965245dd302" - integrity sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-stack@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.0.tgz#00f112bae7af5fc3bd37d4fab95ebce0f17a7774" - integrity sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/node-config-provider@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.0.tgz#e962987c4e2e2b8b50397de5f4745eb21ee7bdbb" - integrity sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q== - dependencies: - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/node-http-handler@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.0.0.tgz#e771ea95d03e259f04b7b37e8aece8a4fffc8cdc" - integrity sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ== - dependencies: - "@smithy/abort-controller" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/querystring-builder" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/property-provider@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.0.tgz#b78d4964a1016b90331cc0c770b472160361fde7" - integrity sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/protocol-http@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.0.0.tgz#04df3b5674b540323f678e7c4113e8abd8b26432" - integrity sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/querystring-builder@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.0.tgz#48a9aa7b700e8409368c21bc0adf7564e001daea" - integrity sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-uri-escape" "^3.0.0" - tslib "^2.6.2" - -"@smithy/querystring-parser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.0.tgz#fa1ed0cee408cd4d622070fa874bc50ac1a379b7" - integrity sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/service-error-classification@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.0.tgz#06a45cb91b15b8b0d5f3b1df2b3743d2ca42f5c4" - integrity sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA== - dependencies: - "@smithy/types" "^3.0.0" - -"@smithy/shared-ini-file-loader@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.0.tgz#a4cb9304c3be1c232ec661132ca88d177ac7a5b1" - integrity sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/signature-v4@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-3.0.0.tgz#f536d0abebfeeca8e9aab846a4042658ca07d3b7" - integrity sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA== - dependencies: - "@smithy/is-array-buffer" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-uri-escape" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/smithy-client@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.1.1.tgz#9aa770edd9b6277dc4124c924c617a436cdb670e" - integrity sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA== - dependencies: - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-stream" "^3.0.1" - tslib "^2.6.2" - -"@smithy/types@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.0.0.tgz#00231052945159c64ffd8b91e8909d8d3006cb7e" - integrity sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw== - dependencies: - tslib "^2.6.2" - -"@smithy/url-parser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.0.tgz#5fdc77cd22051c1aac6531be0315bfcba0fa705d" - integrity sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw== - dependencies: - "@smithy/querystring-parser" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-base64@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-3.0.0.tgz#f7a9a82adf34e27a72d0719395713edf0e493017" - integrity sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ== - dependencies: - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-body-length-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz#86ec2f6256310b4845a2f064e2f571c1ca164ded" - integrity sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-body-length-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz#99a291bae40d8932166907fe981d6a1f54298a6d" - integrity sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA== - dependencies: - tslib "^2.6.2" - -"@smithy/util-buffer-from@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz#559fc1c86138a89b2edaefc1e6677780c24594e3" - integrity sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA== - dependencies: - "@smithy/is-array-buffer" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-config-provider@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz#62c6b73b22a430e84888a8f8da4b6029dd5b8efe" - integrity sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-defaults-mode-browser@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.3.tgz#6fff11a6c407ca1d5a1dc009768bd09271b199c2" - integrity sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA== - dependencies: - "@smithy/property-provider" "^3.1.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - bowser "^2.11.0" - tslib "^2.6.2" - -"@smithy/util-defaults-mode-node@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.3.tgz#0b52ba9cb1138ee9076feba9a733462b2e2e6093" - integrity sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA== - dependencies: - "@smithy/config-resolver" "^3.0.1" - "@smithy/credential-provider-imds" "^3.1.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-endpoints@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.0.1.tgz#4ea8069bfbf3ebbcbe106b5156ff59a7a627b7dd" - integrity sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-hex-encoding@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz#32938b33d5bf2a15796cd3f178a55b4155c535e6" - integrity sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-middleware@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.0.tgz#64d775628b99a495ca83ce982f5c83aa45f1e894" - integrity sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-retry@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.0.tgz#8a0c47496aab74e1dfde4905d462ad636a8824bb" - integrity sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g== - dependencies: - "@smithy/service-error-classification" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-stream@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.0.1.tgz#3cf527bcd3fec82c231c38d47dd75f3364747edb" - integrity sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA== - dependencies: - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-uri-escape@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" - integrity sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg== - dependencies: - tslib "^2.6.2" - -"@smithy/util-utf8@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-3.0.0.tgz#1a6a823d47cbec1fd6933e5fc87df975286d9d6a" - integrity sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA== - dependencies: - "@smithy/util-buffer-from" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-waiter@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.0.0.tgz#26bcc5bbbf1de9360a7aeb3b3919926fc6afa2bc" - integrity sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw== - dependencies: - "@smithy/abort-controller" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - "@solana/buffer-layout@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" @@ -3180,11 +1990,11 @@ "@wallet-standard/features" "^1.0.3" "@solana/web3.js@^1.36.0": - version "1.92.3" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.92.3.tgz#8880b446c0ec30fc552e1d501bd8db2780a1f70c" - integrity sha512-NVBWvb9zdJIAx6X+caXaIICCEQfQaQ8ygykCjJW4u2z/sIKcvPj3ZIIllnx0MWMc3IxGq15ozGYDOQIMbwUcHw== + version "1.93.0" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.93.0.tgz#4b6975020993cec2f6626e4f2bf559ca042df8db" + integrity sha512-suf4VYwWxERz4tKoPpXCRHFRNst7jmcFUaD65kII+zg9urpy5PeeqgLV6G5eWGzcVzA9tZeXOju1A1Y+0ojEVw== dependencies: - "@babel/runtime" "^7.24.6" + "@babel/runtime" "^7.24.7" "@noble/curves" "^1.4.0" "@noble/hashes" "^1.4.0" "@solana/buffer-layout" "^4.0.1" @@ -3197,7 +2007,7 @@ fast-stable-stringify "^1.0.0" jayson "^4.1.0" node-fetch "^2.7.0" - rpc-websockets "^8.0.1" + rpc-websockets "^9.0.0" superstruct "^1.0.4" "@supercharge/promise-pool@^2.1.0": @@ -3205,6 +2015,13 @@ resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-2.4.0.tgz#6050eea8c2d7f92ddd4ddc582ee328b15c034ad3" integrity sha512-O9CMipBlq5OObdt1uKJGIzm9cdjpPWfj+a+Zw9EgWKxaMNHKC7EU7X9taj3H0EGQNLOSq2jAcOa3EzxlfHsD6w== +"@swc/helpers@^0.5.11": + version "0.5.11" + resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.11.tgz#5bab8c660a6e23c13b2d23fcd1ee44a2db1b0cb7" + integrity sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A== + dependencies: + tslib "^2.4.0" + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" @@ -3283,13 +2100,6 @@ dependencies: "@types/node" "*" -"@types/cli-progress@^3.9.2": - version "3.11.5" - resolved "https://registry.yarnpkg.com/@types/cli-progress/-/cli-progress-3.11.5.tgz#9518c745e78557efda057e3f96a5990c717268c3" - integrity sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g== - dependencies: - "@types/node" "*" - "@types/clone@^2.1.1": version "2.1.4" resolved "https://registry.yarnpkg.com/@types/clone/-/clone-2.1.4.tgz#9680f886c935dcf596273f1218abb71efb01531a" @@ -3443,11 +2253,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== -"@types/node@^13.7.0": - version "13.13.52" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" - integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== - "@types/node@^16.9.2": version "16.18.98" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.98.tgz#3554bb7911ea2bbc3a528be0776d6ab16b7674d2" @@ -3508,6 +2313,11 @@ resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304" integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== +"@types/uuid@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" + integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== + "@types/uuid@^9.0.2": version "9.0.8" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" @@ -3520,6 +2330,13 @@ dependencies: "@types/node" "*" +"@types/ws@^8.2.2": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== + dependencies: + "@types/node" "*" + "@types/yargs-parser@*": version "21.0.3" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" @@ -3681,33 +2498,22 @@ abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -abstract-level@^1.0.2, abstract-level@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/abstract-level/-/abstract-level-1.0.4.tgz#3ad8d684c51cc9cbc9cf9612a7100b716c414b57" - integrity sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg== - dependencies: - buffer "^6.0.3" - catering "^2.1.0" - is-buffer "^2.0.5" - level-supports "^4.0.0" - level-transcoder "^1.0.1" - module-error "^1.0.1" - queue-microtask "^1.2.3" - acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.3.2" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" - integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== + version "8.3.3" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.3.tgz#9caeac29eefaa0c41e3d4c65137de4d6f34df43e" + integrity sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw== + dependencies: + acorn "^8.11.0" -acorn@^8.4.1, acorn@^8.9.0: - version "8.11.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" - integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== +acorn@^8.11.0, acorn@^8.4.1, acorn@^8.9.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.0.tgz#1627bfa2e058148036133b8d9b51a700663c294c" + integrity sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw== add-stream@^1.0.0: version "1.0.0" @@ -3980,7 +2786,7 @@ at-least-node@^1.0.0: version "5.4.7" resolved "https://github.com/Irys-xyz/avsc#a730cc8018b79e114b6a3381bbb57760a24c6cef" -axios@^0.21.2, axios@^0.21.3: +axios@^0.21.3: version "0.21.4" resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== @@ -4204,7 +3010,7 @@ bip39@3.0.2: pbkdf2 "^3.0.9" randombytes "^2.0.1" -bip39@^3.0.2, bip39@^3.0.3: +bip39@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.1.0.tgz#c55a418deaf48826a6ceb34ac55b3ee1577e18a3" integrity sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A== @@ -4261,11 +3067,6 @@ borsh@^0.7.0: bs58 "^4.0.0" text-encoding-utf-8 "^1.0.2" -bowser@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" - integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -4293,16 +3094,6 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browser-level@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browser-level/-/browser-level-1.0.1.tgz#36e8c3183d0fe1c405239792faaab5f315871011" - integrity sha512-XECYKJ+Dbzw0lbydyQuJzwNXtOpbMSq737qxJN11sIRTErOMShvDpbzTlgju7orJKvx4epULolZAuJGLzCmWRQ== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.1" - module-error "^1.0.2" - run-parallel-limit "^1.1.0" - browserslist@^4.22.2: version "4.23.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" @@ -4502,20 +3293,15 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001629: - version "1.0.30001632" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz#964207b7cba5851701afb4c8afaf1448db3884b6" - integrity sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg== + version "1.0.30001634" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz#aa563c8e7aeaf552f7ead60371bc8d803425deaa" + integrity sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA== capability@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/capability/-/capability-0.2.5.tgz#51ad87353f1936ffd77f2f21c74633a4dea88801" integrity sha512-rsJZYVCgXd08sPqwmaIqjAd5SUTfonV0z/gDJ8D6cN8wQphky1kkAYEqQ+hmDxTw7UihvBfjUVUSY+DBEe44jg== -catering@^2.1.0, catering@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/catering/-/catering-2.1.1.tgz#66acba06ed5ee28d5286133982a927de9a04b510" - integrity sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w== - chalk@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" @@ -4594,17 +3380,6 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz#c485341ae8fd999ca4ee5af2d7a1c9ae01e0099c" integrity sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q== -classic-level@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/classic-level/-/classic-level-1.4.1.tgz#169ecf9f9c6200ad42a98c8576af449c1badbaee" - integrity sha512-qGx/KJl3bvtOHrGau2WklEZuXhS3zme+jf+fsu6Ej7W7IP/C49v7KNlWIsT1jZu0YnfzSIYDGcEWpCa1wKGWXQ== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.0" - module-error "^1.0.1" - napi-macros "^2.2.2" - node-gyp-build "^4.3.0" - clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" @@ -4896,14 +3671,6 @@ cosmiconfig@^8.2.0: parse-json "^5.2.0" path-type "^4.0.0" -cosmjs-types@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" - integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - cosmjs-types@^0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.9.0.tgz#c3bc482d28c7dfa25d1445093fdb2d9da1f6cfcc" @@ -5299,9 +4066,9 @@ ejs@^3.1.7: jake "^10.8.5" electron-to-chromium@^1.4.796: - version "1.4.799" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.799.tgz#271c56654ab4dc703037e47a5af4fc8945160611" - integrity sha512-3D3DwWkRTzrdEpntY0hMLYwj7SeBk1138CkPE8sBDSj3WzrzOiG2rHm3luw8jucpf+WiyLBCZyU9lMHyQI9M9Q== + version "1.4.802" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.802.tgz#49b397eadc95a49b1ac33eebee146b8e5a93773f" + integrity sha512-TnTMUATbgNdPXVSHsxvNVSG0uEd6cSZsANjm8c9HbvflZVVn1yTRcmVXYT1Ma95/ssB/Dcd30AHweH2TE+dNpA== elliptic@6.5.4: version "6.5.4" @@ -5611,6 +4378,11 @@ eventemitter3@^4.0.4, eventemitter3@^4.0.7: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + execa@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" @@ -5765,13 +4537,6 @@ fast-stable-stringify@^1.0.0: resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz#5c5543462b22aeeefd36d05b34e51c78cb86d313" integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== -fast-xml-parser@4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz#a6747a09296a6cb34f2ae634019bf1738f3b421f" - integrity sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g== - dependencies: - strnum "^1.0.5" - fastq@^1.6.0: version "1.17.1" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" @@ -6646,11 +5411,6 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-buffer@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== - is-ci@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" @@ -7888,28 +6648,6 @@ lerna@^7.1.1: yargs "16.2.0" yargs-parser "20.2.4" -level-supports@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-4.0.1.tgz#431546f9d81f10ff0fea0e74533a0e875c08c66a" - integrity sha512-PbXpve8rKeNcZ9C1mUicC9auIYFyGpkV9/i6g76tLgANwWhtG2v7I4xNBUlkn3lE2/dZF3Pi0ygYGtLc4RXXdA== - -level-transcoder@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/level-transcoder/-/level-transcoder-1.0.1.tgz#f8cef5990c4f1283d4c86d949e73631b0bc8ba9c" - integrity sha512-t7bFwFtsQeD8cl8NIoQ2iwxA0CL/9IFw7/9gAjOonH0PWTTiRfY7Hq+Ejbsxh86tXobDQ6IOiddjNYIfOBs06w== - dependencies: - buffer "^6.0.3" - module-error "^1.0.1" - -level@^8.0.0: - version "8.0.1" - resolved "https://registry.yarnpkg.com/level/-/level-8.0.1.tgz#737161db1bc317193aca4e7b6f436e7e1df64379" - integrity sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ== - dependencies: - abstract-level "^1.0.4" - browser-level "^1.0.1" - classic-level "^1.2.0" - leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -7957,18 +6695,6 @@ libsodium-wrappers-sumo@^0.7.11: dependencies: libsodium-sumo "^0.7.13" -libsodium-wrappers@^0.7.6: - version "0.7.13" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.13.tgz#83299e06ee1466057ba0e64e532777d2929b90d3" - integrity sha512-kasvDsEi/r1fMzKouIDv7B8I6vNmknXwGiYodErGuESoFTohGSKZplFtVxZqHaoQ217AynyIFgnOVRitpHs0Qw== - dependencies: - libsodium "^0.7.13" - -libsodium@^0.7.13: - version "0.7.13" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.13.tgz#230712ec0b7447c57b39489c48a4af01985fb393" - integrity sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw== - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -8430,11 +7156,6 @@ modify-values@^1.0.1: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -module-error@^1.0.1, module-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/module-error/-/module-error-1.0.2.tgz#8d1a48897ca883f47a45816d4fb3e3c6ba404d86" - integrity sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA== - ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" @@ -8489,11 +7210,6 @@ napi-build-utils@^1.0.1: resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== -napi-macros@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-2.2.2.tgz#817fef20c3e0e40a963fbf7b37d1600bd0201044" - integrity sha512-hmEVtAGYzVQpCKdbQea4skABsdXW4RUh5t5mJ2zzqowJS2OyXZTU1KhDVFhx+NlWZ4ap9mqR9TcDO3LTTttd+g== - natural-compare-lite@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" @@ -8551,9 +7267,9 @@ neo-async@^2.6.2: integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== node-abi@^3.3.0: - version "3.64.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.64.0.tgz#cb24a16eb939ba23d6a5a06a7835ab670e2f3027" - integrity sha512-lxowHVCx3o1zfKJthjWh6WI8Eyi4gdTaK9bUc3oTjYv9j8sp5gSiufkOvoYZ1LgmZKngWUkS5a8G1RSuLWtPgg== + version "3.65.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.65.0.tgz#ca92d559388e1e9cab1680a18c1a18757cdac9d3" + integrity sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA== dependencies: semver "^7.3.5" @@ -9426,7 +8142,7 @@ promzard@^1.0.0: dependencies: read "^3.0.1" -protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2: +protobufjs@^6.11.2, protobufjs@^6.8.8: version "6.11.4" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.4.tgz#29a412c38bf70d89e537b6d02d904a6f448173aa" integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw== @@ -9445,25 +8161,6 @@ protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2: "@types/node" ">=13.7.0" long "^4.0.0" -protobufjs@~6.10.2: - version "6.10.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" - integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" - "@types/node" "^13.7.0" - long "^4.0.0" - protocols@^2.0.0, protocols@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" @@ -9508,7 +8205,7 @@ query-string@^5.0.1: object-assign "^4.1.0" strict-uri-encode "^1.0.0" -queue-microtask@^1.2.2, queue-microtask@^1.2.3: +queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== @@ -9760,7 +8457,7 @@ rimraf@^4.4.1: dependencies: glob "^9.2.0" -ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: +ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== @@ -9768,12 +8465,16 @@ ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: hash-base "^3.0.0" inherits "^2.0.1" -rpc-websockets@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-8.0.1.tgz#fa76db08badc0b2f5cd66b5496debd2c404c94b1" - integrity sha512-PptrPRK40uQvifq5sCcObmqInVcZXhy+RRrirzdE5KUPvDI47y1wPvfckD2QzqngOU9xaPW/dT+G+b+wj6M1MQ== +rpc-websockets@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-9.0.1.tgz#a69c83ffd5e26bdd6117f5b434ae68133c4805b6" + integrity sha512-JCkdc/TfJBGRfmjIFK7cmqX79nwPWUd9xCM0DAydRbdLShsW3j/GV2gmPlaFa8V1+2u4V/O47fm4ZR5+F6HyDw== dependencies: - eventemitter3 "^4.0.7" + "@swc/helpers" "^0.5.11" + "@types/uuid" "^8.3.4" + "@types/ws" "^8.2.2" + buffer "^6.0.3" + eventemitter3 "^5.0.1" uuid "^8.3.2" ws "^8.5.0" optionalDependencies: @@ -9785,13 +8486,6 @@ run-async@^2.4.0: resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== -run-parallel-limit@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/run-parallel-limit/-/run-parallel-limit-1.1.0.tgz#be80e936f5768623a38a963262d6bef8ff11e7ba" - integrity sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw== - dependencies: - queue-microtask "^1.2.2" - run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -10261,11 +8955,6 @@ strip-outer@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -strnum@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.0.5.tgz#5c4e829fe15ad4ff0d20c3db5ac97b73c9b072db" - integrity sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA== - strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" @@ -10565,12 +9254,12 @@ tsconfig-paths@^4.1.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.11.1, tslib@^1.8.1: +tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.6.2: +tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: version "2.6.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== @@ -10827,7 +9516,7 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -uuid@^9.0.0, uuid@^9.0.1: +uuid@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== From e5c1bf6c9aebf6e80a9a30f4d2beb32994eeb204 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Fri, 14 Jun 2024 11:37:02 +0200 Subject: [PATCH 10/15] chore: removed more unused deps --- common/protocol/package.json | 2 -- common/sdk/package.json | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/protocol/package.json b/common/protocol/package.json index 612168a8..0bb4ed21 100644 --- a/common/protocol/package.json +++ b/common/protocol/package.json @@ -20,8 +20,6 @@ }, "dependencies": { "@bundlr-network/client": "^0.8.9", - "@cosmjs/proto-signing": "^0.32.3", - "@cosmjs/stargate": "^0.32.3", "@kyvejs/sdk": "1.2.0", "@kyvejs/types": "1.3.0", "arweave": "^1.10.17", diff --git a/common/sdk/package.json b/common/sdk/package.json index e9cef3f2..033e3609 100644 --- a/common/sdk/package.json +++ b/common/sdk/package.json @@ -28,7 +28,6 @@ "@cosmjs/encoding": "^0.32.3", "@cosmjs/proto-signing": "^0.32.3", "@cosmjs/stargate": "^0.32.3", - "@cosmjs/tendermint-rpc": "^0.32.3", "@cosmostation/extension-client": "^0.1.15", "@keplr-wallet/cosmos": "^0.12.96", "@kyvejs/types": "1.3.0", @@ -53,5 +52,8 @@ "typedoc": "^0.22.17", "typescript": "^4.5.5", "typescript-json-schema": "^0.53.1" + }, + "resolutions": { + "axios": "^0.27.2" } } From 7d68dc1587e85a9ec9b048448c7a32df7b9a21b2 Mon Sep 17 00:00:00 2001 From: Troy Kessler Date: Fri, 14 Jun 2024 14:42:36 +0200 Subject: [PATCH 11/15] fix: build --- package.json | 3 ++ yarn.lock | 104 +++++++++++++++++++-------------------------------- 2 files changed, 41 insertions(+), 66 deletions(-) diff --git a/package.json b/package.json index 39ffa786..4e703929 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ "prettier": "^2.3.0", "rimraf": "^3.0.2" }, + "resolutions": { + "axios": "^0.27.2" + }, "scripts": { "setup": "lerna clean && yarn install && lerna run build", "graph": "yarn nx graph", diff --git a/yarn.lock b/yarn.lock index e0228e59..5541e62f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1350,37 +1350,37 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@keplr-wallet/common@0.12.102": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.102.tgz#e983e151adbe7aa1cbe43461904b9d0f828fe179" - integrity sha512-D0r3FXF9ybORzZiTPd8rz/CiGcHpvlzhs0oPbPUgFlSsgpUgABGN9OL4DHHs4cOsmjypQnQ5BJss9CD0GjCXtw== +"@keplr-wallet/common@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.103.tgz#a9b8268f3f353e76f641bc58079f49720377baff" + integrity sha512-+QH6vwyJsDZeLuoS3vAvJ4ofuum1AUiqxkDN+qAZoJ1TASsgS50CCA1cB9x79ORuisU/OC+GhCqZSnqEEe0bZw== dependencies: - "@keplr-wallet/crypto" "0.12.102" - "@keplr-wallet/types" "0.12.102" + "@keplr-wallet/crypto" "0.12.103" + "@keplr-wallet/types" "0.12.103" buffer "^6.0.3" delay "^4.4.0" "@keplr-wallet/cosmos@^0.12.96": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.102.tgz#305f11c68b9acb5f5a633a43ddcc6d5df23415fd" - integrity sha512-LvioyNgViRHyo2hyQhVHn5JynL92TpF9KMrWhFdKV7BVobd1NP5xucen98ZnDZRivzfpvxv/Ns1cFEDfyDtGjQ== + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.103.tgz#f315ff009f88a3233940d38072d67c5a59f99601" + integrity sha512-h5l1dwQdr1S9qcQ/CgxY6H3L/FVkTjxOwC4zjrMUA80f4RkmiTOJlL/Zl+Pb6ftIB1E5/AQJJhqaS47wzrw8fg== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.12.102" - "@keplr-wallet/crypto" "0.12.102" - "@keplr-wallet/proto-types" "0.12.102" - "@keplr-wallet/simple-fetch" "0.12.102" - "@keplr-wallet/types" "0.12.102" - "@keplr-wallet/unit" "0.12.102" + "@keplr-wallet/common" "0.12.103" + "@keplr-wallet/crypto" "0.12.103" + "@keplr-wallet/proto-types" "0.12.103" + "@keplr-wallet/simple-fetch" "0.12.103" + "@keplr-wallet/types" "0.12.103" + "@keplr-wallet/unit" "0.12.103" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.12.102": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.102.tgz#e265987bd0cf6fd47d8fdba15ecca2e5cd974e78" - integrity sha512-gXYwu21nbrvjyYSVYG2eIZ1Jb3wTMEskqcIrY2mTwEDh1gFN0bEGTCMlhCsAvlMMhmh6dcl6GBj7mVkfRYMcEg== +"@keplr-wallet/crypto@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.103.tgz#3ace10eae25568392306f6902055b458d909c59a" + integrity sha512-JYbqrqbNhun+WkMgB3WH3CK3RRJkTT2aCvkjoD4NndncRwUKHn5tvwQyEabNojpv66A8svJ/CdXz75H5ZVTmOg== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -1391,32 +1391,32 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.12.102": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.102.tgz#34d7fc6271d15e72db4cc5517c8cee6460ecbacc" - integrity sha512-V+PMw5WBYX1DsVXlwgakuQZwSyTF3bTw5Fri9/67CNUfJ4HlfPYx+kjYl9twoJWXC3YS7iaTaJrax1IcoL27Ow== +"@keplr-wallet/proto-types@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.103.tgz#452ac5018eacf80ba7933187a28f99ffe0b672f3" + integrity sha512-9lMpqrMfjJL0HZjuZtkVgQJwGFUCBjPiruLwQLwhVIq5PGvgOqJbN0giWozTUIa6BNw1Z7djeJD2OCwIy2+25w== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/simple-fetch@0.12.102": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.102.tgz#720b75916555eefb9aeab9c49b7c1815355b6e11" - integrity sha512-dUf+vjyxH9+seHCTZa4tP4VSUnPupp0+PbhHRv9iPIXszI74MtXdLiOr2ctzluXlpXFfs19MefI/JTw3HeGxkA== +"@keplr-wallet/simple-fetch@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.103.tgz#046ebe4c1ed07e02e04b05a6635f9bc36c02c2e0" + integrity sha512-Q4H6xaztJrei0blO5o47LeUi54TG3Vk+O/xqpfEhZ65yuylxNOplrKpuC1dE6PXOGdtemen9q/ks2OVa0bX9LA== -"@keplr-wallet/types@0.12.102", "@keplr-wallet/types@^0.12.44": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.102.tgz#aa79d327232117790e7a43aa9e558733ec3a545a" - integrity sha512-q7qD5SmyU06zqi1tGIdiVJNBLFY20aGHY669i2i5ZnaF5XzcSBJiwazFY3GRPttXerkJjfOIk0IaxwO9Oz3Hbw== +"@keplr-wallet/types@0.12.103", "@keplr-wallet/types@^0.12.44": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.103.tgz#ec2c55c42ed76868a634d47ce4d05ea96784a977" + integrity sha512-S0rcBLUBlOWNE6e8ri1IxCrlVk41ST+68Ge9gNHixwkjDrTURV+BIJjlp1EYL6Kf/D2JcqKMtxkZ9dJcxi8KGQ== dependencies: long "^4.0.0" -"@keplr-wallet/unit@0.12.102": - version "0.12.102" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.102.tgz#161c5be3f3e919bf12578eb51f63701e39a96d55" - integrity sha512-PI6hapu8qLiZzjlQM4opGsZm3NTl1qjy9zQ9dI20kRSLhYEuoWVNrCDDUp8ydeRBrykY+umQNXe9kYsrGlLl1w== +"@keplr-wallet/unit@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.103.tgz#72180670f21f48db5f71b48103598ab5ed97c81d" + integrity sha512-KQh4D+TAi4ei8avri6Ujo7w7NgComYkpyCjv7PnclpRaHKngM0fFrd5ZlCnu8Rhy9o8Rv0FNb5EVakyG0qLCjw== dependencies: - "@keplr-wallet/types" "0.12.102" + "@keplr-wallet/types" "0.12.103" big-integer "^1.6.48" utility-types "^3.10.0" @@ -2786,21 +2786,7 @@ at-least-node@^1.0.0: version "5.4.7" resolved "https://github.com/Irys-xyz/avsc#a730cc8018b79e114b6a3381bbb57760a24c6cef" -axios@^0.21.3: - version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== - dependencies: - follow-redirects "^1.14.0" - -axios@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.25.0.tgz#349cfbb31331a9b4453190791760a8d35b093e0a" - integrity sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g== - dependencies: - follow-redirects "^1.14.7" - -axios@^0.27.2: +axios@^0.21.3, axios@^0.25.0, axios@^0.27.2, axios@^1.0.0, axios@^1.6.0: version "0.27.2" resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== @@ -2808,15 +2794,6 @@ axios@^0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -axios@^1.0.0, axios@^1.6.0: - version "1.7.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" - integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - babel-jest@^28.1.3: version "28.1.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" @@ -4672,7 +4649,7 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.14.0, follow-redirects@^1.14.7, follow-redirects@^1.14.9, follow-redirects@^1.15.6: +follow-redirects@^1.14.9: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== @@ -8166,11 +8143,6 @@ protocols@^2.0.0, protocols@^2.0.1: resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" From 05cdca3d20ef09645ed12af673eb945f7097641e Mon Sep 17 00:00:00 2001 From: Christopher Brumm <97845034+christopherbrumm@users.noreply.github.com> Date: Mon, 17 Jun 2024 09:06:56 +0200 Subject: [PATCH 12/15] update: add merkle root to tendermint bundle summary (#137) * update: add merkle root to tendermint bundle summary * update: add merkle.ts to sdk * chore: kyvejs/sdk * fix: lint errors * chore: added merkle root summary to tendermint-bsync --------- Co-authored-by: Troy Kessler --- common/sdk/src/clients/lcd-client/client.ts | 2 +- common/sdk/src/index.ts | 1 + common/sdk/src/merkle/merkle.ts | 41 +++++++++++++++++++ integrations/tendermint-bsync/package.json | 1 + integrations/tendermint-bsync/src/runtime.ts | 10 ++++- .../tendermint-bsync/src/utils/merkle.ts | 30 ++++++++++++++ integrations/tendermint/package.json | 1 + integrations/tendermint/src/runtime.ts | 10 ++++- integrations/tendermint/src/utils/merkle.ts | 30 ++++++++++++++ tools/kysor/src/commands/init.ts | 2 +- tools/kysor/src/commands/valaccounts.ts | 2 +- tools/kysor/src/kysor.ts | 2 +- 12 files changed, 124 insertions(+), 8 deletions(-) create mode 100644 common/sdk/src/merkle/merkle.ts create mode 100644 integrations/tendermint-bsync/src/utils/merkle.ts create mode 100644 integrations/tendermint/src/utils/merkle.ts diff --git a/common/sdk/src/clients/lcd-client/client.ts b/common/sdk/src/clients/lcd-client/client.ts index 240c752a..88d7987c 100644 --- a/common/sdk/src/clients/lcd-client/client.ts +++ b/common/sdk/src/clients/lcd-client/client.ts @@ -1,4 +1,3 @@ -import { V1BundlesLCDClient } from "./v1/bundles/query"; import { BundlesModuleLCDClient } from "./bundles/v1beta1/query"; import { DelegationModuleLCDClient } from "./delegation/v1beta1/query"; import { FundersModuleLCDClient } from "./funders/v1beta1/query"; @@ -7,6 +6,7 @@ import { PoolModuleLCDClient } from "./pool/v1beta1/query"; import { QueryModuleLCDClient } from "./query/v1beta1/query"; import { StakersModuleLCDClient } from "./stakers/v1beta1/query"; import { TeamModuleLCDClient } from "./team/v1beta1/query"; +import { V1BundlesLCDClient } from "./v1/bundles/query"; class KyveLCDClient { public v1: { bundles: V1BundlesLCDClient; diff --git a/common/sdk/src/index.ts b/common/sdk/src/index.ts index 51d606d8..8b91239f 100644 --- a/common/sdk/src/index.ts +++ b/common/sdk/src/index.ts @@ -2,5 +2,6 @@ export * from "./clients/lcd-client/client"; export { default as KyveClient } from "./clients/rpc-client/client"; export { default as KyveWebClient } from "./clients/rpc-client/web.client"; export * as constants from "./constants"; +export { dataItemToSha256, generateMerkleRoot } from "./merkle/merkle"; export { registry } from "./registry/tx.registry"; export { KyveSDK as default } from "./sdk"; diff --git a/common/sdk/src/merkle/merkle.ts b/common/sdk/src/merkle/merkle.ts new file mode 100644 index 00000000..77868f20 --- /dev/null +++ b/common/sdk/src/merkle/merkle.ts @@ -0,0 +1,41 @@ +import * as crypto from "@cosmjs/crypto"; + +export function createHashesFromBundle(bundle: any[]): Uint8Array[] { + return bundle.map((dataItem) => dataItemToSha256(dataItem)); +} + +export function dataItemToSha256(data: any): Uint8Array { + // Encode the serialized object to UTF-8 + const encoded_obj: Uint8Array = Buffer.from(JSON.stringify(data), "utf-8"); + // Calculate the SHA-256 hash + return crypto.sha256(encoded_obj); +} + +export function generateMerkleRoot(hashes: Uint8Array[]): Uint8Array { + if (!hashes || hashes.length == 0) { + return Buffer.from(""); + } + + // Ensure number of hashes (leafs) are even by copying the + // last hash (the very right leaf) if the amount is odd + if (hashes.length % 2 !== 0) { + hashes.push(hashes[hashes.length - 1]); + } + + const combinedHashes: Uint8Array[] = []; + for (let i = 0; i < hashes.length; i += 2) { + const hashesConcatenated = new Uint8Array([ + ...Array.from(hashes[i]), + ...Array.from(hashes[i + 1]), + ]); + const hash = crypto.sha256(hashesConcatenated); + combinedHashes.push(hash); + } + + // If the combinedHashes length is 1, it means that we have the merkle root already, + // and we can return the hex representation + if (combinedHashes.length === 1) { + return combinedHashes[0]; + } + return generateMerkleRoot(combinedHashes); +} diff --git a/integrations/tendermint-bsync/package.json b/integrations/tendermint-bsync/package.json index af477532..6908793e 100644 --- a/integrations/tendermint-bsync/package.json +++ b/integrations/tendermint-bsync/package.json @@ -23,6 +23,7 @@ }, "dependencies": { "@kyvejs/protocol": "1.1.7", + "@kyvejs/sdk": "1.2.0", "axios": "^0.27.2" }, "devDependencies": { diff --git a/integrations/tendermint-bsync/src/runtime.ts b/integrations/tendermint-bsync/src/runtime.ts index c3797cfe..afa151fa 100644 --- a/integrations/tendermint-bsync/src/runtime.ts +++ b/integrations/tendermint-bsync/src/runtime.ts @@ -1,6 +1,8 @@ import { DataItem, IRuntime, Validator, VOTE } from '@kyvejs/protocol'; import { name, version } from '../package.json'; import axios from 'axios'; +import { createHashesFromTendermintBundle } from './utils/merkle'; +import { generateMerkleRoot } from '@kyvejs/sdk'; // TendermintBSync config interface IConfig { @@ -82,8 +84,12 @@ export default class TendermintBSync implements IRuntime { } async summarizeDataBundle(_: Validator, bundle: DataItem[]): Promise { - // use latest block height as bundle summary - return bundle.at(-1)?.value?.header?.height ?? ''; + const hashes: Uint8Array[] = createHashesFromTendermintBundle(bundle); + const merkleRoot: Uint8Array = generateMerkleRoot(hashes); + + return JSON.stringify({ + merkle_root: Buffer.from(merkleRoot).toString('hex'), + }); } async nextKey(_: Validator, key: string): Promise { diff --git a/integrations/tendermint-bsync/src/utils/merkle.ts b/integrations/tendermint-bsync/src/utils/merkle.ts new file mode 100644 index 00000000..579e6bcf --- /dev/null +++ b/integrations/tendermint-bsync/src/utils/merkle.ts @@ -0,0 +1,30 @@ +import * as crypto from '@cosmjs/crypto'; +import { dataItemToSha256, generateMerkleRoot } from '@kyvejs/sdk'; + +// Creates an Array of hashes from an array of data items (bundle). +// The hash of a data item consists of the Merkle root from the block and the block +// results (only two leafs) and the key of the data item. This allows the +// Trustless API to serve block and block results independently. +export function createHashesFromTendermintBundle(bundle: any[]): Uint8Array[] { + return bundle.map((dataItem) => { + const blockHashes: Uint8Array[] = [ + dataItemToSha256(dataItem.value?.block), + dataItemToSha256(dataItem.value?.block_results), + ]; + + const merkleRoot: Uint8Array = generateMerkleRoot(blockHashes); + + return tendermintDataItemToSha256(dataItem.key, merkleRoot); + }); +} + +function tendermintDataItemToSha256( + key: string, + merkleRoot: Uint8Array +): Uint8Array { + const keyBytes = crypto.sha256(Buffer.from(key, 'utf-8')); + + const combined = Buffer.concat([keyBytes, merkleRoot]); + + return crypto.sha256(combined); +} diff --git a/integrations/tendermint/package.json b/integrations/tendermint/package.json index 9bde4a1e..7598c155 100644 --- a/integrations/tendermint/package.json +++ b/integrations/tendermint/package.json @@ -23,6 +23,7 @@ }, "dependencies": { "@kyvejs/protocol": "1.1.7", + "@kyvejs/sdk": "1.2.0", "ajv": "^8.12.0", "axios": "^0.27.2", "dotenv": "^16.3.1" diff --git a/integrations/tendermint/src/runtime.ts b/integrations/tendermint/src/runtime.ts index da60d30e..b11f4d24 100644 --- a/integrations/tendermint/src/runtime.ts +++ b/integrations/tendermint/src/runtime.ts @@ -4,6 +4,8 @@ import axios from 'axios'; import Ajv from 'ajv'; import block_schema from './schemas/block.json'; import block_results_schema from './schemas/block_result.json'; +import { createHashesFromTendermintBundle } from './utils/merkle'; +import { generateMerkleRoot } from '@kyvejs/sdk'; const ajv = new Ajv(); @@ -236,8 +238,12 @@ export default class Tendermint implements IRuntime { } async summarizeDataBundle(_: Validator, bundle: DataItem[]): Promise { - // use latest block height as bundle summary - return bundle.at(-1)?.value?.block?.block?.header?.height ?? ''; + const hashes: Uint8Array[] = createHashesFromTendermintBundle(bundle); + const merkleRoot: Uint8Array = generateMerkleRoot(hashes); + + return JSON.stringify({ + merkle_root: Buffer.from(merkleRoot).toString('hex'), + }); } async nextKey(_: Validator, key: string): Promise { diff --git a/integrations/tendermint/src/utils/merkle.ts b/integrations/tendermint/src/utils/merkle.ts new file mode 100644 index 00000000..579e6bcf --- /dev/null +++ b/integrations/tendermint/src/utils/merkle.ts @@ -0,0 +1,30 @@ +import * as crypto from '@cosmjs/crypto'; +import { dataItemToSha256, generateMerkleRoot } from '@kyvejs/sdk'; + +// Creates an Array of hashes from an array of data items (bundle). +// The hash of a data item consists of the Merkle root from the block and the block +// results (only two leafs) and the key of the data item. This allows the +// Trustless API to serve block and block results independently. +export function createHashesFromTendermintBundle(bundle: any[]): Uint8Array[] { + return bundle.map((dataItem) => { + const blockHashes: Uint8Array[] = [ + dataItemToSha256(dataItem.value?.block), + dataItemToSha256(dataItem.value?.block_results), + ]; + + const merkleRoot: Uint8Array = generateMerkleRoot(blockHashes); + + return tendermintDataItemToSha256(dataItem.key, merkleRoot); + }); +} + +function tendermintDataItemToSha256( + key: string, + merkleRoot: Uint8Array +): Uint8Array { + const keyBytes = crypto.sha256(Buffer.from(key, 'utf-8')); + + const combined = Buffer.concat([keyBytes, merkleRoot]); + + return crypto.sha256(combined); +} diff --git a/tools/kysor/src/commands/init.ts b/tools/kysor/src/commands/init.ts index 54ac51e5..23be8d0d 100644 --- a/tools/kysor/src/commands/init.ts +++ b/tools/kysor/src/commands/init.ts @@ -4,7 +4,7 @@ import { Command } from "commander"; import fs from "fs"; import path from "path"; -import { USER_HOME, KYSOR_DIR } from "../utils/constants"; +import { KYSOR_DIR, USER_HOME } from "../utils/constants"; const init = new Command("init").description("Init KYSOR"); diff --git a/tools/kysor/src/commands/valaccounts.ts b/tools/kysor/src/commands/valaccounts.ts index 8fee39c7..22e5d40e 100644 --- a/tools/kysor/src/commands/valaccounts.ts +++ b/tools/kysor/src/commands/valaccounts.ts @@ -7,7 +7,7 @@ import path from "path"; import prompts from "prompts"; import { IValaccountConfig } from "../types/interfaces"; -import { FILE_ACCESS, USER_HOME, KYSOR_DIR } from "../utils/constants"; +import { FILE_ACCESS, KYSOR_DIR, USER_HOME } from "../utils/constants"; const valaccounts = new Command("valaccounts").description( "Create and delete valaccounts" diff --git a/tools/kysor/src/kysor.ts b/tools/kysor/src/kysor.ts index db3956d6..92622f3e 100644 --- a/tools/kysor/src/kysor.ts +++ b/tools/kysor/src/kysor.ts @@ -9,7 +9,7 @@ import path from "path"; import { IConfig, IValaccountConfig } from "./types/interfaces"; import { getChecksum, setupLogger, startNodeProcess } from "./utils"; -import { ARCH, USER_HOME, KYSOR_DIR, PLATFORM } from "./utils/constants"; +import { ARCH, KYSOR_DIR, PLATFORM, USER_HOME } from "./utils/constants"; const INFINITY_LOOP = true; From 1ae17696d02066194f3ce4383ab1b08d8daa64a0 Mon Sep 17 00:00:00 2001 From: Troy Kessler <43882936+troykessler@users.noreply.github.com> Date: Mon, 17 Jun 2024 11:29:19 +0200 Subject: [PATCH 13/15] fix: support cometbft v0.38 block_results schema (#130) * fix: support cometbft v0.38 block_results schema * chore: added strict checks for begin and finalize block events * chore: added check for mode attributes * chore: added comments --- integrations/tendermint/src/runtime.ts | 36 ++++++++++++++++- .../tendermint/src/schemas/block_result.json | 40 +++++++++++++++++-- 2 files changed, 70 insertions(+), 6 deletions(-) diff --git a/integrations/tendermint/src/runtime.ts b/integrations/tendermint/src/runtime.ts index b11f4d24..1248908f 100644 --- a/integrations/tendermint/src/runtime.ts +++ b/integrations/tendermint/src/runtime.ts @@ -107,7 +107,9 @@ export default class Tendermint implements IRuntime { if (!block_validate(item.value.block)) { throw new Error( - `Block schema validation failed: ${block_validate.errors}` + `Block schema validation failed: ${JSON.stringify( + block_validate.errors + )}` ); } @@ -116,10 +118,40 @@ export default class Tendermint implements IRuntime { if (!block_results_validate(item.value.block_results)) { throw new Error( - `Block results schema validation failed: ${block_results_validate.errors}` + `Block results schema validation failed: ${JSON.stringify( + block_results_validate.errors + )}` ); } + // check if finalize_block_events are present if every event attribute + // has a mode and that every mode attribute is either of value + // "BeginBlock" or "EndBlock" + if (item.value.block_results.finalize_block_events) { + for (const event of item.value.block_results.finalize_block_events) { + const modeAttribute = event.attributes.find( + (attribute: any) => attribute.key === 'mode' + ); + + if (!modeAttribute) { + throw new Error( + `finalize_block_events contains events with no "mode" in ${event.type}` + ); + } + + if ( + modeAttribute.value !== 'BeginBlock' && + modeAttribute.value !== 'EndBlock' + ) { + throw new Error( + `finalize_block_events contains invalid mode in ${ + event.type + }: ${JSON.stringify(modeAttribute)}` + ); + } + } + } + return true; } diff --git a/integrations/tendermint/src/schemas/block_result.json b/integrations/tendermint/src/schemas/block_result.json index a9496733..adcebb2e 100644 --- a/integrations/tendermint/src/schemas/block_result.json +++ b/integrations/tendermint/src/schemas/block_result.json @@ -80,7 +80,7 @@ ] }, "begin_block_events": { - "type": ["array", "null"], + "type": ["array"], "items": [ { "type": "object", @@ -147,6 +147,40 @@ } ] }, + "finalize_block_events": { + "type": ["array"], + "items": [ + { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": ["string", "null"] + }, + "index": { + "type": "boolean" + } + }, + "required": ["key", "value", "index"] + } + ] + } + }, + "required": ["type", "attributes"] + } + ] + }, "validator_updates": { "type": ["array", "null"], "items": [ @@ -237,10 +271,8 @@ "required": [ "height", "txs_results", - "begin_block_events", - "end_block_events", "validator_updates", "consensus_param_updates" ], - "additionalProperties": false + "additionalProperties": true } From 22fdf5171ee7c377499849069b230630efe1303b Mon Sep 17 00:00:00 2001 From: rapha Date: Wed, 3 Jul 2024 15:24:28 +0200 Subject: [PATCH 14/15] fix: remove max_bytes from block_result.json --- integrations/tendermint/src/schemas/block_result.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/tendermint/src/schemas/block_result.json b/integrations/tendermint/src/schemas/block_result.json index adcebb2e..178a772f 100644 --- a/integrations/tendermint/src/schemas/block_result.json +++ b/integrations/tendermint/src/schemas/block_result.json @@ -247,7 +247,7 @@ "type": "string" } }, - "required": ["max_age_num_blocks", "max_age_duration", "max_bytes"] + "required": ["max_age_num_blocks", "max_age_duration"] }, "validator": { "type": "object", From 820927c4c1727bfa71e63c0f65fc5d8cc7baa949 Mon Sep 17 00:00:00 2001 From: rapha Date: Wed, 3 Jul 2024 15:49:21 +0200 Subject: [PATCH 15/15] chore: use yarn.lock from main --- yarn.lock | 1124 ++++++++--------------------------------------------- 1 file changed, 172 insertions(+), 952 deletions(-) diff --git a/yarn.lock b/yarn.lock index a549fdbc..ab96f44e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -276,7 +276,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/runtime@^7.24.6": +"@babel/runtime@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== @@ -356,7 +356,7 @@ near-api-js "^0.44.2" near-seed-phrase "^0.2.0" -"@confio/ics23@^0.6.3", "@confio/ics23@^0.6.8": +"@confio/ics23@^0.6.8": version "0.6.8" resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== @@ -364,26 +364,6 @@ "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1" - integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - -"@cosmjs/amino@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.31.3.tgz#0f4aa6bd68331c71bd51b187fa64f00eb075db0a" - integrity sha512-36emtUq895sPRX8PTSOnG+lhJDCVyIcE0Tr5ct59sUbgQiI14y43vj/4WAlJ/utSOxy+Zhj9wxcs4AZfu0BHsw== - dependencies: - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - "@cosmjs/amino@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.32.3.tgz#b81d4a2b8d61568431a1afcd871e1344a19d97ff" @@ -394,35 +374,6 @@ "@cosmjs/math" "^0.32.3" "@cosmjs/utils" "^0.32.3" -"@cosmjs/crypto@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.27.1.tgz#271c853089a3baf3acd6cf0b2122fd49f8815743" - integrity sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg== - dependencies: - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - bip39 "^3.0.2" - bn.js "^5.2.0" - elliptic "^6.5.3" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - ripemd160 "^2.0.2" - sha.js "^2.4.11" - -"@cosmjs/crypto@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.31.3.tgz#c752cb6d682fdc735dcb45a2519f89c56ba16c26" - integrity sha512-vRbvM9ZKR2017TO73dtJ50KxoGcFzKtKI7C8iO302BQ5p+DuB+AirUg1952UpSoLfv5ki9O416MFANNg8UN/EQ== - dependencies: - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - "@noble/hashes" "^1" - bn.js "^5.2.0" - elliptic "^6.5.4" - libsodium-wrappers-sumo "^0.7.11" - "@cosmjs/crypto@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.3.tgz#787f8e659709678722068ee1ddf379f65051a25e" @@ -436,24 +387,6 @@ elliptic "^6.5.4" libsodium-wrappers-sumo "^0.7.11" -"@cosmjs/encoding@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.27.1.tgz#3cd5bc0af743485eb2578cdb08cfa84c86d610e1" - integrity sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw== - dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" - -"@cosmjs/encoding@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.31.3.tgz#2519d9c9ae48368424971f253775c4580b54c5aa" - integrity sha512-6IRtG0fiVYwyP7n+8e54uTx2pLYijO48V3t9TLiROERm5aUAIzIlz6Wp0NYaI5he9nh1lcEGJ1lkquVKFw3sUg== - dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" - "@cosmjs/encoding@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" @@ -463,36 +396,14 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/json-rpc@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.27.1.tgz#ce0a6157f57a76e964587ceb9027884bc4ffe701" - integrity sha512-AKvsllGr6oN5kiroatIeIIxRdCFetLd8LCWV04RRNkoJ2OefDNb46VlWEQ+gI3ay5GgfVjB9qAcfvbJyrcEv+A== - dependencies: - "@cosmjs/stream" "0.27.1" - xstream "^11.14.0" - -"@cosmjs/json-rpc@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.31.3.tgz#11e5cf0f6d9ab426dff470bb8d68d5d31cd6ab13" - integrity sha512-7LVYerXjnm69qqYR3uA6LGCrBW2EO5/F7lfJxAmY+iII2C7xO3a0vAjMSt5zBBh29PXrJVS6c2qRP22W1Le2Wg== +"@cosmjs/json-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz#ccffdd7f722cecfab6daaa7463843b92f5d25355" + integrity sha512-JwFRWZa+Y95KrAG8CuEbPVOSnXO2uMSEBcaAB/FBU3Mo4jQnDoUjXvt3vwtFWxfAytrWCn1I4YDFaOAinnEG/Q== dependencies: - "@cosmjs/stream" "^0.31.3" + "@cosmjs/stream" "^0.32.3" xstream "^11.14.0" -"@cosmjs/math@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.27.1.tgz#be78857b008ffc6b1ed6fecaa1c4cd5bc38c07d7" - integrity sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ== - dependencies: - bn.js "^5.2.0" - -"@cosmjs/math@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.31.3.tgz#767f7263d12ba1b9ed2f01f68d857597839fd957" - integrity sha512-kZ2C6glA5HDb9hLz1WrftAjqdTBb3fWQsRR+Us2HsjAYdeE6M3VdXMsYCP5M3yiihal1WDwAY2U7HmfJw7Uh4A== - dependencies: - bn.js "^5.2.0" - "@cosmjs/math@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" @@ -500,151 +411,76 @@ dependencies: bn.js "^5.2.0" -"@cosmjs/proto-signing@0.27.1", "@cosmjs/proto-signing@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.27.1.tgz#1f8f662550aab012d957d02f43c77d914c2ae0db" - integrity sha512-t7/VvQivMdM1KgKWai/9ZCEcGFXJtr9Xo0hGcPLTn9wGkh9tmOsUXINYVMsf5D/jWIm1MDPbGCYfdb9V1Od4hw== - dependencies: - "@cosmjs/amino" "0.27.1" - "@cosmjs/crypto" "0.27.1" - "@cosmjs/math" "0.27.1" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.10.2" - -"@cosmjs/proto-signing@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.31.3.tgz#20440b7b96fb2cd924256a10e656fd8d4481cdcd" - integrity sha512-24+10/cGl6lLS4VCrGTCJeDRPQTn1K5JfknzXzDIHOx8THR31JxA7/HV5eWGHqWgAbudA7ccdSvEK08lEHHtLA== - dependencies: - "@cosmjs/amino" "^0.31.3" - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - cosmjs-types "^0.8.0" - long "^4.0.0" - -"@cosmjs/socket@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.27.1.tgz#c7a3eceb15efb9874a048c3238d1f0b185185742" - integrity sha512-bKCRsaSXh/TA7efxVCogzS2K3cgC40Ge2itFYmTfgpOE+++52FchCblVCsCYwMNDLS497RP4P0GbeC1VEBToMA== +"@cosmjs/proto-signing@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz#91ae149b747d18666a6ccc924165b306431f7c0d" + integrity sha512-kSZ0ZUY0DwcRT0NcIn2HkadH4NKlwjfZgbLj1ABwh/4l0RgeT84QCscZCu63tJYq3K6auwqTiZSZERwlO4/nbg== dependencies: - "@cosmjs/stream" "0.27.1" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" + "@cosmjs/amino" "^0.32.3" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" -"@cosmjs/socket@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.31.3.tgz#52086380f4de2fc3514b90b0484b4b1c4c50e39e" - integrity sha512-aqrDGGi7os/hsz5p++avI4L0ZushJ+ItnzbqA7C6hamFSCJwgOkXaOUs+K9hXZdX4rhY7rXO4PH9IH8q09JkTw== +"@cosmjs/socket@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.3.tgz#fa5c36bf58e87c0ad865d6318ecb0f8d9c89a28a" + integrity sha512-F2WwNmaUPdZ4SsH6Uyreq3wQk7jpaEkb3wfOP951f5Jt6HCW/PxbxhKzHkAAf6+Sqks6SPhkbWoE8XaZpjL2KA== dependencies: - "@cosmjs/stream" "^0.31.3" + "@cosmjs/stream" "^0.32.3" isomorphic-ws "^4.0.1" ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.27.1.tgz#0abc1f91e5cc421940c920f16a22c6c93cc774d5" - integrity sha512-7hAIyNd6NbhQA51w9mPVyMYw515Hpj0o7SXMaqbc7nxs3hkJNMONQ9RakyMm0U/WeCd6ObcSaPEcdkqbfkc+mg== - dependencies: - "@confio/ics23" "^0.6.3" - "@cosmjs/amino" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/proto-signing" "0.27.1" - "@cosmjs/stream" "0.27.1" - "@cosmjs/tendermint-rpc" "0.27.1" - "@cosmjs/utils" "0.27.1" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.10.2" - xstream "^11.14.0" - -"@cosmjs/stargate@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.31.3.tgz#a2b38e398097a00f897dbd8f02d4d347d8fed818" - integrity sha512-53NxnzmB9FfXpG4KjOUAYAvWLYKdEmZKsutcat/u2BrDXNZ7BN8jim/ENcpwXfs9/Og0K24lEIdvA4gsq3JDQw== +"@cosmjs/stargate@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.3.tgz#5a92b222ada960ebecea72cc9f366370763f4b66" + integrity sha512-OQWzO9YWKerUinPIxrO1MARbe84XkeXJAW0lyMIjXIEikajuXZ+PwftiKA5yA+8OyditVmHVLtPud6Pjna2s5w== dependencies: "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/proto-signing" "^0.31.3" - "@cosmjs/stream" "^0.31.3" - "@cosmjs/tendermint-rpc" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - cosmjs-types "^0.8.0" - long "^4.0.0" - protobufjs "~6.11.3" + "@cosmjs/amino" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/proto-signing" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/tendermint-rpc" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" xstream "^11.14.0" -"@cosmjs/stream@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.27.1.tgz#02f40856c0840e34ef11054da9e84e8196d37593" - integrity sha512-cEyEAVfXEyuUpKYBeEJrOj8Dp/c+M6a0oGJHxvDdhP5gSsaeCPgQXrh7qZFBiUfu3Brmqd+e/bKZm+068l9bBw== +"@cosmjs/stream@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.3.tgz#7522579aaf18025d322c2f33d6fb7573220395d6" + integrity sha512-J2zVWDojkynYifAUcRmVczzmp6STEpyiAARq0rSsviqjreGIfspfuws/8rmkPa6qQBZvpQOBQCm2HyZZwYplIw== dependencies: xstream "^11.14.0" -"@cosmjs/stream@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.31.3.tgz#53428fd62487ec08fc3886a50a3feeb8b2af2e66" - integrity sha512-8keYyI7X0RjsLyVcZuBeNjSv5FA4IHwbFKx7H60NHFXszN8/MvXL6aZbNIvxtcIHHsW7K9QSQos26eoEWlAd+w== +"@cosmjs/tendermint-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.3.tgz#f0406b9f0233e588fb924dca8c614972f9038aff" + integrity sha512-xeprW+VR9xKGstqZg0H/KBZoUp8/FfFyS9ljIUTLM/UINjP2MhiwncANPS2KScfJVepGufUKk0/phHUeIBSEkw== dependencies: - xstream "^11.14.0" - -"@cosmjs/tendermint-rpc@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.27.1.tgz#66f4a04d1b9ac5849ea2981c2e67bc229996a85a" - integrity sha512-eN1NyBYIiFutDNleEaTfvIJ3S3KA1gP45UHaLhSETm8KyiaUqg/b0Mj6sp7J3h4BhgwLq2zn/TDtIn0k5luedg== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/json-rpc" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/socket" "0.27.1" - "@cosmjs/stream" "0.27.1" - axios "^0.21.2" - readonly-date "^1.0.0" - xstream "^11.14.0" - -"@cosmjs/tendermint-rpc@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.31.3.tgz#d1a2bc5b3c98743631c9b55888589d352403c9b3" - integrity sha512-s3TiWkPCW4QceTQjpYqn4xttUJH36mTPqplMl+qyocdqk5+X5mergzExU/pHZRWQ4pbby8bnR7kMvG4OC1aZ8g== - dependencies: - "@cosmjs/crypto" "^0.31.3" - "@cosmjs/encoding" "^0.31.3" - "@cosmjs/json-rpc" "^0.31.3" - "@cosmjs/math" "^0.31.3" - "@cosmjs/socket" "^0.31.3" - "@cosmjs/stream" "^0.31.3" - "@cosmjs/utils" "^0.31.3" - axios "^0.21.2" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/json-rpc" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/socket" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + axios "^1.6.0" readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/utils@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2" - integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg== - -"@cosmjs/utils@^0.31.3": - version "0.31.3" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.31.3.tgz#f97bbfda35ad69e80cd5c7fe0a270cbda16db1ed" - integrity sha512-VBhAgzrrYdIe0O5IbKRqwszbQa7ZyQLx9nEQuHQ3HUplQW7P44COG/ye2n6AzCudtqxmwdX7nyX8ta1J07GoqA== - "@cosmjs/utils@^0.32.3": version "0.32.3" resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.3.tgz#5dcaee6dd7cc846cdc073e9a7a7f63242f5f7e31" integrity sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg== -"@cosmostation/extension-client@^0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@cosmostation/extension-client/-/extension-client-0.0.6.tgz#a04420c1c3d68b83d197e48e79787a3484fb8d2c" - integrity sha512-3N7NOz8JMOpJlVaGS++zha4AZoijJTnPkq8djEfpk/mJ6+laUNo4a1/mxANFm9i1KUZcU9HX6GKKx9v9nL/VDg== +"@cosmostation/extension-client@^0.1.15": + version "0.1.15" + resolved "https://registry.yarnpkg.com/@cosmostation/extension-client/-/extension-client-0.1.15.tgz#cdc6d8fce42217704c1c0d5814f0ee7ce27e8dab" + integrity sha512-HlXYJjFrNpjiV/GUKhri1UL8/bhlOIFFLpRF78YDSqq16x0+plIqx5CAvEusFcKTDpVfpeD5sfUHiKvP7euNFg== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" @@ -1514,37 +1350,37 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@keplr-wallet/common@0.12.100": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.100.tgz#42ac3cf8ac2e04d2a330da956d0b7f399df2f223" - integrity sha512-bifoNpGj13h9DMPjXD4skmh0wE+rXq+tjiGX4t0PyVyXNzu54OrYgDSMP2ghiBCYFZQdKaka9yswV22Xq2zW4w== +"@keplr-wallet/common@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.103.tgz#a9b8268f3f353e76f641bc58079f49720377baff" + integrity sha512-+QH6vwyJsDZeLuoS3vAvJ4ofuum1AUiqxkDN+qAZoJ1TASsgS50CCA1cB9x79ORuisU/OC+GhCqZSnqEEe0bZw== dependencies: - "@keplr-wallet/crypto" "0.12.100" - "@keplr-wallet/types" "0.12.100" + "@keplr-wallet/crypto" "0.12.103" + "@keplr-wallet/types" "0.12.103" buffer "^6.0.3" delay "^4.4.0" -"@keplr-wallet/cosmos@^0.12.44": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.100.tgz#a0222d8edba71a47ddb538972201fbe86b7dacd7" - integrity sha512-cERt91x/lqJu1FkvHBaQznrrknOVukc/WCr2XvX/8swibzm5m1VHZ974QsWPby1NT2iCPWCRE20HJohmq/YJzw== +"@keplr-wallet/cosmos@^0.12.96": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.103.tgz#f315ff009f88a3233940d38072d67c5a59f99601" + integrity sha512-h5l1dwQdr1S9qcQ/CgxY6H3L/FVkTjxOwC4zjrMUA80f4RkmiTOJlL/Zl+Pb6ftIB1E5/AQJJhqaS47wzrw8fg== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.12.100" - "@keplr-wallet/crypto" "0.12.100" - "@keplr-wallet/proto-types" "0.12.100" - "@keplr-wallet/simple-fetch" "0.12.100" - "@keplr-wallet/types" "0.12.100" - "@keplr-wallet/unit" "0.12.100" + "@keplr-wallet/common" "0.12.103" + "@keplr-wallet/crypto" "0.12.103" + "@keplr-wallet/proto-types" "0.12.103" + "@keplr-wallet/simple-fetch" "0.12.103" + "@keplr-wallet/types" "0.12.103" + "@keplr-wallet/unit" "0.12.103" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.12.100": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.100.tgz#9d04f9edcb19f3da3c35f024267d6f6868fac30c" - integrity sha512-uMljlV+tjo0VQD1e83+/QYy6y2lTUVeFrQMUgEXQ7wclNBUc5+XK8pTK5RkNqmvgAHscnWA52BQBhh4RYlpNQA== +"@keplr-wallet/crypto@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.103.tgz#3ace10eae25568392306f6902055b458d909c59a" + integrity sha512-JYbqrqbNhun+WkMgB3WH3CK3RRJkTT2aCvkjoD4NndncRwUKHn5tvwQyEabNojpv66A8svJ/CdXz75H5ZVTmOg== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -1555,32 +1391,32 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.12.100": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.100.tgz#b96e631cb7c09c94c637521f76ee6b34c3fca98e" - integrity sha512-VW9C0MGWXerhpFPgAeBCbmn+6XLqnIogpRDvNmCLZsMS/scrprDZwtvCqJNbjn5evLL5gogKvmoFq1N1mk1OIw== +"@keplr-wallet/proto-types@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.103.tgz#452ac5018eacf80ba7933187a28f99ffe0b672f3" + integrity sha512-9lMpqrMfjJL0HZjuZtkVgQJwGFUCBjPiruLwQLwhVIq5PGvgOqJbN0giWozTUIa6BNw1Z7djeJD2OCwIy2+25w== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/simple-fetch@0.12.100": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.100.tgz#0a5016eb02a64d475b3350710ed1a989a4a7650f" - integrity sha512-YzeTuXd4yi4yksb8/axJx8NIAhLVqPW3IfwbRO4Lzwt73X54eDiM82qnRmKI/rjF7oFzZpd40DttO4vwRXkGDA== +"@keplr-wallet/simple-fetch@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.103.tgz#046ebe4c1ed07e02e04b05a6635f9bc36c02c2e0" + integrity sha512-Q4H6xaztJrei0blO5o47LeUi54TG3Vk+O/xqpfEhZ65yuylxNOplrKpuC1dE6PXOGdtemen9q/ks2OVa0bX9LA== -"@keplr-wallet/types@0.12.100", "@keplr-wallet/types@^0.12.44": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.100.tgz#24493416645bc5ed8d318846ab9f2b038412ec3a" - integrity sha512-yFjySqthWWFv+dKqXCu7waZvIQCkvNGcVJGax2ddjFC6B+hQ9hfB7IKTH3TUOFztac7zb/DgYArKBskeYQUvUA== +"@keplr-wallet/types@0.12.103", "@keplr-wallet/types@^0.12.44": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.103.tgz#ec2c55c42ed76868a634d47ce4d05ea96784a977" + integrity sha512-S0rcBLUBlOWNE6e8ri1IxCrlVk41ST+68Ge9gNHixwkjDrTURV+BIJjlp1EYL6Kf/D2JcqKMtxkZ9dJcxi8KGQ== dependencies: long "^4.0.0" -"@keplr-wallet/unit@0.12.100": - version "0.12.100" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.100.tgz#54452a06ff14a1f364df4bb591e2716798f5774b" - integrity sha512-MspLUa3Dg4wPi22u2jV7aL+JLi1WrTzHKw/Ry75q8ZceattV0Lz0oQ9WtYaPJu6YOe6xCYym731gYMdDIFcbtw== +"@keplr-wallet/unit@0.12.103": + version "0.12.103" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.103.tgz#72180670f21f48db5f71b48103598ab5ed97c81d" + integrity sha512-KQh4D+TAi4ei8avri6Ujo7w7NgComYkpyCjv7PnclpRaHKngM0fFrd5ZlCnu8Rhy9o8Rv0FNb5EVakyG0qLCjw== dependencies: - "@keplr-wallet/types" "0.12.100" + "@keplr-wallet/types" "0.12.103" big-integer "^1.6.48" utility-types "^3.10.0" @@ -2128,470 +1964,6 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@smithy/abort-controller@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.0.0.tgz#5815f5d4618e14bf8d031bb98a99adabbb831168" - integrity sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/chunked-blob-reader-native@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.0.tgz#f1104b30030f76f9aadcbd3cdca4377bd1ba2695" - integrity sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg== - dependencies: - "@smithy/util-base64" "^3.0.0" - tslib "^2.6.2" - -"@smithy/chunked-blob-reader@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-3.0.0.tgz#e5d3b04e9b273ba8b7ede47461e2aa96c8aa49e0" - integrity sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA== - dependencies: - tslib "^2.6.2" - -"@smithy/config-resolver@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.1.tgz#4e0917e5a02139ef978a1ed470543ab41dd3626b" - integrity sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/util-config-provider" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/core@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.2.0.tgz#f1b0837b7afa5507a9693c1e93da6ca9808022c1" - integrity sha512-ygLZSSKgt9bR8HAxR9mK+U5obvAJBr6zlQuhN5soYWx/amjDoQN4dTkydTypgKe6rIbUjTILyLU+W5XFwXr4kg== - dependencies: - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-retry" "^3.0.3" - "@smithy/middleware-serde" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/credential-provider-imds@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.0.tgz#7e58b78aa8de13dd04e94829241cd1cbde59b6d3" - integrity sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-codec@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.0.0.tgz#81d30391220f73d41f432f65384b606d67673e46" - integrity sha512-PUtyEA0Oik50SaEFCZ0WPVtF9tz/teze2fDptW6WRXl+RrEenH8UbEjudOz8iakiMl3lE3lCVqYf2Y+znL8QFQ== - dependencies: - "@aws-crypto/crc32" "3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.0.tgz#94721b01f01d8b7eb1db5814275a774ed4d38190" - integrity sha512-NB7AFiPN4NxP/YCAnrvYR18z2/ZsiHiF7VtG30gshO9GbFrIb1rC8ep4NGpJSWrz6P64uhPXeo4M0UsCLnZKqw== - dependencies: - "@smithy/eventstream-serde-universal" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-config-resolver@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.0.tgz#420447d1d284d41f7f070a5d92fc3686cc922581" - integrity sha512-RUQG3vQ3LX7peqqHAbmayhgrF5aTilPnazinaSGF1P0+tgM3vvIRWPHmlLIz2qFqB9LqFIxditxc8O2Z6psrRw== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.0.tgz#6519523fbb429307be29b151b8ba35bcca2b6e64" - integrity sha512-baRPdMBDMBExZXIUAoPGm/hntixjt/VFpU6+VmCyiYJYzRHRxoaI1MN+5XE+hIS8AJ2GCHLMFEIOLzq9xx1EgQ== - dependencies: - "@smithy/eventstream-serde-universal" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/eventstream-serde-universal@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.0.tgz#cb8441a73fbde4cbaa68e4a21236f658d914a073" - integrity sha512-HNFfShmotWGeAoW4ujP8meV9BZavcpmerDbPIjkJbxKbN8RsUcpRQ/2OyIxWNxXNH2GWCAxuSB7ynmIGJlQ3Dw== - dependencies: - "@smithy/eventstream-codec" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/fetch-http-handler@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.1.tgz#dacfdf6e70d639fac4a0f57c42ce13f0ed14ff22" - integrity sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg== - dependencies: - "@smithy/protocol-http" "^4.0.0" - "@smithy/querystring-builder" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-blob-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.0.0.tgz#63ef4c98f74c53cbcad8ec73387c68ec4708f55b" - integrity sha512-/Wbpdg+bwJvW7lxR/zpWAc1/x/YkcqguuF2bAzkJrvXriZu1vm8r+PUdE4syiVwQg7PPR2dXpi3CLBb9qRDaVQ== - dependencies: - "@smithy/chunked-blob-reader" "^3.0.0" - "@smithy/chunked-blob-reader-native" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.0.tgz#f44b5fff193e241c1cdcc957b296b60f186f0e59" - integrity sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/hash-stream-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.0.0.tgz#b395a8a0d2427e4a8effc56135b37cb299339f8f" - integrity sha512-J0i7de+EgXDEGITD4fxzmMX8CyCNETTIRXlxjMiNUvvu76Xn3GJ31wQR85ynlPk2wI1lqoknAFJaD1fiNDlbIA== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/invalid-dependency@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.0.tgz#21cb6b5203ee15321bfcc751f21f7a19536d4ae8" - integrity sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/is-array-buffer@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz#9a95c2d46b8768946a9eec7f935feaddcffa5e7a" - integrity sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ== - dependencies: - tslib "^2.6.2" - -"@smithy/md5-js@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.0.tgz#6a2d1c496f4d4476a0fc84f7724d79b234c3eb13" - integrity sha512-Tm0vrrVzjlD+6RCQTx7D3Ls58S3FUH1ZCtU1MIh/qQmaOo1H9lMN2as6CikcEwgattnA9SURSdoJJ27xMcEfMA== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-content-length@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.0.tgz#084b3d22248967885d496eb0b105d9090e8ababd" - integrity sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg== - dependencies: - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-endpoint@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.1.tgz#49e8defb8e892e70417bd05f1faaf207070f32c7" - integrity sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ== - dependencies: - "@smithy/middleware-serde" "^3.0.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - "@smithy/url-parser" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-retry@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.3.tgz#8e9af1c9db4bc8904d73126225211b42b562f961" - integrity sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/service-error-classification" "^3.0.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-retry" "^3.0.0" - tslib "^2.6.2" - uuid "^9.0.1" - -"@smithy/middleware-serde@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.0.tgz#786da6a6bc0e5e51d669dac834c19965245dd302" - integrity sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/middleware-stack@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.0.tgz#00f112bae7af5fc3bd37d4fab95ebce0f17a7774" - integrity sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/node-config-provider@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.0.tgz#e962987c4e2e2b8b50397de5f4745eb21ee7bdbb" - integrity sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q== - dependencies: - "@smithy/property-provider" "^3.1.0" - "@smithy/shared-ini-file-loader" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/node-http-handler@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.0.0.tgz#e771ea95d03e259f04b7b37e8aece8a4fffc8cdc" - integrity sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ== - dependencies: - "@smithy/abort-controller" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/querystring-builder" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/property-provider@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.0.tgz#b78d4964a1016b90331cc0c770b472160361fde7" - integrity sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/protocol-http@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.0.0.tgz#04df3b5674b540323f678e7c4113e8abd8b26432" - integrity sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/querystring-builder@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.0.tgz#48a9aa7b700e8409368c21bc0adf7564e001daea" - integrity sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg== - dependencies: - "@smithy/types" "^3.0.0" - "@smithy/util-uri-escape" "^3.0.0" - tslib "^2.6.2" - -"@smithy/querystring-parser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.0.tgz#fa1ed0cee408cd4d622070fa874bc50ac1a379b7" - integrity sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/service-error-classification@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.0.tgz#06a45cb91b15b8b0d5f3b1df2b3743d2ca42f5c4" - integrity sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA== - dependencies: - "@smithy/types" "^3.0.0" - -"@smithy/shared-ini-file-loader@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.0.tgz#a4cb9304c3be1c232ec661132ca88d177ac7a5b1" - integrity sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/signature-v4@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-3.0.0.tgz#f536d0abebfeeca8e9aab846a4042658ca07d3b7" - integrity sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA== - dependencies: - "@smithy/is-array-buffer" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - "@smithy/util-middleware" "^3.0.0" - "@smithy/util-uri-escape" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/smithy-client@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.1.1.tgz#9aa770edd9b6277dc4124c924c617a436cdb670e" - integrity sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA== - dependencies: - "@smithy/middleware-endpoint" "^3.0.1" - "@smithy/middleware-stack" "^3.0.0" - "@smithy/protocol-http" "^4.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-stream" "^3.0.1" - tslib "^2.6.2" - -"@smithy/types@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.0.0.tgz#00231052945159c64ffd8b91e8909d8d3006cb7e" - integrity sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw== - dependencies: - tslib "^2.6.2" - -"@smithy/url-parser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.0.tgz#5fdc77cd22051c1aac6531be0315bfcba0fa705d" - integrity sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw== - dependencies: - "@smithy/querystring-parser" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-base64@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-3.0.0.tgz#f7a9a82adf34e27a72d0719395713edf0e493017" - integrity sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ== - dependencies: - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-body-length-browser@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz#86ec2f6256310b4845a2f064e2f571c1ca164ded" - integrity sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-body-length-node@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz#99a291bae40d8932166907fe981d6a1f54298a6d" - integrity sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA== - dependencies: - tslib "^2.6.2" - -"@smithy/util-buffer-from@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz#559fc1c86138a89b2edaefc1e6677780c24594e3" - integrity sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA== - dependencies: - "@smithy/is-array-buffer" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-config-provider@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz#62c6b73b22a430e84888a8f8da4b6029dd5b8efe" - integrity sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-defaults-mode-browser@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.3.tgz#6fff11a6c407ca1d5a1dc009768bd09271b199c2" - integrity sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA== - dependencies: - "@smithy/property-provider" "^3.1.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - bowser "^2.11.0" - tslib "^2.6.2" - -"@smithy/util-defaults-mode-node@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.3.tgz#0b52ba9cb1138ee9076feba9a733462b2e2e6093" - integrity sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA== - dependencies: - "@smithy/config-resolver" "^3.0.1" - "@smithy/credential-provider-imds" "^3.1.0" - "@smithy/node-config-provider" "^3.1.0" - "@smithy/property-provider" "^3.1.0" - "@smithy/smithy-client" "^3.1.1" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-endpoints@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.0.1.tgz#4ea8069bfbf3ebbcbe106b5156ff59a7a627b7dd" - integrity sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA== - dependencies: - "@smithy/node-config-provider" "^3.1.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-hex-encoding@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz#32938b33d5bf2a15796cd3f178a55b4155c535e6" - integrity sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ== - dependencies: - tslib "^2.6.2" - -"@smithy/util-middleware@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.0.tgz#64d775628b99a495ca83ce982f5c83aa45f1e894" - integrity sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ== - dependencies: - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-retry@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.0.tgz#8a0c47496aab74e1dfde4905d462ad636a8824bb" - integrity sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g== - dependencies: - "@smithy/service-error-classification" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-stream@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.0.1.tgz#3cf527bcd3fec82c231c38d47dd75f3364747edb" - integrity sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA== - dependencies: - "@smithy/fetch-http-handler" "^3.0.1" - "@smithy/node-http-handler" "^3.0.0" - "@smithy/types" "^3.0.0" - "@smithy/util-base64" "^3.0.0" - "@smithy/util-buffer-from" "^3.0.0" - "@smithy/util-hex-encoding" "^3.0.0" - "@smithy/util-utf8" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-uri-escape@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" - integrity sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg== - dependencies: - tslib "^2.6.2" - -"@smithy/util-utf8@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-3.0.0.tgz#1a6a823d47cbec1fd6933e5fc87df975286d9d6a" - integrity sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA== - dependencies: - "@smithy/util-buffer-from" "^3.0.0" - tslib "^2.6.2" - -"@smithy/util-waiter@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.0.0.tgz#26bcc5bbbf1de9360a7aeb3b3919926fc6afa2bc" - integrity sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw== - dependencies: - "@smithy/abort-controller" "^3.0.0" - "@smithy/types" "^3.0.0" - tslib "^2.6.2" - "@solana/buffer-layout@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" @@ -2618,11 +1990,11 @@ "@wallet-standard/features" "^1.0.3" "@solana/web3.js@^1.36.0": - version "1.92.3" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.92.3.tgz#8880b446c0ec30fc552e1d501bd8db2780a1f70c" - integrity sha512-NVBWvb9zdJIAx6X+caXaIICCEQfQaQ8ygykCjJW4u2z/sIKcvPj3ZIIllnx0MWMc3IxGq15ozGYDOQIMbwUcHw== + version "1.93.0" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.93.0.tgz#4b6975020993cec2f6626e4f2bf559ca042df8db" + integrity sha512-suf4VYwWxERz4tKoPpXCRHFRNst7jmcFUaD65kII+zg9urpy5PeeqgLV6G5eWGzcVzA9tZeXOju1A1Y+0ojEVw== dependencies: - "@babel/runtime" "^7.24.6" + "@babel/runtime" "^7.24.7" "@noble/curves" "^1.4.0" "@noble/hashes" "^1.4.0" "@solana/buffer-layout" "^4.0.1" @@ -2635,7 +2007,7 @@ fast-stable-stringify "^1.0.0" jayson "^4.1.0" node-fetch "^2.7.0" - rpc-websockets "^8.0.1" + rpc-websockets "^9.0.0" superstruct "^1.0.4" "@supercharge/promise-pool@^2.1.0": @@ -2643,6 +2015,13 @@ resolved "https://registry.yarnpkg.com/@supercharge/promise-pool/-/promise-pool-2.4.0.tgz#6050eea8c2d7f92ddd4ddc582ee328b15c034ad3" integrity sha512-O9CMipBlq5OObdt1uKJGIzm9cdjpPWfj+a+Zw9EgWKxaMNHKC7EU7X9taj3H0EGQNLOSq2jAcOa3EzxlfHsD6w== +"@swc/helpers@^0.5.11": + version "0.5.11" + resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.11.tgz#5bab8c660a6e23c13b2d23fcd1ee44a2db1b0cb7" + integrity sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A== + dependencies: + tslib "^2.4.0" + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" @@ -2714,19 +2093,12 @@ dependencies: "@babel/types" "^7.20.7" -"@types/bn.js@^5.1.5": - version "5.1.5" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0" - integrity sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A== - dependencies: - "@types/node" "*" - -"@types/cli-progress@^3.9.2": - version "3.11.5" - resolved "https://registry.yarnpkg.com/@types/cli-progress/-/cli-progress-3.11.5.tgz#9518c745e78557efda057e3f96a5990c717268c3" - integrity sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g== +"@types/bignumber.js@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@types/bignumber.js/-/bignumber.js-5.0.0.tgz#d9f1a378509f3010a3255e9cc822ad0eeb4ab969" + integrity sha512-0DH7aPGCClywOFaxxjE6UwpN2kQYe9LwuDQMv+zYA97j5GkOMo8e66LYT+a8JYU7jfmUFRZLa9KycxHDsKXJCA== dependencies: - "@types/node" "*" + bignumber.js "*" "@types/clone@^2.1.1": version "2.1.4" @@ -2881,11 +2253,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== -"@types/node@^13.7.0": - version "13.13.52" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.52.tgz#03c13be70b9031baaed79481c0c0cfb0045e53f7" - integrity sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ== - "@types/node@^16.9.2": version "16.18.98" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.98.tgz#3554bb7911ea2bbc3a528be0776d6ab16b7674d2" @@ -2946,6 +2313,11 @@ resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304" integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== +"@types/uuid@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" + integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== + "@types/uuid@^9.0.2": version "9.0.8" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" @@ -2958,6 +2330,13 @@ dependencies: "@types/node" "*" +"@types/ws@^8.2.2": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== + dependencies: + "@types/node" "*" + "@types/yargs-parser@*": version "21.0.3" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" @@ -3119,33 +2498,22 @@ abbrev@^1.0.0: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -abstract-level@^1.0.2, abstract-level@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/abstract-level/-/abstract-level-1.0.4.tgz#3ad8d684c51cc9cbc9cf9612a7100b716c414b57" - integrity sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg== - dependencies: - buffer "^6.0.3" - catering "^2.1.0" - is-buffer "^2.0.5" - level-supports "^4.0.0" - level-transcoder "^1.0.1" - module-error "^1.0.1" - queue-microtask "^1.2.3" - acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.3.2" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" - integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== + version "8.3.3" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.3.tgz#9caeac29eefaa0c41e3d4c65137de4d6f34df43e" + integrity sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw== + dependencies: + acorn "^8.11.0" -acorn@^8.4.1, acorn@^8.9.0: - version "8.11.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" - integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== +acorn@^8.11.0, acorn@^8.4.1, acorn@^8.9.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.0.tgz#1627bfa2e058148036133b8d9b51a700663c294c" + integrity sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw== add-stream@^1.0.0: version "1.0.0" @@ -3418,21 +2786,7 @@ at-least-node@^1.0.0: version "5.4.7" resolved "https://github.com/Irys-xyz/avsc#a730cc8018b79e114b6a3381bbb57760a24c6cef" -axios@^0.21.2, axios@^0.21.3: - version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== - dependencies: - follow-redirects "^1.14.0" - -axios@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.25.0.tgz#349cfbb31331a9b4453190791760a8d35b093e0a" - integrity sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g== - dependencies: - follow-redirects "^1.14.7" - -axios@^0.27.2: +axios@^0.21.3, axios@^0.25.0, axios@^0.27.2, axios@^1.0.0, axios@^1.6.0: version "0.27.2" resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== @@ -3440,15 +2794,6 @@ axios@^0.27.2: follow-redirects "^1.14.9" form-data "^4.0.0" -axios@^1.0.0: - version "1.7.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" - integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - babel-jest@^28.1.3: version "28.1.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" @@ -3589,7 +2934,7 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" -bignumber.js@9.1.2, bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.0.2, bignumber.js@^9.1.0, bignumber.js@^9.1.2: +bignumber.js@*, bignumber.js@9.1.2, bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.0.2, bignumber.js@^9.1.0, bignumber.js@^9.1.2: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -3642,7 +2987,7 @@ bip39@3.0.2: pbkdf2 "^3.0.9" randombytes "^2.0.1" -bip39@^3.0.2, bip39@^3.0.3: +bip39@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.1.0.tgz#c55a418deaf48826a6ceb34ac55b3ee1577e18a3" integrity sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A== @@ -3699,11 +3044,6 @@ borsh@^0.7.0: bs58 "^4.0.0" text-encoding-utf-8 "^1.0.2" -bowser@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" - integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -3731,16 +3071,6 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browser-level@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browser-level/-/browser-level-1.0.1.tgz#36e8c3183d0fe1c405239792faaab5f315871011" - integrity sha512-XECYKJ+Dbzw0lbydyQuJzwNXtOpbMSq737qxJN11sIRTErOMShvDpbzTlgju7orJKvx4epULolZAuJGLzCmWRQ== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.1" - module-error "^1.0.2" - run-parallel-limit "^1.1.0" - browserslist@^4.22.2: version "4.23.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" @@ -3940,20 +3270,15 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001629: - version "1.0.30001632" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz#964207b7cba5851701afb4c8afaf1448db3884b6" - integrity sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg== + version "1.0.30001634" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz#aa563c8e7aeaf552f7ead60371bc8d803425deaa" + integrity sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA== capability@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/capability/-/capability-0.2.5.tgz#51ad87353f1936ffd77f2f21c74633a4dea88801" integrity sha512-rsJZYVCgXd08sPqwmaIqjAd5SUTfonV0z/gDJ8D6cN8wQphky1kkAYEqQ+hmDxTw7UihvBfjUVUSY+DBEe44jg== -catering@^2.1.0, catering@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/catering/-/catering-2.1.1.tgz#66acba06ed5ee28d5286133982a927de9a04b510" - integrity sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w== - chalk@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" @@ -4032,17 +3357,6 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz#c485341ae8fd999ca4ee5af2d7a1c9ae01e0099c" integrity sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q== -classic-level@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/classic-level/-/classic-level-1.4.1.tgz#169ecf9f9c6200ad42a98c8576af449c1badbaee" - integrity sha512-qGx/KJl3bvtOHrGau2WklEZuXhS3zme+jf+fsu6Ej7W7IP/C49v7KNlWIsT1jZu0YnfzSIYDGcEWpCa1wKGWXQ== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.0" - module-error "^1.0.1" - napi-macros "^2.2.2" - node-gyp-build "^4.3.0" - clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" @@ -4334,21 +3648,10 @@ cosmiconfig@^8.2.0: parse-json "^5.2.0" path-type "^4.0.0" -cosmjs-types@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" - integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -cosmjs-types@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.8.0.tgz#2ed78f3e990f770229726f95f3ef5bf9e2b6859b" - integrity sha512-Q2Mj95Fl0PYMWEhA2LuGEIhipF7mQwd9gTQ85DdP9jjjopeoGaDxvmPa5nakNzsq7FnO1DMTatXTAx6bxMH7Lg== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" +cosmjs-types@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.9.0.tgz#c3bc482d28c7dfa25d1445093fdb2d9da1f6cfcc" + integrity sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ== create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" @@ -4740,9 +4043,9 @@ ejs@^3.1.7: jake "^10.8.5" electron-to-chromium@^1.4.796: - version "1.4.796" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.796.tgz#48dd6ff634b7f7df6313bd27aaa713f3af4a2b29" - integrity sha512-NglN/xprcM+SHD2XCli4oC6bWe6kHoytcyLKCWXmRL854F0qhPhaYgUswUsglnPxYaNQIg2uMY4BvaomIf3kLA== + version "1.4.802" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.802.tgz#49b397eadc95a49b1ac33eebee146b8e5a93773f" + integrity sha512-TnTMUATbgNdPXVSHsxvNVSG0uEd6cSZsANjm8c9HbvflZVVn1yTRcmVXYT1Ma95/ssB/Dcd30AHweH2TE+dNpA== elliptic@6.5.4: version "6.5.4" @@ -5052,6 +4355,11 @@ eventemitter3@^4.0.4, eventemitter3@^4.0.7: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + execa@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" @@ -5206,13 +4514,6 @@ fast-stable-stringify@^1.0.0: resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz#5c5543462b22aeeefd36d05b34e51c78cb86d313" integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== -fast-xml-parser@4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz#a6747a09296a6cb34f2ae634019bf1738f3b421f" - integrity sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g== - dependencies: - strnum "^1.0.5" - fastq@^1.6.0: version "1.17.1" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" @@ -5348,15 +4649,15 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.14.0, follow-redirects@^1.14.7, follow-redirects@^1.14.9, follow-redirects@^1.15.6: +follow-redirects@^1.14.9: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== foreground-child@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" - integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.0.tgz#5eb496c4ebf3bcc4572e8908a45a72f5a1d2d658" + integrity sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA== dependencies: cross-spawn "^7.0.0" signal-exit "^4.0.1" @@ -6087,11 +5388,6 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-buffer@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== - is-ci@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" @@ -7329,28 +6625,6 @@ lerna@^7.1.1: yargs "16.2.0" yargs-parser "20.2.4" -level-supports@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-4.0.1.tgz#431546f9d81f10ff0fea0e74533a0e875c08c66a" - integrity sha512-PbXpve8rKeNcZ9C1mUicC9auIYFyGpkV9/i6g76tLgANwWhtG2v7I4xNBUlkn3lE2/dZF3Pi0ygYGtLc4RXXdA== - -level-transcoder@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/level-transcoder/-/level-transcoder-1.0.1.tgz#f8cef5990c4f1283d4c86d949e73631b0bc8ba9c" - integrity sha512-t7bFwFtsQeD8cl8NIoQ2iwxA0CL/9IFw7/9gAjOonH0PWTTiRfY7Hq+Ejbsxh86tXobDQ6IOiddjNYIfOBs06w== - dependencies: - buffer "^6.0.3" - module-error "^1.0.1" - -level@^8.0.0: - version "8.0.1" - resolved "https://registry.yarnpkg.com/level/-/level-8.0.1.tgz#737161db1bc317193aca4e7b6f436e7e1df64379" - integrity sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ== - dependencies: - abstract-level "^1.0.4" - browser-level "^1.0.1" - classic-level "^1.2.0" - leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -7398,18 +6672,6 @@ libsodium-wrappers-sumo@^0.7.11: dependencies: libsodium-sumo "^0.7.13" -libsodium-wrappers@^0.7.6: - version "0.7.13" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.13.tgz#83299e06ee1466057ba0e64e532777d2929b90d3" - integrity sha512-kasvDsEi/r1fMzKouIDv7B8I6vNmknXwGiYodErGuESoFTohGSKZplFtVxZqHaoQ217AynyIFgnOVRitpHs0Qw== - dependencies: - libsodium "^0.7.13" - -libsodium@^0.7.13: - version "0.7.13" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.13.tgz#230712ec0b7447c57b39489c48a4af01985fb393" - integrity sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw== - lie@~3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" @@ -7871,11 +7133,6 @@ modify-values@^1.0.1: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -module-error@^1.0.1, module-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/module-error/-/module-error-1.0.2.tgz#8d1a48897ca883f47a45816d4fb3e3c6ba404d86" - integrity sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA== - ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" @@ -7921,20 +7178,15 @@ mute-stream@^1.0.0, mute-stream@~1.0.0: integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== nan@^2.13.2: - version "2.19.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0" - integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw== + version "2.20.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3" + integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw== napi-build-utils@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" integrity sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== -napi-macros@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-2.2.2.tgz#817fef20c3e0e40a963fbf7b37d1600bd0201044" - integrity sha512-hmEVtAGYzVQpCKdbQea4skABsdXW4RUh5t5mJ2zzqowJS2OyXZTU1KhDVFhx+NlWZ4ap9mqR9TcDO3LTTttd+g== - natural-compare-lite@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" @@ -7992,9 +7244,9 @@ neo-async@^2.6.2: integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== node-abi@^3.3.0: - version "3.63.0" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.63.0.tgz#9bfbe68b87357f8b508554608b323e9b1052d045" - integrity sha512-vAszCsOUrUxjGAmdnM/pq7gUgie0IRteCQMX6d4A534fQCR93EJU5qgzBvU6EkFfK27s0T3HEV3BOyJIr7OMYw== + version "3.65.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.65.0.tgz#ca92d559388e1e9cab1680a18c1a18757cdac9d3" + integrity sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA== dependencies: semver "^7.3.5" @@ -8867,7 +8119,7 @@ promzard@^1.0.0: dependencies: read "^3.0.1" -protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: +protobufjs@^6.11.2, protobufjs@^6.8.8: version "6.11.4" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.4.tgz#29a412c38bf70d89e537b6d02d904a6f448173aa" integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw== @@ -8886,35 +8138,11 @@ protobufjs@^6.11.2, protobufjs@^6.11.4, protobufjs@^6.8.8, protobufjs@~6.11.2, p "@types/node" ">=13.7.0" long "^4.0.0" -protobufjs@~6.10.2: - version "6.10.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.10.3.tgz#11ed1dd02acbfcb330becf1611461d4b407f9eef" - integrity sha512-yvAslS0hNdBhlSKckI4R1l7wunVilX66uvrjzE4MimiAt7/qw1nLpMhZrn/ObuUTM/c3Xnfl01LYMdcSJe6dwg== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" - "@types/node" "^13.7.0" - long "^4.0.0" - protocols@^2.0.0, protocols@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -8949,7 +8177,7 @@ query-string@^5.0.1: object-assign "^4.1.0" strict-uri-encode "^1.0.0" -queue-microtask@^1.2.2, queue-microtask@^1.2.3: +queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== @@ -9201,7 +8429,7 @@ rimraf@^4.4.1: dependencies: glob "^9.2.0" -ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: +ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== @@ -9209,12 +8437,16 @@ ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: hash-base "^3.0.0" inherits "^2.0.1" -rpc-websockets@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-8.0.1.tgz#fa76db08badc0b2f5cd66b5496debd2c404c94b1" - integrity sha512-PptrPRK40uQvifq5sCcObmqInVcZXhy+RRrirzdE5KUPvDI47y1wPvfckD2QzqngOU9xaPW/dT+G+b+wj6M1MQ== +rpc-websockets@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-9.0.1.tgz#a69c83ffd5e26bdd6117f5b434ae68133c4805b6" + integrity sha512-JCkdc/TfJBGRfmjIFK7cmqX79nwPWUd9xCM0DAydRbdLShsW3j/GV2gmPlaFa8V1+2u4V/O47fm4ZR5+F6HyDw== dependencies: - eventemitter3 "^4.0.7" + "@swc/helpers" "^0.5.11" + "@types/uuid" "^8.3.4" + "@types/ws" "^8.2.2" + buffer "^6.0.3" + eventemitter3 "^5.0.1" uuid "^8.3.2" ws "^8.5.0" optionalDependencies: @@ -9226,13 +8458,6 @@ run-async@^2.4.0: resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== -run-parallel-limit@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/run-parallel-limit/-/run-parallel-limit-1.1.0.tgz#be80e936f5768623a38a963262d6bef8ff11e7ba" - integrity sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw== - dependencies: - queue-microtask "^1.2.2" - run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -9702,11 +8927,6 @@ strip-outer@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -strnum@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.0.5.tgz#5c4e829fe15ad4ff0d20c3db5ac97b73c9b072db" - integrity sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA== - strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" @@ -10006,12 +9226,12 @@ tsconfig-paths@^4.1.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.11.1, tslib@^1.8.1: +tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.6.2: +tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: version "2.6.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== @@ -10268,7 +9488,7 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -uuid@^9.0.0, uuid@^9.0.1: +uuid@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==